/* ===== FOUNDATION ===== */
:root {
  --bg: #f8f9f6;
  --bg-warm: #f3f0eb;
  --surface: #ffffff;
  --surface-glass: rgba(255,255,255,.72);
  --ink: #111311;
  --text: #2c3029;
  --muted: #6b7268;
  --line: rgba(17,19,17,.08);
  --primary: #0a7e74;
  --primary-light: #10a396;
  --primary-pale: #e6f5f2;
  --accent: #e8734a;
  --accent-pale: #fef0eb;
  --mint: #a8ddc8;
  --blue: #89c6da;
  --amber: #f0c46d;
  --coral: #e49373;
  --red: #c55b55;
  --shadow-sm: 0 2px 8px rgba(17,19,17,.05);
  --shadow-md: 0 8px 30px rgba(17,19,17,.08);
  --shadow-lg: 0 20px 60px rgba(17,19,17,.10);
  --shadow-xl: 0 32px 80px rgba(17,19,17,.12);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
p { max-width: 60ch; }

/* ===== LAYOUT ===== */
.container { width: min(var(--max-w), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 50px; font-weight: 700; font-size: .95rem;
  transition: transform .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(10,126,116,.25); }
.btn-accent:hover { box-shadow: 0 8px 30px rgba(10,126,116,.35); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { min-height: 58px; padding: 0 36px; font-size: 1.05rem; }
.btn-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px; font-size: .78rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
}
.badge-primary { background: var(--primary-pale); color: var(--primary); }
.badge-accent { background: var(--accent-pale); color: var(--accent); }

/* ===== NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,249,246,.82); backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; color: var(--ink);
  flex-shrink: 0;
}
.brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-weight: 900; font-size: .85rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .88rem; font-weight: 600; color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  font-size: .8rem; font-weight: 700;
}
.lang-switch a {
  padding: 6px 12px; color: var(--muted); transition: background .2s ease, color .2s ease;
}
.lang-switch a:hover { background: var(--primary-pale); color: var(--primary); }
.lang-switch a.active { background: var(--primary); color: #fff; }

/* ===== HERO ===== */
.hero {
  padding-top: calc(72px + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(60px, 8vw, 100px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,221,200,.25), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-content .badge { margin-bottom: 20px; }
.hero h1 { margin: 16px 0 20px; }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted);
  line-height: 1.7; max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-metrics {
  display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 28px;
}
.hero-metrics div { flex: 1; }
.hero-metrics div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.metric-value { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.metric-label { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* phone mockup */
.hero-visual { position: relative; z-index: 1; }
.phone-wrap { position: relative; max-width: 340px; margin: 0 auto; }
.phone-float {
  position: absolute; padding: 14px 18px; border-radius: var(--radius);
  background: var(--surface-glass); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-lg);
  font-size: .82rem; font-weight: 700; white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.phone-float-1 { top: 60px; left: -40px; }
.phone-float-1 .val { color: var(--primary); font-size: 1.1rem; }
.phone-float-2 { bottom: 100px; right: -36px; animation-delay: -2s; }
.phone-float-2 .val { color: var(--accent); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-device {
  border-radius: 40px; background: #171a17; padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone-screen {
  border-radius: 30px; overflow: hidden; min-height: 620px;
  background: linear-gradient(170deg, #f5faf7 0%, #ecf2ea 100%);
  padding: 20px 18px;
}
/* status bar */
.app-status { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.app-status .greeting { font-size: .78rem; color: var(--muted); font-weight: 600; }
.app-status .day { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.status-chip {
  padding: 5px 12px; border-radius: 50px; font-size: .72rem; font-weight: 700;
  background: var(--primary); color: #fff;
}
/* score ring in phone */
.app-score { display: grid; place-items: center; padding: 24px 0 20px; }
.ring {
  width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle, var(--surface) 0 54%, transparent 55%),
    conic-gradient(from -90deg, var(--red) 0 10%, var(--amber) 30%, var(--mint) 75%, #dde2da 75% 100%);
  box-shadow: 0 8px 32px rgba(10,126,116,.12);
}
.ring-inner {
  width: 64%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center;
  text-align: center; background: var(--surface);
}
.ring-inner .score-num { font-size: 2.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.ring-inner .score-label { font-size: .65rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
/* trend card in phone */
.app-trend {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  margin-bottom: 12px;
}
.app-trend .label { font-size: .72rem; color: var(--muted); font-weight: 700; }
.app-trend .value { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.mini-bars span { width: 8px; border-radius: 99px 99px 2px 2px; background: var(--primary); opacity: .7; }
/* habit rows in phone */
.app-habits { display: grid; gap: 8px; }
.app-habits .row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.65); border: 1px solid var(--line);
}
.app-habits .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.app-habits .name { font-weight: 700; font-size: .88rem; color: var(--ink); flex: 1; }
.app-habits .pts { font-weight: 800; font-size: .82rem; color: var(--muted); }

/* ===== PROBLEM SECTION ===== */
.problem { background: var(--surface); }
.problem-header { text-align: center; margin-bottom: 56px; }
.problem-header p { margin: 14px auto 0; color: var(--muted); font-size: 1.1rem; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card {
  padding: 32px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.problem-card:nth-child(1) .icon { background: #fef0eb; }
.problem-card:nth-child(2) .icon { background: #e8f0fe; }
.problem-card:nth-child(3) .icon { background: #fef8e6; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--muted); font-size: .92rem; }

/* ===== FEATURES ===== */
.features-header { text-align: center; margin-bottom: 56px; }
.features-header p { margin: 14px auto 0; color: var(--muted); font-size: 1.1rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 36px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #e6f5f2, #d0ede6); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #fef0eb, #fdd9cc); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #e8f0fe, #c8ddf8); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .92rem; }

/* ===== SCORE SECTION ===== */
.score-section { background: var(--surface); }
.score-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.score-visual { display: grid; place-items: center; }
.score-ring-wrap { position: relative; }
.score-ring-lg {
  width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle, var(--surface) 0 56%, transparent 57%),
    conic-gradient(from -90deg, var(--red) 0 10%, var(--amber) 32%, var(--mint) 78%, #dde2da 78% 100%);
  box-shadow: var(--shadow-lg);
}
.score-ring-lg .ring-inner { width: 62%; }
.score-ring-lg .ring-inner .score-num { font-size: 3.6rem; }
.score-ring-lg .ring-inner .score-label { font-size: .72rem; }
.score-scale {
  display: flex; justify-content: space-between; margin-top: 20px;
  padding-top: 16px; border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--amber), var(--mint)) 1;
  font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.score-copy .badge { margin-bottom: 16px; }
.score-copy h2 { margin-bottom: 16px; }
.score-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; }
.weight-list { display: grid; gap: 16px; }
.weight-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.weight-item .pct {
  font-size: 1.4rem; font-weight: 900; color: var(--primary);
  min-width: 52px; line-height: 1;
}
.weight-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.weight-item p { font-size: .82rem; color: var(--muted); }

/* ===== DIMENSIONS ===== */
.dims-header { text-align: center; margin-bottom: 56px; }
.dims-header p { margin: 14px auto 0; color: var(--muted); font-size: 1.1rem; }
.dims-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dim-card {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dim-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(10,126,116,.2); }
.dim-num {
  display: inline-block; padding: 3px 9px; border-radius: 8px;
  background: var(--primary-pale); color: var(--primary);
  font-weight: 800; font-size: .78rem; margin-right: 8px; vertical-align: middle;
}
.dim-card h3 { margin-bottom: 6px; }
.dim-card p { font-size: .88rem; color: var(--muted); }

/* ===== HOW IT WORKS ===== */
.how { background: var(--surface); }
.how-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.how-copy { position: sticky; top: 100px; }
.how-copy .badge { margin-bottom: 16px; }
.how-copy h2 { margin-bottom: 16px; }
.how-copy p { color: var(--muted); font-size: 1.05rem; }
.steps { display: grid; gap: 16px; }
.step-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 900; font-size: 1.2rem;
}
.step-card h3 { margin-bottom: 4px; }
.step-card p { font-size: .9rem; color: var(--muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0a7e74 0%, #065048 100%);
  color: #fff; text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin: 0 auto 36px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--primary); font-weight: 800; }
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-outline-white {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.store-icon { width: 20px; height: 20px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 48px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.footer-brand .brand-icon { width: 30px; height: 30px; border-radius: 8px; font-size: .72rem; }
.footer-disclaimer { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.footer-links a:hover { color: var(--primary); }

/* ===== LEGAL PAGES ===== */
.legal-header { padding-top: calc(72px + 48px); padding-bottom: 24px; }
.legal-doc {
  max-width: 820px; margin: 0 auto; padding: 0 var(--gutter) 100px;
}
.legal-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px); box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.legal-card .notice {
  background: #fff8e6; color: #7a5800; padding: 14px 18px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .88rem; margin-bottom: 32px;
}
.legal-card h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 8px; }
.legal-card .date { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.legal-card .intro { color: rgba(44,48,41,.8); font-size: .95rem; margin-bottom: 32px; line-height: 1.7; }
.legal-toc {
  background: var(--bg); border-radius: var(--radius); padding: 20px 24px;
  margin-bottom: 36px; border: 1px solid var(--line);
}
.legal-toc .toc-title { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.legal-toc li { font-size: .88rem; color: var(--primary); font-weight: 600; }
.legal-toc a { color: var(--primary); }
.legal-toc a:hover { text-decoration: underline; }
.legal-card h2 {
  font-size: 1.15rem; margin-top: 36px; margin-bottom: 10px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.legal-card h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-card p, .legal-card li { color: rgba(44,48,41,.82); font-size: .95rem; line-height: 1.75; }
.legal-card ul, .legal-card ol { padding-left: 22px; margin: 8px 0; }
.legal-card li { margin-bottom: 6px; }
.legal-card strong { color: var(--ink); }
.legal-card a { color: var(--primary); font-weight: 600; }
.legal-card a:hover { text-decoration: underline; }
.legal-highlight {
  background: var(--primary-pale); border-radius: var(--radius); padding: 18px 20px;
  margin: 16px 0; border-left: 3px solid var(--primary);
}
.legal-highlight p { margin: 0; color: var(--primary); font-weight: 600; font-size: .92rem; }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body { animation: fade-in .5s ease both; }

/* focus */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ===== RESPONSIVE: TABLET (<=1024px) ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-metrics { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .problem-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .score-split { grid-template-columns: 1fr; text-align: center; }
  .score-copy p { margin-left: auto; margin-right: auto; }
  .dims-grid { grid-template-columns: repeat(2, 1fr); }
  .how-split { grid-template-columns: 1fr; }
  .how-copy { position: static; text-align: center; }
  .how-copy p { margin: 0 auto; }
}

/* ===== RESPONSIVE: MOBILE NAV (<=768px) ===== */
@media (max-width: 768px) {
  .nav { min-height: 60px; gap: 12px; }
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .brand span:last-child { font-size: 1rem; }
  .brand-icon { width: 32px; height: 32px; font-size: .75rem; }

  .hero { padding-top: calc(60px + 40px); padding-bottom: 40px; gap: 32px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { gap: 10px; margin-bottom: 32px; }
  .btn-lg { min-height: 50px; padding: 0 24px; font-size: .95rem; }

  .phone-wrap { max-width: 280px; }
  .phone-device { border-radius: 32px; padding: 10px; }
  .phone-screen { border-radius: 24px; min-height: 500px; padding: 16px 14px; }
  .phone-float { display: none; }
  .ring { width: 150px; height: 150px; }
  .ring-inner .score-num { font-size: 2.2rem; }
  .app-trend { padding: 12px; }
  .app-habits .row { padding: 10px 12px; }

  .section { padding: clamp(48px, 8vw, 80px) 0; }

  .problem-header { margin-bottom: 36px; }
  .problem-header h2, .features-header h2, .dims-header h2, .how-copy h2, .score-copy h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .problem-card { padding: 24px 20px; }
  .features-header { margin-bottom: 36px; }
  .feature-card { padding: 28px 22px; }

  .score-split { gap: 32px; }
  .score-ring-lg { width: min(260px, 70vw); }
  .score-ring-lg .ring-inner .score-num { font-size: 2.8rem; }
  .score-scale { font-size: .7rem; }
  .weight-item { flex-direction: column; gap: 8px; }

  .dims-header { margin-bottom: 36px; }
  .dims-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .dim-card { padding: 22px 20px; }

  .step-card { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px; }
  .step-num { width: 44px; height: 44px; font-size: 1rem; border-radius: 12px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px; }

  .legal-card { padding: clamp(24px, 5vw, 40px); }
  .legal-card h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .legal-card h2 { font-size: 1.05rem; margin-top: 28px; }
  .legal-card p, .legal-card li { font-size: .9rem; }
  .legal-toc { padding: 16px 18px; }
}

/* ===== RESPONSIVE: SMALL MOBILE (<=480px) ===== */
@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }

  .hero { padding-top: calc(60px + 28px); padding-bottom: 28px; }
  .hero h1 { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .hero-sub { font-size: .92rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { flex-direction: column; gap: 14px; }
  .hero-metrics div + div { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }

  .phone-wrap { max-width: 260px; }
  .phone-screen { min-height: 460px; padding: 14px 12px; }
  .ring { width: 130px; height: 130px; }
  .ring-inner .score-num { font-size: 1.8rem; }
  .ring-inner .score-label { font-size: .58rem; }
  .app-trend .value { font-size: 1.1rem; }
  .mini-bars { height: 28px; }
  .mini-bars span { width: 6px; }

  .problem-card { padding: 20px 18px; }
  .problem-card .icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 14px; }
  .feature-card { padding: 24px 18px; }
  .feature-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 16px; }

  .score-ring-lg { width: min(220px, 65vw); }
  .score-ring-lg .ring-inner .score-num { font-size: 2.4rem; }
  .weight-item { padding: 14px 16px; }
  .weight-item .pct { font-size: 1.2rem; }

  .dim-card { padding: 18px 16px; }

  .step-card { grid-template-columns: 1fr; text-align: center; gap: 12px; padding: 20px; }
  .step-num { margin: 0 auto; }

  .cta-section { padding: clamp(56px, 10vw, 100px) 0; }
  .cta-section h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  .footer-inner { padding: 32px 0; }
  .footer-links { flex-direction: column; gap: 12px; }
}
