/* simple.beetler.ai — the same brand as the app: paper ground, ink text, the
   brand purple as the accent, the gradient as the flourish, the site typeface. */
:root {
  --ground: #F6F1E8; --ground-deep: #EDE6D8; --card: #FFFDF8; --ink: #12142B; --soft: #4A4E66; --line: #E2DACB;
  --brand-gradient: linear-gradient(135deg, #AE52F2 0%, #3EB3FC 50%, #41E3CA 100%);
  --accent: #7A2FE8; --accent-tint: #F1E9FD; --night: #0F1225;
  --font: 'Century Gothic', CenturyGothic, AppleGothic, 'Figtree', system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.5; }
body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-gradient); z-index: 5; pointer-events: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 700; font-size: 24px; letter-spacing: -.5px; }
.brand i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn.light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.06; margin: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); }
.lede { font-size: 18px; color: var(--soft); margin: 0; }

/* Hero: the machine, then the promise */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .wrap { position: relative; z-index: 1; min-height: min(78vh, 720px); display: grid; align-content: center; gap: 22px; padding-block: 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 44ch; font-size: clamp(17px, 1.6vw, 21px); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: 13.5px; color: rgba(255,255,255,.6); }

section.block { padding: clamp(56px, 8vw, 96px) 0; }
section.block + section.block { border-top: 1.5px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-bottom: 36px; }
.head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.card .swatch { width: 44px; height: 44px; border-radius: 12px; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.price-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.price { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.price.featured { border-color: var(--accent); background: var(--accent-tint); }
.price .amount { font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.price .amount small { font-size: 15px; font-weight: 500; color: var(--soft); letter-spacing: 0; }
.price ul { margin: 0; padding-left: 18px; color: var(--soft); font-size: 15px; display: grid; gap: 6px; }
.faq details { border-top: 1.5px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--soft); max-width: 70ch; }
.closing { background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(36px, 6vw, 64px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.closing h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 18ch; }
.closing p { margin: 0; color: rgba(255,255,255,.78); }
footer.foot { border-top: 1.5px solid var(--line); margin-top: 48px; padding: 24px 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; font-size: 13.5px; color: var(--soft); }
footer.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot a:hover { color: var(--accent); }
/* Legal pages */
.doc { max-width: 760px; margin-inline: auto; padding: 40px var(--gutter) 60px; display: grid; gap: 16px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); }
.doc h2 { font-size: 20px; margin-top: 18px; }
.doc p, .doc li { color: var(--soft); font-size: 15.5px; }
.doc .draft { background: #FFF2CC; border: 1.5px solid #E8C860; color: #5A4300; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 720px) {
  .top nav { gap: 12px; font-size: 14px; }
  .brand i { display: none; }
  .hero .wrap { min-height: auto; padding-block: 56px; }
  footer.foot { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Sign up / Sign in: one button with a menu; the choice is remembered */
.split { position: relative; display: inline-flex; }
.split-main { border-radius: 999px 0 0 999px; padding-right: 16px; }
.split-arrow { border-radius: 0 999px 999px 0; padding: 0 12px; border-left: 1px solid rgba(255,255,255,.35); min-width: 40px; }
.split-menu { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(18,20,43,.35); min-width: 140px; z-index: 20; }
.split-menu button { width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; font: inherit; font-weight: 600; border-radius: 8px; cursor: pointer; }
.split-menu button:hover { background: var(--accent-tint); color: var(--accent); }
.signed-in { display: inline-flex; align-items: center; gap: 12px; }
.signed-in .who { font-size: 14px; color: var(--soft); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signed-in .cog { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; color: var(--soft); }
.signed-in .cog:hover { color: var(--accent); background: var(--accent-tint); }
[hidden] { display: none !important; }
