/* getalden.dev, from the "Alden Site v2" Claude Design project. Dark only: it's the brand's first mode. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #081014;
  --panel: #101b20;
  --sunk: #0b1519;
  --line: #1a2a30;
  --line2: #263c44;
  --ink: #f0fdfa;
  --ink2: #a9c2c0;
  --ink3: #76918f;
  --acc: #14b8a6;
  --acc2: #5eead4;
  --acc-ink: #04201d;
  --warn: #f2b866;
  --bad: #f38b7a;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: var(--acc2);
}
a:hover {
  color: var(--ink);
}
::selection {
  background: var(--acc);
  color: var(--acc-ink);
}
:focus-visible {
  outline: 2px solid var(--acc2);
  outline-offset: 3px;
}
h1,
h2,
p {
  margin: 0;
}
.mono {
  font-family: var(--mono);
}
.faint {
  color: var(--ink3);
}
.ink2 {
  color: var(--ink2);
}
.acc {
  color: var(--acc);
}
.acc2 {
  color: var(--acc2);
}
.small {
  font-size: 12px;
}

.btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 7px;
  background: var(--acc);
  color: var(--acc-ink);
  text-decoration: none;
  font: 600 14px var(--sans);
  white-space: nowrap;
}
.btn:hover {
  color: var(--acc-ink);
  filter: brightness(1.08);
}
.btn.big {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 8px;
}
.glow-btn {
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.4),
    0 10px 30px rgba(20, 184, 166, 0.25);
}
.btn.light {
  background: var(--ink);
  color: var(--bg);
}

/* Hero */
.hero-wrap {
  position: relative;
  overflow: clip;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.glow {
  position: absolute;
  left: 50%;
  top: -320px;
  width: 1100px;
  max-width: 200vw;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(20, 184, 166, 0.22), transparent);
  pointer-events: none;
}
.glow.bottom {
  top: auto;
  bottom: -300px;
  background: radial-gradient(closest-side, rgba(20, 184, 166, 0.18), transparent);
}
.top {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 22px / 1 var(--sans);
  letter-spacing: -0.045em;
}
.brand:hover {
  color: var(--ink);
}
.top nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
  font: 500 14px var(--sans);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top nav a:not(.btn) {
  color: var(--ink2);
  text-decoration: none;
}
.top nav .mono {
  font-size: 13px;
}
.hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 56px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 13px var(--mono);
  color: var(--acc2);
}
.kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc2);
  box-shadow: 0 0 12px var(--acc2);
}
h1 {
  font: 600 clamp(42px, 6vw, 76px) / 1.02 var(--sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink2);
  max-width: 560px;
  text-wrap: pretty;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cmd {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: rgba(16, 27, 32, 0.7);
  font: 500 14px var(--mono);
  color: var(--ink2);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.window {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(94, 234, 212, 0.06);
}
.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font: 500 12px var(--mono);
  color: var(--ink3);
}
.lights {
  display: flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #26343a;
}
.status {
  margin-left: auto;
  transition: color 0.4s;
}
.status.done {
  color: var(--acc2);
}
.queue {
  position: relative;
  height: 396px;
  margin: 8px;
}
.scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(94, 234, 212, 0.08), transparent);
  animation: scan 3.2s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.queue.scoring .scan {
  opacity: 1;
}
.qrow {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 12px;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 64px 40px;
  gap: 12px;
  align-items: center;
  border: 1px solid transparent;
  transition:
    top 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.4s,
    border-color 0.4s;
}
.qrow.first {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(94, 234, 212, 0.35);
}
.qrow .pos,
.qrow .score {
  font: 500 12px var(--mono);
  color: var(--ink3);
}
.qrow .score {
  text-align: right;
}
.qrow .score.hot {
  color: var(--acc2);
}
.qrow .what {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.qrow .title {
  font: 500 14px var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qrow .sub {
  font: 12px var(--mono);
  color: var(--ink3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qrow.first .sub {
  color: var(--acc2);
}
.qrow .bar {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.qrow .bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #26746c;
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.qrow .bar span.hot {
  background: var(--acc2);
}

/* Screenshot */
.shot {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line2);
  box-shadow:
    0 50px 140px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(20, 184, 166, 0.08);
}

/* Bands */
.band {
  border-top: 1px solid var(--line);
  position: relative;
  overflow: clip;
}
.band.tint {
  background: linear-gradient(180deg, rgba(16, 27, 32, 0.6), transparent);
}
.split {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 112px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: center;
}
.split.top {
  align-items: start;
}
/* Grid items default to their content's width; long code lines must not widen the column. */
.split > *,
.hero > * {
  min-width: 0;
}
.copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.kicker-num {
  font: 500 13px var(--mono);
  color: var(--acc2);
}
h2 {
  font: 600 clamp(32px, 4vw, 52px) / 1.06 var(--sans);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h2.huge {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 520px;
  text-wrap: pretty;
}

/* Callers demo */
.demo-callers {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.diff {
  background: var(--sunk);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.diff-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font: 500 12px var(--mono);
  color: var(--ink3);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.diff-body {
  padding: 8px 0;
  font: 12.5px / 1.75 var(--mono);
}
.dl {
  display: grid;
  grid-template-columns: 44px 16px minmax(0, 1fr);
  padding-right: 14px;
  transition: background 0.4s;
}
.dl .n {
  text-align: right;
  padding-right: 10px;
  color: #3f5a60;
}
.dl .t {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dl.add {
  background: rgba(20, 184, 166, 0.07);
}
.dl.add .m {
  color: var(--acc2);
}
.dl.del {
  background: rgba(243, 139, 122, 0.07);
}
.dl.del .m {
  color: var(--bad);
}
.dl.ctx .t {
  color: var(--ink3);
}
.dl.hot {
  background: rgba(242, 184, 102, 0.12);
}
.trace {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px var(--mono);
  color: var(--ink3);
  padding: 0 4px;
}
.trace .dash {
  width: 2px;
  height: 18px;
  background: repeating-linear-gradient(var(--acc) 0 3px, transparent 3px 6px);
}
.callers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.caller {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.5s;
  min-width: 0;
}
.caller.shown {
  opacity: 1;
  transform: none;
}
.caller.miss.shown {
  border-color: rgba(242, 184, 102, 0.35);
}
.caller .row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font: 500 12px var(--mono);
}
.caller .loc {
  color: var(--ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.caller .tag {
  flex: none;
  color: var(--acc2);
}
.caller.miss .tag {
  color: var(--warn);
}
.caller code {
  font: 12px var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Learning demo */
.weeks {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.weeks button {
  height: 34px;
  min-width: 52px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--line2);
  background: transparent;
  color: var(--ink2);
  font: 500 12px var(--mono);
  cursor: pointer;
  transition: all 0.3s;
}
.weeks button[aria-pressed="true"] {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font: 500 12px var(--mono);
  color: var(--ink3);
}
.panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.panel-stats > div {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.panel-stats > div:first-child {
  border-right: 1px solid var(--line);
}
.panel-stats .big {
  font: 600 34px / 1 var(--sans);
  letter-spacing: -0.03em;
}
.memory {
  list-style: none;
  margin: 0;
  padding: 10px 18px;
  min-height: 236px;
}
.memory li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font: 13px / 1.45 var(--sans);
  animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.memory li:last-child {
  border-bottom: 0;
}
.memory .grp {
  font: 500 11px var(--mono);
  color: var(--acc2);
  padding-top: 2px;
}
.memory .grp.skip {
  color: var(--ink3);
}
.memory .ev {
  display: block;
  font: 12px var(--mono);
  color: var(--ink3);
}
.memory .empty {
  display: block;
  grid-column: 1 / -1;
  color: var(--ink3);
}
.log {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--sunk);
  font: 12px / 1.7 var(--mono);
  min-height: 92px;
  color: var(--ink3);
}
.log div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.log div:last-child {
  color: var(--ink);
}
.log b {
  font-weight: 500;
  color: var(--ink3);
  margin-right: 10px;
}
.pad {
  display: block;
  padding: 0 18px 14px;
  background: var(--sunk);
}

/* Spec */
.spec {
  margin: 0;
  border-top: 1px solid var(--line2);
}
.spec div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font: 500 13px var(--mono);
  color: var(--acc2);
}
.spec dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2);
}
@media (max-width: 560px) {
  .spec div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* CTA terminal */
.cta .copy {
  gap: 24px;
}
.terminal {
  background: #050b0d;
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 20px 22px;
  font: 13px / 1.75 var(--mono);
  color: var(--ink2);
  min-height: 296px;
  overflow: hidden;
}
.terminal div {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--acc2);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  max-width: none;
}
.foot {
  padding: 28px max(24px, calc((100vw - 1240px) / 2 + 24px));
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  font: 13px var(--mono);
  color: var(--ink3);
}
.foot .word {
  font: 600 16px var(--sans);
  color: var(--ink);
  letter-spacing: -0.04em;
}
.foot .links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.foot a {
  color: var(--ink2);
  text-decoration: none;
}

@keyframes pulse {
  0% {
    r: 3;
    opacity: 0.9;
  }
  70%,
  100% {
    r: 9;
    opacity: 0;
  }
}
@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes scan {
  from {
    transform: translateY(-40px);
  }
  to {
    transform: translateY(420px);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.pulse {
  animation: pulse 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion has to win over every animation on the page */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: as above */
    transition: none !important;
  }
}

/* ---- Docs ------------------------------------------------------------------------------------------------- */

.docs {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
}
@media (max-width: 820px) {
  .docs {
    grid-template-columns: 1fr;
  }
}
.docs-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: 500 14px var(--sans);
}
.docs-nav .label {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink3);
  margin: 16px 0 6px;
}
.docs-nav a {
  color: var(--ink2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
}
.docs-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--panel);
  box-shadow: inset 2px 0 0 var(--acc);
}
@media (max-width: 820px) {
  .docs-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .docs-nav .label {
    width: 100%;
  }
}
.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink2);
  min-width: 0;
}
.prose h1 {
  font: 600 clamp(32px, 4vw, 44px) / 1.1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 24px 0 20px;
}
.prose h2 {
  font: 600 26px / 1.25 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 44px 0 12px;
}
.prose h3 {
  font: 600 18px / 1.3 var(--sans);
  color: var(--ink);
  margin: 28px 0 8px;
}
.prose p,
.prose ul,
.prose ol,
.prose table,
.prose pre,
.prose blockquote {
  margin: 0 0 16px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose code {
  font: 0.88em var(--mono);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.prose pre {
  background: #050b0d;
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
}
.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.7;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line);
}
.prose th {
  color: var(--ink);
  font-weight: 600;
}
.prose blockquote {
  border-left: 2px solid var(--acc);
  padding: 4px 0 4px 16px;
  color: var(--ink2);
}
.prose li {
  margin: 4px 0;
}

@media (max-width: 600px) {
  .top nav .mono {
    display: none;
  }
  .hero {
    padding-top: 40px;
  }
}
