@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/literata-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/publicsans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/publicsans-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f3f6f6;
  --surface: #ffffff;
  --ink: #142b2e;
  --text: #23383b;
  --muted: #4b6063;
  --line: #c3d0d1;
  --accent: #1d5c63;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;
  --radius: 6px;
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 48rem) { .wrap { padding: 0 var(--s6); } }

.skip { position: absolute; left: var(--s4); top: -4rem; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); z-index: 50; border-radius: var(--radius); }
.skip:focus { top: var(--s4); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 4rem; }
.wordmark { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font: 600 1.125rem/1 var(--serif); letter-spacing: -0.005em; min-height: 44px; }
.wordmark .mark { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.nav-link { color: var(--ink); font-size: 0.9375rem; text-decoration: none; padding: var(--s3) 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav-link:hover { text-decoration: underline; }

/* type */
h1, h2, h3 { color: var(--ink); }
h1 { font: 600 clamp(2.125rem, 1.4rem + 3.4vw, 3.5rem)/1.08 var(--serif); letter-spacing: -0.02em; margin: 0 0 var(--s5); max-width: 20ch; font-variation-settings: "opsz" 60; text-wrap: balance; }
h2 { font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.2 var(--serif); letter-spacing: -0.01em; margin: 0 0 var(--s5); text-wrap: balance; }
h3 { font: 600 1.0625rem/1.4 var(--sans); margin: 0 0 var(--s2); }
p, ul, ol { margin: 0 0 var(--s4); max-width: var(--measure); }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: var(--s2); }
li::marker { color: var(--accent); }
strong { color: var(--ink); font-weight: 650; }

/* hero */
.hero { padding: var(--s7) 0 var(--s7); background: var(--surface); border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .hero { padding: var(--s8) 0; } }
.hero p { font-size: 1.1875rem; line-height: 1.55; }
.hero p strong { font-weight: 500; color: var(--text); }
.hero-product { border-top: 6px solid var(--accent); }
.hero .crumb { margin-bottom: var(--s4); font-size: 0.9375rem; }
.crumb a { color: var(--muted); }

.level { width: 9rem; height: 1.5rem; margin: 0 0 var(--s5); }
.level-tube { fill: #e4ecec; stroke: var(--ink); stroke-width: 1.5; }
.level-mark { stroke: var(--ink); stroke-width: 1.5; }
.level-bubble { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .level-bubble { animation: settle 1.6s cubic-bezier(0.3, 1.5, 0.5, 1) 0.2s both; }
  @keyframes settle { from { transform: translateX(-38px); } 60% { transform: translateX(5px); } to { transform: translateX(0); } }
}

/* buttons */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s5); max-width: none; }
.cta-note { color: var(--muted); font-size: 0.9375rem; }
.hero .cta-row .cta-note { font-size: 0.9375rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s5);
  background: var(--accent); color: #fff; border: 2px solid var(--accent); border-radius: var(--radius);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }

/* sections */
.sec { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; }
.sec-sound-familiar ul { list-style: none; padding: 0; }
.sec-sound-familiar li { padding-left: var(--s5); position: relative; }
.sec-sound-familiar li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.75rem; height: 2px; background: var(--accent); }
.sec-what-you-get ol { padding-left: 1.5rem; }
.sec-what-you-get li { margin-bottom: var(--s3); }
.sec-disclaimer { background: transparent; }
.sec-disclaimer h2 { font-size: 1.125rem; font-family: var(--sans); }
.sec-disclaimer p { font-size: 0.9375rem; color: var(--muted); }

.sec-price { background: var(--surface); }
.sec-price .wrap > * { max-width: var(--measure); }
.price { display: grid; gap: var(--s1); margin-bottom: var(--s4); padding-left: var(--s4); border-left: 4px solid var(--accent); }
.price-early { font: 600 clamp(2.25rem, 1.8rem + 2vw, 3rem)/1 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
.price-label { font-weight: 600; color: var(--ink); }
.price-launch { color: var(--muted); }

.qa { max-width: var(--measure); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa p { margin: 0; }

/* home */
.hero-home h1 { max-width: 16ch; }
.index { list-style: none; padding: 0; margin: var(--s5) 0 var(--s4); max-width: none; border-top: 1px solid var(--line); counter-reset: none; }
.index li { margin: 0; border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 1fr; gap: var(--s1);
  padding: var(--s4) 0 var(--s4) var(--s5); position: relative;
  color: var(--text); text-decoration: none; min-height: 44px;
}
.index a::before { content: ""; position: absolute; left: 0; top: var(--s4); bottom: var(--s4); width: 4px; background: var(--accent); border-radius: 2px; }
.index a:hover .ix-name { text-decoration: underline; text-decoration-thickness: 2px; }
.ix-name { font: 600 1.1875rem/1.3 var(--serif); color: var(--ink); text-underline-offset: 0.18em; }
.ix-for { color: var(--text); }
.ix-price { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 52rem) {
  .index a { grid-template-columns: minmax(14rem, 1.1fr) 1.6fr minmax(11rem, 0.8fr); align-items: baseline; gap: var(--s5); }
  .ix-price { text-align: right; }
}
.sec-how-it-works ol { padding-left: 1.5rem; }

/* legal */
.legal { padding: var(--s7) 0; background: var(--surface); }
.legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem); }
.legal h2 { font-size: 1.375rem; margin-top: var(--s6); }
.legal h3 { margin-top: var(--s5); }
.legal p, .legal ul { max-width: 46rem; }
.legal address { font-style: normal; margin-bottom: var(--s4); }

/* footer */
.site-footer { background: var(--ink); color: #dbe5e6; padding: var(--s7) 0 var(--s6); font-size: 0.9375rem; }
.site-footer a, .site-footer .linklike { color: #ffffff; }
.site-footer :focus-visible { outline-color: #ffffff; }
.footer-brand { font-size: 1rem; }
.footer-brand strong { color: #fff; font-family: var(--serif); margin-right: var(--s2); }
.footer-products, .footer-legal { list-style: none; padding: 0; margin: var(--s4) 0; display: flex; flex-wrap: wrap; gap: 0 var(--s5); max-width: none; }
.footer-products li, .footer-legal li { margin: 0; }
.footer-products a, .footer-legal a, .footer-legal .linklike { display: inline-flex; align-items: center; min-height: 44px; }
.footer-disclaimer { color: #c4d2d3; font-size: 0.875rem; max-width: 52rem; }
.footer-copy { color: #c4d2d3; font-size: 0.875rem; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linklike[hidden] { display: none; }

/* reserve dialog */
.reserve { border: 0; padding: 0; border-radius: 10px; width: min(30rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(20, 43, 46, 0.35); }
.reserve::backdrop { background: rgba(20, 43, 46, 0.6); }
.reserve-form { padding: var(--s6) var(--s5) var(--s5); position: relative; }
.reserve h2 { font-size: 1.625rem; margin-bottom: var(--s3); padding-right: var(--s6); }
.reserve-product { font-weight: 600; color: var(--ink); border-left: 4px solid var(--accent); padding-left: var(--s3); }
.reserve label[for="ek-email"] { display: block; font-weight: 600; color: var(--ink); margin: var(--s4) 0 var(--s2); }
.reserve input[type="email"] { width: 100%; min-height: 48px; padding: 0 var(--s3); font: inherit; color: var(--ink); background: #fff; border: 2px solid #6b7f82; border-radius: var(--radius); }
.reserve input[type="email"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.reserve input[aria-invalid="true"] { border-color: #a12f2f; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; margin: var(--s4) 0; font-size: 0.9375rem; cursor: pointer; }
.consent input { width: 1.375rem; height: 1.375rem; margin: 0.1rem 0 0; accent-color: var(--accent); }
.reserve-error { color: #a12f2f; font-weight: 600; }
.reserve .btn-reserve { width: 100%; }
.reserve-fine { color: var(--muted); font-size: 0.875rem; margin: var(--s3) 0 0; text-align: center; max-width: none; }
.reserve-close { position: absolute; top: var(--s2); right: var(--s2); width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.reserve-close:hover { background: #e4ecec; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .reserve[open] { animation: rise 0.22s ease-out; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* consent banner */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 3px solid var(--ink); box-shadow: 0 -8px 30px rgba(20, 43, 46, 0.18); padding: var(--s4) 0; }
.consent-banner[hidden] { display: none; }
.consent-inner { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between; }
.consent-inner p { margin: 0; font-size: 0.9375rem; flex: 1 1 24rem; }
.consent-inner strong { margin-right: var(--s2); }
.consent-actions { display: flex; gap: var(--s3); }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.nb { white-space: nowrap; }
