/* Visual system from .claude/skills/landing-page-design (Part B). Brand values live in :root only. */
:root {
  --font: "Geist", system-ui, sans-serif;
  --bg: #ffffff;
  --surface: #f6f5f2;
  --text: #111111;
  --muted: #5c5c5c;
  --line: #e4e2dd;
  --accent: #111111;
  --accent-text: #ffffff;
  --badge: #e9f2e6;
  --badge-text: #24502a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* spacing tokens B2 */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #181818; --surface: #1f1f1f; --text: #f2f2f2; --muted: #a3a3a3; --line: #313131;
          --accent: #f2f2f2; --accent-text: #111111; --badge: #272727; --badge-text: #b9dcb1; }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

/* text styles B1 (Tailwind scale, named styles) */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.muted { color: var(--muted); }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
@media (max-width: 720px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.5rem; line-height: 2rem; }
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s-200); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s-200); top: var(--s-200); z-index: 20; background: var(--bg); padding: var(--s-75) var(--s-100); border-radius: 8px; }
.demo-banner { background: #272727; color: #f2f2f2; text-align: center; padding: var(--s-75) var(--s-200); font-size: 0.875rem; line-height: 1.25rem; }

/* buttons B2, B7, B9 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-text); text-decoration: none; font: inherit;
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, input:focus-visible + .offer-body, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.btn-lg { padding: var(--s-100) var(--s-300); font-size: 1.125rem; line-height: 1.75rem; }
.btn-sm { padding: var(--s-50) var(--s-100); font-size: 0.875rem; line-height: 1.25rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* floating nav B7 */
.nav-wrap { position: sticky; top: var(--s-200); z-index: 10; display: flex; justify-content: center; padding: 0 var(--s-200); }
.nav { display: flex; align-items: center; gap: var(--s-400); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-brand { text-decoration: none; }

/* hero B5 */
.hero { display: grid; gap: var(--s-600); padding-top: var(--s-800); padding-bottom: var(--s-800); align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 1fr; } }
.hero-title { max-width: 680px; background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .hero-title { background-image: linear-gradient(90deg, #ffffff, #9b9b9b); } }
.hero-sub { max-width: 680px; margin-top: var(--s-300); color: var(--muted); font-size: 1.125rem; line-height: 1.75rem; }
.hero-actions { margin-top: var(--s-400); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-100); }
.hero-img { border-radius: 24px; background: var(--surface); }

/* reasons */
.reasons { padding-bottom: var(--s-800); }
.reason-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-300); }
@media (min-width: 760px) { .reason-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reason-list { grid-template-columns: repeat(3, 1fr); } }
.reason { background: var(--surface); border-radius: 16px; padding: var(--s-400); display: grid; gap: var(--s-100); align-content: start; position: relative; }
.reason-num { position: absolute; top: var(--s-300); right: var(--s-300); color: var(--muted); }
.reason-icon { font-size: 1.75rem; }

/* tagline reveal B11 */
.tagline { padding-top: var(--s-900); padding-bottom: var(--s-900); }
.tagline-text { max-width: 820px; }
.tagline-text .w { color: color-mix(in srgb, var(--text) 30%, transparent); transition: color 600ms var(--ease); }
.tagline-text .w.on { color: var(--text); }

/* offer */
.offer-section { display: grid; gap: var(--s-600); padding-bottom: var(--s-800); align-items: start; scroll-margin-top: var(--s-900); }
@media (min-width: 900px) { .offer-section { grid-template-columns: 1fr 1fr; } }
.offer-media img { border-radius: 24px; background: var(--surface); }
.offer-form { display: grid; gap: var(--s-200); }
.offers { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-100); }
.offers legend { margin-bottom: var(--s-100); }
.offer { display: block; cursor: pointer; }
.offer input { position: absolute; opacity: 0; }
.offer-body { display: grid; gap: var(--s-50); padding: var(--s-200); border-radius: 16px; border: 1px solid var(--line);
  transition: transform 500ms var(--ease), border-color 300ms var(--ease); }
.offer:hover .offer-body { transform: translateY(-1px); }
.offer input:checked + .offer-body { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.offer-top, .offer-price { display: flex; align-items: center; gap: var(--s-100); }
.badge { background: var(--badge); color: var(--badge-text); border-radius: 8px; padding: var(--s-25) var(--s-75); }
.assurances { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-75); }
.assurances li { display: flex; gap: var(--s-75); align-items: flex-start; }
.assurances i { font-size: 1.125rem; }
.form-error { color: #b3261e; }
.options { display: grid; gap: var(--s-150, 12px); }
.option-row { border: 1px solid var(--line); border-radius: 16px; padding: var(--s-150, 12px) var(--s-200); margin: 0; }
.option-row legend { padding: 0 var(--s-50); }
.option-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-100); }
.option-field { display: grid; gap: var(--s-50); }
.option-field select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg, #fff); color: var(--text); min-height: 44px; }
.order-items { list-style: none; margin: 4px 0; padding: 0; }

/* reviews, faq, final */
.reviews, .faq { padding-bottom: var(--s-800); display: grid; gap: var(--s-300); }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-200); }
.review { background: var(--surface); border-radius: 16px; padding: var(--s-300); display: grid; gap: var(--s-100); }
.faq { max-width: 760px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; padding: var(--s-200) var(--s-300); }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: var(--s-100); }
.final-cta { padding-bottom: var(--s-900); display: grid; gap: var(--s-300); justify-items: start; }

.footer { border-top: 1px solid var(--line); padding: var(--s-400) 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--s-200); justify-content: space-between; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-200); }

.simple { padding-top: var(--s-800); padding-bottom: var(--s-900); display: grid; gap: var(--s-300); justify-items: start; max-width: 760px; }
.product-index { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-300); }

/* scroll reveals B7 */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms var(--ease); }
  .tagline-text .w { color: var(--text); transition: none; }
  .btn, .offer-body { transition: none; }
}

/* legal pages */
.legal section { display: grid; gap: var(--s-75); }
.blank { background: #fff3b0; color: #3d3200; border-radius: 4px; padding: 0 var(--s-50); }
.draft-note { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s-100) var(--s-200); }
/* admin */
.admin { max-width: 1120px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.25rem; }
.admin th, .admin td { text-align: left; vertical-align: top; padding: var(--s-100); border: 1px solid var(--line); }
.admin input, .admin select { font: inherit; padding: var(--s-50) var(--s-75); border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.admin form.row { display: grid; gap: var(--s-75); }
.admin pre { white-space: pre-wrap; margin: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.75rem; line-height: 1rem; }
.status { border-radius: 8px; padding: var(--s-25) var(--s-75); background: var(--surface); }
