/* ================================================================
   OLMA — marketing site (light, natural & bubbly)
   Built around the OLMA mark: six organic teal pebbles in a ring.
   Warm paper background, ambient color fields with grain, pebble
   shapes as decoration, hairline editorial layout — no cards.
   OLMA comes from 얼마 — Korean for "how much?" — so hangul shows
   up as a quiet motif throughout.
   ================================================================ */

:root {
  --accent: #18ac91;
  --accent-deep: #0f8a74;
  --accent-ink: #0d6c5c;
  --accent-soft: rgba(24, 172, 145, 0.12);

  --incredible: #8033e6;
  --good: #21894f;
  --fair: #b8851f;
  --high: #bf3d30;
  --ripoff: #661a1a;

  --bg: #faf9f4;
  --ink: #20261f;
  --ink-2: rgba(32, 38, 31, 0.62);
  --ink-3: rgba(32, 38, 31, 0.38);
  --hairline: rgba(32, 38, 31, 0.12);
  --hairline-strong: rgba(32, 38, 31, 0.26);

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-kr: "Apple SD Gothic Neo", "Noto Sans KR", var(--font);

  /* organic pebble radius, borrowed from the logo blobs */
  --pebble: 58% 42% 55% 45% / 52% 48% 44% 56%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(24, 172, 145, 0.22); }

.kr { font-family: var(--font-kr); }

/* ---------------- Ambient background ---------------- */

.pattern-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: url('../assets/Pattern.png');
  background-repeat: repeat;
  background-size: 320px;
  opacity: 0.05;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.ambient .blob-a {
  width: 66vw; height: 66vw;
  min-width: 560px; min-height: 560px;
  left: -22vw; top: -20vw;
  background: var(--accent);
  opacity: 0.13;
  animation: drift-a 28s ease-in-out infinite alternate;
}

.ambient .blob-b {
  width: 52vw; height: 52vw;
  min-width: 440px; min-height: 440px;
  right: -16vw; top: 38vh;
  background: #736b4d;
  opacity: 0.10;
  animation: drift-b 34s ease-in-out infinite alternate;
}

.ambient .blob-c {
  width: 44vw; height: 44vw;
  min-width: 380px; min-height: 380px;
  left: 16vw; bottom: -26vw;
  background: var(--accent);
  opacity: 0.09;
  animation: drift-a 40s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 4vh, 0) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-5vw, -6vh, 0) scale(0.94); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* ---------------- Floating pebbles (decorative) ---------------- */

.pebble {
  position: absolute;
  border-radius: var(--pebble);
  background: var(--accent);
  pointer-events: none;
  animation:
    pebble-morph 14s ease-in-out infinite alternate,
    pebble-bob 9s ease-in-out infinite alternate;
}

.pebble.olive { background: #8a8160; }

@keyframes pebble-morph {
  0%   { border-radius: 58% 42% 55% 45% / 52% 48% 44% 56%; }
  50%  { border-radius: 45% 55% 48% 52% / 55% 44% 56% 45%; }
  100% { border-radius: 52% 48% 42% 58% / 46% 55% 45% 54%; }
}

@keyframes pebble-bob {
  from { transform: translateY(-6px) rotate(-2deg); }
  to   { transform: translateY(10px) rotate(3deg); }
}

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

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

section { padding: 48px 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 22px;
}

/* little pebble dot before each kicker */
.kicker::before {
  content: "";
  width: 12px;
  height: 11px;
  border-radius: var(--pebble);
  background: var(--accent);
  flex-shrink: 0;
}

.kicker .kr {
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; font-weight: 650; }

h2 { font-size: clamp(34px, 4.8vw, 54px); }

.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-2);
  max-width: 54ch;
  margin-top: 20px;
  text-wrap: pretty;
}

/* ---------------- Nav ---------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(250, 249, 244, 0.65);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
}

/* Wordmark lockup: pebble-ring image is the "O", LMA set in heavy
   rounded type to match the logo letterforms */
.main-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-logo-img, .footer-logo-video {
  height: 20px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta {
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.3s var(--spring), background 0.2s ease;
}
.nav-links .nav-cta:hover { background: var(--accent-deep); transform: scale(1.05); color: #fff; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--spring), box-shadow 0.35s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn:active { transform: scale(0.96); }

.btn-primary {
  color: #fff;
  background: linear-gradient(160deg, #22bd9f, var(--accent) 50%, var(--accent-deep));
  box-shadow: 0 10px 28px rgba(24, 172, 145, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 38px rgba(24, 172, 145, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-quiet {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline-strong);
}
.btn-quiet:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 38, 31, 0.5);
}

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

.hero {
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: 100px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { position: relative; }

.hero h1 {
  font-size: clamp(42px, 6.2vw, 72px);
}

.hero h1 .accent-word {
  color: var(--accent-deep);
}

.hero .hero-kr {
  font-family: var(--font-kr);
  font-size: clamp(56px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

.hero .romanized {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}

.hero .meaning {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-2);
  margin-top: 16px;
}

.hero .lede {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--ink-3);
  margin-top: 12px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.hero-note .kr { color: var(--ink-2); }

/* pebbles floating around the hero */
.hero .pebble-1 {
  width: 46px; height: 42px;
  top: 4%; right: 12%;
  opacity: 0.16;
  animation-delay: -3s;
}
.hero .pebble-2 {
  width: 26px; height: 24px;
  bottom: 14%; left: -4%;
  opacity: 0.14;
  animation-delay: -7s;
}
.hero .pebble-3 {
  width: 18px; height: 17px;
  top: 30%; left: 44%;
  opacity: 0.12;
  animation-delay: -11s;
}

/* 얼마? speech pebble near the phone */
.eolma-bubble {
  z-index: 2;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--pebble);
  padding: 14px 22px;
  font-family: var(--font-kr);
  font-size: 21px;
  font-weight: 700;
  color: var(--accent-deep);
  box-shadow: 0 14px 34px rgba(32, 38, 31, 0.10);
  animation: pebble-morph 12s ease-in-out infinite alternate,
             pebble-bob 7s ease-in-out infinite alternate;
}

.phone-stage .eolma-bubble {
  position: absolute;
  top: 6%;
  right: -6px;
}

.eolma-bubble small {
  display: block;
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 1px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 100px; }
  .phone-stage .eolma-bubble { right: 8%; }
}

/* ---------------- Phone mockup ---------------- */

.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
  position: relative;
}

.phone {
  width: 300px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #30302c, #191917);
  box-shadow:
    0 44px 90px rgba(32, 38, 31, 0.30),
    inset 0 1px 1px rgba(255, 255, 255, 0.20);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.phone:hover { transform: rotateY(0deg) rotateX(0deg); }

.phone-screen {
  border-radius: 37px;
  overflow: hidden;
  background: #eef0ea;
  aspect-ratio: 9 / 19.2;
  position: relative;
}

.screen-ambient { position: absolute; inset: 0; }
.screen-ambient::before,
.screen-ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
}
.screen-ambient::before {
  width: 230px; height: 230px;
  left: -70px; top: -50px;
  background: rgba(24, 172, 145, 0.30);
}
.screen-ambient::after {
  width: 200px; height: 200px;
  right: -60px; bottom: 40px;
  background: rgba(115, 107, 77, 0.22);
}

.screen-ui {
  position: absolute;
  inset: 0;
  padding: 48px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.viewfinder {
  border-radius: var(--r-m);
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(32,38,31,0.10), rgba(32,38,31,0.16));
}

.viewfinder .product-shape {
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: 92px; height: 118px;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  box-shadow: 0 10px 24px rgba(32,38,31,0.18);
}
.viewfinder .product-shape::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 16px;
  height: 34px;
  border-radius: 6px;
  background: rgba(24, 172, 145, 0.25);
}
.viewfinder .product-shape::after {
  content: "";
  position: absolute;
  left: 14px; right: 30px; bottom: 20px;
  height: 8px;
  border-radius: 4px;
  background: rgba(32,38,31,0.18);
  box-shadow: 0 14px 0 -2px rgba(32,38,31,0.12);
}

.scan-line {
  position: absolute;
  left: 8%; right: 8%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  box-shadow: 0 0 16px rgba(24, 172, 145, 0.8);
  animation: scan 3.4s ease-in-out infinite;
}

@keyframes scan {
  0%, 8%   { top: 12%; opacity: 0; }
  12%      { opacity: 1; }
  48%      { top: 86%; opacity: 1; }
  52%      { opacity: 0; }
  100%     { top: 12%; opacity: 0; }
}

.corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
}
.corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

.verdict-card {
  border-radius: var(--r-m);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 26px rgba(32,38,31,0.10);
}

.verdict-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.verdict-product {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: opacity 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.verdict-pill {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  transition: background 0.5s ease, transform 0.4s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.verdict-pill.pop { transform: scale(1.12); }
.verdict-pill.incredible { background: var(--incredible); }
.verdict-pill.good { background: var(--good); }
.verdict-pill.fair { background: var(--fair); }
.verdict-pill.high { background: var(--high); }
.verdict-pill.ripoff { background: var(--ripoff); }

.verdict-prices { display: flex; gap: 16px; margin-top: 10px; }
.verdict-prices .col { flex: 1; }

.verdict-prices .label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.verdict-prices .value {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.verdict-bar {
  margin-top: 12px;
  height: 5px;
  border-radius: 3px;
  background: rgba(32,38,31,0.12);
  overflow: hidden;
}

.verdict-bar .fill {
  height: 100%;
  border-radius: 3px;
  width: 30%;
  background: var(--good);
  transition: width 0.9s var(--ease), background 0.5s ease;
}

.shutter {
  margin-top: auto;
  align-self: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 4px solid rgba(24, 172, 145, 0.85);
  box-shadow: 0 8px 22px rgba(24, 172, 145, 0.32);
  animation: shutter-pulse 3.4s ease-in-out infinite;
}

@keyframes shutter-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ---------------- How it works: numbered ledger rows ---------------- */

.ledger { margin-top: 48px; }

.ledger-row {
  display: grid;
  grid-template-columns: 150px 1fr 1.2fr;
  gap: 32px;
  align-items: baseline;
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
  position: relative;
}

.ledger-row:last-child { border-bottom: 1px solid var(--hairline); }

.ledger-row::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: 0%;
  background: var(--accent);
  transition: width 0.7s var(--ease);
}
.ledger-row:hover::before { width: 100%; }

/* Korean counting numerals — 하나, 둘, 셋 */
.ledger-num {
  font-family: var(--font-kr);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  transition: color 0.5s ease;
}

.ledger-num small {
  display: block;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-top: 10px;
}

.ledger-row:hover .ledger-num { color: var(--accent-deep); }

.ledger-row h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 650;
}

.ledger-row p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 46ch;
}

@media (max-width: 820px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }
  .ledger-num { font-size: 34px; }
  .ledger-num small { display: inline; margin-left: 10px; }
}

/* ---------------- Verdict spectrum ---------------- */

.spectrum { margin-top: 64px; }

.spectrum-track {
  position: relative;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--incredible), var(--good) 25%, var(--fair) 50%, var(--high) 75%, var(--ripoff));
  opacity: 0.85;
  margin: 0 8px;
}

.spectrum-dot {
  position: absolute;
  top: 50%;
  left: 12%;
  width: 17px; height: 16px;
  border-radius: var(--pebble);
  background: var(--ink);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(32,38,31,0.3), 0 4px 12px rgba(32,38,31,0.25);
  transform: translate(-50%, -50%);
  animation: dot-travel 12s ease-in-out infinite,
             pebble-morph 8s ease-in-out infinite alternate;
}

@keyframes dot-travel {
  0%, 14%  { left: 12%; }
  33%, 47% { left: 50%; }
  66%, 80% { left: 88%; }
  100%     { left: 12%; }
}

.spectrum-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 28px;
  gap: 16px;
}

.spectrum-label:first-child { text-align: left; }
.spectrum-label:nth-child(2), .spectrum-label:nth-child(3), .spectrum-label:nth-child(4) { text-align: center; }
.spectrum-label:last-child { text-align: right; }

.spectrum-label .name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spectrum-label.incredible .name { color: var(--incredible); }
.spectrum-label.good .name { color: var(--good); }
.spectrum-label.fair .name { color: var(--fair); }
.spectrum-label.high .name { color: var(--high); }
.spectrum-label.ripoff .name { color: var(--ripoff); }

.spectrum-label p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 30ch;
}
.spectrum-label:nth-child(2) p, .spectrum-label:nth-child(3) p, .spectrum-label:nth-child(4) p { margin-inline: auto; }
.spectrum-label:last-child p { margin-left: auto; }

@media (max-width: 900px) {
  .spectrum-labels { grid-template-columns: 1fr; gap: 20px; }
  .spectrum-label, .spectrum-label:nth-child(n) { text-align: left; }
  .spectrum-label p, .spectrum-label:nth-child(n) p { margin: 6px 0 0; max-width: 100%; }
}

/* ---------------- Features: alternating editorial rows ---------------- */

.feature-rows { margin-top: 24px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 52px 0;
}

.feature-row + .feature-row { border-top: 1px solid var(--hairline); }

.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-visual { order: 1; }

.feature-copy .index {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin-bottom: 14px;
  display: block;
}

.feature-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
  font-weight: 650;
}

.feature-copy p {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 46ch;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  position: relative;
}

.bubble-feat {
  position: absolute;
  font-family: var(--font);
  font-size: 19px;
}
.bubble-feat-1 { top: -10%; left: 0; animation-delay: -3s, -2s; }
.bubble-feat-2 { bottom: -10%; right: 0; animation-delay: -7s, -5s; }
.bubble-feat-3 { top: 0; right: 0; animation-delay: -1s, -4s; }
.bubble-feat-4 { top: -20%; right: 10%; animation-delay: -5s, -1s; }

.feature-visual svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  overflow: visible;
}

.fv-stroke { stroke: var(--ink-3); }
.fv-accent { stroke: var(--accent-deep); }
.fv-text { fill: var(--ink-2); font-family: var(--font); }

.draw path.animate-draw,
.draw circle.animate-draw,
.draw line.animate-draw,
.draw polyline.animate-draw {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}
.draw.in path.animate-draw,
.draw.in circle.animate-draw,
.draw.in line.animate-draw,
.draw.in polyline.animate-draw {
  stroke-dashoffset: 0;
}

@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-visual { order: 2; }
}

/* ---------------- Pricing: ledger table ---------------- */

.plans { margin-top: 48px; }

.plans-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 20px;
  align-items: end;
}

.plans-head .plan-name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.plans-head .plan-name.pro { color: var(--accent-deep); }

.plans-head .plan-price {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}

.plans-head .plan-per {
  font-size: 13px;
  color: var(--ink-3);
}

.plan-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  align-items: center;
  font-size: 15.5px;
}

.plan-row .what { color: var(--ink-2); }

.plan-row .mark { color: var(--ink); font-weight: 500; }
.plan-row .mark.dim { color: var(--ink-3); font-weight: 400; }
.plan-row .mark.yes { color: var(--accent-deep); font-weight: 600; }

.plans-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  align-items: center;
}

.plans-cta .btn { justify-content: center; }

@media (max-width: 720px) {
  .plans-head, .plan-row { grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
  .plan-row { font-size: 13.5px; }
  .plans-cta { grid-template-columns: 1fr; gap: 12px; }
  .plans-cta > span { display: none; }
}

/* ---------------- Final CTA ---------------- */

.final-cta {
  text-align: center;
  padding: 88px 0 104px;
  position: relative;
}

.final-cta .kicker { justify-content: center; }

.final-cta h2 { font-size: clamp(38px, 5.6vw, 66px); }

.final-cta .lede { margin-inline: auto; }

.final-cta .btn { margin-top: 42px; }

.final-cta .pebble-l {
  width: 38px; height: 35px;
  left: 12%; top: 30%;
  opacity: 0.15;
}
.final-cta .pebble-r {
  width: 24px; height: 22px;
  right: 14%; bottom: 26%;
  opacity: 0.13;
  animation-delay: -5s;
}

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

footer { padding: 0 0 48px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img { width: 22px; height: 22px; opacity: 0.85; }

.footer-inner a {
  color: var(--ink-2);
  text-decoration: none;
  margin-left: 22px;
  transition: color 0.2s ease;
}
.footer-inner a:hover { color: var(--ink); }

/* ---------------- Legal pages ---------------- */

.legal-main {
  max-width: 720px;
  margin-inline: auto;
  padding: 140px 24px 96px;
}

.legal-main h1 {
  font-size: clamp(32px, 4.6vw, 46px);
  margin-bottom: 8px;
}

.legal-main .updated {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 36px;
}

.legal-main h2 {
  font-size: 20px;
  font-weight: 650;
  margin: 36px 0 10px;
  letter-spacing: -0.01em;
}

.legal-main p, .legal-main li {
  font-size: 15.5px;
  color: var(--ink-2);
}

.legal-main ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.legal-main a { color: var(--accent-deep); text-decoration-thickness: 1px; }

/* ---------------- Mobile ---------------- */

@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }

  section { padding: 32px 0; }

  .nav-inner { width: calc(100% - 40px); height: 58px; }
  .main-logo-img { height: 24px; }
  .nav-links .nav-cta { padding: 8px 15px; font-size: 13.5px; }

  .hero {
    min-height: auto;
    padding: 104px 0 40px;
  }
  .hero-grid { gap: 40px; }
  .hero .lede { margin-top: 14px; }
  .hero-ctas { flex-direction: column; margin-top: 28px; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 14px 22px; }
  .hero-note { margin-top: 16px; }

  .phone { width: 240px; border-radius: 40px; padding: 8px; }
  .phone-screen { border-radius: 33px; }
  .viewfinder { height: 160px; }
  .screen-ui { padding: 36px 12px 16px; gap: 10px; }
  .shutter { width: 48px; height: 48px; }

  .phone-stage .eolma-bubble {
    top: -12px;
    right: 2%;
  }
  .eolma-bubble {
    font-size: 17px;
    padding: 10px 16px;
  }

  .kicker { margin-bottom: 14px; }
  .lede { margin-top: 14px; }

  .ledger { margin-top: 32px; }
  .ledger-row { padding: 26px 0; gap: 8px; }
  .ledger-num { font-size: 30px; }

  .spectrum { margin-top: 44px; }
  .spectrum-labels { margin-top: 20px; gap: 16px; }

  .feature-rows { margin-top: 8px; }
  .feature-row { padding: 36px 0; gap: 24px; }
  .feature-visual { min-height: 0; }
  .feature-visual svg { max-width: 300px; }

  .plans { margin-top: 32px; }
  .plans-head { gap: 12px; }
  .plan-row { padding: 14px 0; }
  .plans-cta { padding-top: 24px; }
  .plans-cta .btn { width: 100%; }

  .final-cta { padding: 56px 0 72px; }
  .final-cta .btn { margin-top: 30px; }
  .final-cta .pebble-l, .final-cta .pebble-r { display: none; }

  .legal-main { padding: 104px 20px 56px; }

  .footer-inner { padding-top: 24px; font-size: 12.5px; }
  .footer-inner a { margin-left: 14px; }
}

/* ---------------- Scroll reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .draw path.animate-draw, .draw circle.animate-draw,
  .draw line.animate-draw, .draw polyline.animate-draw { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
