/* nira academy — brand code from the Nira brand book and nirabalance.com
   Ivory #FCFBF9 · Sand #EBE4D3 · Terra (academy) #BC5C53 · Charcoal #201F1F
   One typographic voice: Futura PT, with Jost as the web fallback. */
:root {
  --ivory: #FCFBF9;
  --sand: #EBE4D3;
  --sand-soft: #F4EFE5;
  --terra: #BC5C53;
  --terra-deep: #9E4A42;
  --water: #95D1E9;
  --ink: #201F1F;
  --ink-2: #2A2827;
  --muted: #6B6662;
  --line: rgba(32, 31, 31, .12);
  --navy: #243447;
  --radius: 18px;
  --max: 1200px;
  --font: "Futura PT", Jost, "Avenir Next", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); }
.accent { color: var(--terra); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 1.2em;
}
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section.sand { background: var(--sand-soft); }
.section.dark { background: var(--ink); color: var(--ivory); }
.section.dark .muted { color: rgba(252, 251, 249, .7); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 249, .92);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 40px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: lowercase;
  color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--terra); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Buttons — pill, per brand book p89–90 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 24px; border: 1px solid var(--ink);
  font: 500 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  background: #fff; color: var(--navy); transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--terra); border-color: var(--terra); }
.btn.terra { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn.terra:hover { background: var(--terra-deep); border-color: var(--terra-deep); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 18px;
  background: var(--ink); color: #fff; border-radius: 14px; text-decoration: none; border: 1px solid var(--ink);
  transition: background .2s, transform .2s;
}
.store:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; letter-spacing: .04em; opacity: .8; line-height: 1.2; }
.store strong { display: block; font-weight: 500; font-size: 18px; line-height: 1.2; }
.section.dark .store { background: #fff; color: var(--ink); border-color: #fff; }
.section.dark .store:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; overflow: hidden; color: #fff; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,17,.78) 0%, rgba(20,18,17,.45) 48%, rgba(20,18,17,.05) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 clamp(56px, 9vw, 110px); }
.hero .eyebrow { color: #F1C9BF; }
.hero h1 { max-width: 11em; }
.hero .lead { color: rgba(255,255,255,.88); }
.page-hero { padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 14em; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.section.sand .card { background: var(--ivory); }
.section.dark .card { background: #2A2827; border-color: rgba(255,255,255,.08); }
.card .num { font-size: 13px; letter-spacing: .2em; color: var(--terra); margin-bottom: 18px; display: block; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; margin-bottom: 20px; color: var(--terra); }
.icon svg { width: 22px; height: 22px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 1.5px; background: var(--terra); }
.section.dark .list li { border-color: rgba(255,255,255,.12); }

/* Audience strip */
.pillars .card { display: flex; flex-direction: column; }
.pillars .card .btn { margin-top: auto; align-self: flex-start; }
.pillars .card p { flex: 1; }

/* Quote */
.quote { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; max-width: 20em; margin: 0 auto; }
.quote em { font-style: normal; color: var(--terra); }

/* Tiers */
.tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier .price { font-size: 2.6rem; font-weight: 300; line-height: 1; margin: 14px 0 6px; }
.tier .price small { font-size: 15px; color: var(--muted); }
.tier .list { margin: 20px 0 28px; flex: 1; }
.tier.featured { border: 2px solid var(--terra); position: relative; }
.tier .tag { position: absolute; top: -13px; left: 32px; background: var(--terra); color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }

/* Languages */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-size: 15px; background: #fff; }
.section.dark .chip { background: transparent; border-color: rgba(255,255,255,.2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 300; color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* App band */
.app-band .split { grid-template-columns: 1fr auto; }
.app-icon { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.qr-note { font-size: 14px; margin-top: 16px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.form textarea { min-height: 130px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); }
.disclaimer { font-size: 14px; color: var(--muted); border-left: 2px solid var(--terra); padding: 6px 0 6px 16px; max-width: 46em; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(252,251,249,.8); padding: 72px 0 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 18px; }
.site-footer a { text-decoration: none; display: block; padding: 4px 0; color: rgba(252,251,249,.8); }
.site-footer a:hover { color: #fff; }
.site-footer .logo-mark { height: 44px; width: auto; filter: invert(1) grayscale(1) brightness(2); mix-blend-mode: screen; margin-bottom: 18px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: rgba(252,251,249,.55); }
.site-footer .legal a { display: inline; color: rgba(252,251,249,.55); }

/* WhatsApp float */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 30px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.wa svg { width: 20px; height: 20px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .tiers { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--ivory); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav a { font-size: 18px; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; width: 100%; }
  body.nav-open .nav { transform: none; }
  body.nav-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .app-band .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .hero::after { background: linear-gradient(180deg, rgba(20,18,17,.15) 0%, rgba(20,18,17,.82) 62%); }
  .wa span { display: none; }
  .wa { padding: 14px; }
}
.nav a.btn { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; padding: 0 20px; min-height: 40px; color: #fff; border-bottom: 1px solid var(--ink); }
.nav a.btn:hover { border-color: var(--terra); }
