/* SiliconRoshi homepage -- follows the SiliconRoshi design system (forms/DESIGN.md):
   white ground, Yale navy for action, Harvard red only as a mark. */
:root {
  --bg: #ffffff; --bg-subtle: #f7f8fa; --line: #e6e8ec; --line-strong: #d4d8de;
  --text: #0b0f17; --text-2: #4b5462; --text-3: #8a929f;
  --brand: #002d68; --brand-hover: #0a3b80; --brand-tint: #eef3fa; --mark: #d4101c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 18px/1.6 Inter, "Noto Sans SC", system-ui, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1, h2, h3 { font-weight: 600; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; line-height: 1.2; max-width: 22em; }
h3 { font-size: 21px; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.top { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand strong { font-size: 20px; letter-spacing: -0.01em; font-weight: 600; }
.brand span { border-left: 1px solid var(--line-strong); padding-left: 12px; font-size: 18px; font-weight: 500; color: var(--text-2); }
nav { display: flex; align-items: center; gap: 24px; font-size: 16px; }
nav a { color: var(--text-2); text-decoration: none; }
nav a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 17px; border: 1px solid var(--brand); transition: background 80ms ease-out; }
.btn:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-subtle); }
.btn-small { padding: 7px 14px; font-size: 15px; color: #fff !important; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.center { justify-content: center; }

.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mark); margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--text-2); max-width: 38em; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--brand); background: var(--brand-tint); border-radius: 6px; padding: 3px 10px; margin-bottom: 16px; }
.soon { font-weight: 500; color: var(--mark); }
.soon::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mark); margin-right: 6px; vertical-align: middle; }

/* hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.wheel { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wheel-stage { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
#wheel-svg { width: 100%; height: 100%; overflow: visible; }
.seg { cursor: pointer; outline: none; }
.seg path { transition: transform 160ms ease-out, opacity 160ms ease-out; opacity: .62; }
.seg text { fill: #fff; font: 600 14.5px Inter, system-ui, sans-serif; pointer-events: none; transition: transform 160ms ease-out; }
.seg.on path, .seg:focus-visible path { opacity: 1; transform: translate(var(--dx), var(--dy)); filter: drop-shadow(0 6px 14px rgba(0,45,104,.28)); }
.seg.on text, .seg:focus-visible text { transform: translate(var(--dx), var(--dy)); }
.seg:focus-visible path { stroke: var(--mark); stroke-width: 2; }
.wheel-center { position: absolute; inset: 27.5%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.wheel-group { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mark); }
.wheel-name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 2px 0; }
.wheel-line { font-size: 14px; line-height: 1.35; color: var(--text-2); }
.wheel-go { margin-top: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.wheel-go:hover { text-decoration: underline; }
.wheel-key { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--text-2); }
.wheel-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.fit { width: min(100%, 440px); }
.fit label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.fit-row { display: flex; gap: 8px; }
.fit input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 12px; font: 17px Inter, system-ui, sans-serif; color: var(--text); }
.fit input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.fit .btn { cursor: pointer; font-family: inherit; white-space: nowrap; }
.fit-note { min-height: 24px; margin: 8px 0 0; font-size: 15px; color: var(--text-2); }

/* path chooser */
.paths { padding: 56px 0 72px; background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.path { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 22px; text-decoration: none; color: var(--text); transition: border-color 80ms ease-out; }
.path:hover { border-color: var(--brand); }
.path-q { font-size: 18px; line-height: 1.45; }
.path-a { font-size: 16px; font-weight: 600; color: var(--brand); }

/* sections */
.block { padding: 96px 0; }
.block.alt { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.checks li { padding: 18px 22px; color: var(--text-2); font-size: 17px; }
.checks li + li { border-top: 1px solid var(--line); }
.checks b { color: var(--text); font-weight: 600; }

.cards { display: grid; gap: 16px; margin-top: 36px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card p:not(.tag) { color: var(--text-2); font-size: 17px; }
.card .btn { margin-top: auto; }
.mini { margin: 0 0 24px; padding-left: 20px; color: var(--text-2); font-size: 16px; }
.mini li + li { margin-top: 4px; }

/* stranger-to-customer flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; padding: 0; }
.flow li { position: relative; padding: 14px 0 0; border-top: 2px solid var(--brand); }
.flow-step { display: block; font-weight: 600; color: var(--brand); }
.flow-what { display: block; font-size: 16px; color: var(--text-2); }

/* trust band */
.story { background: var(--brand); color: #fff; padding: 80px 0; }
.story .eyebrow { color: #ffb3b8; }
.story p { color: #d9e2f0; }
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 14px 0; color: #d9e2f0; border-top: 1px solid rgba(255,255,255,.18); }
.facts b { color: #fff; font-weight: 600; }

/* contact */
.contact { padding: 96px 0; text-align: center; background: var(--brand-tint); }
.contact h2, .contact .lead { margin-left: auto; margin-right: auto; }
.mail { margin: 20px 0 0; font-size: 16px; color: var(--text-2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; color: var(--text-3); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid p { margin: 10px 0 0; }
.foot-grid b { display: block; color: var(--text); font-weight: 600; margin-bottom: 8px; }
.foot-grid a { display: block; color: var(--text-2); text-decoration: none; padding: 2px 0; }
.foot-grid a:hover { color: var(--brand); }

@media (max-width: 960px) {
  .path-grid, .cards.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  nav a:not(.btn) { display: none; }
  .brand img { width: 36px; height: auto; }
  .brand strong { font-size: 17px; }
  .brand span { font-size: 15px; padding-left: 8px; }
  .hero { padding: 56px 0 48px; }
  .hero-grid, .feature, .story-grid, .cards.two, .cards.three, .path-grid { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: 1fr; }
  .block, .contact, .story { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
