/* Kantro — neubrutalist design system, ported from the iOS app */

:root {
  --cream: #f6f1e4;
  --paper: #fffef8;
  --ink: #0b1712;
  --forest: #0c4f38;
  --forest-light: #1f5c40;
  --amber: #faab3d;
  --mint: #abdec2;
  --sky: #a6d1f5;
  --lilac: #ccb5f0;
  --coral: #f57563;
  --lemon: #fcdb66;
  --radius: 18px;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

/* ---------- background doodles ---------- */

.doodles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.doodles span {
  position: absolute;
  font-weight: 900;
  color: rgba(11, 23, 18, 0.16);
  font-size: 22px;
}

main, header.nav, footer { position: relative; z-index: 1; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */

header.nav {
  position: sticky;
  top: 0;
  background: rgba(246, 241, 228, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(11, 23, 18, 0.12);
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.logo-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  border: var(--border);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  font-size: 19px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  opacity: 0.75;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 15px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn.primary { background: var(--forest); color: #fff; }
.btn.amber { background: var(--amber); }
.btn.small { font-size: 14px; padding: 9px 16px; }

/* ---------- stickers & tags ---------- */

.sticker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  padding: 6px 13px;
  border: 1.6px solid var(--ink);
  border-radius: 999px;
  background: var(--lilac);
  transform: rotate(-1.5deg);
}
.sticker.amber { background: var(--amber); transform: rotate(1.2deg); }
.sticker.mint { background: var(--mint); }
.sticker.sky { background: var(--sky); transform: rotate(1deg); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 64px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -2px;
  font-weight: 900;
  margin: 18px 0 8px;
}
.hero h1 .accent { color: var(--forest); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -10px; width: 100%; }
.hero p.lead {
  font-size: 19px;
  font-weight: 500;
  color: rgba(11, 23, 18, 0.66);
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; font-weight: 700; opacity: 0.55; margin-top: 14px; }

/* hero orbit visual */

.hero-visual { display: grid; place-items: center; }
.orbit-scene { position: relative; width: 380px; height: 380px; }
.halo {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: rgba(171, 222, 194, 0.55);
  animation: pulse 3.6s ease-in-out infinite;
}
.orbit-ring {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 2.5px dashed rgba(11, 23, 18, 0.65);
  animation: spin-rev 40s linear infinite;
}
.app-box {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.app-box .box-face {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  font-size: 58px;
  background: var(--forest);
  border: 2.5px solid var(--ink);
  border-radius: 34px;
  box-shadow: 7px 7px 0 var(--ink);
  animation: bob 3.6s ease-in-out infinite;
}
.orbiter { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbiter .badge {
  position: absolute;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  font-size: 28px;
  border: 2px solid var(--ink);
  border-radius: 19px;
  box-shadow: var(--shadow-sm);
  animation: spin-rev 40s linear infinite;
}
.badge.b1 { background: var(--amber); top: 6px; left: 50%; margin-left: -31px; }
.badge.b2 { background: var(--sky); top: 50%; right: 6px; margin-top: -31px; }
.badge.b3 { background: var(--mint); bottom: 6px; left: 50%; margin-left: -31px; }
.badge.b4 { background: var(--lilac); top: 50%; left: 6px; margin-top: -31px; }
.spark { position: absolute; font-size: 26px; animation: twinkle 2.2s ease-in-out infinite; }
.spark.s1 { top: 14px; right: 30px; }
.spark.s2 { bottom: 40px; left: 6px; animation-delay: 1.1s; font-size: 20px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes bob {
  0%, 100% { transform: scale(0.98) rotate(-1.5deg); }
  50% { transform: scale(1.03) rotate(1.5deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.05); }
}
@keyframes twinkle {
  0%, 100% { transform: scale(0.55); opacity: 0.35; }
  50% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbiter, .orbiter .badge, .app-box .box-face, .halo, .spark { animation: none; }
}

/* ---------- trust strip ---------- */

.strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0 26px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14.5px;
  background: var(--paper);
  border: 1.8px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: var(--shadow-sm);
}
.pill:nth-child(odd) { transform: rotate(-1deg); }
.pill:nth-child(even) { transform: rotate(1deg); }

/* ---------- sections ---------- */

section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin: 14px 0 10px;
}
.section-head p { font-size: 17px; font-weight: 500; color: rgba(11, 23, 18, 0.62); }

/* feature cards */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 25px;
  border: 1.8px solid var(--ink);
  border-radius: 15px;
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.3px; }
.card p { font-size: 15px; color: rgba(11, 23, 18, 0.65); font-weight: 500; }

/* steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: var(--lemon);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2.5px 2.5px 0 var(--ink);
}
.step h3 { font-size: 18px; font-weight: 900; margin: 6px 0; }
.step p { font-size: 14.5px; color: rgba(11, 23, 18, 0.65); font-weight: 500; }
.step .emoji { font-size: 30px; }

/* privacy band */

.band {
  background: var(--forest);
  border: var(--border);
  border-radius: 26px;
  box-shadow: 7px 7px 0 var(--ink);
  color: #fff;
  padding: 46px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; }
.band p { color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.band ul { list-style: none; display: grid; gap: 12px; }
.band li {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1.6px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
}
.band li .dot {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--ink);
  border: 1.6px solid var(--ink);
  border-radius: 10px;
  font-size: 17px;
}

/* pricing */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 780px; margin: 0 auto; }
.price-card {
  position: relative;
  background: var(--paper);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.price-card.featured { background: #fdeecd; border-width: 2.6px; }
.price-card .flag {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 22px; font-weight: 900; }
.price-card .amount { font-size: 34px; font-weight: 900; margin: 8px 0 2px; letter-spacing: -1px; }
.price-card .cadence { font-size: 14px; font-weight: 700; opacity: 0.55; margin-bottom: 16px; }
.price-card ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; }
.price-card li { font-weight: 600; font-size: 15px; display: flex; gap: 9px; align-items: baseline; }
.price-card li::before { content: "✓"; font-weight: 900; color: var(--forest); }

/* faq */

.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
details {
  background: var(--paper);
  border: var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
}
details summary {
  font-weight: 800;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::after { content: "+"; font-size: 22px; font-weight: 900; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; font-size: 15px; font-weight: 500; color: rgba(11, 23, 18, 0.68); }

/* final cta */

.final {
  text-align: center;
  background: var(--paper);
  border: var(--border);
  border-radius: 26px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 56px 30px;
}
.final h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: -1.4px; margin-bottom: 10px; }
.final p { font-weight: 500; color: rgba(11, 23, 18, 0.62); margin-bottom: 26px; }

/* footer */

footer.wrap { padding: 44px 24px 72px; }
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 2px solid rgba(11, 23, 18, 0.12);
  padding-top: 26px;
}
.foot .links { display: flex; gap: 20px; }
.foot a { color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; opacity: 0.7; }
.foot a:hover { opacity: 1; }
.foot .copy { font-size: 13px; font-weight: 600; opacity: 0.5; }

/* ---------- legal pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 70px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 900; letter-spacing: -1.4px; margin: 16px 0 26px; }
.legal-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.legal-card h2 { font-size: 18.5px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.3px; }
.legal-card p { font-size: 15.5px; font-weight: 500; color: rgba(11, 23, 18, 0.75); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero p.lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
  .orbit-scene { width: 300px; height: 300px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
