/* Rideout — rideoutvape.com
   Colours come from the app: the icon's canvas and the Ocean hue (Design/AppIcon/render-icons.swift).
   Green (mint) only ever means done. No orange anywhere (house rule). */

@font-face { font-family: "Mona Sans"; src: url("/fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-regular.woff2") format("woff2");
  font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-medium.woff2") format("woff2");
  font-weight: 500; font-display: swap; }

:root {
  --night: #05070D;      /* the icon's canvas */
  --night-2: #0A0F1E;
  --deep: #081A52;       /* Ocean deep */
  --ocean: #2F6BFF;      /* Ocean core */
  --foam: #9CC2FF;       /* Ocean hot */
  --mint: #16D38A;       /* done, and only done */
  --text: #EEF2FF;
  --soft: #A9B4D0;
  --faint: #6F7A98;
  --line: rgba(156, 194, 255, 0.14);
  --glass: rgba(156, 194, 255, 0.06);
  --measure: 36rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --display: "Mona Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--foam); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--foam); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
strong { font-weight: 500; color: #fff; }

h1, h2, h3 { font-family: var(--display); color: #fff; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.25rem); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-weight: 750; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.05; }
h3 { font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.15; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--soft); max-width: var(--measure); }
.muted { color: var(--soft); }
.small { font-size: 0.9375rem; color: var(--faint); }
.skip { position: absolute; left: -999px; top: 0.5rem; background: #fff; color: var(--night); padding: 0.5rem 1rem; border-radius: 999px; z-index: 20; }
.skip:focus { left: 1rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; text-decoration: none;
  font: 750 1.25rem/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 1.6rem; height: 1.6rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav a:not(.btn) { color: var(--soft); text-decoration: none; font-size: 0.9375rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff;
  border-radius: 999px; padding: 0.45rem 0.9rem; font: 500 0.9375rem var(--body); cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 4rem; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem var(--gutter) 1.25rem; background: rgba(5, 7, 13, 0.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav .btn { margin-top: 1rem; }
}

/* Buttons: white pill like the app's main button; glass for the second choice */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem;
  padding: 0 1.5rem; border-radius: 999px; font: 500 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 0; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-main { background: #fff; color: var(--night); }
.btn-main:hover { background: var(--foam); color: var(--night); }
.btn-glass { background: var(--glass); color: #fff; border: 1px solid var(--line); }
.btn-glass:hover { background: rgba(156, 194, 255, 0.12); color: #fff; }
.btn-sm { min-height: 2.4rem; padding: 0 1.1rem; font-size: 0.9375rem; }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 8vw, 6.5rem); overflow: hidden; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background: radial-gradient(60% 55% at 72% 40%, rgba(47, 107, 255, 0.28), transparent 70%),
              linear-gradient(180deg, #081A52 0%, rgba(8, 26, 82, 0) 55%);
  opacity: 0.85; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 2rem; }
.cta-note { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--faint); max-width: 30rem; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* The breathing demo: Today's lit sphere inside the 64-tick ring */
.breathe { display: grid; justify-items: center; gap: 1.25rem; text-align: center; }
.orb-wrap { position: relative; width: min(100%, 25rem); aspect-ratio: 1; }
.ticks { position: absolute; inset: 0; width: 100%; height: 100%; }
.ticks line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 3; stroke-linecap: round; transition: stroke 0.4s ease; }
.ticks line.lit { stroke: var(--foam); }
.ticks line.head { stroke: #fff; }
.orb { position: absolute; inset: 15%; border-radius: 50%;
  background:
    radial-gradient(120% 90% at 50% 88%, #9CC2FF 0%, #2F6BFF 38%, #0B2A86 70%, #081A52 100%);
  box-shadow: 0 2.5rem 6rem -1rem rgba(47, 107, 255, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  transform: scale(var(--s, 0.9)); transition: transform 4s cubic-bezier(0.37, 0, 0.32, 1); }
.orb::before { content: ""; position: absolute; inset: 6% 12% 52%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)); filter: blur(6px); }
.orb-text { position: absolute; inset: 0; display: grid; place-content: center; gap: 0.35rem; pointer-events: none; }
.orb-count { font: 800 clamp(3.5rem, 10vw, 5.75rem)/0.9 var(--display); letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orb-word { font: 500 0.9375rem/1.2 var(--body); color: rgba(255, 255, 255, 0.86); min-height: 1.2em; }
.breathe-msg { min-height: 3.2em; max-width: 22rem; color: var(--soft); margin: 0; }
.breathe-msg strong { display: block; }

/* Sections */
section { position: relative; }
.band { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band + .band { border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1.1rem; }

/* The wave: a craving builds, peaks and fades */
.wave-fig { margin: 0; }
.wave-fig svg { width: 100%; height: auto; overflow: visible; padding: 0 0.25rem; }
.wave-fig .w-line { fill: none; stroke: url(#waveStroke); stroke-width: 5; stroke-linecap: round; }
.wave-fig .w-fill { fill: url(#waveFill); }
.wave-fig .w-base { stroke: var(--line); stroke-width: 1.5; }
.wave-fig text { fill: var(--soft); font: 500 16px var(--body); }
@media (max-width: 600px) { .wave-fig text { font-size: 24px; } }
.wave-fig .w-end { fill: #fff; }
.wave-fig figcaption { margin-top: 1rem; font-size: 0.9375rem; color: var(--faint); }
.wave-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .wave-grid { grid-template-columns: 1fr; } }

/* Feature rows: words beside real screens */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) { grid-template-columns: auto minmax(0, 1fr); }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-text { max-width: 33rem; }
.feature-text h3 { margin-bottom: 1rem; }
.feature-text p { color: var(--soft); }
.feature-text ul { margin: 0; padding: 0; list-style: none; color: var(--soft); }
.feature-text li { padding-left: 1.4rem; position: relative; margin-bottom: 0.4rem; }
.feature-text li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ocean); }
.shots { display: flex; gap: 1rem; align-items: flex-start; }
.shot { width: clamp(9.5rem, 22vw, 15rem); border-radius: 2rem; overflow: hidden; border: 1px solid rgba(156, 194, 255, 0.2);
  box-shadow: 0 2rem 5rem -2rem rgba(47, 107, 255, 0.45); background: #000; }
.shots .shot:nth-child(2) { margin-top: 3rem; }
@media (max-width: 760px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .shots { justify-content: center; }
  .shot { width: min(44vw, 13rem); border-radius: 1.5rem; }
}

/* Also in Rideout: a plain two-column list */
.also { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 3rem; margin: 0; }
.also div { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.also dt { font: 700 1.125rem/1.3 var(--display); color: #fff; margin-bottom: 0.35rem; }
.also dd { margin: 0; color: var(--soft); }

/* Privacy */
.privacy-band { background: linear-gradient(180deg, rgba(8, 26, 82, 0.55), rgba(5, 7, 13, 0) 85%); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 0.75rem; }
.promises li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 1.25rem;
  background: var(--glass); border: 1px solid var(--line); font: 500 1.0625rem/1.35 var(--body); color: #fff; }
.promises svg { flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.05rem; color: var(--foam); }
.privacy-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem 3rem; margin-top: 2.5rem; color: var(--soft); max-width: 62rem; }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font: 700 1.1875rem/1.3 var(--display); color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 1.55rem; width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--foam); border-bottom: 2px solid var(--foam); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq .answer { padding: 0 0 1.25rem; color: var(--soft); max-width: 40rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Closing call to action */
.closing { text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; overflow: clip; }
.closing::before { content: ""; position: absolute; left: 50%; top: 55%; width: 44rem; height: 44rem; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.35), transparent); pointer-events: none; }
.closing > * { position: relative; }
.closing h2 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
.closing .lead { margin: 1.25rem auto 0; }
.closing .cta-row { justify-content: center; }
.closing .cta-note { margin: 1rem auto 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 3.5rem 0 3rem; font-size: 0.9375rem; color: var(--faint); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 2.5rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }
.foot h2 { font: 600 0.9375rem var(--body); color: #fff; letter-spacing: 0; margin-bottom: 0.75rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.45rem; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .brand { margin-bottom: 0.9rem; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Document pages: privacy, terms, support */
.doc-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; background: linear-gradient(180deg, rgba(8, 26, 82, 0.6), rgba(5, 7, 13, 0)); }
.doc-hero h1 { font-size: clamp(2.3rem, 6vw, 3.75rem); }
.doc-hero .lead { margin-top: 1.1rem; }
.updated { margin-top: 1rem; color: var(--faint); font-size: 0.9375rem; }
.doc { padding: 1rem 0 5rem; }
.doc h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 3rem 0 1rem; }
.doc h3 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.doc p, .doc li { color: var(--soft); }
.doc ul, .doc ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.doc li { margin-bottom: 0.45rem; }
.doc li strong, .doc p strong { color: #fff; }
.doc table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--line); }
.doc th { color: #fff; font-weight: 500; }
.doc td { color: var(--soft); }
.doc code { font: 0.9em var(--body); color: #fff; background: var(--glass); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.35em; }
.table-scroll { overflow-x: auto; }
.toc { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.25rem 1.5rem; background: var(--glass); margin: 1rem 0 1rem; }
.toc h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.toc ol { margin: 0; columns: 2 14rem; }
.note { border-radius: 1.25rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0; background: rgba(47, 107, 255, 0.12); border: 1px solid rgba(156, 194, 255, 0.28); }
.note p { color: var(--text); }
.note p:last-child { margin-bottom: 0; }
.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; margin: 1.5rem 0 0; }
.lines a { display: block; padding: 1.1rem 1.25rem; border-radius: 1.25rem; background: var(--glass); border: 1px solid var(--line); text-decoration: none; color: var(--soft); }
.lines a:hover { border-color: rgba(156, 194, 255, 0.45); }
.lines b { display: block; font: 800 1.75rem/1.1 var(--display); color: #fff; letter-spacing: -0.02em; margin-bottom: 0.2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { transition: none; }
  .btn { transition: none; }
}

.also-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: clamp(3rem, 7vw, 5rem) 0 1.25rem; }

.wave-grid h2 + .lead { margin-top: 1.1rem; }

/* Blog */
.post-list { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 46rem; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 1.25rem 0; text-decoration: none; color: var(--soft); }
.post-list b { display: block; font: 700 1.25rem/1.25 var(--display); color: #fff; letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.post-list a:hover b { color: var(--foam); }
.crumbs { margin: 0 0 1rem; font-size: 0.9375rem; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.post-body > p, .post-body > ul, .post-body > ol { font-size: 1.0625rem; }
.post-body .answer-first { font-size: 1.1875rem; color: var(--text); margin-top: 1rem; }
.post-body .answer-first strong { color: #fff; }
.post-body q { color: var(--text); }
.post-body .faq { margin-bottom: 1rem; }
.sources ul { padding-left: 1.25rem; }
.post-cta { margin: 3rem 0 0; padding: 1.75rem; border-radius: 1.5rem; border: 1px solid rgba(156, 194, 255, 0.28);
  background: radial-gradient(120% 140% at 100% 0%, rgba(47, 107, 255, 0.35), rgba(8, 26, 82, 0.25) 60%, rgba(5, 7, 13, 0)); }
.post-cta h2 { margin-top: 0 !important; }
.post-cta p:last-child { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 0.6rem; }

/* Author */
.avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: 0.8rem; margin: 1.25rem 0 0; color: var(--soft); line-height: 1.4; }
.byline a { color: #fff; }
.byline .small { font-size: 0.875rem; }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.author-box .avatar { width: 4rem; height: 4rem; }
.author-box p { margin-bottom: 0.5rem; }
.author-hero { display: grid; grid-template-columns: 11rem 1fr; gap: 2rem; align-items: center; }
.author-photo { width: 11rem; aspect-ratio: 1; object-fit: cover; border-radius: 1.5rem; border: 1px solid var(--line); }
@media (max-width: 600px) { .author-hero { grid-template-columns: 1fr; gap: 1.25rem; } .author-photo { width: 9rem; } }

/* Early access form */
.early-band { background: linear-gradient(180deg, rgba(47, 107, 255, 0.14), rgba(5, 7, 13, 0) 90%); }
.early-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.early-grid h2 { margin-bottom: 1.1rem; }
@media (max-width: 860px) { .early-grid { grid-template-columns: 1fr; } }
.early-form { display: grid; gap: 1rem; padding: 1.5rem; border-radius: 1.5rem; background: var(--glass); border: 1px solid rgba(156, 194, 255, 0.24); margin: 1.5rem 0 1rem; }
.early-grid .early-form { margin: 0; }
.early-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.early-form.compact .fields { grid-template-columns: 1fr; }
@media (max-width: 600px) { .early-form .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; font: 500 0.9375rem var(--body); color: #fff; }
.field em { font-style: normal; color: var(--faint); font-weight: 400; }
.field input { width: 100%; min-height: 3rem; padding: 0 1rem; border-radius: 0.9rem; border: 1px solid rgba(156, 194, 255, 0.28);
  background: rgba(5, 7, 13, 0.6); color: #fff; font: 400 1rem var(--body); }
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: 2px solid var(--foam); outline-offset: 1px; border-color: transparent; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9375rem; color: var(--soft); cursor: pointer; }
.consent input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--ocean); flex: none; }
.early-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.early-hero h1 { max-width: 16ch; }
