/* Kodo Yachts website, October 2026. The app's own colours and type:
   Geist headings, Inter body, the KŌDŌ wordmark in Cinzel. One sheet for
   every page; text sizes never below 12px; contrast checked to WCAG AA. */
:root {
  --page: #F5F7F9; --surface: #FFFFFF; --sunken: #EEF1F5; --line: #E0E5EA; --line-strong: #CFD7E1;
  --ink: #16212B; --muted: #55626F; --faint: #5E6A77;
  --accent: #485CD2; --accent-hover: #3A4CBA; --accent-soft: #E9EDFE;
  --navy: #0F1B2D; --navy-2: #17253B; --navy-line: #2C3B54; --on-navy: #EDF2F8; --on-navy-muted: #A9B6C8; --on-navy-accent: #A8B8FA;
  --green: #1E8E54; --amber: #9A5F08; --red: #A52822;
  --radius: 14px; --wrap: 1200px;
  --shadow: 0 1px 2px rgba(22,33,43,.05), 0 18px 48px -18px rgba(22,33,43,.22);
  --shadow-lg: 0 40px 90px -30px rgba(36,52,91,.32);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, td a, .prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: Geist, Inter, -apple-system, sans-serif; color: var(--ink); margin: 0; font-weight: 550; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 500; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
h1, h2, h3, .memory-close { text-wrap: balance; }
.lede { text-wrap: pretty; }
p { margin: 0; }
.soft { color: #5E6E80; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,247,249,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(207,215,225,.6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { display: block; width: auto; height: 46px; }
.footer-grid .brand img { height: 54px; }
.brand-word { font-family: Cinzel, Geist, serif; font-size: 21px; letter-spacing: .18em; font-weight: 500; line-height: 1; }
.brand-sub { font-size: 11px; letter-spacing: .2em; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 12px; line-height: 20px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.site-nav > a, .site-nav summary { color: #2A3744; cursor: pointer; white-space: nowrap; }
.site-nav > a:hover, .site-nav summary:hover { color: var(--accent); }
.site-nav details { position: relative; }
.site-nav summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.menu { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; }
.menu a small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 1px; }
.menu a:hover { background: var(--accent-soft); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.site-nav .pill { font: 600 11px/1 Inter, sans-serif; color: var(--accent); background: var(--accent-soft); padding: 3px 6px; border-radius: 20px; margin-left: 6px; vertical-align: 1px; }
@media (max-width: 1180px) { .site-nav { gap: 20px; } }
.nav-toggle { display: none; }

/* ── buttons ── */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 550 15px/1 Inter, sans-serif; transition: background .2s, transform .2s, border-color .2s; white-space: nowrap; }
.button:hover { transform: translateY(-1px); border-color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(72,92,210,.55); }
.button.primary:hover { background: var(--accent-hover); }
.button.on-navy { background: transparent; color: var(--on-navy); border-color: var(--navy-line); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 550; font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow::after { content: '→'; display: inline-block; transition: transform .2s; }
a:hover .arrow::after, .text-link:hover.arrow::after { transform: translateX(3px); }

/* ── shared section parts ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1.4 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(72,92,210,.12); }
.lede { font-size: 19px; line-height: 1.7; color: var(--muted); }
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lede { max-width: 440px; justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lede { justify-self: center; max-width: 620px; }
.sky { background: radial-gradient(ellipse 60% 50% at 12% 8%, #DCE8F7 0, transparent 70%), radial-gradient(ellipse 50% 45% at 92% 30%, #E4E6FB 0, transparent 70%), linear-gradient(180deg, #F6F8FB 0, var(--page) 100%); }
.tint { background: linear-gradient(180deg, #EEF3FA 0, #F3F2FC 100%); }
.white { background: var(--surface); }
.navy { background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(72,92,210,.28) 0, transparent 60%), var(--navy); color: var(--on-navy); }
.navy h1, .navy h2, .navy h3, .navy h4 { color: #fff; }
.navy .lede, .navy p { color: var(--on-navy-muted); }
.navy .eyebrow { color: var(--on-navy-accent); }
.navy .eyebrow .dot { background: var(--on-navy-accent); }
.navy .text-link { color: var(--on-navy-accent); }
.rule-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.rule-list > * { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.navy .rule-list > * { border-color: var(--navy-line); }
.rule-list .num { font: 600 13px/1 Inter, sans-serif; color: var(--accent); letter-spacing: .08em; }
.navy .rule-list .num { color: var(--on-navy-accent); }
.rule-list h3 { margin: 14px 0 10px; font-size: 22px; }
.rule-list p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.navy .rule-list p { color: var(--on-navy-muted); }

/* ── the app in a frame ── */
.frame { background: var(--surface); border: 1px solid #C9D3E2; border-radius: var(--radius); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,.55); overflow: hidden; }
.navy .frame { border-color: #3A4A66; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.04); }
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; padding: 0 16px; background: #FAFBFD; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); letter-spacing: .02em; }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #D6DCE5; }
.frame-bar .where { flex: 1; text-align: center; }
.frame img { width: 100%; }
.caption { margin-top: 16px; font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.navy .caption { color: var(--on-navy-muted); }
.caption .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.stage { position: relative; }
.detail { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; width: clamp(260px, 34%, 420px); }
.detail img { border-radius: 8px; border: 1px solid var(--line); }
.detail span { display: block; font: 600 13px/1.3 Inter, sans-serif; color: var(--muted); margin: 2px 2px 8px; }
.detail.right { right: -24px; bottom: -36px; }
.detail.left { left: -24px; bottom: -36px; }
.detail.top-right { right: -24px; top: 18%; }
.detail.phone-detail { width: 210px; padding: 8px; }
.detail.wide { width: clamp(300px, 52%, 460px); }
.detail.phone-detail img { border-radius: 14px; }
.phone { width: min(300px, 80%); border-radius: 34px; border: 8px solid #101826; background: #101826; box-shadow: var(--shadow-lg); overflow: hidden; }
.phone img { border-radius: 26px; }

/* ── hero ── */
.hero { padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.hero h1 { font-size: clamp(28px, 5.6vw, 74px); line-height: 1.02; white-space: nowrap; }
.hero .lede { font-size: 17px; }
.hero-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.hero h1 span { color: #5E6E80; }
.hero-after { margin-top: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ── story blocks ── */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 4px; }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list .num { font: 600 13px/1.6 Inter, sans-serif; color: var(--accent); }
.feature-list h4 { margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.navy .feature-list li { border-color: var(--navy-line); }
.visual-panel { position: relative; border-radius: 20px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(135deg, #E1EAF6 0, #EEF1FB 55%, #E6E8FA 100%); border: 1px solid #D8E0EC; }
.visual-panel.center { display: grid; place-items: center; }
.under-links { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; margin-top: clamp(48px, 6vw, 64px); padding-top: 22px; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--muted); }
.navy .under-links { border-color: var(--navy-line); color: var(--on-navy-muted); }
.under-links .chips { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* memory band */
.memory { text-align: center; }
.memory h2 { max-width: 860px; margin: 0 auto 22px; }
.memory .lede { max-width: 640px; margin: 0 auto; }
.losses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.loss { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.loss .num { font: 600 13px/1 Inter, sans-serif; color: var(--accent); }
.loss p { margin-top: 14px; font-family: Geist, Inter, sans-serif; font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }
.memory-close { margin-top: 44px; font-family: Geist, Inter, sans-serif; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }

/* the generator story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.story-card { border-radius: var(--radius); padding: 30px; border: 1px solid var(--navy-line); background: var(--navy-2); }
.story-card.with { background: linear-gradient(160deg, #22356A 0, #1A2A4C 100%); border-color: #3B4E80; }
.story-card .tag { font: 600 15px/1 Inter, sans-serif; letter-spacing: .01em; color: var(--on-navy-muted); }
.story-card.with .tag { color: var(--on-navy-accent); }
.story-card p { margin-top: 16px; color: #D6DEEA; font-size: 17px; }
.story-card strong { display: block; margin-top: 20px; color: #fff; font-family: Geist, Inter, sans-serif; font-size: 22px; font-weight: 550; letter-spacing: -.01em; }

/* day aboard */
.day { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.day::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--line-strong); }
.hour { position: relative; padding-top: 44px; }
.hour::before { content: ''; position: absolute; top: 12px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.hour time { font: 600 14px/1 Inter, sans-serif; color: var(--accent); font-variant-numeric: tabular-nums; }
.hour h4 { margin: 10px 0 6px; font-size: 17px; }
.hour p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* people */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.person h3 { font-size: 20px; margin-bottom: 8px; }
.person p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.price { font-family: Geist, Inter, sans-serif; font-size: clamp(56px, 7vw, 76px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.price small { display: block; font: 500 16px/1.4 Inter, sans-serif; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
.checks { list-style: none; padding: 0; margin: 26px 0 28px; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 16px; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: Geist, Inter, sans-serif; font-size: 19px; font-weight: 550; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 640px; }

/* closing */
.closing { text-align: center; }
.closing h2 { max-width: 880px; margin: 0 auto 22px; }
.closing .lede { max-width: 560px; margin: 0 auto 30px; }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { font: 600 14px/1.4 Inter, sans-serif; color: var(--ink); margin-bottom: 14px; }
.footer-grid a { display: block; padding: 5px 0; color: #2A3744; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .about { color: var(--muted); max-width: 300px; margin-top: 16px; font-size: 15px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* ── inner pages ── */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 66px); max-width: 980px; }
.page-hero .lede { max-width: 720px; margin-top: 22px; }
.answer { margin-top: 28px; max-width: 760px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; font-size: 17px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 56px 0 18px; }
.prose h3 { margin: 36px 0 12px; }
.prose p, .prose li { color: #2A3744; }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; }
.prose li { margin: 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; background: var(--surface); border: 1px solid var(--line); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sunken); font-weight: 600; font-size: 14px; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.callout { margin: 28px 0; padding: 22px 24px; border-radius: 12px; background: var(--accent-soft); border: 1px solid #D3DAFA; }
.callout p { color: #24325A; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside h4 { margin-bottom: 10px; }
.aside p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: block; }
a.card:hover { border-color: var(--accent); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ── reveal (text is always visible; only a gentle rise when JS runs) ── */
.js .rise { transform: translateY(18px); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rise.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── responsive ── */
@media (max-width: 1020px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 32px 22px; flex-direction: column; align-items: stretch; gap: 4px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav summary { padding: 12px 0; font-size: 17px; }
  .site-nav details .menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px; min-width: 0; }
  .nav-toggle { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: ''; }
  .nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
  .header-cta .button { display: none; }
  .hero-grid, .section-head, .split, .pricing, .faq, .layout-aside { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(28px, 9vw, 72px); }
  .section-head .lede { justify-self: start; }
  .split.flip > :first-child { order: 0; }
  .aside { position: static; }
  .day { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .day::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .detail.right, .detail.left, .detail.top-right { right: 12px; left: auto; bottom: -28px; top: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .prose table { display: block; overflow-x: auto; }
  .wrap { width: calc(100% - 32px); }
  .brand-sub { display: none; }
  .rule-list, .losses, .people, .cards, .story { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr 1fr; }
  .detail { display: none; }
  .frame { box-shadow: var(--shadow); border-radius: 10px; }
  .frame-bar { height: 32px; font-size: 11px; }
  .frame-bar .where { display: none; }
  .hero-actions .button { flex: 1 1 auto; }
  .under-links { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) { .day { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }

/* ── homepage hero: white to light blue (site.js carries it on into the next light section) ── */
.hero.build { background: linear-gradient(180deg, #FFFFFF 0, #FFFFFF 15%, #E8EFF9 100%); }
.hero.build .frame { box-shadow: 0 1px 2px rgba(22,33,43,.05), 0 24px 60px -30px rgba(22,33,43,.3); }

/* ── the homepage wash (painted by site.js; without it each section keeps its own colour) ── */
.wash { position: relative; background-repeat: no-repeat; }
.wash.on > section:not(.navy) { background: transparent; }
.sep-rule { position: absolute; left: 0; right: 0; width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; gap: 18px; transform: translateY(-50%); color: rgba(22,33,43,.2); pointer-events: none; }
@media (max-width: 720px) { .sep-rule { width: calc(100% - 32px); } }
.sep-rule::before, .sep-rule::after { content: ''; flex: 1; height: 1px; }
.sep-rule::before { background: linear-gradient(90deg, transparent, currentColor); }
.sep-rule::after { background: linear-gradient(90deg, currentColor, transparent); }
.sep-rule .mark { flex: none; width: 22px; height: 22px; background: rgba(22,33,43,.42); -webkit-mask: url(/assets/kodo-mark-dark.png) center/contain no-repeat; mask: url(/assets/kodo-mark-dark.png) center/contain no-repeat; }

/* ── homepage feature layouts: each section arranged its own way; every picture is sized to take a video later ── */
.feature { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.feature.flip { grid-template-columns: 2fr 1fr; }
.feature.flip > .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: 18px; font-size: clamp(32px, 3.1vw, 44px); }
.section-head.center { row-gap: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; color: var(--ink); font-size: 15px; }
.ticks li { position: relative; padding-left: 26px; }
.navy .ticks { color: var(--on-navy, #fff); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.media img, .media video { display: block; width: 100%; height: auto; }
/* the website clips: the real app, one card at a time, playing only while on screen */
.clips { display: grid; gap: clamp(20px, 2.6vw, 32px); align-items: start; }
.clips.two-up { grid-template-columns: 1fr 1fr; }
.clips.stack-and-one { grid-template-columns: 1fr clamp(220px, 26%, 300px); align-items: end; }
.clips.one-and-stack { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.clips.ask-and-handover { grid-template-columns: 1fr 1fr; align-items: center; }
.clip-stack { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.clip { margin: 0; }
.clip video { display: block; width: 100%; height: auto; border-radius: 18px; background: #EEF2F9; box-shadow: 0 1px 2px rgba(22,33,43,.05), 0 30px 70px -40px rgba(36,52,91,.4); }
.navy .clip video { box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.clip figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.navy .clip figcaption { color: var(--on-navy-muted); }
.letter { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 70px -40px rgba(22,33,43,.35); }
.letter p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ink); }
.letter p + p { margin-top: 16px; }
.letter .who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.letter .av { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #E8EFF9; display: grid; place-items: center; font-weight: 600; color: #3B4A8C; }
.letter .sign { font-family: Geist, Inter, sans-serif; font-weight: 550; color: var(--ink); text-decoration: none; }
.letter small { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 1020px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .feature-copy { order: 0; }
  .feature .detail.left { left: auto; right: 12px; }
}
@media (max-width: 1020px) {
  .clips.one-and-stack, .clips.ask-and-handover { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .clips.two-up, .clips.stack-and-one { grid-template-columns: 1fr; }
  .clips.stack-and-one > .clip { width: 70%; margin-inline: auto; }
}

/* Homepage hero: two crew cards lifted out of the Today screen, hung off its
   lower corners so they cover as little of it as they can. The overhang never
   goes past the page margin, so there is no sideways scroll. */
.hero-stage { --hang: min(80px, calc((100vw - 100%) / 2 - 20px)); }
.hero-card { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: 0 30px 70px -25px rgba(22,33,43,.4); }
.hero-card span { display: block; font: 600 13px/1.3 Inter, sans-serif; color: var(--muted); margin: 2px 4px 8px; }
.hero-card img { border-radius: 8px; border: 1px solid var(--line); }
.hero-card.left { width: 33%; left: calc(-1 * var(--hang)); bottom: -40px; }
.hero-card.right { width: 35%; right: calc(-1 * var(--hang)); bottom: -72px; }
.hero.build .hero-after { margin-top: 112px; }
.hero-fleet { display: inline-block; margin-top: 14px; font-size: 15px; }
.hero-demo { margin-top: 14px; font-size: 15px; }
@media (max-width: 720px) {
  .hero-card.left, .hero-card.right { position: relative; width: auto; left: auto; right: auto; bottom: auto; margin: 12px 8px 0; }
  .hero-stage { margin-inline: 0; }
  .hero-card.left { margin-top: -20px; }
  .hero-card span { font-size: 12px; }
  .hero.build .hero-after { margin-top: 32px; }
}

/* Legal pages: a wide table (the subprocessors) scrolls inside the page on a
   phone instead of pushing the whole page sideways. */
.layout-aside > * { min-width: 0; }
@media (max-width: 720px) { .prose table { display: block; max-width: 100%; overflow-x: auto; } }

/* Compliance clause tables: on a phone each row becomes a short card, every
   cell under its column name, instead of five squeezed columns. */
@media (max-width: 720px) {
  .prose table.clauses, .prose table.clauses tbody, .prose table.clauses tr, .prose table.clauses td { display: block; width: auto; }
  .prose table.clauses { overflow: visible; border: 0; background: none; }
  .prose table.clauses thead, .prose table.clauses colgroup, .prose table.clauses col { display: none; }
  .prose table.clauses tr { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; padding: 6px 0; }
  .prose table.clauses td { border: 0; padding: 6px 14px; }
  .prose table.clauses td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
}

/* A still screen among the clips (the guest's phone), and a single clip shown big. */
.clip img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid #DCE3EC; box-shadow: 0 1px 2px rgba(22,33,43,.05), 0 30px 70px -40px rgba(36,52,91,.4); }
.clips.one { grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; }

/* The footer logo sits in a row like the header one (footer links are block). */
.footer-grid a.brand { display: inline-flex; padding: 0; color: var(--ink); }
/* "From" before a price figure: small, in the style of the line under it */
.price .from { font: 500 16px/1.4 Inter, sans-serif; letter-spacing: 0; color: var(--muted); margin-right: 8px; }
