/* ============================================================
   SayItLikeThat — shared stylesheet
   Edit colors here; every page uses these variables.
   ============================================================ */

:root {
  --teal-deep:   #0E2A2B;  /* page background */
  --teal-dark:   #123435;  /* cards, header */
  --teal-mid:    #1A4344;  /* borders, hover */
  --amber:       #FFB86B;  /* accent: links, buttons, stressed words */
  --amber-soft:  #FFD9AC;  /* lighter accent */
  --ink:         #F4EFE8;  /* main text */
  --ink-dim:     #C9C2B6;  /* secondary text */
  --ink-faint:   #97948C;  /* meta text */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--teal-deep);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Header ---------- */

header.site-header {
  border-bottom: 1px solid var(--teal-mid);
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--amber); }

.tagline {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-dim);
  font-style: italic;
}

nav.site-nav {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

nav.site-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* Last nav item (Support) as a rounded pill with a circled arrow */
nav.site-nav a.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.4rem 0.35rem 1.05rem;
  border: 1px solid var(--teal-mid);
  border-radius: 999px;
  background: var(--teal-dark);
  color: var(--ink);
}

nav.site-nav a.nav-pill:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.nav-pill .pill-arrow {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Desktop header: wordmark left, links centered, languages right */
@media (min-width: 900px) {
  header.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
    padding: 0.9rem 2rem;
  }

  header.site-header .wordmark { grid-column: 1; grid-row: 1; justify-self: start; }

  header.site-header .tagline {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 0.8rem;
    justify-self: start;
  }

  header.site-header nav.site-nav {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    align-items: center;
  }

  header.site-header nav.lang-switcher {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    margin: 0;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* ---------- Typography ---------- */

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.35;
  margin: 2.5rem 0 0.75rem;
}

h3 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }

p { margin: 0 0 1.2rem; }

a { color: var(--amber); }
a:hover { color: var(--amber-soft); }

ul, ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
li { margin-bottom: 0.5rem; }

blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--amber);
  background: var(--teal-dark);
  border-radius: 0 8px 8px 0;
  color: var(--ink-dim);
}

hr {
  border: none;
  border-top: 1px solid var(--teal-mid);
  margin: 2.5rem 0;
}

/* Stressed words in example sentences — the brand move */
.stress {
  color: var(--amber);
  font-weight: 700;
}

/* Example sentence blocks */
.example {
  background: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.example .note {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ---------- Hero showcase shell (landing pages) ----------
   The hero is a big rounded "cinematic card": the ocean photo
   fills the shell edge-to-edge behind a teal readability gradient
   and drifts with a slow Ken-Burns zoom. The page background stays
   visible around the shell so it reads as a framed showcase.
   Mobile-first: everything stacks; from 900px the glass stat card
   pins bottom-left and the App Store cutout carves the bottom-right
   corner with two inverted-radius SVG fillets. */

.hero-wrap {
  padding: 0.75rem 0.75rem 0;
  max-width: 96rem;
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;          /* keeps the z-index:-1 media layer inside */
  overflow: hidden;
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.25rem 1.25rem 1.5rem;
}

/* Full-bleed ocean layer. The gradient lives on ::after INSIDE this
   layer so the two scale together and no bright edge ever peeks out.
   Bottom is darker than before: the glass cards sit down there. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/ocean-hero.jpg") center / cover no-repeat;
  animation: hero-zoom 30s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(14, 42, 43, 0.55) 0%,
    rgba(14, 42, 43, 0.62) 45%,
    rgba(14, 42, 43, 0.92) 100%);
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* "Living water": two oversized, ultra-soft light patches drift
   across the surface at different speeds/directions, reading as
   sunlight moving on the water. Pure transform animation (no
   filters, no repaints) so it stays smooth on phones; the layers
   are oversized so the drift never exposes an edge. They sit under
   .hero-media::after, so the readability gradient stays on top. */
.hero-shimmer {
  position: absolute;
  inset: -35%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
}

.hero-shimmer--one {
  background:
    radial-gradient(42% 30% at 25% 40%, rgba(255, 217, 172, 0.10), transparent 70%),
    radial-gradient(30% 22% at 75% 65%, rgba(244, 239, 232, 0.07), transparent 70%);
  animation: shimmer-one 70s ease-in-out infinite alternate;
}

.hero-shimmer--two {
  background:
    radial-gradient(36% 26% at 70% 30%, rgba(255, 184, 107, 0.09), transparent 70%),
    radial-gradient(26% 20% at 30% 78%, rgba(244, 239, 232, 0.06), transparent 70%);
  animation: shimmer-two 90s ease-in-out infinite alternate;
}

@keyframes shimmer-one {
  from { transform: translate3d(-4%, -2%, 0); }
  to   { transform: translate3d(4%, 2.5%, 0); }
}

@keyframes shimmer-two {
  from { transform: translate3d(3.5%, 2.5%, 0); }
  to   { transform: translate3d(-3.5%, -2%, 0); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: 0 auto;
}

/* Glass badge above the headline (the page's tagline lives here) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.4rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: rgba(244, 239, 232, 0.12);
  border: 1px solid rgba(244, 239, 232, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-badge svg { color: var(--amber); flex: none; }

.hero h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-shadow: 0 1px 12px rgba(11, 20, 20, 0.45);
}

.hero .melody { color: var(--amber); }

.hero p.lead {
  font-size: 1.05rem;
  color: rgba(244, 239, 232, 0.9); /* brighter than ink-dim: sits over the photo */
  max-width: 36rem;
  margin: 0 auto;
  text-shadow: 0 1px 10px rgba(11, 20, 20, 0.45);
}

/* Floating glass stat card (bottom-left on desktop) */
.hero-stat {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 26rem;
  margin: 2rem auto 0;
  padding: 1.2rem 1.4rem;
  border-radius: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  background: rgba(244, 239, 232, 0.12);
  border: 1px solid rgba(244, 239, 232, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.stat-number {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(244, 239, 232, 0.82);
}

.stat-cta {
  margin-top: 0.9rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.stat-cta:hover { background: var(--amber-soft); color: var(--teal-deep); }

/* App Store corner cutout (bottom-right on desktop).
   The panel is filled with the PAGE background color and the two
   quarter-circle SVG fillets repeat that color, so the hero shell
   looks like it curves around a notch cut out of its corner. */
.hero-cutout {
  position: relative;
  z-index: 3;
  margin: 1rem auto 0;
  width: 100%;
  max-width: 26rem;
}

.cutout-fillet {
  display: none;               /* only meaningful on the desktop notch */
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.cutout-fillet path { fill: var(--teal-deep); }

.fillet-top  { right: 0; bottom: 100%; }
.fillet-side { right: 100%; bottom: 0; }

.cutout-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  padding: 0.85rem 1.15rem;
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(244, 239, 232, 0.12);
  border: 1px solid rgba(244, 239, 232, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cutout-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cutout-copy strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.cutout-copy small  { color: var(--ink-dim); font-size: 0.8rem; }

.cutout-card:hover .cutout-icon { background: var(--amber); color: var(--teal-deep); }

/* Solid-ish fallback when backdrop-filter isn't supported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-badge,
  .hero-stat,
  .cutout-card {
    background: rgba(14, 42, 43, 0.85);
  }
}

/* Staged entrance: badge rises first, the h1 fades/scales in at
   0.2s, the lead follows at 0.4s, then the two cards arrive. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes hero-pop {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: none; }
}

@keyframes hero-slide {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: none; }
}

.hero-badge  { animation: hero-rise  0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.hero h1     { animation: hero-pop   0.8s cubic-bezier(0.22, 0.8, 0.3, 1) 0.2s both; }
.hero p.lead { animation: hero-rise  0.8s cubic-bezier(0.22, 0.8, 0.3, 1) 0.4s both; }
.hero-stat   { animation: hero-slide 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) 0.55s both; }
.cutout-card { animation: hero-rise  0.8s cubic-bezier(0.22, 0.8, 0.3, 1) 0.7s both; }

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-shimmer,
  .hero-badge,
  .hero h1,
  .hero p.lead,
  .hero-stat,
  .cutout-card {
    animation: none;
  }
}

/* Desktop: the shell fills most of the first viewport, the content
   centers, and the cards take their showcase positions. */
@media (min-width: 900px) {
  .hero-wrap { padding: 1rem 1rem 0; }

  .hero {
    border-radius: 48px;
    min-height: 92vh;
    justify-content: center;
    padding: 4rem 3rem 11rem;
  }

  .hero h1 { font-size: 3.3rem; }

  .hero p.lead { font-size: 1.2rem; }

  .hero-stat {
    position: absolute;
    left: 2.25rem;
    bottom: 2.25rem;
    margin: 0;
    width: 17rem;
  }

  .hero-cutout {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    width: auto;
    max-width: none;
    background: var(--teal-deep);
    border-top-left-radius: 28px;
    padding: 12px 0 0 12px;
  }

  .cutout-fillet { display: block; }

  .cutout-card {
    background: var(--teal-dark);
    border-color: var(--teal-mid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0.8rem 1.5rem 0.8rem 1rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.btn:hover { background: var(--amber-soft); color: var(--teal-deep); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-ghost:hover { background: var(--teal-dark); }

.btn-note {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 0.5rem;
}

/* ---------- Feature cards ---------- */

.features {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0;
}

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  background: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: 12px;
  padding: 1.25rem;
}

.feature h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--amber); }
.feature p  { margin: 0; font-size: 0.92rem; color: var(--ink-dim); }

/* ---------- Screenshot placeholders → phone-frame mockups ----------
   Each placeholder reads as an iPhone standing at a slight angle:
   a dark bezel, a notch, and a gentle 3D tilt with a soft floor
   shadow. Hovering straightens it (desktop only). Swapping in real
   screenshots later: put the <img> inside the same div — the frame
   and the tilt stay. */

.screens {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
  perspective: 1400px;           /* one shared vanishing point */
}

@media (min-width: 640px) {
  .screens { grid-template-columns: repeat(3, 1fr); }
}

.screen-placeholder {
  aspect-ratio: 9 / 19;
  border: 8px solid #0B1414;     /* the bezel */
  border-radius: 34px;
  background: linear-gradient(160deg, var(--teal-mid) 0%, var(--teal-dark) 35%, var(--teal-deep) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  padding: 1.5rem 1rem 1rem;
  transform: rotateY(-6deg) rotateX(2deg);
  box-shadow:
    -18px 24px 40px -14px rgba(0, 0, 0, 0.55),
    -4px 8px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* The notch / speaker pill */
.screen-placeholder::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 0.55rem;
  border-radius: 999px;
  background: #0B1414;
}

/* Desktop: the phone gently straightens under the cursor */
@media (hover: hover) {
  .screen-placeholder:hover {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow:
      0 28px 48px -16px rgba(0, 0, 0, 0.55),
      0 8px 18px rgba(0, 0, 0, 0.3);
  }
}

/* Reduced motion: the frame just stands still — no straightening */
@media (prefers-reduced-motion: reduce) {
  .screen-placeholder { transition: none; }
  .screen-placeholder:hover {
    transform: rotateY(-6deg) rotateX(2deg);
    box-shadow:
      -18px 24px 40px -14px rgba(0, 0, 0, 0.55),
      -4px 8px 16px rgba(0, 0, 0, 0.35);
  }
}

/* ---------- Scroll reveal (reveal.js adds the classes) ----------
   Sections fade-rise in as they enter the viewport. The .reveal
   class only ever comes from JS, so the site stays fully visible
   with scripts off; reduced-motion users never get it at all. */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Blog list ---------- */

.post-card {
  display: block;
  background: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--ink);
}

.post-card:hover { border-color: var(--amber); color: var(--ink); }
.post-card h2 { margin: 0 0 0.4rem; font-size: 1.2rem; color: var(--amber); }
.post-card p  { margin: 0; font-size: 0.95rem; color: var(--ink-dim); }
.post-card .meta { font-size: 0.8rem; color: var(--ink-faint); display: block; margin-top: 0.6rem; }

article .article-meta {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ---------- CTA box (end of articles) ---------- */

.cta-box {
  background: var(--teal-dark);
  border: 1px solid var(--amber);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 3rem 0 1rem;
  text-align: center;
}

.cta-box h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.cta-box p  { color: var(--ink-dim); font-size: 0.95rem; }

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  padding: 0;
  counter-reset: check;
}

.checklist li {
  background: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: 10px;
  padding: 1rem 1.25rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  counter-increment: check;
}

.checklist li::before {
  content: counter(check);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--amber);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist li strong { color: var(--amber-soft); }
.checklist li .why {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-dim);
  margin-top: 0.25rem;
}

/* ---------- Forms ---------- */

.email-form {
  background: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.email-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink-dim);
}

.email-form input[type="email"],
.email-form input[type="text"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--teal-mid);
  background: var(--teal-deep);
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.email-form input:focus {
  outline: 2px solid var(--amber);
  border-color: var(--amber);
}

/* ---------- FAQ ---------- */

.faq dt {
  font-weight: 700;
  color: var(--amber-soft);
  margin-top: 1.5rem;
}

.faq dd {
  margin: 0.4rem 0 0;
  color: var(--ink-dim);
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--teal-mid);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

footer.site-footer a { color: var(--ink-dim); text-decoration: none; }
footer.site-footer a:hover { color: var(--amber); }
footer.site-footer .foot-links { margin-top: 0.5rem; }
footer.site-footer .foot-links a { margin: 0 0.6rem; }

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 1.8rem; }
  body { font-size: 16px; }
}

/* ---------- Language switcher ---------- */

nav.lang-switcher {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

nav.lang-switcher a {
  color: var(--ink-faint);
  text-decoration: none;
  padding: 0 0.15rem;
}

nav.lang-switcher a:hover { color: var(--amber); }
nav.lang-switcher a[aria-current="true"] {
  color: var(--amber);
  font-weight: 700;
}

/* ---------- Translation glosses (localized pages) ---------- */

.gloss {
  display: block;
  font-size: 0.85em;
  color: var(--ink-dim);
  font-style: italic;
  margin-top: 0.35rem;
}

body.hide-gloss .gloss { display: none; }

.gloss-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.gloss-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.gloss-toggle input[type="checkbox"] {
  accent-color: var(--amber);
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
}

/* Real ocean video (added by reveal.js on desktop): sits under the
   readability gradient, fades in only once it can play smoothly. */
.hero-media::after { z-index: 1; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-video.is-flowing { opacity: 1; }

/* Real app screenshots inside the phone frames */
.screen-placeholder { overflow: hidden; }
.screen-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}
.screen-placeholder::before { z-index: 2; }
