@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Thin.ttf') format('truetype');         font-weight:100; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-ThinItalic.ttf') format('truetype');   font-weight:100; font-style:italic;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-ExtraLight.ttf') format('truetype');   font-weight:200; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-ExtraLightItalic.ttf') format('truetype'); font-weight:200; font-style:italic; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Light.ttf') format('truetype');        font-weight:300; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-LightItalic.ttf') format('truetype');  font-weight:300; font-style:italic;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Regular.ttf') format('truetype');      font-weight:400; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Italic.ttf') format('truetype');       font-weight:400; font-style:italic;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Medium.ttf') format('truetype');       font-weight:500; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Medium.ttf') format('truetype'); font-weight:500; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-MediumItalic.ttf') format('truetype'); font-weight:500; font-style:italic;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-SemiBold.ttf') format('truetype');     font-weight:600; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-SemiBoldItalic.ttf') format('truetype'); font-weight:600; font-style:italic; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Bold.ttf') format('truetype');         font-weight:700; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-BoldItalic.ttf') format('truetype');   font-weight:700; font-style:italic;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-ExtraBold.ttf') format('truetype');    font-weight:800; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-ExtraBoldItalic.ttf') format('truetype'); font-weight:800; font-style:italic; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-Black.ttf') format('truetype');        font-weight:900; font-style:normal;  font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/Font/Font/Poppins/Poppins-BlackItalic.ttf') format('truetype');  font-weight:900; font-style:italic;  font-display:swap; }
:root {
  --bg:          #F9F9F8;
  --ink:         #111110;
  --body:        #3B3B3A;
  --muted:       #6B6B69;
  --border:      #D4D4D0;
  --surface:     #F2F2F0;
  --accent:      #1C6BF0;
  --accent-hover:#1558D6;
  --accent-bg:   #F0F5FF;
  --safe-bg:     #F0FAF2;
  --safe-ink:    #16A34A;
  --safe-border: #BBF7D0;
  --risk-bg:     #FEF2F2;
  --risk-ink:    #DC2626;
  --risk-border: #FECACA;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Poppins', system-ui, sans-serif;
  --font-mono:    'Poppins', 'Menlo', monospace;

  --max-w: 85%;
  --max-w-wide: 90%;
  --max-cap: 1600px; 

  --contrast-bg: #111110;
}

html[data-theme="dark"] {
  --contrast-bg: #000000;
  --bg:          #0C0C0D;
  --ink:         #F3F3F1;
  --body:        #C7C7C4;
  --muted:       #8C8C89;
  --border:      #2C2C2A;
  --surface:     #17171A;
  --accent:      #4C8DFF;
  --accent-hover:#6EA1FF;
  --accent-bg:   #101B2E;
  --safe-bg:     #10251A;
  --safe-ink:    #4ADE80;
  --safe-border: #1F4430;
  --risk-bg:     #2A1414;
  --risk-ink:    #F87171;
  --risk-border: #4A1F1F;
}

html[data-theme="dark"] .email-input,
html[data-theme="dark"] .demo-wrap,
html[data-theme="dark"] .chrome-url,
html[data-theme="dark"] .mode-btn,
html[data-theme="dark"] .otp-input,
html[data-theme="dark"] .modal-panel {
  background: var(--surface);
}
html[data-theme="dark"] nav { background: rgba(12,12,13,0.86); }
html[data-theme="dark"] .nav-drawer { background: rgba(12,12,13,0.98); }
html[data-theme="dark"] .btn-white,
html[data-theme="dark"] .otp-block--dark .otp-verify-btn,
html[data-theme="dark"] .otp-block--dark .otp-verify-btn:hover {
  background: var(--ink);
  color: var(--bg);
}
html[data-theme="dark"] .waitlist-input::placeholder { color: rgba(255,255,255,0.3); }
html[data-theme="dark"] img { filter: brightness(0.95); }
html[data-theme="dark"] .nav-cta:hover,
html[data-theme="dark"] .nav-drawer .drawer-cta:hover { background: #D8D8D4; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
  transition: background 0.2s ease, color 0.2s ease;
}

.container {
  width: 85%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.demo-container {
  width: 85%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
#demo .demo-container {
  width: 85%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--ink); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade { opacity: 0; animation: fadeIn 0.5s ease forwards; }
.fade-1 { animation-delay: 0.05s; }
.fade-2 { animation-delay: 0.12s; }
.fade-3 { animation-delay: 0.22s; }
.fade-4 { animation-delay: 0.34s; }
.fade-5 { animation-delay: 0.48s; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in { opacity: 1; transform: none; }

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249,249,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: min(var(--max-w-wide), var(--max-cap));
  margin: 0 auto;
  padding: 0 1.5rem;
  height: clamp(60px, 8vh, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  height: clamp(44px, 6.5vh, 82px);
  width: auto;
  object-fit: contain;
  display: block;
  align-self: center;
}
.nav-logo-dark { display: none; }
html[data-theme="dark"] .nav-logo-light { display: none; }
html[data-theme="dark"] .nav-logo-dark { display: block; }
.logo {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.logo span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: middle;
  margin-bottom: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s ease;
  font-family: var(--font-body);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.42rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.nav-cta:hover { background: #2A2A28; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: var(--surface); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 0 1rem;
    position: relative;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: clamp(36px, 5vh, 50px);
  }
  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links,
  .nav-actions .nav-cta {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
    gap: 0.4rem;
  }

  .nav-drawer {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(249,249,248,0.98);
    backdrop-filter: blur(14px);
    border-top: 0px solid var(--border);
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1),
                border-top-width 0.01s 0.3s;
    pointer-events: none;
  }
  .nav-drawer.open {
    max-height: 400px;
    border-top: 1px solid var(--border);
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1),
                border-top-width 0s;
    pointer-events: auto;
  }
  .nav-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
  }
  .nav-drawer ul li a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    color: var(--body);
    font-family: var(--font-body);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
  }
  .nav-drawer ul li a:hover,
  .nav-drawer ul li a:active {
    background: var(--surface);
    color: var(--ink);
  }
  .nav-drawer .drawer-cta {
    margin: 0.9rem 1.5rem 1rem;
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    background: var(--ink);
    color: var(--bg);
    border: none;
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    width: calc(100% - 3rem);
    transition: background 0.2s;
  }
  .nav-drawer .drawer-cta:hover { background: #2A2A28; }
}

#hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.hero-wordmark {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
  padding: 0.28rem 0.7rem;
  background: var(--accent-bg);
  border-radius: 4px;
  border: 1px solid #C7D9FD;
}
.hero-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
h1 em {
  font-style: italic;
  color: var(--muted);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--body);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  flex-wrap: wrap;
}
.email-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.email-input::placeholder { color: var(--muted); }
.email-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(28,107,240,0.1);
}
.btn {
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }

.hero-microcopy {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}
section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 100%;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  max-width: 100%;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 100%;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

#how { }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}
.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 0.15rem;
  font-weight: 500;
}
.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.step-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

#demo { background: var(--bg); }

.demo-wrap {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  width: 100%;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.chrome-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.chrome-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.7rem;
  margin: 0 0.5rem;
}

.demo-panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  min-height: 280px;
}
@media (max-width: 640px) {
  .demo-panels { grid-template-columns: 1fr; }
  .demo-divider {
    flex-direction: row;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    min-width: unset;
    min-height: 44px;
    padding: 0.4rem 1.5rem;
  }
  .arrow-wrap {
    flex-direction: row;
    gap: 0.6rem;
  }
  .arrow-icon {
    transform: rotate(90deg);
  }
  .arrow-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

.demo-panel {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-panel-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.label-before { color: var(--risk-ink); }
.label-after  { color: var(--safe-ink); }
.label-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
}
.dot-risk { background: var(--risk-ink); }
.dot-safe { background: var(--safe-ink); }

.demo-text-block {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  flex: 1;
}
.block-before {
  background: var(--risk-bg);
  border: 1px solid var(--risk-border);
}
.block-after {
  background: var(--safe-bg);
  border: 1px solid var(--safe-border);
}

.pii {
  background: #FECACA;
  color: var(--risk-ink);
  border-radius: 3px;
  padding: 0 4px;
  text-decoration: underline;
  text-decoration-color: #F87171;
  text-decoration-style: wavy;
  font-weight: 500;
}
.masked {
  background: #BBF7D0;
  color: var(--safe-ink);
  border-radius: 3px;
  padding: 0 4px;
  font-weight: 500;
}
.demo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-width: 52px;
}
.arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.arrow-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid #C7D9FD;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
}
.arrow-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.demo-bar {
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.detected-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.pill-pii {
  background: var(--risk-bg);
  color: var(--risk-ink);
  border: 1px solid var(--risk-border);
}
.pill-ok {
  background: var(--safe-bg);
  color: var(--safe-ink);
  border: 1px solid var(--safe-border);
}
.demo-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--safe-ink);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--safe-ink);
}

.demo-controls {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.controls-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.mode-btns {
  display: flex;
  gap: 0.35rem;
}
.mode-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.mode-btn.active {
  background: var(--accent-bg);
  border-color: #C7D9FD;
  color: var(--accent);
}
.mode-btn:hover:not(.active) { border-color: #ABABAA; color: var(--ink); }

.demo-input-row {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.demo-textarea {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  resize: none;
  height: 72px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.demo-textarea:focus { border-color: var(--accent); }
.demo-textarea::placeholder { color: var(--muted); }
.scan-btn {
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  height: fit-content;
}
.scan-btn:hover { background: #2A2A28; }
#features { }

.features-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}
.feature-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.feature-row:last-child { border-bottom: 1px solid var(--border); }
@media (max-width: 560px) {
  .feature-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
.feature-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  padding-top: 0.05rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}
.feature-tag {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.15rem 0.5rem;
  background: var(--surface);
  border-radius: 3px;
  color: var(--muted);
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}

#faq { }

.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--ink); }
.faq-a {
  display: none;
  padding-bottom: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}
.faq-item.open .faq-a { display: block; }

#waitlist {
  background: var(--contrast-bg);
  border-bottom: none;
}
#waitlist .section-eyebrow { color: rgba(255,255,255,0.35); }
#waitlist h2 { color: #fff; }
#waitlist .section-sub { color: rgba(255,255,255,0.5); }

.waitlist-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 400px;
}
.waitlist-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.3); }
.waitlist-input:focus {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.btn-white {
  padding: 0.65rem 1.25rem;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-white:hover { opacity: 0.9; }
.waitlist-note {
  margin-top: 0.75rem;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.85rem;
  max-width: 420px;
  text-align: left;
}
.consent-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-row label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent-row label a {
  text-decoration: underline;
  color: var(--muted);
}
.consent-row label a:hover { color: var(--ink); }
#waitlist .consent-row label,
#waitlist .consent-row label a {
  color: rgba(255,255,255,0.55);
}
#waitlist .consent-row label a:hover { color: #fff; }
.consent-fineprint {
  font-size: 0.71rem;
  color: var(--muted);
  max-width: 420px;
  margin-top: 0.5rem;
  line-height: 1.5;
}
#waitlist .consent-fineprint { color: rgba(255,255,255,0.3); }
.consent-error {
  font-size: 0.78rem;
  color: var(--risk-ink);
  margin-top: 0.4rem;
  display: none;
}
.consent-error.show { display: block; }

.waitlist-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.perk {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}
.perk::before {
  content: '✓';
  color: #6EE7B7;
  font-size: 0.7rem;
}

footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.footer-logo-dark { display: none; }
html[data-theme="dark"] .footer-logo-light { display: none; }
html[data-theme="dark"] .footer-logo-dark { display: block; }
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.hidden {
  display: none;
}

.signup-feedback {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: none;
  width: fit-content;
  transition: all 0.3s ease;
  max-width: 400px;
}

.signup-feedback.success {
  background: var(--safe-bg);
  color: var(--safe-ink);
  border: 1px solid var(--safe-border);
}

.signup-feedback.error {
  background: var(--risk-bg);
  color: var(--risk-ink);
  border: 1px solid var(--risk-border);
}

.signup-feedback.info {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
}

.otp-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
  animation: fadeIn 0.3s ease forwards;
  max-width: 400px;
}
.otp-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.otp-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}
.otp-input {
  width: 160px;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(28,107,240,0.1);
}
.otp-input::placeholder { color: var(--muted); letter-spacing: 0.1em; }
.otp-verify-btn {
  padding: 0.62rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.otp-verify-btn:hover { background: var(--accent-hover); }
.otp-hint {
  font-size: 0.73rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.otp-block--dark .otp-label { color: rgba(255,255,255,0.35); }
.otp-block--dark .otp-input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.otp-block--dark .otp-input:focus {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.otp-block--dark .otp-input::placeholder { color: rgba(255,255,255,0.3); }
.otp-block--dark .otp-verify-btn {
  background: #fff;
  color: var(--ink);
}
.otp-block--dark .otp-verify-btn:hover { opacity: 0.9; background: #fff; }
.otp-block--dark .otp-hint { color: rgba(255,255,255,0.3); }

/* Legal modal (Terms & Conditions / Privacy Policy) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.modal-overlay.open { display: flex; }
.modal-panel {
  background: var(--bg);
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0.3rem;
  border-radius: 6px;
  display: flex;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--surface); color: var(--ink); }
.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--body);
}
.modal-body h4 {
  font-size: 0.92rem;
  color: var(--ink);
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 0.7rem; }
.modal-body ul { margin: 0.4rem 0 0.9rem 1.2rem; }
.modal-body li { margin-bottom: 0.35rem; }
.modal-meta {
  font-size: 0.76rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-panel { max-height: 90vh; border-radius: 14px 14px 0 0; }
}