/* OwlPocket marketing site.
   Palette and type follow brand/README.md and brand/owlpocket-brand.html: deep teal on cream, Outfit
   for display, Inter for text (the face the app itself ships). Fonts are self-hosted so the page makes
   no third-party requests — the footer promises no trackers, and a Google Fonts call would log every
   visitor's IP with Google. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;

  --bg: #F7F4EE;
  --bg-2: #EFEBE1;
  --surface: #FFFFFF;
  --ink: #14201E;
  --ink-2: #4F5D59;
  --line: rgba(15, 90, 82, 0.14);
  --line-strong: rgba(15, 90, 82, 0.26);

  --primary: #0F5A52;
  --primary-hover: #0B4841;
  --on-primary: #F7F4EE;
  --tint: rgba(15, 90, 82, 0.08);
  --check: #1C7A70;

  --band-bg: #0F5A52;
  --band-ink: #F7F4EE;
  --band-ink-2: rgba(247, 244, 238, 0.8);
  --band-line: rgba(247, 244, 238, 0.16);
  --band-card: rgba(247, 244, 238, 0.07);
  --band-icon: #4FC98A;

  --owl-line: #0F5A52;
  --owl-ring: rgba(15, 90, 82, 0.28);
  --owl-pupil-l: #35A06A;
  --owl-pupil-r: #1C7A70;
  --owl-beak: #35A06A;
  --deco-ring: rgba(15, 90, 82, 0.12);

  --phone-body: #161B1A;
  --phone-edge: #2B3331;
  --phone-shadow: 0 50px 80px -40px rgba(20, 50, 45, 0.45), 0 18px 36px -24px rgba(20, 50, 45, 0.35);

  --focus: #0F5A52;

  --font-display: "Outfit", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --wrap: 1160px;
  --gutter: 20px;
  --section-y: 72px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 104px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0D0B;
    --bg-2: #171613;
    --surface: #1C1B18;
    --ink: #F2EFE8;
    --ink-2: #B3ADA2;
    --line: rgba(242, 239, 232, 0.10);
    --line-strong: rgba(242, 239, 232, 0.20);

    --primary: #4FC98A;
    --primary-hover: #6FD6A1;
    --on-primary: #08201A;
    --tint: rgba(79, 201, 138, 0.12);
    --check: #4FC98A;

    --band-bg: #0F2C28;
    --band-card: rgba(247, 244, 238, 0.05);

    --owl-line: #F5F2EA;
    --owl-ring: rgba(245, 242, 234, 0.30);
    --owl-pupil-l: #4FC98A;
    --owl-pupil-r: #4FC98A;
    --owl-beak: #4FC98A;
    --deco-ring: rgba(79, 201, 138, 0.14);

    --phone-body: #050605;
    --phone-edge: #3A403E;
    --phone-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.8), 0 18px 36px -24px rgba(0, 0, 0, 0.6);

    --focus: #4FC98A;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-primary); }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Owl mark ---------- */

.owl .ring { stroke: var(--owl-ring); }
.owl .eyering { stroke: var(--owl-line); }
.owl .pupil-l { fill: var(--owl-pupil-l); }
.owl .pupil-r { fill: var(--owl-pupil-r); }
.owl .beak { fill: var(--owl-beak); }

/* ---------- Buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font: 600 15px/1 var(--font-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn:active { transform: scale(0.97); }

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-block;
  border-radius: 10px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.store-badge img { height: 48px; width: auto; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:active { transform: translateY(0) scale(0.98); }
.store-badge:focus-visible { outline-offset: 4px; border-radius: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand .owl { width: 36px; height: 36px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--owl-line);
}

/* Language switch: two letters, so it survives the narrow header on a phone */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.lang-switch:hover { color: var(--ink); background: var(--tint); border-color: var(--primary); }

.footer-lang { margin-top: 12px; }
.footer-lang a { font-size: 15px; }

.nav { display: none; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.nav a:hover { color: var(--ink); background: var(--tint); }

@media (min-width: 860px) {
  .nav { display: flex; }
}

/* ---------- Phone frame ---------- */

.phone {
  --pw: 260px;
  --bezel: calc(var(--pw) * 0.034);
  position: relative;
  width: var(--pw);
  margin: 0;
  padding: var(--bezel);
  border-radius: calc(var(--pw) * 0.165);
  background: var(--phone-body);
  box-shadow: inset 0 0 0 1.5px var(--phone-edge), var(--phone-shadow);
}
.phone img {
  width: 100%;
  aspect-ratio: 1287 / 2796;
  border-radius: calc(var(--pw) * 0.135);
  background: #FAF9F6;
}
/* Dynamic Island, sized from an iPhone 15 Pro Max (126 × 37 pt on a 430 pt screen) */
.phone::after {
  content: "";
  position: absolute;
  top: calc(var(--bezel) + var(--pw) * 0.026);
  left: 50%;
  width: calc(var(--pw) * 0.28);
  height: calc(var(--pw) * 0.082);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 28px 0 8px;
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35A06A;
  box-shadow: 0 0 0 4px rgba(53, 160, 106, 0.18);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

.lede {
  margin-top: 22px;
  max-width: 34em;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.hero .stores { margin-top: 32px; }

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-2);
}
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances .icon { width: 18px; height: 18px; color: var(--check); stroke-width: 2.5; }

.hero-visual {
  --pw: clamp(180px, 54vw, 230px);
  position: relative;
  width: calc(var(--pw) * 1.62);
  height: calc(var(--pw) * 2.32);
  margin: 0 auto;
}

.hero-visual .phone { --pw: inherit; position: absolute; }
.hero-visual .phone--front { left: 0; bottom: 0; z-index: 2; }
.hero-visual .phone--back {
  right: 0;
  top: 0;
  z-index: 1;
  transform: scale(0.9);
  transform-origin: top right;
}

.hero-ring {
  position: absolute;
  z-index: 0;
  max-width: none;
  left: 50%;
  top: 50%;
  width: calc(var(--pw) * 2.35);
  height: calc(var(--pw) * 2.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-ring circle { stroke: var(--deco-ring); }

@media (min-width: 768px) {
  .hero { padding-top: 48px; }
  .hero-visual { --pw: 250px; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
  .hero-visual { --pw: 262px; margin-right: 0; }
}

@media (min-width: 1200px) {
  .hero-visual { --pw: 280px; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
.section + .section { padding-top: 0; }

.section-head { max-width: 42rem; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section h2, .band h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
}

.section-lede {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-2);
}

/* ---------- Feature rows ---------- */

.feature-rows { display: grid; gap: 72px; }

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}

.feature h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
}
.feature-copy p { margin-top: 14px; color: var(--ink-2); max-width: 30em; }

.feature-points { margin-top: 22px; display: grid; gap: 10px; }
.feature-points li { display: flex; gap: 10px; align-items: flex-start; }
.feature-points .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--check); stroke-width: 2.5; }

.stage {
  --pw: clamp(210px, 60vw, 250px);
  position: relative;
  display: flex;
  justify-content: center;
  height: calc(var(--pw) * 1.9 + 48px);
  padding-top: 48px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  isolation: isolate;
}
.stage .phone { --pw: inherit; }
.stage-ring {
  position: absolute;
  z-index: -1;
  max-width: none;
  width: calc(var(--pw) * 2.1);
  height: calc(var(--pw) * 2.1);
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
}
.stage-ring circle { stroke: var(--deco-ring); }

@media (min-width: 900px) {
  .feature-rows { gap: 112px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature--flip .stage { order: -1; }
  .stage { --pw: 264px; padding-top: 56px; height: calc(var(--pw) * 1.9 + 56px); }
}

/* ---------- Small features ---------- */

.minis {
  display: grid;
  gap: 16px;
  margin-top: 96px;
}
@media (min-width: 640px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .minis { grid-template-columns: repeat(3, 1fr); } }

.mini {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.mini h3 {
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mini p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary);
}
.icon-tile .icon { width: 22px; height: 22px; stroke-width: 1.8; }

/* ---------- Privacy band ---------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--band-bg);
  color: var(--band-ink);
  padding: var(--section-y) 0;
  isolation: isolate;
}
/* #8FE3B5 on the teal band is 5.3:1; the icon green (#4FC98A) is only 3.9:1, too low for 13px text */
.band .eyebrow { color: #8FE3B5; }
.band .section-lede { color: var(--band-ink-2); }
.band a { color: var(--band-ink); }
.band a:hover { color: #fff; }
.band :focus-visible { outline-color: var(--band-icon); }

.band-ring {
  position: absolute;
  z-index: -1;
  max-width: none;
  width: 900px;
  height: 900px;
  right: -300px;
  top: -260px;
}
.band-ring circle { stroke: rgba(247, 244, 238, 0.06); }

.privacy-grid { display: grid; gap: 56px; align-items: center; }

.privacy-list {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}
@media (min-width: 640px) { .privacy-list { grid-template-columns: 1fr 1fr; } }

.privacy-list li {
  padding: 22px;
  border: 1px solid var(--band-line);
  border-radius: var(--radius-md);
  background: var(--band-card);
}
.privacy-list .icon { width: 24px; height: 24px; color: var(--band-icon); stroke-width: 1.8; }
.privacy-list h3 { margin-top: 14px; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.privacy-list p { margin-top: 6px; font-size: 15px; color: var(--band-ink-2); }

.privacy-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--band-ink-2);
}
.privacy-foot .icon { color: var(--band-icon); }
.privacy-foot strong { color: var(--band-ink); font-weight: 600; }

.privacy-visual { display: flex; justify-content: center; }
.privacy-visual .phone {
  --pw: clamp(210px, 60vw, 260px);
  --phone-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.45);
}

@media (min-width: 1024px) {
  .privacy-grid { grid-template-columns: 1.25fr 0.75fr; gap: 72px; }
  .privacy-visual .phone { --pw: 270px; }
}

/* ---------- Languages ---------- */

.langs {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
  padding: 44px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.langs h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); }
.langs p { margin-top: 10px; color: var(--ink-2); }

.lang-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lang-list li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .langs { padding: 56px; }
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.plan--premium {
  border: 2px solid var(--primary);
  padding: 31px 27px;
}

.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 1.5rem; }
.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
  font-variant-numeric: tabular-nums;
}
.price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .per { color: var(--ink-2); font-size: 16px; }
.plan-sub { margin-top: 8px; color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }

.checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--check); stroke-width: 2.5; }

.plan-note {
  margin-top: auto;
  padding-top: 26px;
  font-size: 14px;
  color: var(--ink-2);
}

.fineprint {
  max-width: 44rem;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}

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

.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary); }
.faq summary .icon {
  width: 22px;
  height: 22px;
  color: var(--ink-2);
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary .icon { transform: rotate(180deg); }

.faq .answer { padding: 0 4px 24px; color: var(--ink-2); max-width: 44rem; }
.faq .answer p + p, .faq .answer p + ul, .faq .answer ul + p { margin-top: 10px; }
.faq .answer ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }

/* ---------- Closing CTA ---------- */

.cta { padding: 0 0 var(--section-y); }
.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  isolation: isolate;
}
.cta-card .owl { width: 104px; height: 104px; }
.cta-card h2 { margin-top: 24px; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.cta-card p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }
.cta-card .stores { justify-content: center; margin-top: 32px; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  font-size: 15px;
}

.footer-grid { display: grid; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--ink-2); max-width: 22rem; }

.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 640px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }

.footer-nav h2 {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.footer-nav ul { margin-top: 10px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--ink);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--primary); text-decoration: underline; }

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1.4fr; }
}

.footer-base {
  display: grid;
  gap: 10px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Motion ----------
   Everything stays visible without JS: the hidden starting state only applies once site.js has run
   (it adds .js to <html>), and never under reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: var(--delay, 0ms);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  .hero-ring circle { animation: ring-draw 1600ms cubic-bezier(0.22, 0.75, 0.25, 1) 150ms both; }
  .hero-visual .phone--front { animation: rise 900ms var(--ease-out) 80ms both; }
  .hero-visual .phone--back { animation: rise-back 900ms var(--ease-out) 220ms both; }

  /* The brand's one-shot mark reveal (brand/owlpocket-mark-animated.svg), replayed when it scrolls in */
  .owl-anim .eyering, .owl-anim .pupil, .owl-anim .beak, .owl-anim .eyes {
    transform-box: fill-box;
    transform-origin: center;
  }
  .js .owl-anim .ring { stroke-dasharray: 0 238.76; }
  .js .owl-anim .eyering, .js .owl-anim .pupil, .js .owl-anim .beak { opacity: 0; }
  .owl-anim.is-visible .ring { stroke-dasharray: 198.76 40; animation: ring-draw 900ms cubic-bezier(0.22, 0.75, 0.25, 1) 100ms both; }
  .owl-anim.is-visible .eye-l .eyering { opacity: 1; animation: pop 520ms cubic-bezier(0.2, 1.25, 0.4, 1) 560ms both; }
  .owl-anim.is-visible .eye-r .eyering { opacity: 1; animation: pop 520ms cubic-bezier(0.2, 1.25, 0.4, 1) 660ms both; }
  .owl-anim.is-visible .eye-l .pupil { opacity: 1; animation: pop 420ms cubic-bezier(0.2, 1.3, 0.4, 1) 860ms both; }
  .owl-anim.is-visible .eye-r .pupil { opacity: 1; animation: pop 420ms cubic-bezier(0.2, 1.3, 0.4, 1) 940ms both; }
  .owl-anim.is-visible .beak { opacity: 1; animation: drop 700ms cubic-bezier(0.3, 1.3, 0.5, 1) 1050ms both; }
  .owl-anim.is-visible .eyes { animation: blink 5s ease-in-out 2700ms infinite; }
}

@keyframes ring-draw { from { stroke-dasharray: 0 238.76; } to { stroke-dasharray: 198.76 40; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes rise-back { from { opacity: 0; transform: translateY(40px) scale(0.9); } to { opacity: 1; transform: scale(0.9); } }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-13px) scale(0.55); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.08); }
}
