/* =========================================================
   MooWoo — Warm Utility & Playful Modern
   Design tokens
   ========================================================= */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --bg: #FBF9F1;
  --bg-2: #F5F2E6;
  --primary: #006565;
  --primary-dark: #004a4a;
  --sage: #3B6663;
  --tint: #BBE8E4;
  --leaf: #00691B;
  --ink: #1B1C17;
  --ink-sub: #5F6368;
  --white: #FFFFFF;

  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  --shadow-sm: 0 2px 10px rgba(27, 28, 23, .05);
  --shadow: 0 18px 40px -18px rgba(0, 101, 101, .22), 0 4px 14px rgba(27, 28, 23, .04);
  --shadow-lg: 0 40px 80px -32px rgba(0, 101, 101, .30), 0 8px 24px rgba(27, 28, 23, .05);
  --glow: 0 10px 30px -8px rgba(0, 101, 101, .45);

  --font-head: 'Quicksand', 'Plus Jakarta Sans', 'Pretendard Variable', Pretendard, sans-serif;
  --font-body: 'Pretendard Variable', Pretendard, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --header-h: 68px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, .font-head { font-family: var(--font-head); letter-spacing: -0.025em; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 40px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Ambient glow orbs
   ========================================================= */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.orb-1 { width: 46vw; max-width: 520px; aspect-ratio: 1; background: #BBE8E4; top: -8%; right: -10%; animation: float 16s ease-in-out infinite; }
.orb-2 { width: 38vw; max-width: 420px; aspect-ratio: 1; background: #D9F2C4; bottom: -12%; left: -12%; opacity: .5; animation: float 20s ease-in-out infinite reverse; }
.orb-3 { width: 26vw; max-width: 300px; aspect-ratio: 1; background: #A9DCD6; top: 38%; left: 34%; opacity: .32; animation: float 24s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(3%, -5%, 0) scale(1.08); }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 249, 241, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(0, 101, 101, .07);
  transition: box-shadow .3s ease, background .3s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,101,101,.28); background: rgba(251,249,241,.86); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: calc(var(--header-h) * 0.43);
  width: auto;
  max-width: min(38vw, 172px);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-sub);
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width .26s cubic-bezier(.34,1.56,.64,1);
}
.nav a:hover { color: var(--primary); background: rgba(187,232,228,.32); transform: translateY(-1px); }
.nav a:hover::after { width: 40%; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* ---------- language dropdown ---------- */
.lang { position: relative; flex: 0 0 auto; }

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(0,101,101,.18);
  background: rgba(255,255,255,.7);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  white-space: nowrap;
}
.lang-badge:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); background: #fff; }
.lang-badge .globe { font-size: 14px; line-height: 1; opacity: .85; }
.lang-badge .name { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
.lang-badge .caret {
  font-size: 9px;
  line-height: 1;
  opacity: .6;
  transition: transform .28s cubic-bezier(.34,1.4,.64,1);
}
.lang-badge[aria-expanded='true'] { border-color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); }
.lang-badge[aria-expanded='true'] .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 140;
  width: 216px;
  max-height: min(64vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0,101,101,.1);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity .22s ease, transform .26s cubic-bezier(.34,1.4,.64,1), visibility .26s;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: none; }

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.lang-menu button:hover { background: rgba(187,232,228,.4); color: var(--primary); }
.lang-menu button .lname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-menu button .lcode {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-sub);
  opacity: .7;
}
.lang-menu button .lcheck { flex: 0 0 auto; width: 14px; color: var(--primary); opacity: 0; font-size: 13px; }
.lang-menu button[aria-selected='true'] { background: rgba(187,232,228,.55); color: var(--primary); }
.lang-menu button[aria-selected='true'] .lcheck { opacity: 1; }
.lang-menu button[aria-selected='true'] .lcode { color: var(--primary); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 999px;
  transition: transform .22s cubic-bezier(.34,1.4,.64,1), box-shadow .22s ease, background .22s ease, color .22s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(140deg, #007a78 0%, var(--primary) 55%, #004f52 100%);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(0,101,101,.55); }

.btn-ghost {
  background: rgba(255,255,255,.55);
  color: var(--primary);
  border: 1.5px solid rgba(0,101,101,.24);
}
.btn-ghost:hover { border-color: var(--primary); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-md { height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16.5px; }

.header-cta { display: inline-flex; }

/* hamburger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,101,101,.16);
  background: rgba(255,255,255,.7);
  align-items: center; justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--primary); transition: transform .25s ease, opacity .2s ease; }

/* =========================================================
   Mobile drawer
   ========================================================= */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .42s cubic-bezier(.5,.05,.2,1), opacity .3s ease, visibility .42s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

.drawer-top {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding-inline: clamp(16px, 5vw, 28px);
  background: rgba(251,249,241,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,101,101,.07);
}
.drawer-top img { height: calc(var(--header-h) * 0.5); width: auto; cursor: pointer; }
.drawer-close {
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid rgba(0,101,101,.16);
  background: #fff; color: var(--primary);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.drawer-body { padding: 22px clamp(16px, 5vw, 28px) 34px; display: flex; flex-direction: column; gap: 12px; }

.drawer-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(0,101,101,.08);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.drawer-card:active { transform: scale(.985); }
.drawer-card .ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--primary);
  font-size: 18px;
}
.drawer-card .tx { display: flex; flex-direction: column; }
.drawer-card .tx b { font-family: var(--font-head); font-size: 16px; }
.drawer-card .tx small { color: var(--ink-sub); font-size: 12.5px; }
.drawer-card .arw { margin-left: auto; color: var(--primary); opacity: .5; }

.drawer-langbox {
  border-radius: var(--radius);
  border: 1px solid rgba(0,101,101,.14);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.drawer-lang {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 17px 18px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px; color: var(--ink-sub); font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.drawer-lang strong { color: var(--primary); font-family: var(--font-head); font-size: 15px; }
.drawer-lang .caret { font-size: 9px; color: var(--primary); transition: transform .28s ease; }
.drawer-lang[aria-expanded='true'] .caret { transform: rotate(180deg); }

.drawer-lang-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 6px;
  max-height: 0;
  padding: 0 12px;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4,0,.2,1), padding .3s ease;
}
.drawer-lang-list.is-open { max-height: 460px; padding: 4px 12px 14px; overflow-y: auto; }
.drawer-lang-list button {
  padding: 12px 10px;
  border: 1px solid rgba(0,101,101,.1);
  border-radius: 14px;
  background: rgba(251,249,241,.8);
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.drawer-lang-list button[aria-selected='true'] {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.drawer-body .btn { width: 100%; margin-top: 8px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(28px, 6vw, 70px));
  padding-bottom: clamp(40px, 8vw, 90px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,101,101,.14);
  box-shadow: var(--shadow-sm);
  font-size: clamp(11.5px, 2.6vw, 13px);
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-head);
  letter-spacing: .01em;
  backdrop-filter: blur(8px);
}
.pill .spark { color: var(--leaf); }

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(31px, 6.4vw, 60px);
  line-height: 1.18;
  font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--primary) 0%, #009a7a 50%, var(--leaf) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  margin: 18px 0 0;
  max-width: 30em;
  font-size: clamp(14.5px, 3.4vw, 17px);
  color: var(--ink-sub);
  line-height: 1.78;
}
.hero-cta {
  margin-top: clamp(24px, 5vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-sub);
  display: flex; align-items: center; gap: 7px;
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(0,105,27,.14); }

/* spline stage */
.stage {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(187,232,228,.55) 0%, rgba(251,249,241,0) 68%);
  touch-action: pan-y;
}
.stage spline-viewer {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: auto;
}
/* Spline 워터마크 영역 가림 */
.stage::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 150px; height: 46px;
  background: linear-gradient(to top left, var(--bg) 42%, rgba(251,249,241,0) 78%);
  pointer-events: none;
  z-index: 3;
}
.stage-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 1;
}
.stage-fallback img { width: 62%; max-width: 340px; opacity: .9; animation: float 8s ease-in-out infinite; }

/* =========================================================
   Section common
   ========================================================= */
.section { position: relative; padding: clamp(56px, 10vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 6vw, 54px); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(25px, 5.4vw, 42px);
  line-height: 1.28;
  font-weight: 700;
}
.section-head p {
  margin: 14px 0 0;
  color: var(--ink-sub);
  font-size: clamp(14px, 3.2vw, 16.5px);
  line-height: 1.8;
}

/* =========================================================
   Showcase
   ========================================================= */
.showcase { background: linear-gradient(180deg, rgba(251,249,241,0) 0%, rgba(245,242,230,.85) 45%, rgba(251,249,241,0) 100%); overflow: hidden; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 210px;
  margin-inline: auto;
  aspect-ratio: 9 / 16.5;
  border-radius: 30px;
  padding: 7px;
  background: linear-gradient(160deg, #2c3b3b, #101817 60%, #263434);
  box-shadow: 0 24px 46px -20px rgba(0,101,101,.5), inset 0 0 0 1px rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.phone::before {
  content: '';
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.feature-body .no {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  box-shadow: var(--glow);
}
.feature-body h3 {
  margin: 0;
  font-size: clamp(17px, 3.6vw, 21px);
  line-height: 1.35;
}
.feature-body .sub {
  margin: 8px 0 0;
  font-size: clamp(13.5px, 3vw, 15px);
  font-weight: 700;
  color: var(--leaf);
}
.feature-body .desc {
  margin: 10px 0 0;
  font-size: clamp(13px, 2.9vw, 14.8px);
  color: var(--ink-sub);
  line-height: 1.78;
}

/* =========================================================
   PWA
   ========================================================= */
.pwa-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 60px);
  background: linear-gradient(150deg, #00595c 0%, var(--primary) 45%, #024f3a 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.pwa-card .orb { filter: blur(60px); opacity: .28; }
.pwa-card .eyebrow { color: var(--tint); }
.pwa-card h2 { color: #fff; }
.pwa-card .section-head p { color: rgba(255,255,255,.82); }
.pwa-card .section-head { position: relative; z-index: 1; }

.steps {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(12px, 2.4vw, 20px);
}
.step {
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, background .3s ease;
}
.step:hover { transform: translateY(-5px); background: rgba(255,255,255,.16); }
.step .ic {
  width: 46px; height: 46px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(187,232,228,.9);
  color: #00494b;
  font-size: 19px;
  margin-bottom: 14px;
}
.step .n { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--tint); }
.step b { display: block; margin-top: 6px; font-family: var(--font-head); font-size: clamp(15px, 3.2vw, 17px); }
.step p { margin: 8px 0 0; font-size: clamp(12.5px, 2.8vw, 14px); color: rgba(255,255,255,.78); line-height: 1.7; }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 100px) 0 34px; text-align: center; }
.footer-inner { position: relative; z-index: 1; }
.footer img.mark { height: 46px; width: auto; margin: 0 auto 22px; }
.footer h2 {
  margin: 0 auto;
  max-width: 18em;
  font-size: clamp(24px, 5.6vw, 40px);
  line-height: 1.3;
}
.footer-cta { margin-top: clamp(24px, 5vw, 34px); display: flex; justify-content: center; }
.footer .btn { max-width: 100%; }
.footer .btn .url {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: .82em;
  font-weight: 600;
}
@media (max-width: 480px) {
  .footer .btn { width: 100%; height: auto; min-height: 58px; padding: 12px 18px; flex-wrap: wrap; }
}
.footer-links {
  margin-top: clamp(40px, 7vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(0,101,101,.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-sub);
}
.footer-links nav { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--primary); }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .orb, .stage-fallback img { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
  .phone { max-width: 170px; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .header-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { order: 1; text-align: center; }
  .hero-copy .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { justify-content: center; }
  .stage-col { order: 2; }
  .stage { aspect-ratio: 1 / 0.92; max-width: 560px; margin-inline: auto; }

  .feature-list { grid-template-columns: 1fr; }
  .feature { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); }
  .phone { max-width: 190px; }

  .section-head { margin-inline: auto; text-align: center; }
}

@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 22px); }
  .hero-cta .btn { width: 100%; }
  .stage { aspect-ratio: 1 / 1; max-width: 420px; }
  .stage::after { width: 120px; height: 40px; }

  .feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px 24px;
    text-align: center;
  }
  .feature-body { display: flex; flex-direction: column; align-items: center; }
  .phone { max-width: 208px; }

  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
  .step .ic { margin-bottom: 0; }

  .footer-links { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .lang-badge { padding: 0 10px; }
  .lang-badge .globe { display: none; }
}

/* =========================================================
   Legal pages (Terms / Privacy)
   ========================================================= */
.legal { position: relative; padding-top: calc(var(--header-h) + clamp(26px, 5vw, 54px)); padding-bottom: clamp(50px, 8vw, 90px); overflow: hidden; }
.legal-wrap { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }

.legal-back {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 22px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,101,101,.16);
  background: rgba(255,255,255,.7);
  color: var(--primary);
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.legal-back:hover { transform: translateX(-2px); border-color: var(--primary); box-shadow: var(--shadow-sm); }

.legal-head { margin-bottom: clamp(24px, 5vw, 40px); }
.legal-head h1 { margin: 12px 0 0; font-size: clamp(28px, 6vw, 46px); line-height: 1.22; }
.legal-head .updated {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(187,232,228,.42);
  color: #044f4f;
  font-size: 12.5px; font-weight: 700;
}

.legal-card {
  position: relative;
  padding: clamp(22px, 4.4vw, 44px);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.legal-intro { margin: 0 0 clamp(24px, 4vw, 36px); font-size: clamp(14px, 3.1vw, 16px); color: var(--ink-sub); line-height: 1.85; }

.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(26px, 4.6vw, 40px);
  padding-bottom: clamp(22px, 4vw, 32px);
  border-bottom: 1px solid rgba(0,101,101,.1);
}
.legal-toc a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(251,249,241,.9);
  border: 1px solid rgba(0,101,101,.1);
  font-size: 12.5px; font-weight: 700; color: var(--sage);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.legal-toc a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

.legal-sec { padding-top: 6px; }
.legal-sec + .legal-sec { margin-top: clamp(30px, 5vw, 46px); }
.legal-sec h2 {
  display: flex; align-items: baseline; gap: 11px;
  margin: 0 0 14px;
  font-size: clamp(18px, 3.9vw, 24px);
  line-height: 1.36;
}
.legal-sec h2 .n {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: .68em; font-weight: 700;
  color: var(--primary);
  background: rgba(187,232,228,.5);
  border-radius: 9px;
  padding: 3px 9px;
}
.legal-sec p { margin: 0 0 12px; font-size: clamp(13.5px, 3vw, 15.4px); color: var(--ink-sub); line-height: 1.88; }
.legal-sec ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.legal-sec li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: clamp(13.5px, 3vw, 15.2px);
  color: var(--ink-sub);
  line-height: 1.82;
}
.legal-sec li::before {
  content: '';
  position: absolute; left: 4px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 0 2px rgba(0,101,101,.14);
}
.legal-sec strong { color: var(--ink); font-weight: 700; }

.legal-note {
  margin-top: clamp(30px, 5vw, 46px);
  padding: clamp(18px, 3.4vw, 26px);
  border-radius: var(--radius);
  background: rgba(187,232,228,.24);
  border: 1px dashed rgba(0,101,101,.24);
}
.legal-note p { margin: 0; font-size: clamp(12.8px, 2.9vw, 14.4px); color: #0b4c4c; line-height: 1.82; }
.legal-note p + p { margin-top: 8px; }

.legal-foot {
  margin-top: clamp(34px, 6vw, 54px);
  padding-top: 24px;
  border-top: 1px solid rgba(0,101,101,.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 12.5px; color: var(--ink-sub);
}
.legal-foot nav { display: flex; gap: 18px; }
.legal-foot a:hover { color: var(--primary); }

@media (max-width: 560px) {
  .legal-foot { flex-direction: column; text-align: center; }
  .legal-head h1 { font-size: clamp(25px, 7.6vw, 34px); }
}
