/* Prompt Petal, promptpetal.com
   Light, airy, crisp, matching the app itself. No build step: this file is served as is. */

:root {
  --ink: #14161a;
  --ink-2: #3d444d;
  --muted: #6b7480;
  --hair: #e3e7ec;
  --paper: #ffffff;
  --ground: #f7f9fb;
  --tint: #2b6cb0;
  --tint-soft: #eaf1f9;
  --petal: rgba(255, 255, 255, 0.82);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f5; --ink-2: #c3cad3; --muted: #8b95a1;
    --hair: #262b33; --paper: #171b21; --ground: #0f1216;
    --tint: #6fb3f2; --tint-soft: #16232f;
    --petal: rgba(38, 44, 53, 0.86);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--tint); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site { padding: 22px 0; }
.bar { display: flex; align-items: center; gap: 12px; }
.bar nav { margin-left: auto; display: flex; gap: 22px; font-size: 14.5px; }
.bar nav a { color: var(--ink-2); text-decoration: none; }
.bar nav a:hover { color: var(--ink); }
.wordmark { font-weight: 640; letter-spacing: -0.015em; font-size: 16.5px; }

/* Hero */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr;
        gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(36px, 5vw, 54px); line-height: 1.04; letter-spacing: -0.028em;
  margin: 0 0 18px; text-wrap: balance; font-weight: 680;
}
.hero p.lede { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 46ch; }
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--ink); color: var(--ground);
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 15.5px; border: none; cursor: pointer;
}
.btn:hover { opacity: 0.88; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.meta { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* The live ring. This is the explanation, so it gets the room. */
.stage {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 420px;
  margin: 0 auto; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 18px;
  overflow: hidden;
}
.stage .doc {
  position: absolute; inset: 0; padding: 26px 22px; color: var(--muted);
  font-size: 13.5px; line-height: 2.05; user-select: none; opacity: 0.55;
}
/* Scales with the stage. Fixed at 300px it was clipped by the stage's
   overflow between roughly 620 and 860pt. */
.ring { position: relative; width: min(300px, 84%); aspect-ratio: 1; }
.hub, .petal {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  background: var(--petal); border: 1px solid var(--hair);
  box-shadow: 0 6px 18px rgba(20, 22, 26, 0.10), 0 1px 2px rgba(20, 22, 26, 0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center; transform: translate(-50%, -50%);
}
.hub { width: 58px; height: 58px; cursor: pointer; z-index: 3; }
.petal {
  width: 74px; height: 74px; font-size: 11.5px; font-weight: 560; color: var(--ink-2);
  opacity: 0; transition: transform .34s cubic-bezier(.22,1.1,.36,1), opacity .22s ease;
  pointer-events: none; text-align: center;
}
.ring.open .petal { opacity: 1; pointer-events: auto; }
.petal:hover { color: var(--ink); border-color: var(--tint); }
.mark { width: 26px; height: 26px; display: block; }
.hint {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-size: 12.5px; color: var(--muted); transition: opacity .2s;
}
.ring.open ~ .hint { opacity: 0; }

/* Sections */
section { padding: 54px 0; border-top: 1px solid var(--hair); }
h2 { font-size: 27px; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 660; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius);
        padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 620; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.plan { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius);
        padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.plan.best { border-color: var(--tint); background: var(--tint-soft); }
.plan .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--tint); }
.plan .amount { font-size: 28px; font-weight: 680; letter-spacing: -0.02em; }
.plan .per { font-size: 13px; color: var(--muted); }
.plan ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

footer.site { padding: 40px 0 64px; border-top: 1px solid var(--hair); color: var(--muted);
              font-size: 13.5px; display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .stage { max-width: 360px; }
}

/* Narrow screens: the nav drops to its own row. Left inline it wrapped mid-phrase,
   putting "How it works" on three lines and splitting the wordmark in two. */
@media (max-width: 620px) {
  .bar { flex-wrap: wrap; row-gap: 4px; }
  .wordmark, .bar nav a { white-space: nowrap; }
  .bar nav { margin-left: 0; width: 100%; gap: 18px; font-size: 13.5px; padding-top: 8px; }
  .hero { padding-top: 34px; }
  .hero p.lede { font-size: 17.5px; }
  /* Stacked, not side by side. `flex: 1 1 auto` let the second button grow
     past the right edge instead of wrapping. */
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .petal { transition: opacity .01s; }
  html { scroll-behavior: auto; }
}
