:root {
  --teal: #1E4F55;
  --teal-deep: #163C41;
  --spring: #5FB3B0;
  --spring-soft: rgba(95, 179, 176, 0.16);
  --steam: #DCEDEA;
  --ground: #F3F6F4;
  --ink: #1F2A2E;
  --ink-soft: #4A5A5F;
  --ink-mute: #6F7F83;
  --yuzu: #F2A33A;
  --yuzu-soft: rgba(242, 163, 58, 0.16);
  --white: #FFFFFF;
  --hairline: rgba(30, 79, 85, 0.10);
  --hairline-strong: rgba(30, 79, 85, 0.18);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-soft: 0 2px 6px rgba(30, 79, 85, 0.06);
  --shadow-card: 0 24px 50px -28px rgba(30, 79, 85, 0.35);
  --shadow-pop: 0 18px 40px -16px rgba(30, 79, 85, 0.45);

  --maxw: 1140px;
  --nav-h: calc(70px + env(safe-area-inset-top));

  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

:focus-visible {
  outline: 3px solid var(--yuzu);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
}

.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--steam { background: var(--steam); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--spring);
  letter-spacing: 0.02em;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yuzu);
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h2.title { font-size: clamp(30px, 4.4vw, 46px); margin-top: 12px; }

.lead {
  margin-top: 16px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 58ch;
}
.section-head.center .lead { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); background: var(--teal-deep); }
.btn--ghost { background: transparent; border-color: var(--hairline-strong); color: var(--teal); }
.btn--ghost:hover { border-color: var(--spring); background: var(--white); }

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.appstore:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .as-small { font-size: 11px; color: #d6dad8; letter-spacing: 0.3px; }
.appstore .as-big { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(243, 246, 244, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--teal);
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--teal); background: var(--steam); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 15px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--hairline-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--teal);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: var(--ground);
  border-bottom: 1px solid var(--hairline);
  padding: 12px max(24px, env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-card);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu a:hover { color: var(--teal); background: var(--steam); }
.mobile-menu .btn { margin-top: 14px; border-bottom: none; color: var(--white); }

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-badge img { width: 36px; height: 36px; border-radius: 10px; }
.hero-badge b { color: var(--teal); }
.hero h1 {
  font-size: clamp(42px, 6.6vw, 76px);
  margin-top: 22px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--spring); }
.hero .lead { font-size: clamp(17px, 1.9vw, 20px); max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.hero-note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--ink-mute); font-size: 14.5px; font-weight: 700; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 17px; height: 17px; color: var(--spring); }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 4% 6% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--steam), rgba(220, 237, 234, 0));
  z-index: 0;
}
.hero-art img { position: relative; z-index: 1; width: min(100%, 520px); height: auto; filter: drop-shadow(0 30px 40px rgba(30, 79, 85, 0.12)); }
.hero-coin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--teal);
  font-size: 15px;
}
.hero-coin i { width: 18px; height: 18px; border-radius: 50%; background: var(--yuzu); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.hero-coin--a { top: 14%; left: 2%; }
.hero-coin--b { bottom: 14%; right: 2%; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 22px 28px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature h3 { font-size: 23px; }
.feature p { color: var(--ink-soft); margin-top: 10px; font-size: 16px; }
.feature img { width: 150px; height: 150px; object-fit: contain; }
.feature .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--spring-soft);
  color: var(--teal);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.feature .tag--yuzu { background: var(--yuzu-soft); color: #9A5C0B; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.extra {
  border-radius: var(--r-md);
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--hairline);
}
.extra .ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--teal);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}
.extra .ic svg { width: 24px; height: 24px; }
.extra h3 { font-size: 19px; }
.extra p { color: var(--ink-soft); font-size: 15.5px; margin-top: 6px; }

.promise {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--teal);
  color: var(--steam);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.promise h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 40px); }
.promise p { margin-top: 14px; color: var(--steam); font-size: 17.5px; max-width: 60ch; }
.promise img { width: 220px; height: auto; }
.promise .btn--ghost { border-color: rgba(220, 237, 234, 0.4); color: var(--white); margin-top: 22px; }
.promise .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--spring); }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin-inline: auto; }
.price {
  position: relative;
  background: var(--white);
  border: 2px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.price.best { border-color: var(--spring); box-shadow: var(--shadow-card); }
.price .tag {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: var(--yuzu);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}
.price h3 { font-size: 22px; }
.price .p { margin: 12px 0 2px; font-family: var(--font-head); font-weight: 600; font-size: 42px; color: var(--ink); }
.price .p small { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--ink-mute); }
.price .desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 22px; flex: 1; }
.price .btn { width: 100%; }
.price-note { text-align: center; color: var(--ink-mute); font-size: 14px; margin-top: 22px; max-width: 70ch; margin-inline: auto; }

.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline-strong); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  color: var(--teal);
}
.faq-q .pm {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-q .pm svg { width: 15px; height: 15px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--yuzu); border-color: var(--yuzu); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--ink-soft); font-size: 16.5px; }
.faq-a-inner p + p { margin-top: 10px; }

.cta-band {
  position: relative;
  text-align: center;
  background: var(--steam);
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 64px) 24px;
  overflow: hidden;
}
.cta-band img { width: 170px; height: auto; margin: 0 auto 8px; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); }
.cta-band p { color: var(--ink-soft); margin: 14px auto 28px; max-width: 50ch; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.footer { border-top: 1px solid var(--hairline); padding: 56px 0 32px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .fdesc { color: var(--ink-mute); margin-top: 12px; font-size: 15px; max-width: 34ch; }
.footer h5 { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--teal); margin-bottom: 12px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer nav a { color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.footer nav a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-mute);
  font-size: 14px;
}
.footer-bottom a { color: var(--teal); font-weight: 700; }

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(32px, 5vw, 64px));
  padding-bottom: clamp(28px, 4vw, 44px);
}
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 56px); margin-top: 12px; }
.page-hero img { width: 170px; height: auto; }
.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.updated svg { width: 16px; height: 16px; color: var(--spring); }

.article-layout {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--hairline);
}
.toc h4 { font-size: 15px; margin-bottom: 8px; padding-inline: 10px; }
.toc a { padding: 6px 10px; border-radius: 10px; color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.toc a:hover { background: var(--steam); color: var(--teal); }

.article {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  max-width: 820px;
}
.article h2 { font-size: clamp(23px, 2.6vw, 28px); margin-top: 40px; margin-bottom: 12px; }
.article h2:first-child, .article .callout:first-child + h2 { margin-top: 0; }
.article h3 { font-size: 19px; margin-top: 24px; margin-bottom: 8px; }
.article p { color: var(--ink-soft); margin-top: 10px; }
.article p:first-child { margin-top: 0; }
.article strong { color: var(--ink); }
.bullets { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--spring);
}
.callout {
  background: var(--steam);
  border-left: 4px solid var(--spring);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin: 20px 0 28px;
}
.callout p { color: var(--ink); margin: 0; }
.callout--yuzu { background: #FDF1DF; border-left-color: var(--yuzu); }
.inline { color: var(--teal); font-weight: 700; text-decoration: underline; text-decoration-color: var(--spring); text-underline-offset: 3px; }
.inline:hover { text-decoration-color: var(--yuzu); }

.support-faq .faq { max-width: none; }
.support-faq .faq-q { font-size: 18px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--steam);
}
.contact-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--white); display: grid; place-items: center; color: var(--teal); flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 17px; }
.contact-card a, .contact-card p { color: var(--ink-soft); font-size: 15.5px; margin: 2px 0 0; }

.notfound { min-height: 78vh; min-height: 78dvh; display: flex; align-items: center; text-align: center; padding-top: var(--nav-h); }
.notfound img { width: 220px; height: auto; margin: 0 auto; }
.notfound .big { font-family: var(--font-head); font-weight: 600; font-size: clamp(72px, 14vw, 130px); line-height: 1; color: var(--spring); }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.notfound .lead { margin-inline: auto; }
.notfound .hero-cta { justify-content: center; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .appstore, .feature { transition: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .hero-art img { width: min(100%, 420px); }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 840px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .extras { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 641px) and (max-width: 840px) {
  .extras > :last-child:nth-child(odd) { grid-column: span 2; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-cta .btn { display: none; }
  .feature { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
  .feature img { order: -1; margin: 0 auto; width: 130px; height: 130px; }
  .extras { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; text-align: center; }
  .promise img { width: 160px; margin: 0 auto; }
  .promise p { margin-inline: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero img { display: none; }
  .hero-coin { font-size: 13px; padding: 6px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}
