/* BrainOS simple pages (2026-10-20): the homepage's calm white language for
   static pages. White page, one idea per screen, thin indigo lines, no boxes.
   Pair with footer.css. Markup: <nav class="home-nav">, .s-hero, .s-moment. */
:root {
  --ink: #08090e; --indigo: #3533cd; --paper: #f6f6fa; --text: #4a4a5e; --muted: #6e6e84;
  --line: rgba(20, 20, 40, 0.1);
  --font-display: 'Urbanist', 'Inter', sans-serif;
  --grad-fill: linear-gradient(135deg, #08090e 15%, #3533cd);
  --grad-text: linear-gradient(135deg, #08090e 10%, #3533cd 90%);
  color-scheme: light;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: 'Inter', sans-serif; background: #fff; color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; font-size: 17px; line-height: 1.65; }
a { color: inherit; }
h1, h2, h3, p { text-wrap: balance; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* nav: same as the homepage */
.home-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px max(16px, env(safe-area-inset-left)); background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.logo { display: flex; align-items: center; gap: 9px; font: 600 16px/1 'Inter'; color: var(--ink); text-decoration: none; }
.logo svg { width: 18px; height: 20px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 22px; font: 500 14px/1 'Inter'; }
.nav-links a { text-decoration: none; color: var(--text); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: #fff !important; background: var(--grad-fill); padding: 9px 15px; border-radius: 999px; }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 14px; } }

/* shared footer (footer.css) logo icon */
.logo-icon { display: inline-flex; align-items: center; color: var(--ink) !important; }
.logo-icon svg { width: 0.92em; height: 1em; display: block; }

/* type */
.kicker { font: 500 12px/1.4 'Inter'; letter-spacing: 0.2em; text-transform: uppercase; color: var(--indigo); margin-bottom: 22px; }
.s-hero { min-height: 92svh; display: grid; place-content: center; text-align: center; padding: 120px 16px 72px; }
.s-hero h1 { font-family: var(--font-display); font-weight: 300; color: var(--ink); font-size: clamp(42px, 7.4vw, 88px); line-height: 1.04; letter-spacing: -0.02em; }
.s-hero .lede { max-width: 60ch; margin: 32px auto 0; font-size: clamp(16px, 1.5vw, 19px); }
.s-crumb { position: absolute; top: 78px; left: 0; right: 0; text-align: center; font: 500 12px/1 'Inter'; color: var(--muted); }
.s-crumb a { text-decoration: none; } .s-crumb a:hover { color: var(--ink); }
.s-moment { min-height: 80svh; display: grid; place-content: center; text-align: center; padding: 96px 16px; }
.s-moment h2, .s-title { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: clamp(32px, 5vw, 58px); line-height: 1.1; letter-spacing: -0.02em; }
.s-moment .body { max-width: 56ch; margin: 28px auto 0; }
.s-moment .body p + p { margin-top: 18px; }

/* the offset label from the business card and the film */
.s-hl { color: var(--paper); padding: 0.02em 0.46em 0.18em 0.22em; white-space: nowrap;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / calc(100% - 0.2em) calc(100% - 0.14em), linear-gradient(var(--indigo), var(--indigo)) no-repeat 0.2em 0.14em / calc(100% - 0.2em) calc(100% - 0.14em);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 'Inter'; padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; }
.btn-fill { color: #fff; background: var(--grad-fill); }
.btn-line { color: var(--ink); background: #fff; border: 1px solid rgba(20, 20, 40, 0.16); }
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: 0.6; cursor: default; }

/* reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.15s; } .reveal.d2 { transition-delay: 0.3s; } .reveal.d3 { transition-delay: 0.45s; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* forms: hairlines, no boxes */
.s-form { display: grid; gap: 22px; max-width: 560px; margin: 48px auto 0; text-align: left; }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.s-field label { display: block; font: 500 13px/1.4 'Inter'; color: var(--ink); margin-bottom: 6px; }
.s-field .opt { color: var(--muted); font-weight: 400; }
.s-field input, .s-field select, .s-field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(20, 20, 40, 0.2); border-radius: 0; padding: 10px 0; }
.s-field select { -webkit-appearance: none; appearance: none; background: no-repeat right 4px center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e84' stroke-width='1.4'/%3E%3C/svg%3E"); }
.s-field textarea { min-height: 88px; resize: vertical; }
.s-field input::placeholder, .s-field textarea::placeholder { color: #a0a0b4; }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: 0; border-bottom-color: var(--indigo); box-shadow: 0 1px 0 var(--indigo); }
.s-form .btn { justify-self: center; margin-top: 10px; }
.s-note { font-size: 13px; color: var(--muted); text-align: center; }
.s-status { font-size: 14px; min-height: 1em; text-align: center; }
.s-status.err { color: #dc2626; }
@media (max-width: 640px) { .s-row { grid-template-columns: 1fr; } .s-form .btn { justify-self: stretch; } }
