/* datamcp.ai — tokens */
@font-face { font-family: 'Neue Haas Grotesk Display'; src: url('/fonts/NeueHaasDisplay-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Grotesk Display'; src: url('/fonts/NeueHaasDisplay-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-latin.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --bg-canvas: #0A0A0A; --bg-surface: #121212; --bg-elevated: #1A1A1A; --bg-hover: #1F1F1F; --bg-panel: #101010;
  --border-subtle: #242424; --border-strong: #363636;
  --text-primary: #FFFFFF; --text-secondary: #A3A3A3; --text-muted: #707070; --text-label: #8A8A8A; --text-bright: #E8E8E8;
  --accent: #0AC675;
  --accent-hover: #089C5D;
  --accent-hover: color-mix(in oklab, var(--accent), #000 24%);
  --accent-ink: #04261A;
  --border-accent: rgba(10, 198, 117, 0.35);
  --border-accent: color-mix(in srgb, var(--accent) 35%, transparent);
  --accent-wash: rgba(10, 198, 117, 0.08);
  --accent-wash: color-mix(in srgb, var(--accent) 8%, transparent);
  --danger: #E5484D;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 24px);
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; background: var(--bg-canvas); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg-canvas); color: var(--text-primary); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: #FAFAFA; text-decoration: none; transition: color 150ms var(--ease); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: rgba(10, 198, 117, 0.3); }
h1, h2, h3, p { margin: 0; }
s { text-decoration-color: #4A4A4A; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--accent); }
.tnum { font-variant-numeric: tabular-nums; }

/* type */
.eyebrow { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-label); margin: 0 0 24px; }
.eyebrow--section { margin-bottom: 16px; }
.h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.lede { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; max-width: 58ch; }
.lede--center { max-width: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding-inline: 22px; border-radius: 6px; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1; border: 0; cursor: pointer; white-space: nowrap; transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease); }
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { background: transparent; border: 1px solid var(--border-strong); color: #FAFAFA; font-weight: 400; }
.btn--ghost:hover { background: var(--bg-hover); color: #FAFAFA; }
.btn--sm { height: 36px; padding-inline: 16px; font-size: 14px; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; }
.brand:hover { color: #FFFFFF; }
.brand__word { font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.brand__name { font-weight: 500; }
.brand__tld { font-weight: 400; color: var(--text-secondary); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; background-color: transparent; border-bottom: 1px solid transparent; transition: background-color 150ms var(--ease), border-color 150ms var(--ease); }
.nav.is-scrolled { background-color: rgba(10, 10, 10, 0.94); border-bottom-color: var(--border-subtle); }
@supports (backdrop-filter: blur(1px)) { .nav.is-scrolled { background-color: rgba(10, 10, 10, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: none; align-items: center; gap: 28px; font-size: 15px; }
.nav__disabled { color: var(--text-muted); cursor: default; }
@media (min-width: 960px) { .nav__links { display: flex; } }

/* hero */
.hero { position: relative; padding-top: 152px; padding-bottom: 96px; background: radial-gradient(90% 55% at 50% -10%, rgba(255,255,255,0.07), transparent); }
@supports (background: radial-gradient(in oklab, red, blue)) { .hero { background: radial-gradient(in oklab 90% 55% at 50% -10%, rgba(255,255,255,0.07), transparent); } }
.hero__rails { position: absolute; inset: 0; max-width: var(--container); margin-inline: auto; border-inline: 1px solid rgba(255,255,255,0.04); pointer-events: none; }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { font-size: clamp(40px, 6.5vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; max-width: 20ch; }
.hero__sub { margin-top: 24px; font-size: 18px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; max-width: 52ch; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__note { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--text-label); }

/* terminal */
.terminal { margin-top: 72px; width: 100%; max-width: 800px; text-align: left; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--border-subtle); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #FF5F57; } .dot--y { background: #FEBC2E; } .dot--g { background: #28C840; }
.terminal__title { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.terminal__body { padding: 20px 24px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 2; }
.terminal__foot { padding: 0 24px 16px; display: flex; justify-content: flex-end; font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.line { white-space: pre; transition: opacity 250ms var(--ease); }
.line-gap { height: 10px; }
.t-prompt { color: var(--accent); font-weight: 500; }
.t-bright { color: var(--text-bright); }
.t-sec { color: var(--text-secondary); }
.t-muted { color: var(--text-muted); }
.t-white { color: #FFFFFF; }
.t-strong { color: #FFFFFF; font-weight: 500; }
.t-rule { color: #333333; }
.caret { display: inline-block; width: 8px; height: 14px; margin-left: 6px; vertical-align: -2px; background: var(--text-secondary); animation: caretBlink 1.1s step-end 8; }
/* JS reveals lines one by one; without JS or with reduced motion they are simply visible */
html.js.motion .terminal.is-pending .line[data-line] { opacity: 0; }
html.js.motion .terminal.is-pending .line[data-line].is-on { opacity: 1; }

/* sections */
.section { padding-block: 96px; }
.section--surface { background: var(--bg-surface); }

/* outcome cards */
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { padding: 24px; background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: 12px; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.card:hover { border-color: var(--border-accent); background: var(--bg-hover); }
.card__head { display: flex; justify-content: space-between; align-items: center; color: var(--text-label); }
.card__tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.card__title { margin: 18px 0 8px; font-size: 17px; font-weight: 500; }
.card__body { font-size: 15px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }

/* how it works */
.rail { margin-top: 48px; position: relative; }
.rail__line, .rail__dot { display: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
.step__name { grid-column: 2; margin: 0 0 6px; font-family: var(--mono); font-size: 15px; font-weight: 400; color: #FFFFFF; transition: color 300ms var(--ease); }
.step__body { grid-column: 2; font-size: 14px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
@media (min-width: 960px) {
  .rail { margin-top: 56px; }
  .rail__line { display: block; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--border-strong); }
  html.js.motion .rail__dot { display: block; position: absolute; top: 6px; left: 0; width: 9px; height: 9px; margin-left: -5px; border-radius: 50%; background: var(--accent); }
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; position: relative; }
  .step { display: block; }
  .step__num { position: relative; z-index: 1; display: inline-block; background: var(--bg-surface); padding-inline-end: 10px; padding-top: 0; }
  .step__name { margin: 14px 0 8px; }
  html.js.motion .step .step__name { color: var(--text-muted); }
  html.js.motion .step.is-lit .step__name { color: #FFFFFF; }
}

/* before / after */
.diff { margin-top: 72px; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.panel { background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); overflow: hidden; display: flex; flex-direction: column; }
.panel--after { border-color: var(--border-accent); }
.panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border-subtle); }
.panel__file { font-family: var(--mono); font-size: 12px; color: var(--text-secondary); }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 10px; }
.pill--accent { color: var(--accent); border-color: var(--border-accent); }
.panel__body { padding-block: 16px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 2; }
.row { white-space: pre; padding-inline: 20px; }
.row--head { color: var(--text-label); border-bottom: 1px solid var(--border-subtle); padding-bottom: 6px; margin-bottom: 6px; }
.row--more { color: #4A4A4A; margin-top: 6px; }
.row--add { background: var(--accent-wash); }
.diff__arrow { display: none; }
@media (min-width: 960px) {
  .diff__arrow { display: flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: var(--bg-canvas); border: 1px solid var(--border-strong); align-items: center; justify-content: center; color: var(--accent); font-family: var(--mono); font-size: 14px; }
}

/* stats */
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 16px; }
.stat__rule { height: 1px; background: var(--border-strong); margin-bottom: 20px; width: 100%; transition: width 1.4s var(--ease); }
html.js.motion .stats.is-pending .stat__rule { width: 0%; }
.stat__value { font-size: clamp(44px, 5vw, 64px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: #FFFFFF; }
.stat__label { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; }
.footnote { margin-top: 48px; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--text-secondary); }

/* cta */
.cta { padding-block: 112px; }
.cta__inner { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.waitlist { margin-top: 32px; width: 100%; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.waitlist__field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 280px; max-width: 380px; }
.waitlist input[type="email"] { height: 46px; width: 100%; padding-inline: 14px; font-size: 16px; font-family: var(--sans); color: #FFFFFF; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 6px; transition: border-color 150ms var(--ease); }
.waitlist input[type="email"]::placeholder { color: var(--text-muted); }
.waitlist input[type="email"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist.is-error input[type="email"] { border-color: var(--danger); }
.waitlist__error { font-size: 14px; text-align: start; color: var(--danger); }
.waitlist .btn { height: 46px; }
.waitlist.is-busy .btn { opacity: 0.7; pointer-events: none; }
.waitlist__success { margin-top: 32px; font-size: 17px; color: #FFFFFF; }
.cta__link { margin-top: 24px; font-size: 15px; color: var(--text-secondary); }

/* footer */
.footer { border-top: 1px solid var(--border-subtle); }
.footer__inner { padding-block: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.footer__links a { color: var(--text-secondary); }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-family: var(--mono); font-size: 12.5px; color: var(--text-muted); }

/* privacy page */
.prose { padding-top: 152px; padding-bottom: 96px; max-width: 680px; }
.prose h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.prose p { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }
.prose p.meta { font-family: var(--mono); font-size: 12.5px; color: var(--text-label); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 24px; }
.prose a { color: #FAFAFA; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }

/* logo: the dot swings into the port once on load; static default is the seated dot */
.port-dot { transform-box: view-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) { .port-dot { animation: portSeat 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; } }
@keyframes portSeat { from { transform: rotate(180deg); } to { transform: rotate(360deg); } }

/* motion */
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .btn:active { transform: none; }
  .line, .stat__rule, .step__name { transition: none; }
}
