/* ============================================================
   EdNotes landing page
   Palette is taken straight from the app's launch screen
   (www/index.html splash gradient + android colors.xml accent),
   so the page and the app read as the same product.
   ============================================================ */

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Variable-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Variable-latin-ext.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand greens — the three stops of the app's splash gradient */
  --deep:    #0C2620;
  --forest:  #1B5E48;
  --emerald: #2A7D5F;
  /* App accent (android colors.xml widgetAcc / colorPrimary) */
  --sage:    #5F6E5F;
  --mint:    #92B592;

  /* Page surfaces — a green-tinted paper, the light counterpart to the splash */
  --paper:     #F4F7F3;
  --paper-alt: #E7EFE6;
  --card:      #FFFFFF;

  --ink:   #0F1F19;
  --ink-2: #35473F;
  /* Dark enough to clear WCAG AA (4.5:1) on all three surfaces at the small
     sizes it's used for — captions, plan subtitles, theme labels. */
  --muted: #55675E;
  --line:  #DBE5D9;

  --maxw: 1120px;
  --radius: 20px;

  --shadow-sm: 0 2px 4px rgba(12, 38, 32, .06), 0 8px 20px rgba(12, 38, 32, .06);
  --shadow-md: 0 4px 10px rgba(12, 38, 32, .08), 0 20px 48px rgba(12, 38, 32, .10);
  --shadow-lg: 0 8px 20px rgba(12, 38, 32, .12), 0 40px 80px rgba(12, 38, 32, .18);

  --splash: linear-gradient(160deg, #1B5E48 0%, #0C2620 55%, #2A7D5F 100%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.12;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

/* Skip link — keyboard users shouldn't have to tab the whole nav */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
/* The frosted paper bar is the DEFAULT, so a page without scripting still has a
   readable header over the light sections. With JS (.js) the bar floats
   transparently over the dark hero until you scroll past it. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244, 247, 243, .90);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s ease, background .3s ease;
}
.js .site-header:not(.is-stuck) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header .wrap {
  display: flex; align-items: center; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 17px;
  letter-spacing: -.01em; margin-right: auto;
  color: var(--ink); transition: color .3s ease;
}
.js .site-header:not(.is-stuck) .brand { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 999px; transition: color .18s ease, background .18s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(27, 94, 72, .07); }
.js .site-header:not(.is-stuck) .site-nav a { color: rgba(234, 242, 233, .82); }
.js .site-header:not(.is-stuck) .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* Header CTA: forest pill by default, light pill while floating on the hero */
.site-header .btn-primary {
  background: var(--forest); color: #FAFCF9;
  box-shadow: 0 2px 4px rgba(12, 38, 32, .10), 0 10px 22px rgba(12, 38, 32, .16);
}
.site-header .btn-primary:hover { background: #17513E; }
.js .site-header:not(.is-stuck) .btn-primary {
  background: #F4F7F3; color: var(--deep);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}
.js .site-header:not(.is-stuck) .btn-primary:hover { background: #fff; }
@media (max-width: 820px) { .site-nav { display: none; } }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest); color: #FAFCF9;
  box-shadow: 0 2px 4px rgba(12, 38, 32, .10), 0 14px 30px rgba(12, 38, 32, .18);
}
.btn-primary:hover { background: #17513E; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255, 255, 255, .6); color: var(--ink);
  border-color: rgba(12, 38, 32, .14);
}
.btn-secondary:hover { background: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 18px 38px; font-size: 17px; }

/* On the dark hero / dark CTA band */
.on-dark .btn-primary {
  background: #F4F7F3; color: var(--deep);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18), 0 14px 34px rgba(0, 0, 0, .28);
}
.on-dark .btn-primary:hover { background: #fff; }
.on-dark .btn-secondary {
  background: rgba(255, 255, 255, .10); color: #EAF2E9;
  border-color: rgba(255, 255, 255, .28);
}
.on-dark .btn-secondary:hover { background: rgba(255, 255, 255, .18); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------------------
   Hero — the app's launch gradient, so the page opens the way
   the app does
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--splash);
  color: #EAF2E9;
  /* Top padding clears the fixed header, which floats over this section */
  padding: 152px 0 96px;
  overflow: hidden;
}
/* Soft light bloom, echoing the splash icon glow */
.hero::before {
  content: '';
  position: absolute; inset: -30% -10% auto -10%; height: 90%;
  background: radial-gradient(60% 60% at 30% 20%, rgba(146, 181, 146, .22), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 124px 0 72px; }
}

.hero-icon {
  width: 68px; height: 68px; border-radius: 18px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  letter-spacing: -.035em;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 19px);
  color: rgba(234, 242, 233, .82);
  max-width: 30em; margin-bottom: 30px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip {
  font-size: 13.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(234, 242, 233, .92);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
a.chip:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .34); }

.hero-note {
  margin-top: 20px; font-size: 14px; color: rgba(234, 242, 233, .62);
}

/* ------------------------------------------------------------
   Phone frame — CSS bezel wrapping a raw screenshot/recording
   ------------------------------------------------------------ */
.phone {
  position: relative;
  width: 100%; max-width: 300px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #253029, #0d1512);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .10);
}
.phone::after {           /* speaker slit */
  content: '';
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .13);
  z-index: 3; pointer-events: none;
}
.phone-screen {
  position: relative;
  border-radius: 31px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 1080 / 2210;
}
.phone-screen img,
.phone-screen video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.phone-lg { max-width: 330px; }

/* Two phones side by side (the work/private comparison) */
.phone-pair {
  display: flex; gap: 22px; justify-content: center; align-items: flex-start;
}
.phone-pair .phone { max-width: 232px; margin: 0; }
.phone-pair .phone:first-child { transform: rotate(-2.5deg); }
.phone-pair .phone:last-child  { transform: rotate(2.5deg); }
.phone-caption {
  text-align: center; font-size: 13px; font-weight: 600;
  color: var(--muted); margin-top: 14px; letter-spacing: .02em;
}
@media (max-width: 560px) {
  .phone-pair { gap: 12px; }
  .phone-pair .phone { max-width: 46vw; padding: 6px; border-radius: 26px; }
  .phone-pair .phone-screen { border-radius: 21px; }
  .phone-pair .phone::after { width: 34px; height: 3px; top: 12px; }
}

/* ------------------------------------------------------------
   Feature sections — alternating bands, mirrored layout
   ------------------------------------------------------------ */
.section { padding: 92px 0; scroll-margin-top: 72px; }
.section-alt { background: var(--paper-alt); }
@media (max-width: 760px) { .section { padding: 64px 0; } }

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feature-media { display: flex; justify-content: center; }
/* Mirror every other feature so the eye zig-zags down the page */
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-media { order: 1; }
@media (max-width: 940px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-copy,
  .feature.reverse .feature-media { order: unset; }
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--emerald);
  margin-bottom: 16px;
}
.feature h2, .section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700; letter-spacing: -.025em;
  margin-bottom: 18px;
}
.feature p.lead, .section-head p {
  font-size: 17px; color: var(--ink-2); margin-bottom: 26px; max-width: 34em;
}

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ticks li {
  position: relative; padding-left: 32px;
  font-size: 15.5px; color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px 11px no-repeat;
}

/* ------------------------------------------------------------
   Section head (centred)
   ------------------------------------------------------------ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------
   Theme gallery
   ------------------------------------------------------------ */
.theme-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 24px 26px;
  margin: 0 -24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) transparent;
}
.theme-rail::-webkit-scrollbar { height: 8px; }
.theme-rail::-webkit-scrollbar-thumb { background: var(--mint); border-radius: 99px; }
.theme-rail::-webkit-scrollbar-track { background: transparent; }
/* The dark screenshot sits behind the light one and crossfades in when the
   card's own switch is flipped. */
.theme-card { scroll-snap-align: center; text-align: center; }
.theme-card .shot {
  display: block; position: relative;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--card);
  aspect-ratio: 1080 / 2210;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.theme-card:hover .shot { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.theme-card .shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.theme-card.is-dark .shot { border-color: rgba(12, 38, 32, .35); }

/* ---- Light/dark crossfade, shared by the theme cards and every phone mockup.
   The dark screenshot is stacked on the light one and faded in by .is-dark
   on any ancestor, so the same markup works in both places. ---- */
.shot-dark {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .45s ease;
}
.is-dark .shot-dark { opacity: 1; }

.theme-card .theme-name {
  display: block; margin-top: 12px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.theme-card .theme-tag {
  display: block; font-style: normal;
  font-size: 11.5px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase;
}
/* ---- Per-theme Light/Dark toggle switch ----
   Light on the left, Dark on the right, knob slides between them. */
.tswitch {
  appearance: none; -webkit-appearance: none;
  border: 0; background: none;
  /* Generous vertical padding so the tap target clears 44px on touch,
     without making the switch itself look any bigger. */
  padding: 10px 8px; margin: 2px auto 0;
  font: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
/* Both labels stay fully opaque — a faded label would drop under the 4.5:1
   contrast floor. The active one is distinguished by ink colour and weight. */
.tswitch-label {
  font-size: 12px; font-weight: 500; letter-spacing: .01em;
  color: var(--muted);
  transition: color .25s ease, font-weight .25s ease;
  user-select: none;
}
.tswitch-label.is-on { color: var(--ink); font-weight: 700; }

.tswitch-track {
  position: relative; flex: none;
  width: 44px; height: 24px; border-radius: 999px;
  background: #D9E3D7;
  border: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.tswitch-knob {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(12, 38, 32, .35);
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), background .3s ease;
}
.is-dark .tswitch-track {
  background: var(--forest); border-color: var(--forest);
}
.is-dark .tswitch-knob {
  transform: translateX(20px);
  background: #EAF2E9;
}
.tswitch:hover .tswitch-track { border-color: var(--mint); }
.tswitch:focus-visible { outline: none; }
.tswitch:focus-visible .tswitch-track {
  outline: 2px solid var(--emerald); outline-offset: 3px;
}

/* ---- The same switch under a phone mockup ---- */
.phone-swap { display: flex; flex-direction: column; align-items: center; }
.phone-swap .tswitch { margin-top: 14px; }

/* On the dark hero the switch has to invert */
.on-dark .tswitch-label { color: rgba(234, 242, 233, .72); }
.on-dark .tswitch-label.is-on { color: #fff; }
.on-dark .tswitch-track {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .3);
}
.on-dark .is-dark .tswitch-track,
.on-dark.is-dark .tswitch-track {
  background: var(--mint); border-color: var(--mint);
}
.on-dark .tswitch-knob { background: #EAF2E9; }
.on-dark .is-dark .tswitch-knob,
.on-dark.is-dark .tswitch-knob { background: var(--deep); }

/* ---- Hero: pick which theme the phone is showing ---- */
.theme-pick {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin-top: 18px;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
}
.theme-pick button {
  appearance: none; -webkit-appearance: none;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 600;
  color: rgba(234, 242, 233, .78);
  padding: 7px 16px; border-radius: 999px;
  transition: background .22s ease, color .22s ease;
}
.theme-pick button:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.theme-pick button.is-active { background: #F4F7F3; color: var(--deep); }
.theme-pick button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* ------------------------------------------------------------
   Trust / privacy cards
   ------------------------------------------------------------ */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
/* Four cards would otherwise wrap 3 + 1 and leave an orphan on the second row */
.card-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 780px; margin-left: auto; margin-right: auto;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.card p { font-size: 15px; color: var(--ink-2); }
.card .card-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(42, 125, 95, .10);
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--forest);
}
.card .card-icon svg { width: 21px; height: 21px; }

/* ------------------------------------------------------------
   Pricing
   ------------------------------------------------------------ */
.plans {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 900px; margin: 0 auto;
  align-items: start;
}
.plan {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.plan.is-pro {
  border-color: rgba(27, 94, 72, .3);
  box-shadow: var(--shadow-md);
  position: relative;
}
.plan-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 10px; display: block;
}
.plan h3 { font-size: 23px; font-weight: 700; margin-bottom: 6px; }
.plan .plan-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.plan .ticks li { font-size: 15px; }
.plan-foot {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}

/* ------------------------------------------------------------
   Closing CTA — returns to the launch gradient
   ------------------------------------------------------------ */
.cta {
  background: var(--splash);
  color: #EAF2E9;
  padding: 108px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: auto -10% -40% -10%; height: 80%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(146, 181, 146, .20), transparent 70%);
  pointer-events: none;
}
.cta .wrap { position: relative; }
.cta img.cta-icon {
  width: 62px; height: 62px; border-radius: 16px; margin: 0 auto 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.cta h2 {
  font-size: clamp(30px, 4vw, 42px); color: #fff;
  margin-bottom: 16px; letter-spacing: -.03em;
}
.cta p { color: rgba(234, 242, 233, .8); font-size: 17.5px; margin-bottom: 34px; }
.cta .btn-row { justify-content: center; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--deep); color: rgba(234, 242, 233, .68);
  padding: 56px 0 44px; font-size: 14.5px;
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: flex-start; justify-content: space-between;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 700; font-size: 16px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a {
  color: rgba(234, 242, 233, .74); text-decoration: none;
  transition: color .18s ease;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: 13.5px; color: rgba(234, 242, 233, .5);
}

/* ------------------------------------------------------------
   Play badge
   ------------------------------------------------------------ */
.play-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; text-decoration: none;
  padding: 10px 20px 10px 17px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
.play-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .36); }
.play-badge svg { width: 24px; height: 26px; flex: none; }
.play-badge b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.15; letter-spacing: .01em; }
.play-badge small { display: block; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; opacity: .78; }

/* ------------------------------------------------------------
   Scroll-in animation

   The hidden state is scoped to .js, which the inline script in <head>
   sets before first paint. So if the script never runs — JS disabled, a
   syntax error, an observer that never fires — the content is simply
   visible instead of an invisible page below the hero.
   ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
