/* The front page: an advertisement for SEA Connect.  Sections at most 1120 px wide, centered. */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.front main > section { padding-top: 72px; }
.front h2 { font-size: 44px; }
.front .sub { font-size: 22px; color: var(--ink-soft); margin-bottom: 28px; }

/* B. Hero, 60 / 40 */
.hero { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: center; }
.kicker { font-variant: small-caps; text-transform: lowercase; letter-spacing: .08em; font-weight: 700; font-size: 20px; color: var(--brand-deep); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .kicker { color: var(--brand); } }
.hero h1 { font-size: 64px; }
.lede { font-size: 22px; max-width: 34em; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.proof li { display: flex; gap: 14px; align-items: flex-start; }
.proof strong { display: block; font-size: 20px; }
.proof span { color: var(--ink-soft); }
.check { width: 28px; height: 28px; flex: none; margin-top: 2px; }
.check circle { fill: var(--brand); }
.check path { fill: none; stroke: var(--on-brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* C. The demo */
.demo { text-align: center; }
.brand-switch { display: inline-flex; border: 2px solid var(--rule); border-radius: var(--pill); padding: 4px; margin: 0 0 28px; gap: 4px; }
.brand-switch label { position: relative; display: inline-flex; }
.brand-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.brand-switch span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: var(--pill); font-weight: 700; cursor: pointer; }
.brand-switch input:checked + span { background: var(--brand); color: var(--on-brand); }
.brand-switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.frame { width: 1040px; max-width: 100%; margin: 0 auto; text-align: left; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px var(--shadow); font-family: var(--font); }
.frame, .frame * { transition: color .25s, background-color .25s, border-color .25s, border-radius .25s; }
@media (prefers-reduced-motion: reduce) { .frame, .frame * { transition: none; } }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--rule); display: block; }
.address { flex: 1; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--pill); padding: 4px 16px; font-size: 16px; color: var(--ink-soft); }
.frame-view .cv-main { padding: 16px; }
.frame-view .topbar { padding: 12px 16px; }
.frame-view .cv-tabs { margin: 0 auto 0 12px; }

/* The two lockups, stacked; the frame's brand picks which one shows. */
.cv-lockups { display: inline-grid; }
.cv-lockups > .cv-logo { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 10px; transition: opacity .25s; }
.cv-logo-gecko { opacity: 0; }
.cv-logo-gecko img { height: 34px; width: 34px; border-radius: 0; }
.gk-a { font: var(--display-weight) 26px/1 var(--font-display); letter-spacing: var(--display-track); }
.gk-b { font: 500 22px/1 var(--font); color: var(--ink-soft); }
[data-brand="gecko"] .cv-logo-sea { opacity: 0; }
[data-brand="gecko"] .cv-logo-gecko { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cv-lockups > .cv-logo { transition: none; } }
.cv-product { font-weight: 700; color: var(--brand-deep); border: 2px solid var(--brand); border-radius: var(--pill); padding: 6px 14px; white-space: nowrap; }

.captions { list-style: none; padding: 0; margin: 22px auto 6px; display: flex; justify-content: center; gap: 12px 36px; flex-wrap: wrap; font-weight: 700; }
.captions li + li::before { content: '·'; margin-right: 36px; color: var(--ink-soft); }
.small-note { font-size: 16px; }

/* D. How It Works */
.how { text-align: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.step + .step::before { content: '→'; position: absolute; left: -32px; top: 120px; font-size: 28px; color: var(--ink-soft); }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.step svg { width: 200px; max-width: 100%; height: auto; color: var(--ink); }
.step h3 { font-size: 24px; margin: 4px 0 0; }
.step p { font-size: 18px; margin: 0; }
.s-ink { stroke: currentColor; }
.f-ink { fill: currentColor; }
.f-brand { fill: var(--brand); }
.s-brand { stroke: var(--brand); }
.s-on { stroke: var(--on-brand); }
.f-good { fill: var(--good); }
.f-paper { fill: var(--paper); }

/* E. Safe By Design */
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.safe h3 { font-size: 24px; }

/* F. Foot */
.foot { text-align: center; padding-top: 72px; padding-bottom: 64px; }
.foot p { margin-top: 18px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step::before { display: none; }
  .step:nth-child(even)::after { content: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .front main > section { padding-top: 52px; }
  .hero h1 { font-size: 44px; }
  .front h2 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step + .step::before { display: block; content: '↓'; position: static; margin-bottom: 4px; }
  .safe { grid-template-columns: 1fr; gap: 12px; }
  .brand-switch span { padding: 0 14px; }
  .captions li + li::before { display: none; }
  .front-top .btn { padding: 0 16px; }
  .gk-b { display: none; }
}
