/* SONEVO website styles (Nov 2026 rebrand).
   Colours, type and spacing are defined once here and shared by every page. */

:root {
  --blue: #3A66D6;
  --tomato: #E8503A;
  --butter: #F6E27A;
  --night: #14182B;
  --shell: #F4F2EC;
  --shell-alt: #ECE9E0;
  --white: #FFFFFF;
  --line: #DAD7CE;
  --field-line: #8E8A80;
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--shell); color: var(--night); font-family: var(--font); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-blue :focus-visible { outline-color: var(--butter); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.03; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.5; max-width: 34em; }
.stack { display: flex; flex-direction: column; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-blue { background: var(--blue); color: var(--shell); }
.btn-blue:hover { background: #2F56BC; }
.btn-night { background: var(--night); color: var(--shell); }
.btn-night:hover { background: #262C47; }
.btn-butter { background: var(--butter); color: var(--night); }
.btn-butter:hover { background: #FBEC9B; }
.btn-outline { background: transparent; color: var(--night); border-color: var(--night); }
.btn-outline:hover { background: var(--night); color: var(--shell); }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* News banner */
.banner { background: var(--butter); color: var(--night); font-size: 14px; }
.banner .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.tag { background: var(--blue); color: var(--shell); border-radius: 999px; padding: 3px 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; }
.banner a { font-weight: 600; text-underline-offset: 3px; }

/* Header and menu */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--shell); }
section[id] { scroll-margin-top: 24px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle .ico-close, .nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--night); cursor: pointer; }

/* Hero */
.hero { padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo { position: relative; border-radius: 28px; overflow: hidden; background: #C9D3D6; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero { aspect-ratio: 572 / 590; }
.hero-about { padding-top: 40px; }
.photo-about { aspect-ratio: 440 / 380; }
.marker { position: absolute; display: flex; align-items: center; gap: 12px; transform: translate(-0px, -50%); }
.marker i { display: block; flex: none; width: var(--s, 20px); height: var(--s, 20px); border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 calc(var(--s, 20px) * 0.3) rgba(232, 80, 58, 0.3); }

.marker em { font-style: normal; }
.marker span { background: var(--shell); color: var(--night); border-radius: 999px; padding: 7px 13px; font-family: var(--mono); font-size: 12px; white-space: nowrap; }

/* Colour bands */
.band { padding: 88px 0; }
.band-blue { background: var(--blue); color: var(--shell); }
.band-alt { background: var(--shell-alt); }
.band-night { background: var(--night); color: var(--shell); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.card p { font-size: 16px; }
.card .eyebrow { align-self: flex-start; background: var(--blue); color: var(--shell); border-radius: 999px; padding: 4px 11px; font-size: 11px; font-weight: 500; margin-bottom: 4px; }

/* Report card */
.report { gap: 18px; padding: 28px; }
.report-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.report-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.chart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; font-family: var(--mono); font-size: 11px; }
.chart-days { display: grid; grid-template-rows: repeat(7, 1fr); align-items: center; }
.chart-hours { grid-column: 2; display: flex; justify-content: space-between; }
.bars { gap: 10px; font-size: 14px; }
.bar { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; }
.bar b { display: block; height: 8px; border-radius: 999px; background: #E9E6DD; }
.bar b i { display: block; height: 8px; border-radius: 999px; background: var(--night); }
.note { font-family: var(--mono); font-size: 11px; }
.points { gap: 12px; }
.point { display: flex; gap: 14px; align-items: baseline; font-size: 17px; line-height: 1.45; }
.point::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--tomato); }
.small { font-size: 14px; line-height: 1.5; max-width: 34em; }
.text-link { font-size: 16px; font-weight: 600; text-underline-offset: 4px; }

/* Waitlist form */
.form { gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select { font: inherit; font-size: 16px; font-weight: 400; height: 48px; width: 100%; border: 1px solid var(--field-line); border-radius: 12px; padding: 0 14px; background: var(--white); color: var(--night); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-error { font-size: 14px; font-weight: 600; color: #B3261E; }
.form .btn { width: 100%; margin-top: 6px; }
.form-done h3 { font-size: 30px; }
[hidden] { display: none !important; }

/* Facts (partners) and principles (about) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.fact { border-top: 1.5px solid currentColor; padding-top: 18px; gap: 12px; }
.fact strong { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.principles .fact strong { font-size: 21px; line-height: 1.2; }
.principles .fact span:last-child { font-size: 15px; line-height: 1.45; }

/* About */
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; font-size: 19px; }
.story .stack { gap: 18px; }
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.founder img { width: 300px; height: 360px; border-radius: 24px; object-fit: cover; object-position: 50% 0%; }
.founder .stack { gap: 18px; max-width: 620px; }

/* Closing strip and footer */
.closing { padding: 72px 0 36px; }
.closing-row { display: flex; justify-content: space-between; align-items: center; gap: 32px 40px; flex-wrap: wrap; }
.closing-line { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; max-width: 20em; }
.contact-person { display: flex; align-items: center; gap: 28px; }
.contact-person img { flex: none; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.contact-person h2 { font-size: 40px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 28px; border-top: 1px solid rgba(244, 242, 236, 0.25); margin-top: 44px; padding-top: 24px; font-size: 14px; }
.footer .brand img { height: 22px; }
.footer nav { display: flex; gap: 28px; }
.footer nav a { text-decoration: none; padding: 10px 0; }
.footer nav a:hover { text-decoration: underline; }
.footer-tag { display: flex; align-items: center; gap: 12px; }
.footer-tag img { height: 18px; width: auto; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 96px; }
.legal h1 { margin: 12px 0 8px; }
.legal h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 22px; }
.legal .updated { font-family: var(--mono); font-size: 13px; }

/* Tablet */
@media (max-width: 980px) {
  :root { --pad: 32px; }
  .hero-grid, .split, .split-wide, .story, .founder { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 40px; }
  .hero, .hero-about { padding-top: 16px; }
  .hero-copy .eyebrow { margin-bottom: -12px; }
  .photo-hero, .photo-about { max-width: 620px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 72px 0; }
  .founder img { width: 240px; height: 290px; }
}

/* Phone */
@media (max-width: 720px) {
  :root { --pad: 20px; }
  body { font-size: 17px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 10; flex-direction: column; align-items: stretch; gap: 0; background: var(--shell); padding: 8px var(--pad) 32px; font-size: 20px; overflow-y: auto; }
  html.menu-open { overflow: hidden; }
  section[id] { scroll-margin-top: 44px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; min-height: 52px; font-size: 16px; }
  .site-header .container { padding-top: 18px; padding-bottom: 18px; }
  .hero { padding-bottom: 56px; }
  .hero-about { padding-bottom: 20px; }
  .split, .split-wide { gap: 32px; }
  #how .split { gap: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .marker span em { display: none; }
  .band { padding: 56px 0; }
  .card-grid, .facts, .field-row { grid-template-columns: minmax(0, 1fr); }
  .card, .report { padding: 22px; }
  .bar { grid-template-columns: 96px minmax(0, 1fr); }
  .story { gap: 18px; font-size: 18px; }
  .closing-line { font-size: 26px; }
  .closing-row .btn { width: 100%; }
  .contact-person { gap: 18px; }
  .contact-person img { width: 96px; height: 96px; }
  .contact-person h2 { font-size: 32px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
