/* Plusha marketing site. Static, no trackers, no cookies.
   Fonts: Nunito and Fredoka, SIL OFL 1.1 (see assets/fonts/OFL-*.txt).
   UI shapes: true circles and 10px-corner rectangles only. No pills or ovals. */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/fredoka.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito.woff2") format("woff2");
}

:root {
  --bg: #2C1812;
  --bg-deep: #1E100C;
  --text: #FFF8F0;
  --muted: #F3DCC8;
  --dim: #E8C8A8;
  --accent: #FF9A3A;
  --accent-2: #FFC878;
  --peach: #F0B498;
  --sakura: #F0B0BC;
  --line: rgba(255, 224, 196, 0.16);
  --glass: rgba(255, 236, 214, 0.06);
  --ink: #2A140C;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --max: 1120px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  background-image:
    radial-gradient(1000px 640px at 50% -8%, rgba(255, 150, 70, 0.18), transparent 58%),
    radial-gradient(800px 520px at 100% 40%, rgba(240, 176, 188, 0.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 12px;
  z-index: 20;
  background: var(--bg);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 500 22px/1 var(--display);
  letter-spacing: 0.01em;
}
.brand i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #E8702A, #FFB766 70%, #FFD9A8);
  box-shadow: 0 0 14px rgba(255, 154, 58, 0.55);
  flex: none;
}
.top nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 14px;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 8px 32px;
  padding: 8px var(--pad) 48px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.hero .stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(220px, 58vw, 320px);
  order: -1;
}
.hero .copy { order: 0; }

.blob {
  position: relative;
  width: clamp(168px, 46vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 56%, #D85A18 0%, #EF7A2A 26%, #FFA552 52%, #FFC680 72%, #FFE2BC 92%);
  box-shadow:
    0 0 60px 12px rgba(255, 140, 50, 0.35),
    0 0 160px 40px rgba(255, 120, 40, 0.16),
    inset 0 -14px 40px rgba(170, 60, 10, 0.35),
    inset 0 10px 30px rgba(255, 240, 220, 0.35);
  animation: breathe 4.8s ease-in-out infinite;
}
.blob::after {
  content: "";
  position: absolute;
  inset: 14% 26% auto auto;
  width: 22%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 255, 255, 0.5), transparent 70%);
  filter: blur(2px);
  transform: rotate(-20deg);
}
.blob-aura {
  position: absolute;
  width: min(70vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 154, 58, 0.24), transparent 65%);
  filter: blur(10px);
  animation: breathe 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .blob-aura { animation: none; }
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(34px, 6.2vw, 62px); letter-spacing: -0.01em; }
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-2), var(--sakura));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--muted);
  max-width: 34ch;
  margin: 16px auto 0;
}

.store {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.store .coming {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.badge img {
  width: 148px;
  height: auto;
}
.note {
  margin: 0;
  font-size: 14px;
  color: var(--dim);
}

/* Sections */
section { padding: clamp(56px, 9vw, 110px) 0; }
.sec-h {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(36px, 6vw, 64px);
}
.sec-h h2 { font-size: clamp(28px, 4.4vw, 44px); }
.sec-h p { color: var(--muted); margin: 12px 0 0; }

.beat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin: 0 auto clamp(56px, 9vw, 100px);
  max-width: 960px;
}
.beat:last-child { margin-bottom: 0; }
.beat h3 { font-size: clamp(24px, 3.4vw, 34px); }
.beat p {
  color: var(--muted);
  max-width: 40ch;
  margin: 12px auto 0;
}
.phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.phone {
  width: min(230px, 58vw);
  border-radius: var(--radius);
  overflow: hidden;
  background: #1A0E0A;
  box-shadow:
    0 0 0 1px rgba(255, 224, 196, 0.14),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 80px -10px rgba(255, 140, 60, 0.16);
}
.phone img { width: 100%; height: auto; }
.phones .phone { width: min(200px, 44vw); }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-align: left;
}
.plan h3 { font-size: 22px; }
.plan .price {
  font: 500 32px/1.1 var(--display);
  margin: 8px 0 6px;
  color: var(--text);
}
.plan .price small {
  font: 400 15px/1 var(--font);
  color: var(--dim);
  margin-left: 4px;
}
.plan p { color: var(--muted); margin: 0; font-size: 15px; }
.plan.featured {
  border-color: rgba(255, 154, 58, 0.45);
  background: rgba(255, 154, 58, 0.08);
}
.fineprint {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}
.fineprint a { color: var(--muted); }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px 20px 0;
  font: 500 19px/1.3 var(--display);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--accent-2);
  border-bottom: 1.5px solid var(--accent-2);
  transform: rotate(45deg);
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 30px;
}
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--pad) 48px;
  max-width: var(--max);
  margin: 40px auto 0;
  font-size: 14px;
  color: var(--dim);
}
footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 0 18px;
}
footer .links a { color: var(--muted); text-decoration: none; }
footer .links a:hover { color: var(--text); }
.disclaimer { color: var(--muted); margin: 0 0 10px; }
footer p { margin: 6px 0; }

/* Legal / support */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px var(--pad) 20px;
}
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.tbc {
  color: var(--accent-2);
  border-bottom: 1px dashed rgba(255, 200, 120, 0.65);
}
.draft {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
}
.draft strong { color: var(--text); }

/* Desktop */
@media (min-width: 860px) {
  .top nav { gap: 26px; font-size: 15px; }
  .hero {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 24px 40px;
    min-height: min(812px, calc(100vh - 80px));
    min-height: min(812px, calc(100dvh - 80px));
    padding-bottom: 24px;
  }
  .hero .stage { order: 0; min-height: 0; }
  .hero .copy { order: 0; }
  .hero .lede { margin-left: 0; margin-right: 0; }
  .store { align-items: flex-start; }
  .blob { width: clamp(240px, 32vw, 400px); }
  .beat {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    justify-items: start;
    gap: 48px;
  }
  .beat p { margin-left: 0; }
  .beat.flip .visual { order: 1; }
  .phones { justify-content: flex-start; }
  .plans { grid-template-columns: 1fr 1fr 1fr; }
}

/* Landscape phones / short screens */
@media (max-width: 480px) {
  .top { padding: 16px 16px; gap: 10px; }
  .brand { font-size: 20px; }
  .top nav { gap: 10px; font-size: 13px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
    min-height: 0;
    gap: 16px;
    padding-bottom: 24px;
  }
  .hero .stage { order: 0; min-height: 0; }
  .hero .lede { margin-left: 0; }
  .store { align-items: flex-start; }
  .blob { width: min(200px, 42vh); }
}
