@font-face {
  font-family: 'JBMono';
  src: url('/fonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root,
:root[data-theme='light'] {
  --bg: #faf7f1;
  --surface: #ffffff;
  --surface2: #f2ece1;
  --fg: #211a11;
  --fg2: #6e6555;
  --border: #e6decf;
  --accent: #a5680f;
  --accent-text: #855007;
  --accent-fill: #e0982a;
  --accent-ink: #211a11;
  --success: #1e9e63;
  --success-text: #117044;
  --danger: #d4483f;
  --shadow-sm: 0 1px 2px rgba(80, 60, 20, 0.08);
  --shadow-md: 0 6px 22px rgba(80, 60, 20, 0.12);
  --soft-accent: rgba(224, 152, 42, 0.12);
  --soft-success: rgba(30, 158, 99, 0.1);
}

:root[data-theme='dark'] {
  --bg: #0f0d0a;
  --surface: #191510;
  --surface2: #241e15;
  --fg: #f4efe6;
  --fg2: #ada491;
  --border: #342c1f;
  --accent: #eda83c;
  --accent-text: #eda83c;
  --accent-fill: #eda83c;
  --accent-ink: #1a1206;
  --success: #46c98a;
  --success-text: #46c98a;
  --danger: #f26b62;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 22px rgba(0, 0, 0, 0.45);
  --soft-accent: rgba(237, 168, 60, 0.12);
  --soft-success: rgba(70, 201, 138, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg);
  background:
    radial-gradient(circle at 75% 8%, var(--soft-accent), transparent 30rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  font-size: 14px;
  line-height: 21px;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--accent-ink);
  background: var(--accent-fill);
  border-radius: 6px;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand span {
  font-family: 'JBMono', ui-monospace, monospace;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.brand em {
  color: var(--accent);
  font-style: normal;
}

.nav,
.top-actions,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.nav {
  gap: 26px;
  margin-left: auto;
}

.nav a,
.signin {
  color: var(--fg2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.nav a:hover,
.signin:hover {
  color: var(--fg);
}

.top-actions {
  gap: 8px;
}

.utility {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--fg2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button--primary {
  color: var(--accent-ink);
  background: var(--accent-fill);
  border-color: var(--accent-fill);
}

.button--primary:hover {
  filter: brightness(1.05);
}

.button--secondary {
  color: var(--fg);
  background: var(--surface);
  border-color: var(--border);
}

.button--secondary:hover {
  border-color: var(--accent);
}

.button--quiet {
  min-height: 42px;
  padding-inline: 12px;
  color: var(--accent);
  background: transparent;
  border-color: transparent;
}

.button--quiet:hover {
  color: var(--fg);
  background: var(--soft-accent);
}

.button[hidden] {
  display: none;
}

.button--small {
  min-height: 36px;
  padding-inline: 13px;
  font-size: 13px;
}

.hero {
  padding: clamp(56px, 7vh, 80px) 0 96px;
}

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font-family: 'JBMono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  content: '';
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: 'JBMono', ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-lead {
  max-width: 72ch;
  margin: 24px 0 0;
  color: var(--fg2);
  font-size: 16px;
  line-height: 24px;
}

.hero-actions {
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-row {
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--fg2);
  font-size: 12px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--success);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.intent-card {
  position: relative;
  min-height: 224px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: 24px;
  overflow: hidden;
  color: var(--fg);
  text-align: left;
  background: color-mix(in srgb, var(--surface) 82%, var(--bg));
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease,
    box-shadow 160ms ease;
}

.intent-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: '';
  background: transparent;
  transition: background 160ms ease;
}

.intent-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
}

.intent-card[aria-selected='true'] {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--soft-accent), var(--shadow-sm);
}

.intent-card[aria-selected='true']::before {
  background: var(--accent-fill);
}

.intent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.intent-number {
  color: var(--accent);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.intent-audience {
  padding: 3px 7px;
  color: var(--fg2);
  background: color-mix(in srgb, var(--surface2) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intent-card strong {
  font-family: 'JBMono', ui-monospace, monospace;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: -0.03em;
}

.intent-description {
  color: var(--fg2);
  font-size: 14px;
  line-height: 21px;
}

.intent-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 13px;
  color: var(--fg2);
  border-top: 1px solid var(--border);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  line-height: 16px;
}

.intent-proof::before {
  width: 6px;
  height: 6px;
  flex: none;
  content: '';
  background: var(--accent-fill);
  border-radius: 2px;
}

.demo-wrap {
  position: relative;
  width: min(980px, 100%);
  margin: 48px auto 0;
  padding-top: 32px;
}

.demo-label {
  position: absolute;
  top: 0;
  right: 16px;
  color: var(--fg2);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
}

.demo-label::before {
  margin-right: 8px;
  color: var(--success);
  content: '●';
}

.product-shot {
  display: none;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
}

body[data-audience='first'] .product-shot[data-shot='first'],
body[data-audience='portfolio'] .product-shot[data-shot='portfolio'],
body[data-audience='feedback'] .product-shot[data-shot='feedback'] {
  display: block;
}

.section {
  padding: 104px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

h2 {
  max-width: 24ch;
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  text-wrap: balance;
}

h3 {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 22px;
}

.section-lead {
  max-width: 54ch;
  margin: 0;
  color: var(--fg2);
  font-size: 14px;
  line-height: 21px;
}

.lifecycle-grid,
.surface-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lifecycle-card {
  position: relative;
  min-height: 338px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.lifecycle-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: '';
  background: var(--accent-fill);
  opacity: 0.72;
}

.lifecycle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.card-kicker,
.lifecycle-index {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.card-kicker {
  color: var(--fg2);
}

.lifecycle-index {
  color: var(--accent);
}

.lifecycle-card > p,
.loop-step p,
.surface-card > p {
  margin: 0;
  color: var(--fg2);
}

.lifecycle-proof {
  margin-top: auto;
  padding-top: 26px;
}

.fragment-list,
.page-pair {
  display: grid;
  gap: 7px;
}

.fragment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  color: var(--fg2);
  background: color-mix(in srgb, var(--surface2) 35%, var(--surface));
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
}

.metric-positive {
  color: var(--success);
}

.metric-negative {
  color: var(--danger);
}

.page-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface2) 58%, var(--surface));
  border: 1px solid var(--border);
  border-radius: 10px;
}

.page-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--soft-accent);
  border-radius: 7px;
  font-family: 'JBMono', ui-monospace, monospace;
  font-size: 10px;
}

.page-row strong {
  font-size: 12px;
}

.page-state {
  color: var(--success-text);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.signal-box {
  padding: 14px;
  background: var(--surface2);
  border-radius: 10px;
}

.signal-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.health-dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--danger);
  border-radius: 999px;
}

.reason-bar {
  height: 5px;
  margin: 10px 0 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  border-radius: 999px;
}

.reason-bar::before {
  width: 31%;
  height: 100%;
  display: block;
  content: '';
  background: var(--danger);
}

.winback-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  color: var(--fg2);
  border-top: 1px solid color-mix(in srgb, var(--fg2) 18%, transparent);
  font-size: 11px;
}

.winback-action strong {
  color: var(--success-text);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
}

.loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.loop-step {
  position: relative;
  min-height: 174px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.loop-step:first-child {
  border-radius: 14px 0 0 14px;
}

.loop-step:last-child {
  border-radius: 0 14px 14px 0;
}

.loop-step + .loop-step {
  border-left: 0;
}

.loop-number,
.proof-icon {
  display: grid;
  place-items: center;
  color: var(--accent-text);
  background: var(--soft-accent);
  font-family: 'JBMono', ui-monospace, monospace;
}

.loop-number {
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 9px;
  font-size: 12px;
}

.loop-content {
  padding-top: 4px;
}

.loop-content h3 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 22px;
}

.loop-content p {
  max-width: 31ch;
}

.loop-arrow {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: -12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: center;
}

.trust-layout .section-lead {
  margin-top: 22px;
}

.trust-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.proof-card {
  min-height: 152px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.proof-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--success-text);
  background: var(--soft-success);
  border-radius: 8px;
}

.proof-card strong {
  display: block;
  font-size: 13px;
}

.proof-card > span {
  display: block;
  margin-top: 5px;
  color: var(--fg2);
  font-size: 11px;
}

.contract-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.contract-link {
  color: var(--fg2);
  text-decoration: none;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
}

.contract-link:hover {
  color: var(--accent);
}

.availability {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--fg2);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.availability::before {
  width: 16px;
  height: 3px;
  flex: none;
  content: '';
  background: var(--accent-fill);
  border-radius: 1px;
}

.availability--manual::before {
  height: 7px;
  background: transparent;
  border: 1px solid var(--accent);
}

.availability--next,
.availability--plan {
  color: var(--accent);
}

.availability--next::before,
.availability--plan::before {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px);
}

.surface-card {
  min-height: 262px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.surface-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 14px;
}

.surface-meta .availability {
  margin: 0;
}

.surface-number {
  color: var(--fg2);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 9px;
}

.surface-visual {
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--accent);
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    color-mix(in srgb, var(--surface2) 58%, var(--surface));
  background-size: 24px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.surface-visual svg {
  width: 76%;
  height: 76%;
  filter: drop-shadow(0 5px 8px color-mix(in srgb, var(--fg) 12%, transparent));
}

.surface-card h3,
.surface-card > p {
  margin-inline: 4px;
}

.surface-card > p {
  font-size: 12px;
}

.surface-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 14px 18px;
  color: var(--fg2);
  background: color-mix(in srgb, var(--surface2) 48%, transparent);
  border: 1px dashed color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 10px;
  font-size: 12px;
}

.surface-next strong {
  color: var(--fg);
}

.surface-next .availability {
  flex: none;
  margin: 0;
}

.roadmap-grid .proof-card {
  min-height: 174px;
}

.roadmap-grid .availability {
  margin-bottom: 24px;
}

.faq-section {
  background: color-mix(in srgb, var(--surface2) 34%, transparent);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 32px;
}

.faq-intro .eyebrow {
  margin-bottom: 20px;
}

.faq-intro .section-lead {
  margin-top: 20px;
}

.faq-intro .contract-link {
  display: inline-flex;
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  color: var(--fg);
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--accent);
  content: '+';
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 18px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  max-width: 68ch;
  margin: -4px 48px 22px 0;
  color: var(--fg2);
  font-size: 13px;
  line-height: 21px;
}

.download-section {
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 42px;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, var(--soft-accent), transparent 32%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.download-copy .eyebrow {
  margin-bottom: 14px;
}

.download-copy h2 {
  font-size: 20px;
  line-height: 27px;
}

.download-copy .section-lead {
  margin-top: 12px;
}

.download-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-action {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.download-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--fg2);
  font-size: 12px;
}

.download-steps span {
  color: var(--accent);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 9px;
}

.download-steps strong {
  color: var(--fg);
  font-weight: 600;
}

.devbuild {
  min-width: 220px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
}

.devbuild[hidden] {
  display: none;
}

.devbuild__meta {
  color: var(--fg2);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
}

.final-cta {
  padding: 64px 0 80px;
}

.final-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 64px;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 4.5vw, 52px);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 14px;
}

.final-card::after {
  position: absolute;
  right: -9%;
  bottom: -120%;
  width: 420px;
  height: 420px;
  content: '';
  background: radial-gradient(circle, var(--soft-accent), transparent 64%);
  pointer-events: none;
}

.final-card h2 {
  max-width: 23ch;
}

.final-copy .eyebrow {
  margin-bottom: 16px;
}

.final-action {
  position: relative;
  z-index: 1;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

.final-action .section-lead {
  max-width: 44ch;
}

.final-action .hero-actions {
  margin-top: 24px;
}

.final-note {
  display: flex;
  gap: 10px 20px;
  margin-top: 16px;
  color: var(--fg2);
  font-size: 11px;
  flex-wrap: wrap;
}

.final-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.final-note span::before {
  width: 5px;
  height: 5px;
  content: '';
  background: var(--accent-fill);
  border-radius: 1px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 32px;
  padding: 36px 0 44px;
  color: var(--fg2);
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-group strong {
  color: var(--fg);
  font-size: 11px;
}

.footer-group a {
  color: var(--fg2);
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--accent);
}

.footer-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 12px;
}

.footer-languages a {
  color: var(--fg2);
  text-decoration: none;
}

.footer-languages a:hover,
.footer-languages a[aria-current='page'] {
  color: var(--accent);
}

.footer-languages a[aria-current='page'] {
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .section-heading,
  .trust-layout,
  .faq-layout,
  .download-panel,
  .final-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .download-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

  .final-action {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .section-heading {
    align-items: start;
  }

  .faq-intro {
    position: static;
  }

  .footer {
    grid-template-columns: 1fr repeat(2, auto);
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 32px, 1200px);
  }

  .topbar {
    min-height: 64px;
  }

  .brand span {
    font-size: 15px;
  }

  .signin,
  .top-actions .button {
    display: none;
  }

  .language-link {
    display: inline-flex;
  }

  .hero {
    padding: 48px 0 72px;
  }

  h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 21px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .intent-grid {
    display: flex;
    gap: 10px;
    margin-right: -16px;
    padding: 3px 16px 8px 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .intent-grid::-webkit-scrollbar {
    display: none;
  }

  .intent-card {
    min-width: min(82vw, 310px);
    min-height: 224px;
    scroll-snap-align: start;
  }

  .demo-wrap {
    margin-top: 36px;
    padding-top: 28px;
  }

  .demo-label {
    right: 0;
  }

  .section,
  .final-cta {
    padding: 72px 0;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 32px;
  }

  .lifecycle-grid,
  .loop,
  .trust-proof,
  .surface-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .lifecycle-card {
    min-height: 0;
  }

  .loop {
    gap: 12px;
  }

  .loop-step,
  .loop-step:first-child,
  .loop-step:last-child {
    min-height: 0;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .loop-number {
    width: 32px;
    height: 32px;
  }

  .loop-arrow {
    display: none;
  }

  .surface-next {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-section {
    padding-top: 56px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .download-action {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .download-action .devbuild {
    width: 100%;
    align-items: flex-start;
  }

  .download-panel .devbuild .button {
    width: 100%;
  }

  .final-card {
    gap: 28px;
    padding: 28px 24px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-languages {
    gap: 8px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
