/* ============================================================
   Juno — landing page & blog
   Palette: bg #F8FAFC · ink #242623 · mint #6AEDB0 · green #1A8060
   Type: Plus Jakarta Sans (body) · Satoshi (wordmark)
   ============================================================ */

:root {
  --bg: #F8FAFC;        /* cool near-white page and calculator background */
  --screen: #F3F2EE;    /* phone/demo app screens (cream) — contrast vs page */
  --ink: #242623;
  --mint: #6AEDB0;
  --green: #1A8060;
  --deep-panel: #242623;
  --muted: #646D69;
  --faint: #6E7773;
  --line: rgba(36, 38, 35, 0.1);
  --line-soft: rgba(36, 38, 35, 0.08);
  --card-border: rgba(36, 38, 35, 0.06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

::selection { background: var(--mint); color: var(--ink); }

a { text-decoration: none; color: inherit; }

input, button { font-family: inherit; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}

/* ───────── Nav ───────── */

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0 14px;
  position: relative;
}

/* Home navigation: a restrained, translucent floating capsule. */
.nav.home-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: 100%;
  max-width: 860px;
  min-height: 64px;
  margin: 16px auto 0;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.58);
  box-shadow: 0 8px 30px rgba(35, 47, 46, 0.09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.nav.home-nav.is-hidden:not(:focus-within):not(.open) {
  transform: translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

/* Hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  padding: 0 9px;
  border: 1px solid rgba(46, 41, 37, 0.12);
  border-radius: 12px;
  background: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}

.brand-mark span {
  font-size: 23px; font-weight: 800;
  color: var(--ink); line-height: 1; letter-spacing: -1px;
}

.brand-name {
  font-family: 'Satoshi', 'Plus Jakarta Sans', sans-serif;
  font-size: 25px; font-weight: 700; letter-spacing: -0.5px;
}

.nav-center { display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; min-width: 0; }

.nav-link { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-link.is-active { font-weight: 700; color: var(--ink); }

.nav-cta {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  background: var(--mint); color: var(--ink);
  font-size: 14px; font-weight: 700;
}
.nav-cta svg { flex: none; }
.nav-cta-short { display: none; }
.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; }
.language-picker {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; flex: none;
  width: 78px; height: 40px; padding: 0 11px 0 7px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: transparent; color: var(--ink);
  transition: background .2s ease;
}
.language-picker:hover { background: rgba(255,255,255,.9); }
.language-picker summary { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; list-style: none; cursor: pointer; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:focus-visible { outline: 2px solid var(--green); outline-offset: 7px; border-radius: 999px; }
.language-picker-flag { display: grid; place-items: center; width: 28px; height: 28px; font-size: 21px; line-height: 1; }
.language-picker svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.language-picker[open] summary svg { transform: rotate(180deg); }
.language-picker-menu { position: absolute; z-index: 200; top: calc(100% + 10px); right: 0; width: 222px; padding: 7px; border: 1px solid #DCE4E7; border-radius: 19px; background: #fff; box-shadow: 0 18px 42px rgba(35,47,46,.15); }
.language-picker-menu button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 43px; padding: 7px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: 600 13px 'Plus Jakarta Sans', sans-serif; text-align: left; cursor: pointer; }
.language-picker-menu button span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; font-size: 20px; line-height: 1; }
.language-picker-menu button:hover { background: #F2F4F5; }
.language-picker-menu button[aria-pressed="true"] { background: rgba(106,237,176,.16); }
.language-picker-menu button[aria-pressed="true"]::after { content: '✓'; margin-left: auto; color: #16845F; font-size: 15px; }
.language-picker-menu button:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.language-picker--mobile { display: none; }

/* Keep the English navigation's positions when longer translations are shown. */
@media (min-width: 861px) {
  :is([lang="id"], [lang="ru"], [lang="ko"]) .nav-center .nav-link:nth-child(1) { width: 95px; text-align: center; white-space: nowrap; }
  :is([lang="id"], [lang="ru"], [lang="ko"]) .nav-center .nav-link:nth-child(2) { width: 86px; text-align: center; white-space: nowrap; }
  :is([lang="id"], [lang="ru"], [lang="ko"]) .nav-center .nav-link:nth-child(3) { width: 29px; text-align: center; }
  :is([lang="id"], [lang="ru"], [lang="ko"]) .nav-center .nav-link { font-size: 12.5px; }
  :is([lang="id"], [lang="ru"], [lang="ko"]) .nav-cta { width: 174px; justify-content: space-between; white-space: nowrap; font-size: 12.5px; }
}

/* ───────── Hero ───────── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 54px 0 70px;
}

.hero > *, .hiw-grid > *, .footer-grid > * { min-width: 0; }
.hero > div:first-child { padding-left: 80px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(46, 41, 37, 0.12);
  border-radius: 100px;
  padding: 7px 15px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

.hero-badge span { font-size: 13px; font-weight: 700; color: var(--ink); }

.hero h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(60px, 5.8vw, 78px);
  line-height: .93;
  font-weight: 800;
  letter-spacing: -.7px;
  margin: 0;
  text-wrap: balance;
}
[lang="ko"] .hero h1 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: clamp(42px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.055em; }
[lang="id"] .hero h1 { font-size: clamp(44px, 4.8vw, 62px); }

.hero-sub {
  font-size: 18px; line-height: 1.55; font-weight: 500;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 480px;
}

.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; }

.btn-primary {
  display: flex; align-items: center; gap: 9px;
  height: 58px; padding: 0 28px;
  border-radius: 15px;
  background: var(--ink);
  font-size: 15px; font-weight: 800; color: var(--mint);
}
#notify-hero-trigger {
  gap: 24px; padding: 0 32px; border-radius: 999px;
  background: var(--mint); color: var(--ink);
}
#notify-hero-trigger svg { flex: none; }

.btn-secondary {
  display: flex; align-items: center;
  height: 58px; padding: 0 26px;
  border-radius: 999px;
  background: var(--deep-panel);
  border: 0;
  font-size: 15px; font-weight: 800; color: #FFFFFF;
}

.hero-stats { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.hero-stat-value { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.hero-stat-label { font-size: 13px; font-weight: 600; color: var(--faint); }
.hero-stat-divider { width: 1px; height: 34px; background: rgba(46, 41, 37, 0.12); }

/* Hero phone mockup (decorative; internals use inline styles) */

.hero-phone-wrap { display: block; width: 310px; height: 630px; margin: 0 auto; position: relative; }

.hero-phone {
  width: 330px; height: 670px;
  border-radius: 51px;
  background: #242826;
  border: 6px solid #242826;
  position: relative;
  box-shadow: 0 30px 65px rgba(36, 40, 38, 0.13), 0 5px 15px rgba(36, 40, 38, 0.08);
  flex-shrink: 0;
  transform: scale(.94); transform-origin: top left;
}

.hero-phone-screen {
  position: absolute; inset: 0;
  border-radius: 44px;
  background: #FAF9F6;
  overflow: hidden;
}

.hero-app-tabs {
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 10px 28px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(46, 41, 37, 0.1);
}
.hero-app-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; font-size: 10px; font-weight: 600; color: #6E6861; }
.hero-app-tab.is-active { color: #242321; }
.hero-app-tab svg { width: 21px; height: 21px; }
.hero-app-tab i { display: block; width: 17px; height: 2px; border-radius: 2px; background: transparent; }
.hero-app-tab.is-active i { background: var(--mint); }

/* ───────── Trust strip ───────── */

.trust { padding: 28px 0; scroll-margin-top: 96px; }
.trust-inner {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); justify-content: stretch;
  align-items: center; gap: 64px;
  min-height: 92px; padding: 20px 80px;
  border-top: 1px solid #DCE2E6;
  border-bottom: 1px solid #DCE2E6;
}

.trust-label {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--muted); text-align: left;
}

.trust-logos {
  display: grid; width: 100%; grid-template-columns: repeat(6, max-content);
  align-items: center; justify-content: space-between; gap: 18px;
}
.trust-logo {
  display: block; width: auto; max-width: 88%; max-height: 25px; object-fit: contain;
  filter: grayscale(1) brightness(.55) contrast(1000%); opacity: .86;
}

@media (max-width: 1050px) {
  .trust-inner { grid-template-columns: 1fr; justify-items: start; gap: 14px; }
  .trust-label { text-align: left; }
  .trust-logos { justify-content: center; }
}

/* ───────── Fee calculator ───────── */

.calc { padding: 36px 0 60px; scroll-margin-top: 90px; }
.trust + .calc { padding-top: 0; }

.calc-card {
  background: var(--ink);
  border-radius: 32px;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 46px;
  align-items: center;
}

/* let fr tracks shrink below the inputs' intrinsic width */
.calc-card > * { min-width: 0; }

.calc-copy .eyebrow { color: var(--mint); margin-bottom: 14px; }

.calc-copy h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(50px, 5vw, 68px); font-weight: 800; letter-spacing: -.7px;
  color: #FFFFFF; margin: 0; line-height: .93;
}

.calc-copy p {
  font-size: 16px; font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 420px;
}

.calc-chips { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

.calc-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 100px; padding: 8px 15px;
  font-size: 13px; font-weight: 700;
}
.calc-chip--mint { background: var(--mint); color: var(--ink); }
.calc-chip--dim { background: var(--screen); color: var(--ink); }

.calc-panel { background: var(--bg); border-radius: 22px; padding: 22px; }

.calc-field-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.calc-field {
  display: flex; align-items: center; gap: 10px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
}

.calc-field input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  font-size: 26px; font-weight: 800; color: var(--ink);
}

.calc-field-currency { font-size: 14px; font-weight: 800; color: var(--muted); }

.calc-gap { height: 10px; }

.calc-breakdown {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
}

.calc-row { display: flex; align-items: center; justify-content: space-between; }
.calc-row-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-row-value { font-size: 13px; font-weight: 700; color: var(--ink); }
.calc-row-label--info { display: inline-flex; align-items: center; gap: 6px; }
.calc-fee-info { position: relative; line-height: 1; }
.calc-fee-info summary {
  display: flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border: 1.2px solid #B0A79C;
  border-radius: 50%; color: #918A82; font-size: 9px;
  font-weight: 600; cursor: pointer; list-style: none;
}
.calc-fee-info summary::-webkit-details-marker { display: none; }
.calc-fee-info summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.calc-fee-info-text {
  position: absolute; top: 23px; left: -110px; z-index: 10;
  width: min(270px, calc(100vw - 76px)); padding: 12px 14px;
  border-radius: 12px; background: var(--ink); color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(46, 41, 37, 0.18);
  font-size: 12px; font-weight: 500; line-height: 1.5;
}

.calc-row--total { margin-top: 5px; padding-top: 11px; border-top: 1px solid var(--line); }
.calc-row--total .calc-row-label { font-size: 14px; font-weight: 800; color: var(--ink); }
.calc-row--total .calc-row-value { font-size: 15px; font-weight: 800; color: var(--green); }

.calc-footnote { font-size: 11.5px; font-weight: 600; color: var(--faint); margin-top: 3px; }

/* ───────── How it works (scroll-pinned) ───────── */

#how { position: relative; scroll-margin-top: 80px; border-top: 1px solid #dde3e8; }
#how .hiw-track { height: 300vh; position: relative; }
#how .hiw-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
}
#how .hiw-grid {
  width: 100%; max-width: 1060px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  grid-template-areas: "phone head" "phone steps";
  column-gap: 54px; row-gap: 0; align-items: center;
  padding: 26px 0;
}
#how .hiw-head { grid-area: head; align-self: end; }
#how .hiw-phone-wrap { grid-area: phone; }
#how .hiw-steps { grid-area: steps; align-self: start; min-width: 0; }
#how .hiw-phone-wrap {
  display: flex; justify-content: center; align-items: center;
  min-width: 0; min-height: 621px; padding: 28px 0;
  background: transparent;
}
#how .hiw-phone-box { width: 285px; height: 580px; flex: none; }
#how .hiw-phone {
  position: relative;
  width: 300px; height: 610px;
  border-radius: 42px;
  background: var(--screen);
  box-shadow: 0 0 0 8px #202522, 0 18px 40px rgba(22, 45, 32, 0.13);
  overflow: hidden;
  flex-shrink: 0;
  transform: scale(.95); transform-origin: top left;
}
#how .hiw-screens { position: absolute; inset: 0; }
#how .hiw-screen {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
#how .hiw-screen.is-active { opacity: 1; }
#how .hiw-layer { position: absolute; inset: 0; opacity: 1; transition: opacity 0.55s ease; }
#how .hiw-layer--notif { background: var(--deep-panel); opacity: 0; }
#how .hiw-screen.is-flash .hiw-layer--form { opacity: 0; }
#how .hiw-screen.is-flash .hiw-layer--notif { opacity: 1; }
#how .hiw-head h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(50px, 5vw, 68px); font-weight: 800;
  line-height: .93; letter-spacing: -.7px;
  margin: 16px 0 26px; max-width: 480px;
}
#how .hiw-head .eyebrow { margin: 0; }
#how .hiw-list { display: flex; flex-direction: column; border-top: 1px solid #d5dde2; }
#how .hiw-step {
  position: relative; display: block; width: 100%; overflow: hidden; cursor: pointer;
  border: 0; border-bottom: 1px solid #d5dde2;
  text-align: left; font-family: inherit; color: inherit;
  border-radius: 0; background: transparent;
  transition: background-color .25s ease;
}
#how .hiw-step.is-active { background: #f2f3f3; }
#how .hiw-step:focus-visible { outline: 3px solid #1a8060; outline-offset: 3px; }
#how .hiw-step:not(.is-active):hover { background: #f7f8f8; }
#how .hiw-fill {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: #1a8060; pointer-events: none; z-index: 2;
}
#how .hiw-step:not(.is-active) .hiw-fill { opacity: 0; }
#how .hiw-row { position: relative; display: block; padding: 23px 18px 25px; }
#how .hiw-row-head { display: flex; align-items: center; gap: 16px; }
#how .hiw-dot { font-size: 13px; font-weight: 800; color: #1a8060; flex-shrink: 0; }
#how .hiw-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; line-height: 1.2; }
#how .hiw-desc {
  display: none; font-size: 15px; font-weight: 500; color: #53635e;
  line-height: 1.5; margin: 12px 0 0; padding-left: 35px; max-width: 440px;
}
#how .hiw-step.is-active .hiw-desc { display: block; }
#how .hiw-mobile-desc { display: none; }

@media (min-width: 861px) and (max-height: 740px) {
  #how .hiw-phone-wrap { min-height: 562px; padding: 28px 0; }
  #how .hiw-phone-box { width: 249px; height: 506px; }
  #how .hiw-phone { transform: scale(.83); transform-origin: top left; }
  #how .hiw-grid { padding: 16px 0; }
}

/* ───────── FAQ ───────── */

#faq {
  max-width: 1060px; margin: 0 auto; padding: 88px 0 96px; scroll-margin-top: 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas: 'list head'; column-gap: 70px; align-items: start;
}
#faq .faq-head {
  grid-area: head; display: flex; flex-direction: column; align-items: flex-end;
  text-align: left;
}
#faq .faq-head .eyebrow { margin: 0; }
#faq .faq-head h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(44px, 4.1vw, 52px); font-weight: 800;
  line-height: .93; letter-spacing: -.7px;
  width: max-content; max-width: 100%; margin: 16px 0 0; text-align: right; white-space: nowrap;
}
#faq .faq-actions {
  display: flex; flex-direction: column; gap: 12px;
  width: min(100%, 360px); margin-top: 28px;
}
#faq .faq-calculator-link,
#faq .faq-human-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 46px; padding: 0 18px;
  border: 1.5px solid #cbd5d0; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
#faq .faq-calculator-link { background: #fff; }
#faq .faq-calculator-link:hover,
#faq .faq-calculator-link:active { border-color: #aab4ba; background: #fff; }
#faq .faq-calculator-link:focus-visible { background: #fff; }
#faq .faq-human-link { background: var(--mint); border-color: var(--mint); }
#faq .faq-human-link:hover { background: #57e3a2; border-color: #57e3a2; }
#faq .faq-calculator-link:focus-visible,
#faq .faq-human-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#faq .faq-actions svg { flex: none; }
#faq .faq-list { grid-area: list; min-width: 0; display: flex; flex-direction: column; gap: 0; }
#faq .faq-item { border-top: 1px solid #d8e0e5; }
#faq .faq-item:last-child { border-bottom: 1px solid #d8e0e5; }
#faq .faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  width: 100%; padding: 23px 4px 24px 0;
  background: transparent; border: 0; cursor: pointer; text-align: left;
}
#faq .faq-q:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
#faq .faq-q span { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.35px; line-height: 1.35; }
#faq .faq-q svg { display: none; }
#faq .faq-q::after {
  content: ''; width: 10px; height: 10px; flex: none; margin-right: 5px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg); transition: transform .2s ease;
}
#faq .faq-item.is-open .faq-q::after { transform: rotate(225deg); }
#faq .faq-a {
  display: none; max-width: 600px; margin: -4px 0 0;
  padding: 0 28px 24px 0; font-size: 14px; font-weight: 500;
  line-height: 1.6; color: var(--muted);
}
#faq .faq-item.is-open .faq-a { display: block; }
#faq .faq-directory-link { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
#faq .faq-directory-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ───────── CTA / dark banner cards ───────── */

.cta { padding: 30px 0 70px; }

.cta-card {
  background: var(--deep-panel);
  border-radius: 34px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(50px, 5vw, 68px); font-weight: 800;
  letter-spacing: -1.2px; word-spacing: -.03em;
  margin: 0; line-height: .93; color: #FFFFFF;
}

.cta-card p {
  font-size: 16px; font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  margin: 18px 0 0;
}

.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 32px;
}

.btn-mint {
  display: flex; align-items: center; gap: 9px;
  height: 60px; padding: 0 32px;
  border-radius: 16px;
  background: var(--mint);
  font-size: 15px; font-weight: 800; color: var(--ink);
}

.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;
}

.notify-form {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px;
  max-width: 680px; margin: 32px auto 0;
}

.notify-honeypot { display: none !important; }

.notify-form input[type="email"] {
  flex: 1 1 230px; min-width: 0; height: 60px;
  padding: 0 20px; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px; background: #FFFFFF;
  color: var(--ink); font-size: 15px;
}

.notify-form input[type="email"]::placeholder { color: var(--faint); }
.notify-form input[type="email"]:focus-visible,
.notify-form button:focus-visible,
.notify-privacy a:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.notify-form button { border: 0; cursor: pointer; white-space: nowrap; }
.notify-form .btn-mint { border-radius: 999px; gap: 20px; }

.cta-card .notify-privacy { margin-top: 16px; font-size: 12px; font-weight: 500; }
.notify-privacy a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }

.early-access-dialog {
  width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 40px);
  margin: auto; padding: 36px; overflow-y: auto;
  background: #FFFFFF; color: var(--ink); border: 1px solid #DCE4E7; border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.16);
}
.early-access-dialog::backdrop { background: rgba(20,25,28,.45); }
.early-access-dialog h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 42px;
  font-weight: 800; line-height: 1; letter-spacing: -.7px; margin: 0 24px 16px 0;
}
.early-access-dialog p { font-size: 14px; line-height: 1.6; color: #59635F; }
.early-access-close {
  position: absolute; right: 16px; top: 14px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: #F2F4F5; color: var(--ink);
  font-size: 25px; cursor: pointer;
}
.early-access-email-label { display: block; font-size: 13px; font-weight: 700; margin: 24px 0 8px; }
.early-access-dialog input[type="email"],
.early-access-dialog input[type="text"] {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid #CDD6DB;
  border-radius: 12px; color: var(--ink); background: #F8FAFC; font-size: 15px;
}
.early-access-dialog fieldset { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.early-access-dialog legend { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.early-access-option {
  display: flex; align-items: flex-start; gap: 11px; border: 1px solid #DFE5E8;
  border-radius: 12px; padding: 13px 14px; margin: 8px 0; cursor: pointer;
  font-size: 13px; line-height: 1.5;
}
.early-access-option:has(input:checked) { border-color: var(--green); background: #F3FAF6; }
.early-access-option input { flex: none; margin: 3px 0 0; accent-color: var(--green); }
.early-access-submit {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  padding: 16px 22px; border: 0; border-radius: 999px; background: var(--mint);
  color: var(--ink); font-size: 15px; font-weight: 800; cursor: pointer;
}
.early-access-dialog .early-access-note { font-size: 11px; line-height: 1.6; }
.early-access-note a, #early-access-error a { text-decoration: underline; }
.early-access-dialog :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
body.early-access-open { overflow: hidden; }
@media (max-width: 480px) {
  .early-access-dialog { padding: 28px 22px; border-radius: 22px; max-height: calc(100dvh - 24px); }
  .early-access-dialog h2 { font-size: 36px; }
}

.simple-page { max-width: 760px; margin: 0 auto; padding: 70px 0 110px; }
.simple-page h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -1.5px; margin: 0 0 28px; }
.legal-page .simple-page h1 { font-family: 'Satoshi', 'Plus Jakarta Sans', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; }
@media (max-width: 760px) { .legal-page .simple-page h1 { letter-spacing: -1.2px; } }
.simple-page h2 { font-size: 21px; margin: 36px 0 10px; }
.simple-page p, .simple-page li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.simple-page a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.simple-page .btn-primary { display: inline-flex; color: var(--mint); text-decoration: none; margin-top: 20px; }

/* The only legal-page addition to the original Terms layout. */
.simple-page .legal-bottom-back {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-height: 52px; margin-top: 28px; padding: 0 24px;
  border: 1.5px solid #d8e0e5; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-size: 15px; font-weight: 800;
}
.simple-page .legal-bottom-back span { font-size: 21px; font-weight: 400; line-height: 1; }
.simple-page .legal-bottom-back:hover { border-color: var(--green); }
.simple-page .legal-bottom-back:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Banner variant used on blog pages (newsletter / post CTA) */

.banner { padding: 50px 0 70px; }

.banner-card {
  background: var(--ink);
  border-radius: 34px;
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}

.banner-copy { max-width: 520px; }

.banner-copy h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.9px;
  line-height: 1.05; margin: 0; color: #FFFFFF;
}

.banner-copy p {
  font-size: 16px; font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  margin: 14px 0 0;
}

.banner-card .btn-mint {
  height: 58px; padding: 0 30px;
  border-radius: 15px;
  font-size: 16px;
  flex-shrink: 0;
}

/* ───────── Footer ───────── */

.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.footer .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.footer .brand-mark span { font-size: 19px; }
.footer .brand-name { font-size: 20px; }
.footer .brand { gap: 10px; }

.footer-desc {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 260px;
}

.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 18px; }

.footer-social-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}

.footer-social-pill {
  display: flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink);
}

.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.footer-col-links { display: flex; flex-direction: column; gap: 12px; }
.footer-col-links a { font-size: 14px; font-weight: 600; color: var(--muted); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom span { font-size: 13px; font-weight: 500; color: var(--faint); }
.footer-bottom .legal-links { display: inline-flex; flex-wrap: wrap; gap: 16px; }

.footer-disclaimer {
  font-size: 13px; font-weight: 500;
  line-height: 1.6;
  color: var(--faint);
  margin: 18px 0 0;
  max-width: 760px;
}

/* Shared, quiet footer for the landing and legal pages. */
.footer-unified { padding: 34px 0 36px; }
.footer-unified .footer-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.footer-unified .footer-brand { width: fit-content; }
.footer-unified .footer-nav {
  display: flex; align-items: center; flex-wrap: wrap;
  column-gap: 28px; row-gap: 12px;
}
.footer-unified .footer-nav a {
  color: var(--muted); font-size: 14px; font-weight: 600;
  transition: color .2s ease;
}
.footer-unified .footer-nav a:hover,
.footer-unified .footer-nav a[aria-current="page"] { color: var(--ink); }
.footer-unified .footer-nav a:focus-visible,
.footer-unified .footer-brand:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 4px; }
.footer-unified .footer-bottom { margin-top: 28px; padding-top: 20px; }
.footer-unified .language-picker { margin-left: auto; }
.footer-unified .language-picker-menu { top: auto; bottom: calc(100% + 10px); }
.legal-page .simple-page { padding-bottom: 64px; }

@media (max-width: 680px) {
  .footer-unified { padding: 28px 0 32px; }
  .footer-unified .footer-main { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-unified .footer-nav { column-gap: 22px; }
  .footer-unified .language-picker { margin-left: 0; }
  .footer-unified .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 26px; }
}

/* ───────── Blog index ───────── */

.blog-header { padding: 56px 0 40px; }
.blog-header .eyebrow { margin-bottom: 14px; }

.blog-header p {
  font-size: 17px; font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 560px;
}

.blog-grid-section { padding: 8px 0 20px; border-top: 1px solid var(--line); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 44px;
}

.post-card { display: block; }

/* Cover placeholder — swap the inner markup for a real <img> per post.
   e.g. <img src="../assets/img/posts/real-cost.jpg" alt=""> */
.post-cover {
  width: 100%; height: 210px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ECEAE3, #E2DFD6);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-cover svg { opacity: 0.55; }

.post-category {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--green);
  margin-top: 18px;
}

.post-card h3 {
  font-size: 21px; font-weight: 800;
  letter-spacing: -0.6px; line-height: 1.18;
  margin: 9px 0 0;
  text-wrap: balance;
}

.post-excerpt {
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
  margin: 9px 0 0;
}

.post-meta {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px;
  font-size: 13px; font-weight: 600; color: var(--faint);
}

.post-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #B0A79C; }

/* ───────── Blog post ───────── */

.post { padding: 56px 0 80px; }

.post-inner { max-width: 800px; margin: 0 auto; }

.post-header-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  font-size: 14px; font-weight: 600; color: var(--faint);
}

.post-header-meta .post-category { margin-top: 0; }

.post-inner h1 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1; font-weight: 800; letter-spacing: -1px;
  margin: 0 0 32px;
  text-wrap: balance;
}

.post-hero {
  width: 100%; height: 400px;
  border-radius: 22px;
  margin-bottom: 56px;
  box-shadow: 0 20px 50px rgba(46, 41, 37, 0.12);
  background: linear-gradient(135deg, #ECEAE3, #E2DFD6);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero svg { opacity: 0.55; }

.post-content { font-size: 17px; font-weight: 500; line-height: 1.7; color: var(--ink); }

.post-content p { margin: 0 0 24px; }
.post-content h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; margin: 44px 0 16px; }
.post-content h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin: 36px 0 12px; }
.post-content ul, .post-content ol { margin: 0 0 24px; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--green); font-weight: 700; }
.post-content blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--mint);
  color: var(--muted);
}
.post-content strong { color: var(--ink); }
.post-content img { max-width: 100%; border-radius: 14px; }

.post-author {
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--line);
}

.post-author-inner { display: flex; align-items: center; gap: 20px; }

.post-author-avatar { width: 64px; height: 64px; border-radius: 16px; background: #E8E6E0; }

.post-author-label {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 6px;
}

.post-author-name { font-size: 17px; font-weight: 700; color: var(--ink); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { padding: 0 20px; }

  /* nav: hamburger — logo left, CTA + toggle right, links in a dropdown */
  .nav { gap: 10px; }
  .nav.home-nav { min-height: 58px; padding: 7px 9px 7px 12px; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; height: 36px; padding: 0 14px; font-size: 12px; }
  .nav-toggle { width: 36px; height: 36px; }
  .nav-center {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    flex: none; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(46, 41, 37, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(46, 41, 37, 0.14);
    display: none; z-index: 60;
  }
  .nav.open .nav-center { display: flex; }
  .nav-link--section { display: block; }
  .nav-center .nav-link { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav-center .nav-link.is-active { background: rgba(106, 237, 176, 0.16); }
  .language-picker--nav { display: none; }
  .language-picker--mobile { display: inline-flex; margin: 10px 14px 8px; }
  .language-picker--mobile .language-picker-menu { left: 0; right: auto; }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .hero > div:first-child { padding-left: 0; }

  .hero h1 { font-size: clamp(48px, 7vw, 62px); }

  .hero-phone-wrap { width: 251px; height: 510px; margin: 6px auto 0; }
  .hero-phone { animation: none; transform: scale(.76); }

  .trust { padding-top: 24px; padding-bottom: 24px; }
  .trust-inner { padding: 20px 0; gap: 14px; }
  .trust-logos { grid-template-columns: repeat(3, max-content); justify-content: center; gap: 18px 30px; }
  .trust-logo { max-height: 19px; }

  .calc { padding-top: 34px; padding-bottom: 34px; }
  .trust + .calc { padding-top: 0; }
  .calc-card { grid-template-columns: 1fr; gap: 26px; padding: 34px 24px; }
  .calc-copy h2 { font-size: clamp(42px, 10vw, 58px); }
  .calc-panel { padding: 18px; }
  .calc-field { padding: 11px 14px; }
  .calc-field input { font-size: 20px; }

  /* How it works: title, centered phone, three buttons and one shared detail row. */
  #how .hiw-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "phone" "steps"; gap: 12px; padding: 22px 0; }
  #how .hiw-head { width: 100%; text-align: left; }
  #how .hiw-head h2 { font-size: clamp(42px, 10vw, 58px); margin: 8px 0 4px; }
  #how .hiw-phone-wrap { width: 100%; min-height: 404px; padding: 16px 0; }
  #how .hiw-phone-box { width: 183px; height: 372px; }
  #how .hiw-phone { transform: scale(.61); transform-origin: top left; }
  #how .hiw-steps { width: 100%; }
  #how .hiw-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; border-bottom: 1px solid #d5dde2; }
  #how .hiw-step { display: block; min-width: 0; border-bottom: 2px solid transparent; }
  #how .hiw-step.is-active { border-bottom-color: #1a8060; }
  #how .hiw-fill { display: none; }
  #how .hiw-row { padding: 10px 7px 12px; }
  #how .hiw-row-head { display: block; text-align: left; }
  #how .hiw-dot { display: block; font-size: 11px; margin-bottom: 5px; }
  #how .hiw-title { display: block; font-size: clamp(10px, 2.7vw, 13px); letter-spacing: -.2px; line-height: 1.25; overflow-wrap: anywhere; }
  #how .hiw-step.is-active .hiw-desc { display: none; }
  #how .hiw-mobile-desc { display: block; width: 100%; min-height: 4.5em; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #53635e; }

  #faq { display: block; padding-top: 56px; padding-bottom: 64px; }
  #faq .faq-head { display: block; margin-bottom: 30px; }
  #faq .faq-head h2 { font-size: clamp(32px, 10.2vw, 42px); margin-top: 8px; text-align: left; white-space: nowrap; }
  #faq .faq-actions { margin-top: 22px; }
  #faq .faq-q { gap: 20px; padding: 21px 4px 22px 0; }
  #faq .faq-q span { font-size: clamp(15px, 4.2vw, 17px); letter-spacing: -.3px; }
  #faq .faq-q::after { width: 9px; height: 9px; margin-right: 3px; }
  #faq .faq-a { font-size: 14px; margin-top: -4px; padding: 0 24px 22px 0; }

  .cta { padding-top: 34px; padding-bottom: 34px; }
  .cta-card { padding: 34px 24px; }
  .cta-card h2 { font-size: clamp(42px, 10vw, 58px); }
  .notify-form { margin-top: 24px; }
  .notify-form input[type="email"], .notify-form button { width: 100%; justify-content: center; }
  .simple-page { padding: 48px 0 72px; }

  .banner { padding-top: 34px; padding-bottom: 34px; }
  .banner-card { padding: 34px 24px; }
  .banner-copy h2 { font-size: clamp(23px, 5.6vw, 28px); letter-spacing: -0.6px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .blog-header { padding: 34px 0 28px; }
  .blog-grid { padding-top: 34px; }

  .post { padding: 34px 0 56px; }
  .post-hero { height: clamp(220px, 45vw, 400px); margin-bottom: 40px; }
}

@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav.home-nav { top: 12px; margin-top: 12px; }
  .nav-cta { padding: 0 11px; }
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
  .hero h1 { font-size: clamp(39px, 11.5vw, 48px); }
  [lang="id"] .hero h1 { font-size: clamp(34px, 10.4vw, 44px); }
  [lang="ru"] .hero-badge { padding-inline: 11px; }
  [lang="ru"] .hero-badge span { font-size: 11.5px; white-space: nowrap; }
  [lang="id"] .calc-copy h2 { font-size: clamp(34px, 9.3vw, 46px); }
  [lang="id"] .calc-copy p { font-size: 14px; }
  [lang="ru"] .hero-stat-label { font-size: 11px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 20px; }

  .hero-phone-wrap { width: 221px; height: 449px; }
  .hero-phone { transform: scale(.67); }

  .hero-actions { gap: 10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { flex: 1; justify-content: center; height: 44px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
  #notify-hero-trigger { padding: 0 12px; gap: 6px; }
  .hero-actions .btn-primary svg { flex-shrink: 0; }

  .post-header-meta { flex-wrap: wrap; row-gap: 4px; }
}

@media (max-width: 350px) {
  [lang="ru"] .hero-badge { max-width: 100%; }
  [lang="ru"] .hero-badge span { white-space: normal; }
}

@media (max-width: 860px) and (max-height: 730px) {
  .calc-copy h2 { font-size: 42px; }
  #how .hiw-grid { gap: 8px; padding: 10px 0; }
  #how .hiw-head h2 { font-size: 42px; margin: 4px 0 0; }
  #how .hiw-phone-wrap { min-height: 353px; padding: 15px 0; }
  #how .hiw-phone-box { width: 159px; height: 323px; }
  #how .hiw-phone { transform: scale(.53); }
  #how .hiw-mobile-desc { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  #how .hiw-track { height: auto; }
  #how .hiw-sticky { position: relative; height: auto; }
  #how .hiw-screen, #how .hiw-layer, #how .hiw-step { transition: none; }
}

.nav a,.nav a:hover,.nav a:focus{text-decoration:none;cursor:pointer;}
