/* ───────────────────────────────────────────
   OctoZip — poster design system
   Heavy grotesque + pastel full-bleed sections
   ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Caveat:wght@600;700&display=swap');

:root {
  --navy: #16314A;
  --navy-deep: #0B1420;
  --navy-card: #101C2E;
  --navy-card-2: #16243A;
  --teal: #14A8C4;
  --teal-bright: #1FC3DC;
  --teal-poster: #17B6CC;
  --sub: #5C6E80;
  --amber: #F5A623;
  --green: #27C281;
  --bg-cyan: #E0F2F6;
  --bg-peri: #DEE7FA;
  --bg-cream: #FCF2DD;
  --bg-lav: #E8E4F7;
  --bg-mint: #DFF1E7;
  --bg-blue: #DBE8FB;
  --bg-teal: #17B6CC;
  --card-r: 30px;
  --shadow-card: 0 24px 60px rgba(22, 60, 86, 0.14), 0 4px 14px rgba(22, 60, 86, 0.06);
  --font-display: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  color: var(--navy);
  background: var(--bg-cyan);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; }

/* ── NAV ── */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 9px 12px 9px 16px;
  box-shadow: 0 10px 32px rgba(22, 60, 86, 0.16);
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--navy);
}
.nav-logo img { width: 30px; height: 30px; border-radius: 50%; }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 14px; color: var(--sub);
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta {
  white-space: nowrap;
  background: var(--navy); color: #fff !important;
  border-radius: 999px; padding: 9px 18px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }
@media (max-width: 560px) {
  .nav { top: 10px; padding: 0 10px; }
  .nav-pill { gap: 10px; padding: 7px 8px 7px 12px; width: 100%; max-width: 420px; justify-content: space-between; }
  .nav-logo { font-size: 15px; }
  .nav-logo img { width: 26px; height: 26px; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.nav-cta) { font-size: 13px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
}

/* ── SECTIONS ── */
.poster {
  position: relative;
  padding: 130px 24px;
  overflow: hidden;
}
.poster-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 70px; align-items: center;
}
.poster-inner.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.poster-inner.single { grid-template-columns: 1fr; max-width: 880px; text-align: center; }
@media (max-width: 900px) {
  .poster { padding: 90px 20px; }
  .poster-inner, .poster-inner.flip { grid-template-columns: 1fr; gap: 48px; }
  .poster-inner.flip .poster-art { order: 2; }
}
@media (max-width: 600px) {
  .poster { padding: 76px 18px; }
  h1.display, h2.display { font-size: clamp(34px, 10.5vw, 46px); }
  .lede { font-size: 17px; margin-top: 16px; }
  .note { font-size: 22px; }
  .note-arrow { width: 26px; height: 26px; }
  .pill { font-size: 14px; padding: 10px 16px; }
  .deco.bubble { transform: scale(0.7); }
  .inner-hero { padding: 120px 18px 54px; }
  .inner-body { padding: 6px 18px 80px; }
}

/* type */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 20px;
}
h1.display, h2.display {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900; line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance;
}
h1.display em, h2.display em { font-style: normal; color: var(--teal); }
.on-dark h1.display, .on-dark h2.display { color: #fff; }
.on-dark h1.display em, .on-dark h2.display em { color: var(--teal-bright); }
.on-teal h2.display { color: var(--navy-deep); }
.on-teal h2.display em { color: #fff; }
.lede {
  margin-top: 22px;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700; line-height: 1.4; color: var(--sub);
  max-width: 30ch; text-wrap: pretty;
}
.single .lede { margin-left: auto; margin-right: auto; }
.on-dark .lede { color: #8DA2B8; }
.on-teal .lede { color: rgba(255, 255, 255, 0.92); }

/* handwritten note */
.note {
  font-family: var(--font-hand);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; color: var(--navy);
  line-height: 1;
}
.note.amber { color: var(--amber); }
.on-dark .note { color: var(--amber); }
.note-arrow { width: 34px; height: 34px; }
body[data-notes="off"] .note-wrap { display: none; }

/* ── DECORATION (bubbles + plusses) ── */
.deco { position: absolute; z-index: 1; pointer-events: none; }
.deco.bubble { border-radius: 50%; }
.deco.bubble.fill { background: rgba(255, 255, 255, 0.45); }
.deco.bubble.line { border: 2px solid rgba(255, 255, 255, 0.65); }
.on-dark .deco.bubble.fill, .on-teal .deco.bubble.fill { background: rgba(255, 255, 255, 0.08); }
.on-dark .deco.bubble.line, .on-teal .deco.bubble.line { border-color: rgba(255, 255, 255, 0.14); }
.deco.plus { font-weight: 800; color: rgba(255, 255, 255, 0.9); font-size: 26px; line-height: 1; }
.on-dark .deco.plus, .on-teal .deco.plus { color: rgba(255, 255, 255, 0.18); }
body[data-deco="off"] .deco { display: none; }
body[data-deco="subtle"] .deco.extra { display: none; }
@media (prefers-reduced-motion: no-preference) {
  body[data-float="on"] .deco.bubble { animation: bob 7s ease-in-out infinite; }
  body[data-float="on"] .deco.bubble:nth-child(odd) { animation-duration: 9s; animation-delay: -3s; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* mascot float */
@media (prefers-reduced-motion: no-preference) {
  body[data-float="on"] .mascot-float { animation: mascot-bob 4.5s ease-in-out infinite; }
}
@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

/* ── CARDS ── */
.card {
  background: #fff; border-radius: var(--card-r);
  box-shadow: var(--shadow-card);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800; font-size: 16px; color: var(--navy);
  box-shadow: var(--shadow-card);
}
.pill svg { flex-shrink: 0; }

/* ── BUTTONS ── */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff;
  border-radius: 18px; padding: 15px 26px;
  text-decoration: none; font-weight: 700;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 14px 34px rgba(22, 49, 74, 0.3);
}
.btn-store:hover { transform: translateY(-2px); background: #1d3f5e; }
.btn-store small { display: block; font-size: 10px; letter-spacing: 0.08em; opacity: 0.7; font-weight: 600; }
.btn-store strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.1; }
.btn-store.light { background: #fff; color: var(--navy); box-shadow: 0 14px 34px rgba(5, 30, 45, 0.35); }
.btn-store.light:hover { background: #f2fbfd; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--sub);
  text-decoration: none; padding: 15px 10px;
}

/* ── SCROLL REVEAL ── */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal-d1.in { transition-delay: 0.1s; }
  html.js .reveal-d2.in { transition-delay: 0.22s; }
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deep); color: #8DA2B8;
  padding: 54px 24px 40px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: #fff; }
.footer-logo img { width: 28px; height: 28px; border-radius: 50%; }
.footer-logo span { color: var(--teal-bright); }
.footer-by { font-size: 13px; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 14px; font-weight: 600; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }

/* ── INNER PAGES (privacy / terms / support) ── */
.inner-hero {
  padding: 150px 24px 70px; text-align: center; position: relative; overflow: hidden;
}
.inner-hero .poster-inner { display: block; max-width: 760px; }
.inner-hero h1 { font-size: clamp(40px, 5.4vw, 62px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.inner-hero h1 em { font-style: normal; color: var(--teal); }
.inner-hero .lede { margin: 18px auto 0; max-width: 40ch; font-size: 19px; }
.inner-meta { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--sub); }
.inner-meta a { color: var(--teal); font-weight: 700; }
.inner-body { max-width: 760px; margin: 0 auto; padding: 10px 24px 110px; position: relative; z-index: 2; }
.inner-intro { font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--sub); margin-bottom: 34px; text-wrap: pretty; }

.num-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 28px 30px; margin-bottom: 18px;
}
.num-card .num {
  font-size: 15px; font-weight: 900; color: var(--teal);
  background: var(--bg-cyan); border-radius: 12px;
  padding: 8px 11px; letter-spacing: 0.02em; flex-shrink: 0;
}
.num-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.num-card p { font-size: 15px; line-height: 1.65; color: var(--sub); font-weight: 500; }
.num-card p + p { margin-top: 10px; }
.num-card a { color: var(--teal); font-weight: 700; }
@media (max-width: 560px) { .num-card { flex-direction: column; gap: 12px; padding: 24px; } }

/* FAQ */
.faq-item { background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; cursor: pointer; border: none; background: none; text-align: left;
  font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em;
}
.faq-q .faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-cyan); color: var(--teal);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 800; line-height: 1;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 26px 22px; font-size: 15px; line-height: 1.65; color: var(--sub); font-weight: 500; }

/* section label on inner pages */
.inner-label {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin: 44px 0 18px;
}
