/* LaserNearMe — visual system
   Type scale: Tailwind steps only. Spacing: the allowed set only.
   Radii: Tailwind values. No background gradients. No italics. */

:root {
  --bg: #131209;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --line: #272727;
  --ink: #f4f1e8;
  --muted: #9b9b9b;
  --accent: #e9c479;
  --on-accent: #131209;
  --danger: #f08a7a;

  /* spacing tokens */
  --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;

  /* type scale */
  --t-xs: 12px; --t-sm: 14px; --t-base: 16px; --t-lg: 18px; --t-xl: 20px; --t-2xl: 24px;
  --t-3xl: 30px; --t-4xl: 36px; --t-5xl: 48px; --t-6xl: 60px;

  /* radii */
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-base);
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute; left: var(--s-200); top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  font-size: var(--t-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s-200); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--s-300); }
.wrap-narrow { max-width: 760px; }

/* ---------- navigation ---------- */
.nav-wrap {
  position: fixed; inset-block-start: var(--s-200); inset-inline: 0; z-index: 50;
  display: flex; justify-content: center; padding-inline: var(--s-200);
}
.nav {
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-100) var(--s-75) var(--s-200);
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav-brand {
  display: flex; align-items: center; gap: var(--s-75);
  font-size: var(--t-sm); font-weight: 700; text-decoration: none; letter-spacing: -0.01em;
}
.mark { width: 20px; height: 20px; color: var(--accent); flex: none; }
.nav-links { display: flex; gap: var(--s-300); }
.nav-links a {
  font-size: var(--t-sm); color: var(--muted); text-decoration: none;
  transition: color 300ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none; position: relative; width: 32px; height: 32px;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  border-radius: var(--r-lg);
}
.nav-toggle .bar {
  position: absolute; left: 8px; width: 16px; height: 1.5px; background: currentColor;
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}
.nav-toggle .bar-top { top: 12px; }
.nav-toggle .bar-bottom { top: 19px; }
.nav-toggle[aria-expanded="true"] .bar-top { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-bottom { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-300);
  padding: var(--s-900) var(--s-300) var(--s-600);
  background: rgba(24, 24, 24, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-size: var(--t-3xl); font-weight: 600; text-decoration: none;
  opacity: 0; transform: translateY(var(--s-300));
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu .btn { justify-content: center; margin-block-start: var(--s-200); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  font-family: inherit; font-size: var(--t-base); font-weight: 600; line-height: 24px;
  color: var(--on-accent); background: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--r-lg);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 500ms var(--ease), background-color 300ms var(--ease), opacity 300ms var(--ease);
}
.btn:hover { background: #f0d18f; border-color: #f0d18f; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-sm { font-size: var(--t-sm); padding: var(--s-50) var(--s-100); }
.btn-dots { display: none; gap: 3px; }
.btn.is-loading .btn-label { display: none; }
.btn.is-loading .btn-dots { display: inline-flex; }
.btn-dots i {
  width: 4px; height: 4px; border-radius: 50%; background: currentColor;
  animation: dot 900ms var(--ease) infinite;
}
.btn-dots i:nth-child(2) { animation-delay: 120ms; }
.btn-dots i:nth-child(3) { animation-delay: 240ms; }
@keyframes dot { 0%, 100% { opacity: 0.35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 152px var(--s-300) var(--s-900);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: var(--s-800); align-items: center;
}
.hero-title {
  max-width: 680px;
  font-size: var(--t-5xl); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 680px; margin-block-start: var(--s-300);
  font-size: var(--t-lg); line-height: 28px; color: var(--muted);
}
.hero-visual { margin: 0; }
.hero-visual img {
  border-radius: var(--r-2xl); border: 1px solid var(--line);
  aspect-ratio: 3 / 2; object-fit: cover; width: 100%;
}
.hero-visual figcaption {
  margin-block-start: var(--s-100); font-size: var(--t-sm); color: var(--muted);
}

/* ---------- waitlist form ---------- */
.waitlist {
  margin-block-start: var(--s-400);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr) auto;
  gap: var(--s-100); align-items: start;
}
.field { display: grid; gap: var(--s-50); }
.field label { font-size: var(--t-sm); color: var(--muted); }
.field input {
  width: 100%; font-family: inherit; font-size: var(--t-base); line-height: 24px;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-75) var(--s-100);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.field input::placeholder { color: #6f6f6f; }
.field input:hover { border-color: #313131; }
.field input:focus-visible { outline: none; border-color: var(--accent); background: var(--surface-2); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: var(--t-sm); line-height: 20px; color: var(--danger); }
.waitlist .btn { min-height: 42px; }
.form-note { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--accent); }
.form-note[data-tone="error"] { color: var(--danger); }
.form-legal { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--muted); }

.proof-strip {
  list-style: none; margin: var(--s-400) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--s-300);
  font-size: var(--t-sm); color: var(--muted);
}
.proof-strip strong { color: var(--ink); font-weight: 600; }

/* ---------- bands ---------- */
.band { padding-block: var(--s-900); border-block-start: 1px solid var(--line); }
.band-problem { background: var(--surface); }
.band-how { background: var(--surface); }
.band-proof { background: var(--surface); }
.band-final { background: var(--bg); }

.eyebrow {
  font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-block-end: var(--s-200);
}
.band h2 { font-size: var(--t-4xl); line-height: 40px; max-width: 680px; }

.two-col { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: var(--s-800); }
.prose { display: grid; gap: var(--s-200); color: var(--muted); font-size: var(--t-lg); line-height: 28px; }
.prose-lead { color: var(--ink); }

/* ---------- cards ---------- */
.cards {
  margin-block-start: var(--s-600);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-200);
}
.card {
  padding: var(--s-300);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-2xl);
}
.card .icon { width: 24px; height: 24px; color: var(--accent); }
.card h3 { margin-block-start: var(--s-200); font-size: var(--t-lg); line-height: 28px; }
.card p { margin-block-start: var(--s-75); font-size: var(--t-sm); line-height: 20px; color: var(--muted); }

/* ---------- steps ---------- */
.steps {
  margin: var(--s-600) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200);
}
.steps li {
  padding: var(--s-300); border: 1px solid var(--line); border-radius: var(--r-2xl);
  background: var(--bg);
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--r-lg);
  background: var(--accent); color: var(--on-accent);
  font-size: var(--t-sm); font-weight: 700;
}
.steps h3 { margin-block-start: var(--s-200); font-size: var(--t-lg); line-height: 28px; }
.steps p { margin-block-start: var(--s-75); font-size: var(--t-sm); line-height: 20px; color: var(--muted); }

/* ---------- tagline reveal ---------- */
.tagline {
  padding-block: var(--s-900);
  border-block-start: 1px solid var(--line);
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--s-300);
}
.tagline-text {
  max-width: 680px; font-size: var(--t-5xl); line-height: 1.1; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
}
.tagline-text .w {
  opacity: 0.3; transition: opacity 500ms var(--ease);
}
.tagline-text .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tagline-text .w { opacity: 1; transition: none; }
}

/* ---------- quotes ---------- */
.quotes {
  margin-block-start: var(--s-600);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200);
}
.quote {
  margin: 0; padding: var(--s-300);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-2xl);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-300);
}
.quote blockquote { margin: 0; font-size: var(--t-base); line-height: 24px; color: var(--ink); }
.quote figcaption { display: grid; font-size: var(--t-sm); line-height: 20px; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--muted); }

/* ---------- faq ---------- */
.faq { margin-block-start: var(--s-500); display: grid; }
.faq details { border-block-start: 1px solid var(--line); padding-block: var(--s-200); }
.faq details:last-child { border-block-end: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-size: var(--t-lg); line-height: 28px; font-weight: 600;
  display: flex; justify-content: space-between; gap: var(--s-200);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: var(--t-xl);
  transition: transform 500ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-block-start: var(--s-100); font-size: var(--t-base); line-height: 24px; color: var(--muted); max-width: 680px; }

/* ---------- final cta ---------- */
.final { text-align: center; display: grid; justify-items: center; }
.final h2 { text-align: center; }
.final-sub { margin-block-start: var(--s-100); color: var(--muted); font-size: var(--t-lg); line-height: 28px; max-width: 680px; }
.waitlist-center {
  width: 100%; max-width: 640px; margin-block-start: var(--s-400);
  grid-template-columns: minmax(0, 1fr) 140px auto;
}
.waitlist-center .form-note,
.waitlist-center .form-legal { text-align: center; }

/* ---------- footer ---------- */
.footer { border-block-start: 1px solid var(--line); padding-block: var(--s-600); }
.footer-inner { display: grid; gap: var(--s-300); }
.footer-brand { display: flex; align-items: center; gap: var(--s-75); font-size: var(--t-sm); font-weight: 700; }
.footer-links { display: flex; gap: var(--s-300); font-size: var(--t-sm); }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { font-size: var(--t-xs); line-height: 16px; color: var(--muted); max-width: 680px; }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(var(--s-400)); }
.reveal.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.in { transition: none; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 152px var(--s-300) var(--s-900); }
.legal h1 { font-size: var(--t-4xl); line-height: 40px; }
.legal h2 { font-size: var(--t-xl); line-height: 28px; margin-block-start: var(--s-500); }
.legal p, .legal li { color: var(--muted); font-size: var(--t-base); line-height: 24px; margin-block-start: var(--s-100); }
.legal a { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block-start: 136px; gap: var(--s-600); }
  .hero-title { font-size: var(--t-4xl); line-height: 40px; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: var(--s-400); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .tagline-text { font-size: var(--t-3xl); line-height: 36px; }
  .waitlist, .waitlist-center { grid-template-columns: minmax(0, 1fr) 112px; }
  .waitlist .btn { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 720px) {
  .nav-links, .nav > .btn-sm { display: none; }
  .nav { gap: var(--s-200); padding-inline-end: var(--s-75); }
  .nav-toggle { display: block; }
  .band { padding-block: var(--s-700); }
  .band h2 { font-size: var(--t-3xl); line-height: 36px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block-start: 120px; padding-block-end: var(--s-700); }
  .tagline { padding-block: var(--s-700); }
  .legal { padding-block-start: 120px; }
}

/* ---------- form success / empty states ---------- */
.form-success { grid-column: 1 / -1; display: grid; gap: var(--s-50); padding: var(--s-200); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: start; }
.form-success-title { font-size: var(--t-base); font-weight: 600; color: var(--ink); }
.form-success-body { font-size: var(--t-sm); line-height: 20px; color: var(--muted); }
.waitlist-center .form-success { text-align: center; justify-items: center; }

/* ---------- consent banner ---------- */
.btn-quiet {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-quiet:hover { background: var(--surface-2); border-color: #313131; }

.consent {
  position: fixed; inset-inline: var(--s-200); inset-block-end: var(--s-200); z-index: 60;
  display: flex; flex-wrap: wrap; gap: var(--s-200); align-items: center; justify-content: space-between;
  max-width: 640px; margin-inline: auto;
  padding: var(--s-200) var(--s-300);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-2xl);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(var(--s-200));
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.consent.in { opacity: 1; transform: none; }
.consent-text { font-size: var(--t-sm); line-height: 20px; color: var(--muted); max-width: 340px; }
.consent-actions { display: flex; gap: var(--s-75); }
@media (prefers-reduced-motion: reduce) {
  .consent { opacity: 1; transform: none; transition: none; }
}

/* ---------- article / guide pages ---------- */
.article { max-width: 820px; padding-block: 136px var(--s-900); }
.crumbs { font-size: var(--t-sm); color: var(--muted); margin-block-end: var(--s-300); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: #5c5c5c; }
.article h1 { font-size: var(--t-4xl); line-height: 40px; letter-spacing: -0.02em; max-width: 680px; }
.lede { margin-block-start: var(--s-300); font-size: var(--t-lg); line-height: 28px; color: var(--muted); max-width: 680px; }
.article h2 { margin-block-start: var(--s-700); font-size: var(--t-2xl); line-height: 32px; }
.article p { margin-block-start: var(--s-200); font-size: var(--t-base); line-height: 26px; color: var(--muted); }
.article p strong, .article li strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--accent); text-decoration: none; border-block-end: 1px solid rgba(233, 196, 121, 0.35); }
.article a:hover { border-block-end-color: var(--accent); }
.prose-list { margin-block-start: var(--s-200); padding-inline-start: var(--s-300); display: grid; gap: var(--s-75); }
.prose-list li { font-size: var(--t-base); line-height: 26px; color: var(--muted); }
.source-note { margin-block-start: var(--s-600); padding-block-start: var(--s-300); border-block-start: 1px solid var(--line); font-size: var(--t-sm); line-height: 20px; }

/* ---------- data tables ---------- */
.table-scroll { margin-block-start: var(--s-300); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-xl); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 20px; min-width: 640px; }
.data-table caption { text-align: start; padding: var(--s-200) var(--s-300); color: var(--muted); font-size: var(--t-xs); line-height: 16px; border-block-end: 1px solid var(--line); }
.data-table th { text-align: start; font-weight: 600; color: var(--ink); padding: var(--s-100) var(--s-200); background: var(--surface-2); border-block-end: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: var(--s-100) var(--s-200); border-block-end: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.data-table tr:last-child td { border-block-end: 0; }
.data-table td a { color: var(--ink); text-decoration: none; border: 0; }
.data-table td a:hover { color: var(--accent); }
@media (max-width: 720px) { .article { padding-block-start: 112px; } .article h1 { font-size: var(--t-3xl); line-height: 36px; } }

/* ---------- article figure ---------- */
.article-figure { margin: var(--s-500) 0 var(--s-200); }
.article-figure img { width: 100%; height: auto; border-radius: var(--r-2xl); border: 1px solid var(--line); aspect-ratio: 3 / 2; object-fit: cover; }
.article-figure figcaption { margin-block-start: var(--s-100); font-size: var(--t-sm); line-height: 20px; color: var(--muted); }
