/* =========================================================
   MD2DRAFT landing page
   Editorial / print-inspired. No external fonts or images.
   ========================================================= */

:root {
  --paper: #f3efe3;
  --paper-deep: #e7e0cc;
  --paper-light: #fffdf7;
  --ink: #141414;
  --ink-soft: #2b2a26;
  --muted: #625d51;
  --line: #141414;
  --blue: #1f4dff;
  --blue-deep: #1639c4;
  --lime: #d9ff57;
  --orange: #ff5a36;
  --font-display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong",
    "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei",
    "Helvetica Neue", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-blue: 6px 6px 0 var(--blue);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-layout: 500ms;
  --dur-color: 300ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(20, 20, 20, 0.4) 0.55px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
.tagline-text {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  hyphens: none;
}

ul,
ol {
  padding: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper-light);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--dur-layout) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--ink);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur-color) var(--ease), color var(--dur-color) var(--ease);
}

.nav a:hover {
  border-bottom-color: var(--ink);
}

.nav a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.btn-header {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 10px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform var(--dur-color) var(--ease), opacity var(--dur-color) var(--ease);
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform var(--dur-layout) var(--ease),
    box-shadow var(--dur-layout) var(--ease),
    background var(--dur-color) var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:active {
  transform: translate(3px, 3px) scale(0.98);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper-light);
  box-shadow: 4px 4px 0 var(--blue);
}

.btn-primary:hover {
  box-shadow: 2px 2px 0 var(--blue);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--paper-light);
  transform: translate(0, 0);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-outline-light {
  background: transparent;
  color: var(--paper-light);
  border-color: var(--paper-light);
  box-shadow: 4px 4px 0 var(--paper-light);
}

.btn-outline-light:hover {
  box-shadow: 2px 2px 0 var(--paper-light);
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

/* ---------------- Hero ---------------- */

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 28px 90px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.18);
}

.kicker {
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 8px;
  background: var(--orange);
}

.kicker.light {
  color: var(--lime);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 20px 0 24px;
}

.hero h1 .h1-grad {
  background: linear-gradient(90deg, #000000 0%, #666666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  color: var(--blue);
  z-index: 0;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.08em;
  height: 0.2em;
  background: var(--lime);
  z-index: -1;
  transform: rotate(-1deg);
}

.lede {
  max-width: 680px;
  font-size: 18px;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-facts strong {
  font-size: 14px;
  font-weight: 700;
}

.hero-facts span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------- Hero proof mock ---------------- */

.hero-visual {
  position: relative;
  min-height: 560px;
}

.proof {
  position: relative;
  min-height: 560px;
}

.proof-label {
  position: absolute;
  top: -6px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.panel-card {
  --rot: -2deg;
  position: relative;
  z-index: 2;
  width: 358px;
  max-width: 100%;
  padding: 16px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transform: rotate(var(--rot));
  animation: card-in 700ms var(--ease) both;
}

.panel-card::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 34px;
  width: 90px;
  height: 24px;
  background: var(--lime);
  border: 1px solid rgba(20, 20, 20, 0.25);
  transform: rotate(-2deg);
  opacity: 0.9;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-tag {
  margin-left: auto;
  padding: 2px 7px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.md-box {
  margin: 13px 0;
  padding: 12px;
  background: var(--paper);
  border: 1px dashed rgba(20, 20, 20, 0.3);
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.65;
}

.md-box p + p {
  margin-top: 3px;
}

.md-h {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.md-b {
  background: var(--lime);
  padding: 0 2px;
  font-weight: 700;
}

.seg-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seg-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: var(--paper-light);
  border: 1px solid rgba(20, 20, 20, 0.22);
  border-radius: 6px;
  font-size: 10px;
}

.seg-row:nth-child(2) {
  border-color: var(--blue);
  box-shadow: 2px 2px 0 rgba(31, 77, 255, 0.18);
}

.seg-no {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--blue);
}

.seg-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.seg-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.inject-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.inject-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22a06b;
}

.fake-btn {
  margin-left: auto;
  padding: 7px 12px;
  background: var(--ink);
  color: var(--paper-light);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.composer-card {
  --rot: 2deg;
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 6px;
  width: 318px;
  max-width: 92%;
  padding: 16px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  border-left: 9px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-blue);
  transform: rotate(var(--rot));
  animation: card-in 700ms var(--ease) 100ms both;
}

.composer-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
}

.composer-badge {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(20, 20, 20, 0.35);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.composer-text {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.6;
}

.composer-text.muted {
  color: var(--muted);
}

.composer-strong {
  background: var(--lime);
  font-weight: 700;
  padding: 0 2px;
}

.composer-rule {
  height: 1px;
  margin: 11px 0;
  background: rgba(20, 20, 20, 0.14);
}

.composer-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.pill {
  padding: 2px 7px;
  background: var(--lime);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
}

.stamp {
  position: absolute;
  right: 6px;
  top: 4px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(11deg);
  opacity: 0.86;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(var(--rot, 0deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
}

@keyframes nav-link-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- Ticker ---------------- */

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-dot {
  color: var(--orange);
  font-size: 8px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- Section shell ---------------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 28px;
  border-top: 2px solid var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.section-desc {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  padding-bottom: 4px;
}

/* ---------------- Tagline ---------------- */

.tagline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px 88px;
  border-top: 2px solid var(--ink);
}

.tagline-text {
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.tagline-text .tw {
  display: inline-block;
  opacity: 0.3;
  transition: opacity 400ms var(--ease);
}

.tagline-text .tw.is-lit {
  opacity: 1;
}

/* ---------------- Scroll reveal ---------------- */

.reveal {
  opacity: 0;
  translate: 0 32px;
  transition:
    opacity 700ms var(--ease),
    translate 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  translate: none;
}

/* ---------------- Why ---------------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.problem {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.big-num {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--paper-deep);
  -webkit-text-stroke: 1px var(--ink);
  margin-bottom: 16px;
}

.problem h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.problem p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------------- How ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
}

.step:nth-child(2) {
  transform: translateY(16px);
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------------- Features ---------------- */

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

.feature-card {
  grid-column: span 3;
  padding: 26px 24px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
}

.feature-card.wide {
  grid-column: span 7;
}

.feature-card.dark {
  grid-column: span 5;
  background: var(--ink);
  color: var(--paper-light);
  box-shadow: 4px 4px 0 var(--blue);
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.feature-no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.feature-tag {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--paper);
  border: 1px solid rgba(20, 20, 20, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.feature-tag.light {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.feature-card.dark p {
  color: rgba(255, 253, 247, 0.72);
}

.code-sample {
  margin-top: 20px;
  padding: 16px;
  background: var(--paper);
  border: 1px dashed rgba(20, 20, 20, 0.32);
  border-radius: 8px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.mini-meter {
  height: 8px;
  margin-top: 22px;
  background: rgba(255, 253, 247, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--lime);
  border-radius: 999px;
}

.mini-note {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ---------------- Pricing ---------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 22px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.free-card {
  background: var(--paper-deep);
  box-shadow: var(--shadow-hard);
}

.pro-card {
  background: var(--blue);
  color: var(--paper-light);
  box-shadow: 6px 6px 0 var(--ink);
}

.price-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.price-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-badge {
  margin-left: auto;
  padding: 4px 9px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.price-badge.dark {
  background: var(--ink);
  color: var(--paper-light);
}

.price-value {
  font-family: var(--font-display);
  font-size: 62px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-value span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.7;
}

.price-value-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.price-alt {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.82;
  padding-bottom: 6px;
}

.price-alt em {
  font-style: normal;
  color: var(--lime);
  font-weight: 700;
}

.price-sub {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.78;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.price-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.price-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  display: inline-grid;
  place-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.pro-card .price-list li::before {
  background: var(--lime);
  border-color: var(--lime);
}

.price-card .btn {
  margin-top: auto;
}

.price-foot {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  opacity: 0.7;
  text-align: center;
}

.compare-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

.compare thead th {
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.compare tbody th {
  font-weight: 600;
}

.compare tbody td {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  width: 22%;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr:nth-child(even) {
  background: rgba(231, 224, 204, 0.36);
}

.pricing-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------- FAQ ---------------- */

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid rgba(20, 20, 20, 0.3);
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1;
  transition: transform var(--dur-color) var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 800px;
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 15px;
}

.faq-list details a {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* ---------------- CTA band ---------------- */

.cta-band {
  max-width: var(--max);
  margin: 0 auto 90px;
  padding: 0 28px;
}

.cta-band-inner {
  padding: 60px 54px;
  background: var(--ink);
  color: var(--paper-light);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--blue);
  background-image: radial-gradient(rgba(217, 255, 87, 0.22) 0.7px, transparent 0.8px);
  background-size: 9px 9px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 28px;
  max-width: 760px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 2px solid var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.9fr 1.1fr;
  gap: 36px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 28px 40px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--muted);
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col p {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px 28px;
  border-top: 1px solid rgba(20, 20, 20, 0.2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------------- Legal pages ---------------- */

.legal-page {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 28px 90px;
}

.legal-head {
  padding-bottom: 26px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}

.legal-head h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  margin: 34px 0 12px;
}

.legal-page h3 {
  font-size: 16px;
  margin: 22px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-page ul,
.legal-page ol {
  margin: 12px 0;
  padding-left: 22px;
}

.legal-page li + li {
  margin-top: 7px;
}

.legal-page a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 22px 0;
  padding: 16px 18px;
  background: var(--paper-deep);
  border-left: 7px solid var(--blue);
  font-size: 14px;
  color: var(--ink-soft);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
}

.legal-nav a {
  padding: 8px 12px;
  background: var(--paper-light);
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 12px;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--lime);
}

/* ---------------- 404 ---------------- */

.notfound-head {
  padding-bottom: 30px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 30px;
}

.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(88px, 16vw, 168px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin: 14px 0 6px;
}

.notfound-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 54px;
  }

  .hero-visual,
  .proof {
    min-height: 500px;
  }

  .panel-card {
    width: 420px;
  }

  .composer-card {
    width: 360px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .step:nth-child(2) {
    transform: none;
  }

  .feature-card,
  .feature-card.wide,
  .feature-card.dark {
    grid-column: span 6;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
    margin-left: auto;
  }

  .brand {
    position: relative;
    z-index: 2;
  }

  .btn-header {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-open .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    height: 100vh;
    padding: 96px 24px 48px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

  .nav-open .nav a {
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 28px;
    border-bottom: 1px solid rgba(20, 20, 20, 0.15);
    opacity: 0;
    transform: translateY(16px);
    animation: nav-link-in var(--dur-layout) var(--ease) forwards;
  }

  .nav-open .nav a:nth-child(1) {
    animation-delay: 0ms;
  }

  .nav-open .nav a:nth-child(2) {
    animation-delay: 60ms;
  }

  .nav-open .nav a:nth-child(3) {
    animation-delay: 120ms;
  }

  .nav-open .nav a:nth-child(4) {
    animation-delay: 180ms;
  }

  .nav-open .nav a:nth-child(5) {
    animation-delay: 240ms;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 42px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(36px, 9.8vw, 54px);
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-facts li {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .hero-visual,
  .proof {
    min-height: 610px;
  }

  .panel-card {
    width: 100%;
    transform: rotate(-1.4deg);
  }

  .composer-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 94%;
    margin: -26px 0 0 auto;
    transform: rotate(1.4deg);
  }

  .stamp {
    width: 68px;
    height: 68px;
    font-size: 7.5px;
    right: 0;
    top: -10px;
  }

  .section {
    padding: 64px 20px;
  }

  .tagline {
    padding: 64px 20px;
  }

  .feature-card,
  .feature-card.wide,
  .feature-card.dark {
    grid-column: span 12;
  }

  .cta-band {
    padding: 0 20px;
    margin-bottom: 64px;
  }

  .cta-band-inner {
    padding: 40px 26px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 20px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px 26px;
  }

  .legal-page {
    padding: 44px 20px 70px;
  }
}

@media (max-width: 460px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .btn-sm,
  .nav-toggle {
    width: auto;
  }

  .price-value {
    font-size: 54px;
  }

  .hero-visual,
  .proof {
    min-height: 580px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    translate: none;
  }

  .tagline-text .tw {
    opacity: 1;
  }
}
