:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #f7f8f5;
  --paper-strong: #eef2ea;
  --ink: #171719;
  --ink-soft: #3e403c;
  --muted: #74776f;
  --line: rgba(23, 23, 25, 0.1);
  --line-strong: rgba(23, 23, 25, 0.18);
  --amber: #e8a857;
  --amber-soft: #f2c985;
  --amber-deep: #9d641f;
  --amber-wash: rgba(232, 168, 87, 0.16);
  --sage: #bfe4da;
  --sage-deep: #2f7167;
  --plum: #4a2d3e;
  --plum-wash: rgba(74, 45, 62, 0.11);
  --phone-bg: #0a0a0b;
  --phone-card: #16161a;
  --phone-text: #f5ede0;
  --phone-muted: #a8a39a;
  --shadow: 0 24px 80px rgba(35, 34, 29, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --white: #0a0a0b;
  --paper: #101012;
  --paper-strong: #16161a;
  --ink: #f5ede0;
  --ink-soft: #c6beb0;
  --muted: #8f887d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --amber: #e8a857;
  --amber-soft: #c98843;
  --amber-deep: #f0bd78;
  --amber-wash: rgba(232, 168, 87, 0.13);
  --sage: rgba(191, 228, 218, 0.18);
  --sage-deep: #bfe4da;
  --plum: #4a2d3e;
  --plum-wash: rgba(74, 45, 62, 0.3);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(145deg, rgba(191, 228, 218, 0.26), transparent 28%),
    linear-gradient(35deg, transparent 58%, rgba(232, 168, 87, 0.14)),
    var(--white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(ellipse 70% 46% at 100% 0%, rgba(232, 168, 87, 0.12), transparent 58%),
    radial-gradient(ellipse 64% 46% at 0% 100%, rgba(74, 45, 62, 0.38), transparent 62%),
    linear-gradient(180deg, #0a0a0b 0%, #080809 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 clamp(30px, 6vw, 88px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(23, 23, 25, 0.08);
  backdrop-filter: blur(18px);
}

html[data-theme="dark"] .site-header {
  background: rgba(10, 10, 11, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand {
  font-size: 22px;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #ffca7c, var(--amber) 54%, #c77f2b 100%);
  box-shadow: 0 10px 28px rgba(232, 168, 87, 0.3);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid #fff7eb;
}

.brand-mark::before {
  inset: 7px;
}

.brand-mark::after {
  inset: 12px;
}

.brand-mark span {
  inset: 16px;
  background: #fff7eb;
}

/* Header brand wordmark logo — theme-aware: the black-text lockup on light
   backgrounds, the white-text lockup on dark. Only one renders at a time; the
   other is display:none so it stays out of the flex layout. */
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
}
.brand-logo--dark {
  display: none;
}
html[data-theme="dark"] .brand-logo--light {
  display: none;
}
html[data-theme="dark"] .brand-logo--dark {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--amber-deep);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--amber);
  color: #241201;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(232, 168, 87, 0.28);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 78px 16px auto;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .mobile-nav {
  background: rgba(19, 19, 22, 0.96);
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--paper);
}

.mobile-nav.open {
  display: grid;
}

.section-shell {
  width: min(1180px, calc(100% - clamp(72px, 8vw, 120px)));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  min-height: min(760px, calc(100vh - 78px));
  padding: clamp(44px, 7vh, 72px) 0 54px;
}

.hero-copy h1,
.section-heading h2,
.feature-intro h2,
.inside-panel h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(40px, 5.25vw, 66px);
}

.hero-copy p {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 27px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--amber);
  color: #241201;
  box-shadow: 0 18px 42px rgba(232, 168, 87, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
  color: var(--ink);
}

html[data-theme="dark"] .button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.privacy-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-product {
  justify-self: end;
  width: min(100%, 540px);
}

.product-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.68fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 245, 0.92)),
    var(--white);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .product-panel {
  background:
    radial-gradient(circle at 80% 10%, rgba(232, 168, 87, 0.08), transparent 40%),
    linear-gradient(150deg, rgba(22, 22, 26, 0.96), rgba(13, 13, 15, 0.98));
}

.screenshot-card,
.mini-preview,
.slot-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(232, 168, 87, 0.16), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(74, 45, 62, 0.2), transparent 44%),
    var(--phone-bg);
  color: var(--phone-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-card-large {
  min-height: 528px;
  padding: 28px;
  border-radius: 30px;
}

.screenshot-topbar {
  display: flex;
  gap: 6px;
  margin-bottom: 38px;
}

.screenshot-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 237, 224, 0.38);
}

.screen-label {
  color: var(--phone-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen-days {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
}

.screen-days strong {
  font-size: 70px;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.screen-days span {
  color: var(--phone-muted);
  font-weight: 700;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 92px;
  margin: 30px 0 22px;
}

.mini-chart span {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber), #8a5418);
  opacity: 0.72;
}

.mini-chart span:nth-child(1) { height: 26%; }
.mini-chart span:nth-child(2) { height: 42%; }
.mini-chart span:nth-child(3) { height: 31%; }
.mini-chart span:nth-child(4) { height: 62%; }
.mini-chart span:nth-child(5) { height: 78%; }

.screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--phone-text);
  font-size: 14px;
  font-weight: 700;
}

.screen-row.muted {
  color: var(--phone-muted);
}

.screen-row b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
}

.product-stack {
  display: grid;
  gap: 18px;
}

.mini-preview {
  min-height: 255px;
  padding: 24px;
  border-radius: 26px;
}

.mini-preview span {
  display: block;
  color: var(--phone-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mini-preview.light {
  background:
    radial-gradient(circle at center, rgba(232, 168, 87, 0.28), transparent 58%),
    var(--phone-card);
}

.dot-grid,
.slot-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.dot-grid i,
.slot-dots i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.85;
}

.dot-grid i:nth-child(3n),
.slot-dots i:nth-child(3n) {
  background: var(--sage);
}

.dot-grid i:nth-child(5n),
.slot-dots i:nth-child(5n) {
  background: rgba(255, 255, 255, 0.25);
}

.breath-ring {
  position: absolute;
  inset: 50%;
  width: 112px;
  height: 112px;
  translate: -50% -28%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #ffd395, var(--amber) 55%, #8a5418);
  box-shadow:
    0 0 0 22px rgba(232, 168, 87, 0.1),
    0 0 0 48px rgba(232, 168, 87, 0.06),
    0 24px 64px rgba(232, 168, 87, 0.32);
}

.section-heading,
.feature-intro {
  max-width: 750px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.left {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.feature-intro h2,
.inside-panel h2,
.final-cta h2 {
  font-size: clamp(34px, 4.3vw, 56px);
}

.section-heading p,
.feature-intro p,
.inside-panel p,
.final-cta p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.method-section,
.screenshots-section {
  padding: 92px 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.method-step {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 48px rgba(35, 34, 29, 0.06);
}

.method-step:nth-child(2) {
  background: linear-gradient(180deg, rgba(232, 168, 87, 0.18), rgba(255, 255, 255, 0.74));
}

.method-step:nth-child(4) {
  background: linear-gradient(180deg, rgba(191, 228, 218, 0.42), rgba(255, 255, 255, 0.74));
}

html[data-theme="dark"] .method-step,
html[data-theme="dark"] .feature-row,
html[data-theme="dark"] .inside-panel,
html[data-theme="dark"] .legal-hero,
html[data-theme="dark"] .legal-content,
html[data-theme="dark"] .support-grid article,
html[data-theme="dark"] .admin-card {
  background: rgba(22, 22, 26, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .method-step:nth-child(2) {
  background: linear-gradient(180deg, rgba(232, 168, 87, 0.14), rgba(22, 22, 26, 0.78));
}

html[data-theme="dark"] .method-step:nth-child(4) {
  background: linear-gradient(180deg, rgba(74, 45, 62, 0.28), rgba(22, 22, 26, 0.78));
}

.step-number {
  display: inline-flex;
  margin-bottom: 62px;
  color: var(--amber-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.method-step h3,
.feature-row h3,
.screenshot-slot h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.method-step p,
.feature-row p,
.screenshot-slot p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.feature-band {
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.94), rgba(238, 242, 234, 0.88)),
    var(--paper);
  border-block: 1px solid var(--line);
}

html[data-theme="dark"] .feature-band {
  background:
    radial-gradient(ellipse 64% 40% at 100% 0%, rgba(232, 168, 87, 0.08), transparent 62%),
    linear-gradient(180deg, #111114, #0a0a0b);
  border-block-color: rgba(255, 255, 255, 0.08);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--sage-deep);
}

.feature-icon.amber {
  background: var(--amber-wash);
  color: var(--amber-deep);
}

.feature-icon.plum {
  background: var(--plum-wash);
  color: var(--plum);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screenshot-slot {
  display: grid;
  gap: 18px;
}

.slot-frame {
  min-height: 420px;
  padding: 26px;
  border-radius: 30px;
  box-shadow: 0 22px 58px rgba(8, 8, 10, 0.18);
}

.slot-frame strong {
  display: block;
  margin-top: 42px;
  color: var(--phone-text);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.slot-frame span {
  display: block;
  margin-top: 8px;
  color: var(--phone-muted);
  font-size: 14px;
  font-weight: 700;
}

.slot-bar {
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.placeholder-line {
  width: 62%;
  height: 12px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.placeholder-line.wide {
  width: 86%;
  margin-top: 74px;
}

.slot-dots {
  grid-template-columns: repeat(7, 1fr);
  gap: 11px;
}

.slot-orb {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 138px;
  height: 138px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #ffd395, var(--amber) 55%, #8a5418);
  box-shadow:
    0 0 0 28px rgba(232, 168, 87, 0.11),
    0 0 0 62px rgba(232, 168, 87, 0.06);
}

.inside-section {
  padding: 0 0 92px;
}

.inside-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 245, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .inside-panel {
  background:
    radial-gradient(circle at 88% 0%, rgba(232, 168, 87, 0.08), transparent 42%),
    rgba(22, 22, 26, 0.78);
}

.inside-list {
  display: grid;
  gap: 12px;
}

.inside-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.inside-item:first-child {
  padding-top: 0;
}

.inside-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.inside-item span {
  display: block;
  color: var(--amber-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inside-item strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.final-cta {
  padding: 92px 0;
  background:
    linear-gradient(155deg, rgba(232, 168, 87, 0.22), transparent 34%),
    linear-gradient(35deg, rgba(191, 228, 218, 0.34), transparent 56%),
    var(--paper);
  border-top: 1px solid var(--line);
}

html[data-theme="dark"] .final-cta {
  background:
    radial-gradient(ellipse 66% 44% at 50% 0%, rgba(232, 168, 87, 0.12), transparent 62%),
    radial-gradient(ellipse 58% 44% at 0% 100%, rgba(74, 45, 62, 0.34), transparent 62%),
    #0a0a0b;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.final-cta-inner {
  text-align: center;
}

/* Standalone waitlist button (replaced the email form). Centered by the
   parent's text-align; this just restores the form's top spacing. */
.final-cta-button {
  margin-top: 30px;
}

.waitlist-form {
  display: flex;
  width: min(580px, 100%);
  margin: 30px auto 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(35, 34, 29, 0.08);
}

html[data-theme="dark"] .waitlist-form,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .admin-link,
html[data-theme="dark"] .admin-form input {
  background: rgba(22, 22, 26, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 20px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.waitlist-form input::placeholder {
  color: var(--muted);
}

.waitlist-form .button {
  min-height: 52px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px clamp(30px, 6vw, 88px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

html[data-theme="dark"] .site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 18px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 15px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.admin-link span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber);
  color: #241201;
}

.admin-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--white);
}

html[data-theme="dark"] .admin-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle-label {
  font-size: 13px;
  font-weight: 700;
}

.theme-toggle-track {
  position: relative;
  width: 52px;
  height: 32px;
  border-radius: 999px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: #241201;
  box-shadow: 0 8px 20px rgba(232, 168, 87, 0.28);
  transition: transform 220ms var(--ease);
}

.theme-toggle-thumb svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(19, 19, 22, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .theme-toggle-track {
  background: #050506;
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(20px);
}

.document-body {
  background:
    linear-gradient(145deg, rgba(191, 228, 218, 0.2), transparent 30%),
    linear-gradient(35deg, transparent 58%, rgba(232, 168, 87, 0.12)),
    var(--white);
}

html[data-theme="dark"] .document-body {
  background:
    radial-gradient(ellipse 70% 46% at 100% 0%, rgba(232, 168, 87, 0.12), transparent 58%),
    radial-gradient(ellipse 64% 46% at 0% 100%, rgba(74, 45, 62, 0.38), transparent 62%),
    linear-gradient(180deg, #0a0a0b 0%, #080809 100%);
}

.legal-page,
.admin-page {
  width: min(980px, calc(100% - clamp(72px, 8vw, 120px)));
  margin: 0 auto;
}

.legal-page {
  padding: 78px 0 96px;
}

.legal-hero {
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.draft-label {
  margin: 0 0 18px;
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-hero h1,
.admin-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5.8vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.legal-hero p,
.admin-card p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.legal-hero span {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.legal-content {
  margin-top: 34px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
}

.legal-content.compact {
  margin-top: 18px;
}

.legal-content h2 {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.legal-content a,
.support-email {
  color: var(--amber-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.support-email {
  display: inline-flex;
  margin-top: 24px;
  font-size: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.support-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.support-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.support-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.admin-page {
  display: grid;
  min-height: calc(100vh - 78px);
  padding: 72px 0;
  place-items: center;
}

.admin-card {
  width: min(620px, 100%);
  padding: clamp(32px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.admin-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.admin-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.admin-form button[disabled],
.admin-form input[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

.admin-back {
  display: inline-flex;
  margin-top: 24px;
  color: var(--amber-deep);
  font-size: 15px;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fade-up {
  animation: fade-up 0.8s var(--ease) both;
}

.delay-1 {
  animation-delay: 90ms;
}

@keyframes fade-up {
  from {
    opacity: 1;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

  .hero-product {
    justify-self: stretch;
    width: 100%;
  }

  .product-panel,
  .inside-panel {
    grid-template-columns: 1fr;
  }

  .screenshot-card-large {
    min-height: 430px;
  }

  .product-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-preview {
    min-height: 210px;
  }

  .method-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 36px, 1180px);
  }

  .site-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .mobile-nav {
    inset-top: 70px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-logo {
    height: 28px;
  }

  .hero {
    padding: 42px 0 44px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.6vw, 40px);
    line-height: 1.03;
    text-wrap: balance;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .button,
  .hero-actions,
  .waitlist-form {
    width: 100%;
  }

  .hero-actions,
  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form {
    border-radius: 26px;
    padding: 8px;
  }

  .waitlist-form input {
    min-height: 54px;
    padding-inline: 16px;
  }

  .product-panel {
    max-width: 100%;
    overflow: hidden;
    padding: 12px;
    border-radius: 28px;
  }

  .screenshot-card-large,
  .slot-frame {
    min-height: 360px;
    border-radius: 24px;
  }

  .screen-days strong {
    font-size: 56px;
  }

  .product-stack,
  .feature-list,
  .method-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .method-section,
  .screenshots-section,
  .feature-band,
  .final-cta {
    padding-block: 64px;
  }

  .inside-section {
    padding-bottom: 64px;
  }

  .method-step {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 34px;
  }

  .feature-row {
    grid-template-columns: 48px 1fr;
    padding: 22px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon svg {
    width: 23px;
    height: 23px;
  }

  .inside-panel {
    padding: 28px;
    border-radius: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }

  .footer-menu {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 16px;
  }

  .admin-link {
    width: 100%;
  }

  .legal-page,
  .admin-page {
    width: min(100% - 36px, 980px);
  }

  .legal-page {
    padding: 48px 0 64px;
  }

  .legal-hero,
  .legal-content,
  .admin-card {
    border-radius: 26px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}
