/* Seven Systems Solutions — "Signal" direction of the Nocturne design system.
   Tokens come from the Claude Design export (design/Seven Systems Solutions (1).html). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --color-bg: #141312;
  --color-surface: #201e1c;
  --color-text: #ecebe7;
  --color-accent: oklch(0.78 0.15 68);
  --color-divider: color-mix(in srgb, #ecebe7 16%, transparent);
  --color-section: oklch(0.3 0.06 60);
  --color-section-glow: oklch(0.38 0.08 62);

  --color-neutral-100: oklch(0.97 0.004 60);
  --color-neutral-200: oklch(0.93 0.006 60);
  --color-neutral-300: oklch(0.87 0.008 60);
  --color-neutral-400: oklch(0.78 0.010 60);
  --color-neutral-500: oklch(0.68 0.012 60);
  --color-neutral-600: oklch(0.58 0.010 60);
  --color-neutral-700: oklch(0.48 0.008 60);
  --color-neutral-800: oklch(0.38 0.006 60);
  --color-neutral-900: oklch(0.28 0.004 60);

  --color-accent-100: oklch(0.97 0.050 68);
  --color-accent-200: oklch(0.93 0.075 68);
  --color-accent-300: oklch(0.87 0.100 68);
  --color-accent-400: oklch(0.78 0.125 68);
  --color-accent-500: oklch(0.68 0.150 68);
  --color-accent-600: oklch(0.58 0.125 68);
  --color-accent-700: oklch(0.48 0.100 68);
  --color-accent-800: oklch(0.38 0.075 68);
  --color-accent-900: oklch(0.28 0.050 68);

  --ok-bg: oklch(0.32 0.05 150);
  --ok-fg: oklch(0.86 0.08 150);
  --part-bg: oklch(0.34 0.05 80);
  --part-fg: oklch(0.88 0.09 80);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading-weight: 500;

  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 0 0 1px #34312d;
  --shadow-md: 0 0 0 1px #4a4640, 0 6px 18px rgba(0,0,0,0.55);
  --shadow-lg: 0 0 0 1px #6e685f, 0 16px 40px rgba(0,0,0,0.65);

  --gutter: clamp(16px, 5vw, 64px);
  --muted: color-mix(in srgb, var(--color-text) 72%, transparent);
  --soft: color-mix(in srgb, var(--color-text) 78%, transparent);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: var(--font-heading-weight); line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent-300); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-200); }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--color-accent); color: var(--color-bg); text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--color-bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page { max-width: 1440px; margin: 0 auto; }
[hidden] { display: none !important; }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none; font: inherit; font-weight: 500;
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 6px 10px; border-radius: var(--radius-md);
  transition: background .15s;
}
.btn svg { display: block; flex: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { color: var(--color-accent); border-color: var(--color-accent); }
.btn-primary:hover { color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.btn-primary:active { background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { color: var(--color-text); background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: 4px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-lg { padding: 12px 16px; font-size: 15px; justify-content: space-between; min-height: 46px; }
.btn-wide { min-width: min(220px, 100%); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* — tags — */
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 2px; white-space: nowrap; }
.tag-accent { background: var(--color-accent-800); color: var(--color-accent-100); }
.tag-neutral { background: var(--color-neutral-800); color: var(--color-neutral-100); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
.tag-expired { background: var(--color-accent); color: var(--color-bg); }
.tag-waiver { color: var(--color-accent); }

/* — forms — */
.field > label, .field > .label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.input {
  width: 100%; min-height: 44px; padding: 8px 12px; font: inherit;
  font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-bg); border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input::placeholder { color: color-mix(in srgb, var(--color-text) 38%, transparent); }
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 110px; resize: vertical; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--color-divider); border-radius: var(--radius-md); max-width: 100%; }
.seg-opt { position: relative; display: inline-flex; align-items: center; padding: 10px 14px; font-size: 14px; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* — nav — */
.site-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--color-text); text-decoration: none; }
.brand:hover { color: var(--color-text); }
.brand svg { flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name span { font-size: 14px; font-weight: 300; letter-spacing: 0.02em; color: color-mix(in srgb, var(--color-text) 85%, transparent); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: inherit; text-decoration: none; font-size: 14px; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-accent); }

/* — shared section pieces — */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-300); margin-bottom: 14px; }
.eyebrow-dot::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--color-accent); flex: none; }
.lead { font-size: 17px; line-height: 1.65; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.body-copy { font-size: 16px; line-height: 1.65; color: var(--soft); }
.muted { color: var(--muted); }
.hero {
  background: radial-gradient(ellipse 60% 90% at 10% 0%, color-mix(in srgb, var(--color-section) 70%, transparent), transparent 70%);
  padding: clamp(48px, 8vw, 104px) var(--gutter) 72px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 36px;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { font-size: clamp(40px, 5.8vw, 84px); line-height: 0.98; letter-spacing: -0.035em; margin-left: -3px; }
.hero h1 > span, .h-lines > span { display: block; }
.hero-copy { max-width: 640px; }
.hero-copy .btn-row { margin-top: 28px; }
.section { padding: clamp(56px, 8vw, 88px) var(--gutter); }
.section-tight { padding: 0 var(--gutter) 72px; }
.h-xl { font-size: clamp(31px, 3.9vw, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(26px, 3.33vw, 48px); line-height: 1.04; letter-spacing: -0.02em; }
.h-md { font-size: clamp(24px, 2.78vw, 40px); line-height: 1.06; letter-spacing: -0.02em; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: 40px; }
.fade-rule { height: 1px; margin: 0 var(--gutter); background: linear-gradient(90deg, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent); }

/* Cards that lift on hover */
.card { padding: 24px 20px 28px; background: var(--color-surface); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s; }
.card h3 { font-size: 22px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--soft); }
@media (hover: hover) { .card:hover, .lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } }
.lift { transition: transform .35s var(--ease), box-shadow .35s; }
.grid-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr)); }
.badge { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--color-neutral-400); border-radius: var(--radius-sm); font-size: 11px; font-weight: 500; }
.badge.r { border-radius: 50%; }

/* Ruled columns: grid cells separated by vertical rules on wide screens,
   horizontal rules once they stack. */
.ruled { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); margin: 0 var(--gutter); }
.ruled > * { padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 12px; }
.ruled > * + * { border-left: 1px solid var(--color-divider); }
.ruled > :first-child { padding-left: 0; }
.ruled > :last-child { padding-right: 0; }
.ruled.open { border-bottom: 0; margin: 0; }
.ruled.open > * { padding-bottom: 0; }
.ruled h3 { font-size: 20px; line-height: 1.15; }
.ruled p { font-size: 14.5px; line-height: 1.6; color: var(--soft); }
.num { font-size: 14px; font-weight: 500; color: var(--color-accent); }
.big-num { font-size: clamp(32px, 3.33vw, 48px); font-weight: 500; line-height: 1; color: var(--color-accent); }
.stat-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 70%, transparent); }

/* Product mockup panel */
.panel { background: var(--color-bg); box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); overflow: hidden; }
.panel-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.panel-bar { display: flex; align-items: center; gap: 28px; padding: 14px 20px; border-bottom: 1px solid var(--color-divider); font-size: 13px; white-space: nowrap; }
.panel-bar .logo { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.panel-bar .on { color: var(--color-accent); font-weight: 500; }
.panel-bar .count { background: var(--color-accent-800); color: var(--color-accent-100); border-radius: var(--radius-sm); font-size: 11px; font-weight: 500; padding: 1px 6px; margin-left: 6px; }
.panel-bar .firm { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.avatar { width: 24px; height: 24px; background: var(--color-neutral-700); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 500; }
.panel-head { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; padding: 20px 20px 16px; }
.panel-head .btn-row { margin-left: auto; gap: 8px; }
.panel-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 14px 20px; font-size: 12px; color: color-mix(in srgb, var(--color-text) 70%, transparent); border-top: 1px solid var(--color-divider); }
.panel-foot span { display: flex; align-items: center; gap: 6px; }
.mini-badge { width: 14px; height: 14px; display: inline-grid; place-items: center; border: 1px solid var(--color-divider); font-size: 8.5px; font-weight: 500; color: var(--color-text); flex: none; }
.mini-badge.r { border-radius: 50%; }
.sq { width: 8px; height: 8px; border-radius: 2px; background: var(--color-accent); flex: none; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); padding: 8px; white-space: nowrap; }
.table td { padding: 10px 8px; vertical-align: middle; }
.table thead tr { background: linear-gradient(to right, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px; }
.table tbody tr { background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-text) 8%, transparent) 48px, color-mix(in srgb, var(--color-text) 8%, transparent) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px; }
.table tr > :first-child { padding-left: 20px; }
.table tr > :last-child { padding-right: 20px; }
.table .co { font-weight: 500; white-space: nowrap; }
.table .meta { font-size: 11.5px; color: color-mix(in srgb, var(--color-text) 70%, transparent); margin-top: 2px; white-space: nowrap; }
.sc { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.sc-bar { height: 3px; border-radius: 2px; background: var(--color-neutral-800); margin-top: 6px; width: 60px; }
.sc-bar i { display: block; height: 3px; border-radius: 2px; background: var(--color-text); }
.low { color: var(--color-accent-300); }
.low + .sc-bar i, .sc-bar.low i { background: var(--color-accent); }
.view { color: var(--color-accent-300); font-weight: 500; white-space: nowrap; }

/* Assign shortlist mock */
.phase-head { padding: 18px 20px; border-bottom: 1px solid var(--color-divider); }
.sync { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--color-surface); border-bottom: 1px solid var(--color-divider); font-size: 12.5px; }
.sync .dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.74 0.12 150); }
.sync b { margin-left: auto; font-weight: 500; color: var(--color-accent-300); }
.cand { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-bottom: 1px solid var(--color-divider); align-items: center; }
.cand:last-child { border-bottom: 0; }
.cand-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.cand-detail { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; }
.cand-detail .chip { font-weight: 500; padding: 2px 8px; }
.chip-ok { background: var(--ok-bg); color: var(--ok-fg); }
.chip-part { background: var(--part-bg); color: var(--part-fg); }
.chip-no { background: var(--color-accent-800); color: var(--color-accent-100); }
.cand-scores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cand-scores > span { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }
.cand-scores .mini-badge { width: 12px; height: 12px; font-size: 7.5px; }
.steps { border-top: 1px solid var(--color-divider); margin-top: 32px; }
.steps > div { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--color-divider); font-size: 15px; }
.steps > div > span:first-child { font-weight: 500; color: var(--color-accent); }

/* Flagship product band (home) */
.flagship { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-md); overflow: hidden; }
.flagship-copy { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; background: radial-gradient(ellipse 90% 120% at 0% 0%, var(--color-section-glow), var(--color-section) 75%); }
.flagship-copy .btn-row { gap: 10px; margin-top: 8px; }
.wordmark { font-size: 22px; letter-spacing: .04em; }
.flagship-table { padding: 28px 12px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.flagship-table .kicker { padding: 0 20px; }
.kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 70%, transparent); }

/* Founders */
.founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; }
.founder-photo { position: relative; min-height: 280px; background: var(--color-neutral-900); filter: contrast(1.04) saturate(.92); }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--color-bg) 45%, transparent)), radial-gradient(ellipse 120% 90% at 50% 30%, transparent 60%, color-mix(in srgb, var(--color-bg) 35%, transparent)); }
.founder-copy { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.founder-copy .role { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-300); }
.founder-copy h3 { font-size: 26px; line-height: 1.1; }
.founder-copy p { font-size: 15px; line-height: 1.6; color: var(--soft); }

/* CTA bands */
.cta-glow { background: radial-gradient(ellipse 70% 120% at 15% 0%, var(--color-section-glow), var(--color-section) 60%); padding: clamp(56px, 8vw, 96px) var(--gutter); }
.cta-glow h2 { font-size: clamp(34px, 4.44vw, 64px); line-height: 1.02; letter-spacing: -0.02em; margin-left: -2px; }
.cta-glow .btn-row { margin-top: 40px; }
.cta-flat { background: linear-gradient(180deg, var(--color-surface), var(--color-bg)); padding: 72px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px 48px; }
.cta-flat h2 { max-width: 20ch; }

/* Service area / local band */
.local { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--color-divider); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-size: 16px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 20px; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--soft); max-width: 72ch; }

/* Booking pages */
.booking { background: radial-gradient(ellipse 60% 90% at 10% 0%, color-mix(in srgb, var(--color-section) 70%, transparent), transparent 70%); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 5vw, 64px); padding: clamp(48px, 8vw, 96px) var(--gutter); }
.booking h1 { font-size: clamp(33px, 4.17vw, 60px); line-height: 1.02; letter-spacing: -0.035em; }
.booking .lead { margin: 24px 0 40px; color: var(--muted); }
.bullets { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.bullets > div { display: flex; gap: 12px; align-items: baseline; }
.numbered { display: flex; flex-direction: column; gap: 18px; }
.numbered > div { display: grid; grid-template-columns: 40px 1fr; font-size: 15px; }
.numbered > div > span { color: var(--color-accent); }
.form-card { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(20px, 4vw, 40px); align-self: start; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.form .btn-lg { align-self: flex-start; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-error { display: none; padding: 12px 14px; border: 1px solid var(--color-accent); color: var(--color-accent-200); font-size: 14px; }
.form-error.show { display: block; }
.sent { display: none; flex-direction: column; gap: 16px; padding: 24px 0; }
.sent.show { display: flex; }
.sent:focus { outline: none; }
.sent h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.sent .tag { align-self: flex-start; }

/* Footer */
.site-footer { padding: 48px var(--gutter) 32px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; font-size: 14px; line-height: 1.9; border-top: 1px solid var(--color-divider); }
.site-footer .col { display: flex; flex-direction: column; }
.site-footer .col-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; color: color-mix(in srgb, var(--color-text) 70%, transparent); line-height: 1.6; margin-top: 12px; }
.footer-legal { grid-column: 1 / -1; font-size: 12px; color: color-mix(in srgb, var(--color-text) 55%, transparent); padding-top: 16px; border-top: 1px solid var(--color-divider); }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }

/* Scroll-reveal: only hidden once JS has confirmed it can reveal them. */
.js [data-reveal]:not(.revealed) { opacity: 0; }

/* ——— responsive ——— */
@media (max-width: 960px) {
  .ruled { grid-template-columns: repeat(2, 1fr); }
  .ruled > * { padding: 28px 20px 32px; }
  .ruled > :nth-child(odd) { padding-left: 0; border-left: 0; }
  .ruled > :nth-child(even) { padding-right: 0; }
  .ruled > :nth-child(n+3) { border-top: 1px solid var(--color-divider); }
  .ruled[style*="--cols: 3"] > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer .col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-nav { padding-block: 10px; gap: 8px 16px; }
  .brand svg { width: 28px; height: 29px; }
  .brand-name b { font-size: 15px; }
  .brand-name span { font-size: 12px; }
  .nav-links { order: 3; width: 100%; gap: 20px; padding-top: 2px; border-top: 1px solid var(--color-divider); }
  .nav-links a { padding: 8px 0 2px; }
  .site-nav .btn { padding: 8px 12px; }
  .hero { gap: 28px; padding-bottom: 48px; }
  .hero-copy .btn-row .btn, .cta-glow .btn, .cta-flat .btn, .form .btn-lg { width: 100%; }
  .ruled { grid-template-columns: 1fr; }
  .ruled > *, .ruled > :nth-child(n) { padding: 24px 0; border-left: 0; }
  .ruled > * + * { border-top: 1px solid var(--color-divider); }
  .ruled.open > * { padding-bottom: 24px; }
  .founder-photo { min-height: 320px; }
  .panel-head .btn-row { margin-left: 0; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg-opt { justify-content: center; text-align: center; }
  .seg-opt + .seg-opt { border-left: 0; }
  .seg-opt:nth-child(even) { border-left: 1px solid var(--color-divider); }
  .seg-opt:nth-child(n+3) { border-top: 1px solid var(--color-divider); }
  .seg.three .seg-opt:last-child { grid-column: 1 / -1; border-left: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
