/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* TOKENS */
:root {
  --black:  #080808;
  --ink:    #111111;
  --paper:  #f5f3ee;
  --cream:  #ede9e0;
  --rule:   #ccc9be;
  --muted:  #888074;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --mono:   'DM Mono', monospace;
}

/* BASE */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* DOODLE BG */
#doodle-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  will-change: transform;
}

/* LAYOUT */
.site { position: relative; z-index: 1; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 900px) { .wrap { padding: 0 24px; } }
@media (max-width: 400px) { .wrap { padding: 0 16px; } }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 58px;
  background: rgba(245,243,238,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) { .nav-inner { padding: 0 24px; } }

.nav-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.nav-logo em { font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-dl {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-dl::after { display: none !important; }
.nav-dl:hover { opacity: 0.8; }

@media (max-width: 768px) { .nav-links { display: none; } }

/* HERO */
.hero {
  padding: 140px 0 100px;
  border-bottom: 1px solid var(--rule);
}

.hero > .wrap {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 240px);
}

@media (max-width: 1000px) {
  .hero { padding: 110px 0 80px; }
  .hero > .wrap { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { display: none; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-hed {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(52px, 7.5vw, 112px);
  line-height: 0.93;
  letter-spacing: -3px;
  color: var(--ink);
  margin-bottom: 32px;
}

.hero-hed .line {
  display: block;
  overflow: hidden;
}

.hero-hed .line-inner {
  display: block;
  transform: translateY(110%);
  animation: lineReveal 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-hed .line:nth-child(1) .line-inner { animation-delay: 0.2s; }
.hero-hed .line:nth-child(2) .line-inner { animation-delay: 0.35s; }
.hero-hed .line:nth-child(3) .line-inner { animation-delay: 0.5s; }

@keyframes lineReveal {
  to { transform: translateY(0); }
}

.hero-hed em { font-style: italic; font-weight: 400; }

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

.hero-downloads {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.18s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-dl::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  z-index: 0;
}

.btn-dl:hover::before { transform: translateX(0); }
.btn-dl:hover { color: var(--ink); }
.btn-dl > * { position: relative; z-index: 1; }

.btn-dl.outline {
  background: transparent;
  color: var(--ink);
}

.btn-dl.outline::before { background: var(--ink); }
.btn-dl.outline:hover { color: var(--paper); }

.hero-fine {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeUp 0.7s 0.95s forwards;
  margin-top: 20px;
}

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

/* Floating mockup */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.mockup-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(0.5deg); }
}

.mockup {
  background: var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.12),
    0 32px 64px rgba(0,0,0,0.22);
  border: 1px solid #1e1e1e;
}

.mockup-bar {
  background: #161616;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #222;
}

.m-dot { width: 10px; height: 10px; border-radius: 50%; }
.m-dot:nth-child(1) { background: #ff5f56; }
.m-dot:nth-child(2) { background: #febc2e; }
.m-dot:nth-child(3) { background: #28c840; }

.mockup-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: #28c840;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #28c840;
  animation: pulse 1.8s ease-in-out infinite;
}

.mockup-body { padding: 20px 22px 24px; }

.mockup-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.mockup-question {
  font-size: 13px;
  color: #777;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #222;
}

.mockup-answer-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: #444;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mockup-answer {
  font-size: 13px;
  color: #ddd;
  line-height: 1.7;
  min-height: 80px;
}

.cursor {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: #fff;
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* MARQUEE */
.marquee-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  overflow: hidden;
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  white-space: nowrap;
}

.marquee-item span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.6);
}

.marquee-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(245,243,238,0.25);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* STATS */
.stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  padding: 0 48px 0 0;
  border-right: 1px solid var(--rule);
  margin-right: 48px;
}

.stat:last-child { border-right: none; margin-right: 0; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat { border-right: none; margin-right: 0; padding: 0; border-bottom: 1px solid var(--rule); padding-bottom: 40px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
}

/* SECTION UTIL */
.section-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* QUICK START */
.quickstart {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}

.step-icon {
  color: var(--ink);
  line-height: 0;
  margin-bottom: 14px;
}

.disclaimer-band {
  margin-top: 64px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.disclaimer-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-right: 48px;
  border-right: 1px solid var(--rule);
  margin-right: 48px;
}

.disclaimer-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.disclaimer-icon {
  flex-shrink: 0;
  color: var(--ink);
  margin-top: 2px;
  line-height: 0;
}

.disclaimer-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.disclaimer-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .disclaimer-band { grid-template-columns: 1fr; gap: 40px; }
  .disclaimer-item { border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 40px; }
  .disclaimer-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* HOW IT WORKS + SETUP shared styles */
.how, .setup {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.how-header {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .how-header { grid-template-columns: 1fr; gap: 24px; }
}

.how-hed {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -2px;
  color: var(--ink);
}

.how-hed em { font-style: italic; font-weight: 400; }

.how-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 40px 40px 40px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}

.step:last-child { border-right: none; }

@media (max-width: 900px) {
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3) { border-right: 1px solid var(--rule); }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--rule); }
}

.step-n {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -3px;
  margin-bottom: -8px;
  user-select: none;
}

.step-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.step-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.step-key {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 4px 9px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* FEATURES */
.features {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
}

.feature {
  padding: 44px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s;
}

.feature:hover { background: var(--cream); }

.feature:nth-child(3n) { border-right: none; }
.feature:nth-child(4),
.feature:nth-child(5),
.feature:nth-child(6) { border-bottom: none; }

.feature-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.feature-icon {
  margin-bottom: 16px;
  line-height: 0;
  color: var(--ink);
}

.feature-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.feature-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n) { border-right: 1px solid var(--rule); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:nth-child(4), .feature:nth-child(5), .feature:nth-child(6) { border-bottom: 1px solid var(--rule); }
  .feature:nth-child(5), .feature:nth-child(6) { border-bottom: none; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .feature:last-child { border-bottom: none !important; }
}

/* PULL QUOTE */
.pullquote {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

.pullquote-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) { .pullquote-inner { grid-template-columns: 1fr; } }

.pullquote-mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.7;
  color: var(--cream);
  user-select: none;
  font-weight: 900;
}

.pullquote-content { padding-top: 8px; }

.pullquote-text {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.pullquote-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pullquote-rule {
  width: 32px; height: 1px;
  background: var(--ink);
  flex-shrink: 0;
}

.pullquote-who {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.pullquote-stars {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--ink);
  margin-bottom: 16px;
}

/* PRICING */
.pricing {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.pricing-header {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) { .pricing-header { grid-template-columns: 1fr; } }

.pricing-hed {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.96;
  color: var(--ink);
}

.pricing-hed em { font-style: italic; font-weight: 400; }

.pricing-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
}

@media (max-width: 800px) { .pricing-cards { grid-template-columns: 1fr; } }

.pricing-card {
  padding: 56px 44px;
  position: relative;
}

.pricing-card + .pricing-card {
  border-left: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 800px) {
  .pricing-card + .pricing-card { border-left: none; border-top: 1.5px solid var(--ink); }
}

@media (max-width: 900px) { .pricing-card { padding: 40px 32px; } }

.pricing-plan {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.pricing-card + .pricing-card .pricing-plan { color: #666; }

.pricing-badge {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
  margin-left: 10px;
  vertical-align: middle;
}

.pricing-amount {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.pricing-card + .pricing-card .pricing-period { color: #777; }

.pricing-list {
  list-style: none;
  margin-bottom: 48px;
}

.pricing-list li {
  font-size: 14px;
  color: var(--muted);
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-card + .pricing-card .pricing-list li {
  color: #999;
  border-color: #222;
}

.pricing-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  flex-shrink: 0;
}

.pricing-card + .pricing-card .pricing-list li::before { background: var(--paper); }

.btn-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-price:hover { background: var(--ink); color: var(--paper); }

.pricing-card + .pricing-card .btn-price {
  border-color: var(--paper);
  color: var(--paper);
}

.pricing-card + .pricing-card .btn-price:hover {
  background: var(--paper);
  color: var(--ink);
}

/* FAQ */
.faq {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 100px;
  align-items: start;
}

@media (max-width: 900px) { .faq-inner { grid-template-columns: 1fr; gap: 48px; } }

.faq-hed {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--ink);
  position: sticky;
  top: 80px;
}

.faq-hed em { font-style: italic; font-weight: 400; }

.faq-list { flex: 1; }

.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  text-align: left;
}

.faq-q-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.faq-icon {
  width: 22px; height: 22px;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* FINAL CTA */
.final-cta {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}

.final-cta .wrap { position: relative; }

.cta-deco {
  font-family: var(--serif);
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  line-height: 0.85;
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  letter-spacing: -6px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.4);
  margin-bottom: 24px;
}

.cta-hed {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -2.5px;
  color: var(--paper);
  margin-bottom: 48px;
}

.cta-hed em { font-style: italic; font-weight: 400; }

.cta-downloads {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-dl-inv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}

.btn-dl-inv.solid {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--paper);
}

.btn-dl-inv.solid:hover { background: transparent; color: var(--paper); }

.btn-dl-inv.ghost {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(245,243,238,0.3);
}

.btn-dl-inv.ghost:hover { border-color: var(--paper); }

/* FOOTER */
footer {
  padding: 44px 0;
  background: var(--ink);
  border-top: 1px solid #1e1e1e;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 18px;
  color: var(--paper);
}

.footer-logo em { font-style: italic; font-weight: 400; }

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245,243,238,0.35);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245,243,238,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--paper); }

/* DOWNLOAD MODAL */
.dl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.dl-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.dl-modal {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 48px 52px;
  width: 480px;
  max-width: 100%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
}

.dl-overlay.visible .dl-modal {
  transform: translateY(0) scale(1);
}

.dl-modal-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.dl-modal-hed {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 8px;
}

.dl-modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.5;
}

.dl-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.dl-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--paper);
}

.dl-option:hover { border-color: var(--ink); background: var(--cream); }

.dl-option-icon { flex-shrink: 0; line-height: 0; color: var(--ink); }

.dl-option-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.dl-option-sub {
  font-size: 12px;
  color: var(--muted);
}

.dl-option-arrow {
  margin-left: auto;
  color: var(--muted);
  line-height: 0;
  transition: transform 0.2s;
}

.dl-option:hover .dl-option-arrow { transform: translateX(4px); }

.dl-close {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-close:hover { color: var(--ink); }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 201;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.2s;
  transform-origin: center;
}

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

@media (max-width: 768px) { .nav-hamburger { display: flex; } }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 58px; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 190;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-link {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -1px;
  line-height: 1;
  transition: opacity 0.2s;
}

.mobile-link:first-child { border-top: 1px solid var(--rule); }
.mobile-link:active { opacity: 0.4; }

/* MOBILE OVERRIDES */
@media (max-width: 640px) {
  .how, .setup, .quickstart, .features, .pullquote, .pricing, .faq { padding: 64px 0; }
  .stats { padding: 56px 0; }
  .final-cta { padding: 80px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 96px 0 64px; }
  .hero-hed { letter-spacing: -1.5px; }
  .hero-downloads { flex-direction: column; align-items: stretch; }
  .hero-downloads .btn-dl { justify-content: center; }
}

@media (max-width: 480px) {
  .stat-num { font-size: 48px; letter-spacing: -1px; }
}

@media (max-width: 640px) {
  .step-n { font-size: 52px; letter-spacing: -2px; }
  .step { padding: 28px 0; }
}

@media (max-width: 480px) {
  .how-hed { letter-spacing: -1.5px; }
}

@media (max-width: 640px) {
  .pullquote-mark { font-size: 72px; }
  .pullquote-text { font-size: clamp(22px, 5.5vw, 36px); }
}

@media (max-width: 480px) {
  .pricing-card { padding: 36px 24px; }
  .pricing-amount { font-size: clamp(40px, 12vw, 64px); letter-spacing: -1.5px; }
  .pricing-badge { display: inline-block; margin-left: 8px; }
}

@media (max-width: 768px) {
  .cta-deco { display: none; }
}

@media (max-width: 480px) {
  .cta-hed { letter-spacing: -1.5px; }
  .cta-downloads { flex-direction: column; align-items: stretch; }
  .btn-dl-inv { justify-content: center; }
  .final-cta { padding: 72px 0; }
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .dl-modal { padding: 36px 24px; }
  .dl-modal-hed { font-size: 24px; }
}

@media (max-width: 480px) {
  .marquee-item span { letter-spacing: 0.12em; font-size: 10px; }
}

@media (max-width: 768px) {
  .btn-dl, .btn-dl-inv, .btn-price, .faq-q { min-height: 44px; }
  .dl-option { min-height: 64px; }
}

/* SCROLL REVEAL */
.sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.sr.in { opacity: 1; transform: translateY(0); }

.sr-d1 { transition-delay: 0.08s; }
.sr-d2 { transition-delay: 0.16s; }
.sr-d3 { transition-delay: 0.24s; }
.sr-d4 { transition-delay: 0.32s; }
