/* Hello Beam site — art-style-v3 tokens (toned Sunny world + Bold Pop). No external requests. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-latin.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #1B1340;
  --ink-muted: #5A5378;
  --surface: #FFFFFF;
  --surface-alt: #F1EEFF;
  --card-lip: #D2C8FF;
  --primary: #6236FF;
  --primary-lip: #3A16B8;
  --key-lip: #8C82B8;
  --lamp: #FFE14D;
  --success: #00A18A;
  --sky: #EBD8B2;
  --sand: #E0C293;
  --sea: #93ACE6;
  --page: #FBF7EE;
  --r-card: 24px;
  --lip: 8px;
  --head: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--primary-lip); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 9px rgba(255, 225, 77, .6); border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 44rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-head { background: var(--sky); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font: 900 1.5rem/1 var(--head); }
.brand img { width: 44px; height: 44px; }

/* Bold Pop buttons: flat face + 8px coloured lip, press moves the face down */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 0 1.75rem;
  border: 0; border-radius: var(--r-card);
  font: 900 1.2rem/1 var(--head); text-decoration: none; cursor: pointer;
  background: var(--primary); color: #FFFFFF;
  box-shadow: 0 var(--lip) 0 var(--primary-lip);
  margin-bottom: var(--lip);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { color: #FFFFFF; background: #5428F0; }
.btn:active { transform: translateY(6px); box-shadow: 0 2px 0 var(--primary-lip); }
.btn-small { min-height: 48px; padding: 0 1.1rem; font-size: 1rem; border-radius: 16px; box-shadow: 0 6px 0 var(--primary-lip); margin-bottom: 6px; }
.btn-white { background: var(--surface); color: var(--ink); box-shadow: 0 var(--lip) 0 var(--key-lip); }
.btn-white:hover { background: var(--surface-alt); color: var(--ink); }
.btn-white:active { box-shadow: 0 2px 0 var(--key-lip); }

/* Hero */
.hero { background: var(--sky); padding-top: 2rem; text-align: center; }
.hero .lede { font-size: 1.2rem; max-width: 40rem; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; align-items: center; margin: 1.5rem 0 .5rem; }
.hero-actions a:not(.btn) { font-weight: 700; color: var(--ink); }
.hero .small { font-size: 1rem; margin-bottom: 1.5rem; }
.hero { padding-bottom: 2.5rem; }
.hero-art { width: min(100% - 2.5rem, 64rem); margin: 0 auto; }
.hero-art img { width: 100%; aspect-ratio: 1024 / 544; border-radius: 32px; box-shadow: 0 var(--lip) 0 #D7BE97; }

/* Sections */
section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
section.alt { background: var(--surface-alt); }
.intro { font-size: 1.2rem; max-width: 44rem; }

.card {
  background: var(--surface); border-radius: var(--r-card);
  padding: 1.25rem 1.5rem; box-shadow: 0 var(--lip) 0 var(--card-lip);
  margin-bottom: var(--lip);
}
.grid { display: grid; gap: 1.25rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); padding: 0; margin: 1.5rem 0 0; list-style: none; }
.grid .card p:last-child { margin-bottom: 0; }

.never li { position: relative; padding-left: 3.75rem; }
.never li::before {
  content: ""; position: absolute; left: 1.25rem; top: 1.45rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--lamp); box-shadow: inset 0 0 0 4px #9C7F00;
}
.never strong { font-family: var(--head); font-weight: 800; font-size: 1.15rem; }

.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 4.25rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 1.5rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 12px;
  display: grid; place-items: center; background: var(--primary); color: #FFFFFF; font: 900 1.2rem/1 var(--head);
  box-shadow: 0 4px 0 var(--primary-lip);
}
.facts { margin-top: 2rem; }
.facts .card { background: var(--surface-alt); box-shadow: 0 var(--lip) 0 var(--card-lip); }
section.alt .facts .card { background: var(--surface); }
.note { font-size: 1rem; color: var(--ink-muted); }

blockquote.card { margin: 1.5rem 0 0; padding: 1.75rem 2rem; font-size: 1.15rem; }
blockquote.card footer { font-weight: 700; margin-top: .5rem; }

/* Waitlist */
.waitlist { background: var(--sky); }
.form-card { padding: 1.75rem 2rem; }
.form-card label { display: block; font: 800 1.15rem/1.3 var(--head); margin-bottom: .5rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.form-row input {
  flex: 1 1 16rem; min-height: 64px; padding: 0 1.1rem; font: 400 1.15rem var(--body); color: var(--ink);
  background: var(--surface); border: 3px solid var(--key-lip); border-radius: 16px;
}
.form-row input:focus-visible { border-color: var(--primary); }
.form-notes { margin-top: 1rem; }
.form-notes p { margin-bottom: .6em; }

/* FAQ: native details/summary, no JS */
.faq details { background: var(--surface); border-radius: var(--r-card); box-shadow: 0 var(--lip) 0 var(--card-lip); margin: 0 0 1.25rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.5rem 1.1rem 1.5rem; min-height: 64px; position: relative;
  font: 800 1.15rem/1.35 var(--head); display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-alt); color: var(--primary); font: 900 1.4rem/1 var(--head);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.5rem 1.25rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Draft banner (privacy) */
.draft-banner {
  background: var(--lamp); color: var(--ink); border-bottom: 4px solid #9C7F00;
  padding: 1rem 0; font-weight: 700;
}
.draft-banner p { margin: 0; }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 1rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 2px solid var(--card-lip); }
.legal th { font-family: var(--head); font-weight: 800; }
.table-scroll { overflow-x: auto; }

/* Placeholder the founder must fill before publishing (README: grep class="fill") */
.fill { background: #FFF1B8; outline: 2px dashed #9C7F00; padding: 0 .2em; border-radius: 4px; }

/* Footer */
.site-foot { background: var(--ink); color: #FFFFFF; padding-block: 2.5rem; font-size: 1rem; }
.site-foot a { color: #FFFFFF; }
.site-foot a:hover { color: var(--lamp); }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-foot .fill { color: var(--ink); }

.center { text-align: center; }
.page-simple { padding-block: 3rem 4rem; }
.page-simple img { width: 180px; margin: 0 auto 1rem; }

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .site-head .btn-small { display: none; }
  .btn { width: 100%; }
  .form-row .btn { width: 100%; }
  .never li { padding-left: 3.25rem; }
  .never li::before { left: 1rem; }
}
.gate { margin-top: 2rem; }
