/* ═══════════════════════════════════════════════════════
   PICLIMB — same structure as HairDiaryWeb, in the app icon's colours
   Fraunces (display) + Outfit (body) + JetBrains Mono (digits)
   ═══════════════════════════════════════════════════════ */

/* 1. VARIABLES
   ─────────────────────────────────────────────────────── */
:root {
  --bg:        #F7F7FC;
  --bg-2:      #EEEEF8;
  --bg-3:      #E3E3F3;
  --surface:   #FFFFFF;
  --header-bg: rgba(247, 247, 252, 0.86);

  /* The app icon's gradient: indigo → violet. */
  --indigo:     #3D40CC;
  --indigo-dk:  #2E30A3;
  --violet:     #734DE6;
  --indigo-lt:  rgba(61, 64, 204, 0.07);
  --indigo-bdr: rgba(61, 64, 204, 0.16);
  --link:       #3D40CC;
  --on-indigo:  #FFFFFF;

  --panic:     #E8770F;

  --text:      #161630;
  --text-2:    #4F4F6E;
  --text-3:    #75759A;
  --border:    rgba(22, 22, 48, 0.09);
  --error:     #B03A2E;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Microsoft YaHei', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --pad:   clamp(16px, 5vw, 80px);
  --max-w: 1200px;

  --r1: 10px;
  --r2: 16px;
  --r3: 24px;

  --sh1: 0 1px 3px rgba(22,22,48,.06), 0 2px 8px rgba(22,22,48,.04);
  --sh3: 0 12px 48px rgba(22,22,48,.12), 0 4px 16px rgba(22,22,48,.06);

  --gradient: linear-gradient(135deg, #3D40CC 0%, #734DE6 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0E0E1C;
    --bg-2:      #15152A;
    --bg-3:      #1E1E38;
    --surface:   #18182E;
    --header-bg: rgba(14, 14, 28, 0.84);

    /* The app's dark accent colour. */
    --indigo-lt:  rgba(140, 143, 255, 0.10);
    --indigo-bdr: rgba(140, 143, 255, 0.22);
    --link:       #9EA1FF;

    --text:      #EDEDF7;
    --text-2:    #B4B4CC;
    --text-3:    #8888A8;
    --border:    rgba(255, 255, 255, 0.10);
    --error:     #FF8A7A;

    --sh1: 0 1px 3px rgba(0,0,0,.3);
    --sh3: 0 12px 48px rgba(0,0,0,.45);
  }
}

/* 2. RESET & BASE
   ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
textarea { resize: vertical; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }

.visually-hidden-focusable {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.visually-hidden-focusable:focus {
  position: static; width: auto; height: auto;
  overflow: visible; clip: auto; white-space: normal;
  background: var(--indigo); color: var(--on-indigo);
  padding: 8px 16px; border-radius: 4px; z-index: 9999;
}

/* 3. HEADER
   ─────────────────────────────────────────────────────── */
body > header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--pad);
  height: 64px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-brand {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0;
}
.brand-logo {
  border-radius: 8px;
  box-shadow: var(--sh1);
}
.brand-name {
  font-family: var(--serif);
  font-size: 21px; font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
}
.nav-link {
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-link:hover      { color: var(--link); background: var(--indigo-lt); }
.nav-link--active    { color: var(--link); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  padding: 8px; border-radius: var(--r1);
  color: var(--text);
  margin-left: auto;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--indigo-lt); }

/* Language Picker */
.lang-picker { position: relative; flex-shrink: 0; }
.lang-trigger {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  cursor: pointer; background: none; border: none;
  list-style: none;
  transition: color .15s, background .15s;
  user-select: none;
}
.lang-trigger::-webkit-details-marker { display: none; }
.lang-trigger:hover { color: var(--link); background: var(--indigo-lt); }
.lang-code { font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.lang-chevron { transition: transform .2s; }
details[open] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--sh3);
  padding: 8px; min-width: 300px; z-index: 200;
}
.lang-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  list-style: none;
}
.lang-option {
  display: block;
  padding: 8px 10px; border-radius: var(--r1);
  font-size: 13px; color: var(--text-2);
  transition: color .15s, background .15s; white-space: nowrap;
}
.lang-option:hover          { color: var(--link); background: var(--indigo-lt); }
.lang-option--active        { color: var(--link); font-weight: 600; background: var(--indigo-lt); }

/* 4. HERO
   ─────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 64px;
  align-items: center;
  min-height: calc(100dvh - 64px);
  padding: 60px var(--pad) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px;
  background: var(--indigo-lt);
  border: 1px solid var(--indigo-bdr);
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-icon { border-radius: 6px; box-shadow: var(--sh1); }
.hero-badge-text {
  font-size: 13px; font-weight: 600;
  color: var(--link); letter-spacing: .02em;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-bottom: 22px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow-wrap: break-word;
}
@media (prefers-color-scheme: dark) {
  .hero-headline { background: linear-gradient(135deg, #A9ABFF 0%, #C4A8FF 100%); -webkit-background-clip: text; background-clip: text; }
}

.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 480px;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: var(--gradient); color: var(--on-indigo);
  border-radius: 100px;
  font-size: 15px; font-weight: 600; border: none;
  transition: transform .15s, box-shadow .2s, filter .2s;
  box-shadow: 0 2px 14px rgba(61,64,204,.32);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(61,64,204,.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 22px;
  background: transparent; color: var(--link);
  border-radius: 100px; font-size: 15px; font-weight: 500;
  border: 1.5px solid var(--indigo-bdr);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--link); background: var(--indigo-lt); }

/* The staircase: the app icon's steps, with π's digits on them */
.climb {
  position: relative;
  width: 420px; height: 400px;
  flex-shrink: 0;
}
.climb-icon {
  position: absolute; top: 8px; left: 4px;
  width: 120px; height: 120px;
  border-radius: 27px;
  box-shadow: 0 24px 56px rgba(61,64,204,.30), 0 6px 16px rgba(22,22,48,.12);
  animation: icon-float 5s ease-in-out infinite;
}
@keyframes icon-float {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-10px) rotate(-4deg); }
}
.climb-steps {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; gap: 6px;
}
.climb-step {
  flex: 1;
  height: calc(64px + var(--step) * 46px);
  border-radius: 14px 14px 6px 6px;
  position: relative; isolation: isolate;
  display: flex; justify-content: center;
  padding-top: 12px;
  transform-origin: bottom;
  transform: scaleY(.15);
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(.15s + var(--step) * .09s);
}
/* Fade the step, not its digits: the low steps are lighter, as in the icon. */
.climb-step::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--gradient);
  opacity: calc(.42 + var(--step) * .116);
}
.climb.is-visible .climb-step { transform: none; }
.climb-digits {
  font-family: var(--mono);
  font-size: 15px; font-weight: 700;
  letter-spacing: .02em;
  color: #FFFFFF;
}

/* 5. STATS BAR
   ─────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--gradient);
  padding: 18px var(--pad);
}
.stats-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 16px 56px; flex-wrap: wrap;
  list-style: none;
}
.stat-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.92);
}
.stat-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.14);
  border-radius: var(--r1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon--pi { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 14px; font-weight: 500; }

/* 6. FEATURES
   ─────────────────────────────────────────────────────── */
.features {
  padding: 100px var(--pad);
  max-width: var(--max-w); margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--link); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; line-height: 1.1;
  color: var(--text); letter-spacing: -.02em;
}
.section-sub {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  margin-top: 12px; max-width: 540px;
  margin-left: auto; margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh3);
  border-color: var(--indigo-bdr);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--indigo-lt); color: var(--link);
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
/* Pi Panic is orange in the app too. */
.feature-card--panic .feature-icon { background: rgba(232,119,15,.10); color: var(--panic); }
.feature-title {
  font-family: var(--serif);
  font-size: 23px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
  line-height: 1.2;
}
.feature-text {
  font-size: 15px; line-height: 1.65; color: var(--text-2);
}

/* 7. FREE SECTION
   ─────────────────────────────────────────────────────── */
.free-section {
  background: var(--gradient);
  padding: 80px var(--pad);
  position: relative; overflow: hidden;
  color: #FFFFFF;
}
.free-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.free-kicker {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  margin-bottom: 18px;
}
.free-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.free-sub {
  font-size: 17px; color: rgba(255,255,255,.82);
  line-height: 1.65; margin-bottom: 32px;
}
.free-points {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.free-point {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.92);
}
.free-point-check {
  width: 22px; height: 22px;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.36);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.free-panel {
  display: flex; flex-direction: column; gap: 20px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r3);
  padding: 28px;
}
.free-prices { display: flex; flex-direction: column; gap: 10px; }
.free-price {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r2);
}
.free-price dt { font-size: 14px; color: rgba(255,255,255,.80); }
.free-price dd { font-family: var(--serif); font-size: 22px; font-weight: 600; text-align: right; }

.btn-primary-light {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  background: #FFFFFF; color: #3D40CC;
  border-radius: 100px;
  font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  text-align: center;
}
.btn-primary-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(0,0,0,.22);
}

.free-pi {
  position: absolute; right: -40px; bottom: -160px;
  font-family: var(--serif); font-weight: 700;
  font-size: 520px; line-height: 1;
  color: #FFFFFF; opacity: .06;
  pointer-events: none; user-select: none;
}

/* 8. DOWNLOAD CTA
   ─────────────────────────────────────────────────────── */
.download-cta {
  padding: 100px var(--pad);
  text-align: center;
  background: var(--bg-2);
}
.download-cta-inner {
  max-width: 560px; margin: 0 auto;
}
.download-cta-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text); margin-bottom: 16px;
}
.download-cta-sub {
  font-size: 17px; color: var(--text-2);
  margin-bottom: 40px; line-height: 1.65;
}

.appstore-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 28px;
  background: #111122; color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(22,22,48,.22);
}
.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(22,22,48,.30);
}
.appstore-badge-text { text-align: left; }
.appstore-badge-line1 {
  display: block; font-size: 11px; font-weight: 400;
  opacity: .7; letter-spacing: .02em;
}
.appstore-badge-line2 {
  display: block; font-size: 20px; font-weight: 600;
  letter-spacing: -.01em;
}
.download-note {
  margin-top: 16px; font-size: 14px; color: var(--text-3);
}

/* 9. PROSE (Support, Privacy)
   ─────────────────────────────────────────────────────── */
.prose-page {
  max-width: 760px; margin: 0 auto;
  padding: 60px var(--pad) 100px;
}
.prose-header { margin-bottom: 40px; }
.prose-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text); margin-bottom: 12px;
}
.prose-meta { font-size: 14px; color: var(--text-3); }
.prose-meta a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

.support-intro { font-size: 17px; color: var(--text-2); line-height: 1.65; }
.support-grid  { display: flex; flex-direction: column; gap: 24px; }

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 36px;
  scroll-margin-top: 80px;
}
.support-card h2 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  color: var(--text); margin-bottom: 20px;
}
.contact-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 15px; align-items: center;
}
.contact-label { color: var(--text-3); font-weight: 500; }
.contact-row a { color: var(--link); transition: opacity .15s; overflow-wrap: anywhere; }
.contact-row a:hover { opacity: .7; }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0;
  font-size: 16px; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; font-weight: 400; line-height: 1;
  color: var(--link); flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 18px;
  font-size: 15px; line-height: 1.7; color: var(--text-2);
}

/* 10. FORMS
   ─────────────────────────────────────────────────────── */
.form-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.form-field label {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.form-field input,
.form-field textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r1);
  font-family: var(--sans); font-size: 16px; color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 3px var(--indigo-lt);
}
.form-field textarea { min-height: 140px; }
.form-field--trap {
  position: absolute; left: -10000px;
  width: 1px; height: 1px; overflow: hidden;
}
.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--gradient); color: var(--on-indigo);
  border-radius: 100px; font-size: 15px; font-weight: 600;
  border: none;
  transition: transform .15s, filter .2s;
  box-shadow: 0 2px 12px rgba(61,64,204,.28);
}
.form-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.field-error { color: var(--error); font-size: 12px; font-weight: 500; }
.alert-success {
  padding: 12px 16px;
  background: rgba(46,160,90,.10);
  border: 1px solid rgba(46,160,90,.28);
  border-radius: var(--r1); font-size: 14px; color: var(--text);
  margin-bottom: 20px;
}
.alert-error {
  padding: 12px 16px;
  background: rgba(176,58,46,.08);
  border: 1px solid rgba(176,58,46,.24);
  border-radius: var(--r1); font-size: 14px; color: var(--error);
  margin-bottom: 20px;
}
.alert-error ul { padding-left: 18px; }

/* 11. PRIVACY
   ─────────────────────────────────────────────────────── */
.privacy-content { line-height: 1.75; }
.privacy-content > p:first-child { font-size: 14px; color: var(--text-3); margin-bottom: 28px; }
.privacy-content h2 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  margin-top: 44px; margin-bottom: 12px; color: var(--text);
}
.privacy-content p  { margin-bottom: 16px; font-size: 16px; color: var(--text-2); }
.privacy-content ul { padding-left: 20px; margin-bottom: 16px; font-size: 16px; color: var(--text-2); }
.privacy-content li { margin-bottom: 6px; }
.privacy-content a  { color: var(--link); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.privacy-content strong { color: var(--text); }

/* 12. ERROR PAGES
   ─────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100dvh - 64px - 90px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px var(--pad);
}
.error-code {
  font-family: var(--mono);
  font-size: 96px; font-weight: 700;
  color: var(--indigo-bdr); line-height: 1; margin-bottom: 16px;
}
.error-title {
  font-family: var(--serif);
  font-size: 32px; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
}
.error-sub { font-size: 16px; color: var(--text-2); margin-bottom: 32px; }

/* 13. FOOTER
   ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--pad);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-size: 17px; font-weight: 600; color: var(--text);
}
.footer-brand img { border-radius: 6px; }
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--text-2); transition: color .15s; }
.footer-links a:hover { color: var(--link); }

/* 14. SCROLL ANIMATIONS
   ─────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate].is-visible { opacity: 1; transform: none; }
[data-animate][data-delay="1"] { transition-delay: .08s; }
[data-animate][data-delay="2"] { transition-delay: .16s; }
[data-animate][data-delay="3"] { transition-delay: .24s; }
[data-animate][data-delay="4"] { transition-delay: .32s; }
[data-animate][data-delay="5"] { transition-delay: .40s; }
[data-animate][data-delay="6"] { transition-delay: .48s; }
/* The staircase animates its own steps. */
.climb[data-animate] { transform: none; }

/* 15. RESPONSIVE
   ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding-top: 40px;
    min-height: auto;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-sub     { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge   { margin-left: auto; margin-right: auto; }

  .climb { width: min(360px, 100%); height: 320px; }
  .climb-step { height: calc(52px + var(--step) * 38px); }
  .climb-icon { width: 96px; height: 96px; border-radius: 22px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .free-inner    { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  header { gap: 8px; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch;
    padding: 8px 0 16px;
    gap: 0; z-index: 50;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(22,22,48,.10);
  }
  .header-nav.nav-open { display: flex; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-link { padding: 13px var(--pad); font-size: 16px; width: 100%; border-radius: 0; }

  .lang-dropdown { position: fixed; top: 64px; left: 16px; right: 16px; min-width: 0; }

  .climb { height: 260px; }
  .climb-steps { gap: 4px; }
  .climb-step { height: calc(44px + var(--step) * 30px); padding-top: 8px; border-radius: 10px 10px 4px 4px; }
  .climb-digits { font-size: 10.5px; letter-spacing: 0; }
  .climb-icon { width: 80px; height: 80px; border-radius: 18px; }

  .features { padding: 72px var(--pad); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card  { padding: 24px 20px; }

  .free-section { padding: 64px var(--pad); }
  .free-panel   { padding: 20px; }

  .support-card { padding: 24px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 14px; flex-wrap: wrap; }
}

/* 16. REDUCED MOTION
   ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .climb-step { transform: none; transition: none; }
  .climb-icon { animation: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
