/* Steady Coast Ops — site styles. Tokens from the Steady Coast Ops design system. */
:root {
  --fog: #F4F5F2;
  --white: #FFFFFF;
  --harbor: #0F2A30;
  --harbor-deep: #0B2126;
  --teal: #1E6468;
  --teal-tint: #E3EEEC;
  --slate: #4C6166;
  --line: #DCE1DD;
  --line-soft: #E6EAE7;
  --field-line: #7F8E8A;
  --sand: #E9E1D3;
  --sand-tint: #F4EFE6;
  --sand-line: #C9BBA3;
  --driftwood: #8A7A60;
  --sand-ink: #6B5E49;
  --sand-text: #4A4235;
  --foam: #D5DEDB;
  --foam-muted: #C9D5D2;
  --foam-dim: #A9BDB9;
  --harbor-line: #2E4B52;
  --harbor-line-deep: #1F3A40;
  --field-line-dark: #5E7E84;
  --danger: #A33A2B;
  --font-display: "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --radius-field: 12px;
  --radius-option: 14px;
  --radius-card-s: 16px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fog); color: var(--harbor); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--harbor); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: inherit; }
p { margin: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px;
}
.dark a:focus-visible, .dark button:focus-visible, .dark input:focus-visible { outline-color: var(--fog); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 10; background: var(--harbor); color: var(--white); padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 16px; color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 880px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--fog); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--harbor); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--harbor); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--harbor); text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border: 0; border-radius: 999px; font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--harbor); color: var(--white); }
.btn-primary[disabled] { background: var(--slate); cursor: not-allowed; }
.btn-light { background: var(--fog); color: var(--harbor); }
.btn-light:hover { background: var(--white); color: var(--harbor); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--harbor); border: 1px solid var(--field-line); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--harbor); font-weight: 600; font-size: 16px; }

/* Type helpers */
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.on-sand .eyebrow { color: var(--sand-ink); }
.section-title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--slate); max-width: 560px; }
.muted { color: var(--slate); }
.fine { font-size: 14px; color: var(--slate); }

/* Sections */
.section { padding-top: 112px; padding-bottom: 96px; }
.section-head { margin-bottom: 56px; max-width: 760px; }
@media (max-width: 720px) { .section { padding-top: 72px; padding-bottom: 64px; } .section-head { margin-bottom: 36px; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-art { flex: 1 1 400px; min-width: 0; height: 480px; border-radius: var(--radius-panel); background: var(--sand); position: relative; overflow: hidden; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 720px) { .hero { padding-top: 48px; gap: 40px; } .hero-art { height: 240px; } }

/* Dark band */
.band-dark { background: var(--harbor); color: var(--fog); }
.moments { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 72px; padding-bottom: 72px; }
.moments h2 { flex: 1 1 320px; font-size: 36px; line-height: 1.15; letter-spacing: -0.015em; }
.moments ul { flex: 2 1 560px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; font-size: 18px; line-height: 1.5; color: var(--foam); }
.moments li { border-top: 1px solid var(--harbor-line); padding-top: 16px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.card-featured { background: var(--harbor); border-color: var(--harbor); color: var(--fog); }
.card-kicker { font-size: 14px; font-weight: 600; color: var(--slate); }
.card-featured .card-kicker { color: var(--foam-dim); }
.card h3 { font-size: 26px; line-height: 1.2; }
.card p { color: var(--slate); }
.card-featured p { color: var(--foam-muted); }
.card ul { margin: 0; padding-left: 20px; font-size: 16px; display: flex; flex-direction: column; gap: 6px; }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); font-weight: 600; font-size: 16px; }
.card-featured .card-foot { border-top-color: var(--harbor-line); }
@media (max-width: 720px) { .card { padding: 28px; } }

/* Steps */
.band-sand { background: var(--sand); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps .num { font-family: var(--font-display); font-size: 48px; font-weight: 600; color: var(--driftwood); line-height: 1; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--sand-text); }

/* Who */
.who { display: flex; flex-wrap: wrap; gap: 56px; }
.who-copy { flex: 1 1 380px; min-width: 0; }
.who-list { flex: 1 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.who-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card-s); padding: 24px; }
.who-list strong { display: block; font-family: var(--font-display); font-size: 20px; margin-bottom: 6px; }
.who-list span { color: var(--slate); font-size: 16px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 48px; }
.monogram { flex: 0 0 140px; height: 140px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--sand-ink); }
.about-copy { flex: 1 1 420px; min-width: 0; }
.about h2 { font-size: 32px; line-height: 1.15; margin-bottom: 16px; }
@media (max-width: 720px) { .about { padding: 32px; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin-top: 8px; color: var(--slate); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-top: 112px; padding-bottom: 112px; }
.cta-band h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-band p { color: var(--foam-muted); font-size: 19px; }
.cta-band > div { flex: 1 1 520px; min-width: 0; }
@media (max-width: 720px) { .cta-band { padding-top: 72px; padding-bottom: 72px; } }

/* Footer */
.site-footer { background: var(--harbor-deep); color: var(--foam-dim); font-size: 15px; }
.site-footer .container { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.footer-row a { color: var(--foam); }
.newsletter { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid var(--harbor-line-deep); }
.newsletter-copy { flex: 1 1 320px; min-width: 0; }
.newsletter-copy p:first-child { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--fog); margin-bottom: 4px; }
.newsletter-form { flex: 1 1 420px; min-width: 0; }

/* Forms (schema-rendered) */
.wf { display: flex; flex-direction: column; gap: 20px; }
.wf-field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.wf-label, .wf-field legend { font-size: 15px; font-weight: 600; padding: 0; }
.wf-req { color: var(--danger); margin-left: 2px; }
.wf-help { font-size: 14px; color: var(--slate); }
.wf-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field-line); border-radius: var(--radius-field); background: var(--white); color: var(--harbor); font: inherit; font-size: 17px; font-weight: 400; }
textarea.wf-input { min-height: 112px; resize: vertical; }
.wf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wf-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--white); color: var(--harbor); font-size: 16px; font-weight: 500; cursor: pointer; }
.wf-chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.wf-chip:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.wf-chip:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.wf-check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; cursor: pointer; }
.wf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 auto; }
.wf-error { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 0; }
.wf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wf-progress { font-size: 14px; font-weight: 600; color: var(--slate); }
.wf-thanks { padding: 24px; border-radius: var(--radius-card); background: var(--teal-tint); color: var(--harbor); }
.dark .wf-label, .dark .wf-check { color: var(--foam); }
.dark .wf-input { background: var(--harbor); border-color: var(--field-line-dark); color: var(--fog); }
.dark .wf-error { color: #F2B8AE; }
.dark .wf-thanks { background: var(--harbor); color: var(--fog); }
.dark .wf-check input { accent-color: var(--foam); }
.newsletter-form .wf { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.newsletter-form .wf-field { flex: 1 1 260px; }
.newsletter-form .wf-check-wrap { flex: 1 1 100%; }

/* Panels (book / start) */
.page-head { padding-top: 64px; padding-bottom: 24px; }
.page-head h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 16px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 36px; }
@media (max-width: 720px) { .panel { padding: 24px; } }
.book-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 112px; }
.book-aside { flex: 1 1 320px; min-width: 0; }
.book-main { flex: 1.5 1 560px; min-width: 0; }
.facts { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { flex: 0 0 24px; margin-top: 3px; }
.facts span span { color: var(--slate); }
.step-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 16px; }
.tz { font-size: 15px; color: var(--slate); margin: -8px 0 16px; }
.days-bar { display: flex; align-items: center; gap: 8px; }
.brand svg { flex: 0 0 32px; }
.days { flex: 1; min-width: 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px; }
.days .opt { flex: 1 0 76px; }
.days .notice, .days .skeleton { flex: 1 0 76px; }
.opt { min-height: 48px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: var(--radius-option); background: var(--white); color: var(--harbor); font: inherit; font-size: 16px; text-align: center; cursor: pointer; }
.opt:hover { border-color: var(--teal); }
.opt[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.opt[disabled] { opacity: 0.45; cursor: not-allowed; }
.opt .dow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.opt .dnum { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.pager { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--white); color: var(--harbor); font: inherit; font-size: 20px; cursor: pointer; }
.pager[disabled] { opacity: 0.4; cursor: not-allowed; }
.bucket { margin-top: 16px; }
.bucket h3 { font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
@media (max-width: 720px) { .facts { margin-top: 20px; gap: 10px; } .book-layout { gap: 32px; } }
.block { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line-soft); }
.block:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.summary-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line-soft); }
.notice { padding: 16px 20px; border-radius: var(--radius-card-s); background: var(--sand-tint); color: var(--sand-text); font-size: 16px; }
.skeleton { height: 48px; border-radius: var(--radius-option); background: linear-gradient(90deg, var(--line-soft), var(--fog), var(--line-soft)); }
.keys { display: flex; gap: 14px; align-items: flex-start; background: var(--sand); border-radius: var(--radius-card-s); padding: 20px 24px; color: var(--sand-text); font-size: 16px; }
.keys strong { color: #2E2A22; }

/* Prose (privacy) */
.prose { max-width: 720px; padding-bottom: 112px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--harbor); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }