/* SkyCalm landing — "Paper Sky" design language.
   Flat teal sky, ink outlines, cream paper stickers, one sun-yellow action.
   Storybook calm: the airplane as a friendly illustrated world. */

@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/baloo2.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --sky: #6fc7cd;
  --sky-deep: #5bb7be;
  --sky-pale: #a7dee2;
  --paper: #fdf8ec;
  --paper-warm: #f6eed9;
  --ink: #33323b;
  --ink-soft: #5f5e6a;
  --sun: #f6c453;
  --sun-deep: #dfa93c;
  --coral: #ef8b6d;
  --leaf: #7fbb86;
  --r: 22px;
  --wobble: 255px 20px 235px 20px / 20px 235px 20px 255px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; }
h1, h2, h3, .display { font-family: "Baloo 2", "Nunito", sans-serif; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 22px; position: relative; }
section { padding: 60px 0; }

/* ── Sticker primitives ── */
.sticker {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 0 5px 0 var(--ink);
}
.btn-slab {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  background: var(--sun);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 14px 30px;
  font-size: 1.08rem;
  transition: transform .12s ease, box-shadow .12s ease;
  text-align: center;
}
.btn-slab:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn-slab:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Header ── */
header.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 760px; margin: 0 auto; padding: 20px 22px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.3rem;
  color: #fff;
  text-shadow: -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink), 0 4px 0 var(--ink);
  letter-spacing: .02em;
}
.top-cta {
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: .92rem;
  background: var(--sun); border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink); padding: 8px 18px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.top-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* ── Hero: the sky world ── */
.hero {
  position: relative;
  background: linear-gradient(to bottom, var(--sky) 0%, var(--sky) 72%, var(--sky-deep) 100%);
  padding: 120px 0 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}
.hero-inner { position: relative; z-index: 10; max-width: 640px; margin: 0 auto; padding: 0 22px; }

/* floating specks, like paper confetti in the sky */
.speck { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); animation: drift linear infinite; }
.speck.s1 { width: 8px; height: 8px; top: 14%; left: 8%; animation-duration: 34s; }
.speck.s2 { width: 5px; height: 5px; top: 30%; left: 85%; animation-duration: 46s; animation-delay: -12s; }
.speck.s3 { width: 10px; height: 10px; top: 62%; left: 12%; animation-duration: 40s; animation-delay: -20s; }
.speck.s4 { width: 6px; height: 6px; top: 74%; left: 78%; animation-duration: 52s; animation-delay: -30s; }
.speck.s5 { width: 4px; height: 4px; top: 44%; left: 46%; animation-duration: 38s; animation-delay: -6s; }
.speck.s6 { width: 7px; height: 7px; top: 20%; left: 62%; animation-duration: 44s; animation-delay: -25s; }
@keyframes drift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(26px, -20px); }
  50% { transform: translate(-14px, -38px); }
  75% { transform: translate(-30px, -12px); }
  100% { transform: translate(0, 0); }
}

/* clouds: ink-outlined paper blobs */
.cloud { position: absolute; z-index: 2; }
.cloud svg { display: block; width: 100%; height: auto; }
.cloud.c1 { width: 120px; top: 6.5%; left: -46px; animation: cloudDrift 90s linear infinite; }
.cloud.c2 { width: 92px; top: 9%; right: -26px; animation: cloudDrift 120s linear infinite reverse; }
.cloud.c3 { width: 170px; bottom: 5%; right: -70px; animation: cloudDrift 110s linear infinite; }
.cloud.c4 { width: 84px; bottom: 34%; left: -26px; animation: cloudDrift 100s linear infinite reverse; }
@media (max-width: 560px) {
  .cloud.c1 { width: 92px; top: 5%; left: -34px; }
  .cloud.c2 { width: 70px; top: 7%; right: -22px; }
  .cloud.c3 { width: 130px; bottom: 3.5%; right: -52px; }
  .cloud.c4 { width: 64px; bottom: 37%; left: -20px; }
}
@keyframes cloudDrift {
  0% { transform: translateX(0); }
  50% { transform: translateX(60px); }
  100% { transform: translateX(0); }
}

.hero h1 {
  font-size: clamp(2.9rem, 11vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  color: #fff;
  letter-spacing: .01em;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 6px 0 var(--ink);
  margin-bottom: 18px;
}
.hero .sub {
  color: #17454a;
  font-size: 1.06rem;
  font-weight: 600;
  max-width: 470px;
  margin: 0 auto 28px;
}
.cta-big { font-size: 1.15rem; padding: 16px 36px; }
.cta-under { display: block; margin-top: 14px; color: #17454a; font-size: .86rem; font-weight: 700; }
.hero-demo-link {
  display: inline-block; margin-top: 20px; font-weight: 800; font-size: .92rem; color: #fff;
  text-shadow: -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink), 1px 1px 0 var(--ink);
  border-bottom: 2.5px dashed rgba(255,255,255,.8);
  padding-bottom: 2px;
}

/* the plane */
.plane-stage { position: relative; z-index: 5; margin: 34px auto -3px; max-width: 560px; padding: 0 10px; }
.plane-bob { animation: bob 6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}
.plane-stage svg { display: block; width: 100%; height: auto; }

/* stat strip riding the hero bottom */
.stat-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 26px 22px 0; position: relative; z-index: 10;
  margin-top: -6px;
  background: var(--paper);
}
.stat-chip {
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: .88rem;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 8px 18px;
  transform: rotate(-.6deg);
}
.stat-chip:nth-child(2) { transform: rotate(.7deg); }
.stat-chip:nth-child(3) { transform: rotate(-.4deg); }
.stat-chip b { color: var(--sun-deep); }

/* ── Sections ── */
.kicker {
  display: inline-block;
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--sky-pale); border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 14px;
  box-shadow: 0 3px 0 var(--ink);
  transform: rotate(-.8deg);
}
.kicker.sun { background: var(--sun); }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.3rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.lead { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 14px; }
.lead strong { color: var(--ink); font-weight: 800; }

.card {
  background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r);
  box-shadow: 0 5px 0 var(--ink);
  padding: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* ── Demo ── */
.demo-box {
  background: var(--sky-pale);
  border: 2.5px solid var(--ink); border-radius: 26px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 22px; margin-top: 20px;
}
.searchbox {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 12px 18px; margin-bottom: 14px;
}
.searchbox input { flex: 1; background: none; border: none; outline: none; color: var(--ink); font-size: 1rem; font-weight: 600; }
.searchbox input::placeholder { color: #9a99a4; font-weight: 500; }
.try-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.try-chip {
  font-size: .82rem; font-weight: 700;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  padding: 6px 14px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.try-chip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.demo-entry {
  background: #fff; border: 2.5px solid var(--ink); border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 16px; margin-bottom: 12px;
  animation: pop .35s ease;
}
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
.demo-entry h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.demo-entry h4 .cat {
  font-family: "Nunito", sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--sky-pale); border: 1.5px solid var(--ink); border-radius: 7px;
  padding: 3px 8px; margin-right: 8px; vertical-align: 3px;
}
.demo-entry p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 10px; }
.demo-calm {
  font-size: .9rem; font-weight: 700; color: var(--ink);
  background: var(--paper-warm); border: 2px dashed var(--ink); border-radius: 12px;
  padding: 10px 13px;
}
.demo-calm::before { content: "→ "; color: var(--sun-deep); }
.demo-locked {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.55); border: 2px dashed var(--ink); border-radius: 14px;
  padding: 12px 15px; margin-bottom: 10px;
  color: var(--ink-soft); font-size: .92rem; font-weight: 600;
}
.demo-locked em { font-style: normal; font-weight: 800; color: var(--ink); }
.demo-empty { padding: 14px 4px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.demo-note { margin-top: 6px; font-size: .86rem; font-weight: 700; color: #17454a; text-align: center; }

/* ── Features ── */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.feat {
  background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r);
  box-shadow: 0 5px 0 var(--ink);
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feat:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 8px 0 var(--ink); }
.feat:nth-child(even):hover { transform: translateY(-3px) rotate(.4deg); }
.feat .n {
  display: inline-block;
  font-family: "Baloo 2", sans-serif; font-size: 1.5rem; font-weight: 800; line-height: 1;
  background: var(--sun); border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
  padding: 6px 12px; margin-bottom: 12px;
  transform: rotate(-2deg);
}
.feat h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 5px; }
.feat p { color: var(--ink-soft); font-size: .86rem; }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* ── Steps ── */
.step { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.step-num {
  flex: 0 0 44px; height: 44px;
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.2rem;
  background: var(--sky-pale); border: 2.5px solid var(--ink); border-radius: 50%;
  box-shadow: 0 4px 0 var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ── Evidence ── */
.evidence-tag {
  display: inline-block;
  font-family: "Baloo 2", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  background: var(--paper-warm); border: 2px solid var(--ink); border-radius: 8px;
  padding: 2px 10px; margin-bottom: 10px;
  box-shadow: 0 2px 0 var(--ink);
}

/* ── Offer ── */
.offer-box {
  background: var(--sky);
  border: 3px solid var(--ink); border-radius: 30px;
  box-shadow: 0 8px 0 var(--ink);
  padding: 34px 26px; text-align: center;
  position: relative; overflow: hidden;
}
.offer-box .kicker { background: #fff; }
.price {
  font-family: "Baloo 2", sans-serif; font-size: 3.6rem; font-weight: 800; line-height: 1;
  color: #fff;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 5px 0 var(--ink);
}
.price small { font-size: 1.05rem; color: #17454a; font-weight: 800; text-shadow: none; font-family: "Nunito", sans-serif; }
.offer-list { text-align: left; margin: 24px auto; max-width: 430px; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); padding: 16px 20px; }
.offer-list li { list-style: none; display: flex; gap: 10px; color: var(--ink); font-size: .95rem; font-weight: 600; padding: 6px 0; }
.offer-list li::before { content: "✓"; font-weight: 800; color: var(--leaf); }
.guarantee { margin-top: 20px; font-size: .9rem; font-weight: 600; color: #17454a; max-width: 440px; margin-left: auto; margin-right: auto; }
.guarantee strong { color: var(--ink); font-weight: 800; }

/* ── FAQ ── */
.faq-item {
  background: #fff; border: 2.5px solid var(--ink); border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 16px 18px; text-align: left;
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1rem;
}
.faq-q .arr { transition: transform .3s ease; font-weight: 800; }
.faq-item.open .faq-q .arr { transform: rotate(90deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-a > div { overflow: hidden; }
.faq-a > div > p { padding: 0 18px 16px; color: var(--ink-soft); font-size: .95rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ── Footer ── */
footer {
  margin-top: 30px;
  background: var(--sky-deep);
  border-top: 3px solid var(--ink);
  padding: 40px 0 60px;
}
footer p { color: #10393d; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
footer .fine strong { font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
