:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --ink: #16150f;
  --ink-2: #2b2a23;
  --muted: #6b675e;
  --line: #e2ddd3;
  --accent: #e2562b;
  --accent-ink: #b8401b;
  --deep: #17201b;
  --deep-2: #212c26;
  --good: #2f7a4f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 21, 15, .06), 0 12px 40px -12px rgba(22, 21, 15, .22);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Type */
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); line-height: 1.02; }
h1 { font-size: clamp(3rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 36rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.12rem; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink); position: relative; overflow: hidden;
}
.logo-mark::before { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 4px; border-radius: 2px; background: var(--accent); }
.logo-mark::after { content: ""; position: absolute; left: 6px; width: 11px; top: 14px; bottom: 7px; border-radius: 2px; background: var(--paper); }
.nav-links { display: flex; gap: 2rem; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin: 1.2rem 0 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-note { margin-top: 1.4rem; font-size: .9rem; color: var(--muted); display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: .4rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Browser mockup */
.mock { position: relative; }
.browser {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow), 0 40px 80px -40px rgba(22, 21, 15, .35);
  overflow: hidden; border: 1px solid var(--line); transform: rotate(1.2deg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f3f1ec; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4ca; }
.browser-url { margin-left: 10px; flex: 1; background: #fff; border-radius: 7px; font-size: .72rem; color: var(--muted); padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site { font-size: 11px; }
.site-hero { background: linear-gradient(160deg, #1d2b3a 0%, #2c4257 60%, #c86a3c 140%); color: #fff; padding: 18px 20px 26px; position: relative; overflow: hidden; }
.site-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.site-top b { background: var(--accent); padding: 5px 9px; border-radius: 6px; font-size: 10px; }
.site-hero h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; margin: 26px 0 8px; max-width: 70%; }
.site-hero p { opacity: .8; margin: 0 0 14px; max-width: 60%; }
.site-rating { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 5px 9px; border-radius: 99px; }
.site-roof { position: absolute; right: -10px; bottom: -4px; width: 46%; opacity: .9; }
.site-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 20px 18px; }
.site-card { border: 1px solid var(--line); border-radius: 8px; padding: 9px; }
.site-card i { display: block; width: 18px; height: 18px; border-radius: 5px; background: #fbe3d9; margin-bottom: 6px; }
.site-card span { display: block; height: 5px; border-radius: 3px; background: #ebe7df; margin-top: 4px; }
.site-card span:nth-child(3) { width: 70%; }
.chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem;
  box-shadow: var(--shadow); font-size: .82rem; line-height: 1.25; display: flex; align-items: center; gap: .65rem;
  animation: float 6s ease-in-out infinite;
}
.chip strong { display: block; font-size: 1.05rem; }
.chip small { color: var(--muted); }
.chip-score { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--good); border: 3px solid var(--good); font-size: .85rem; }
.chip-1 { left: -26px; bottom: 26%; }
.chip-2 { right: -18px; top: -22px; animation-delay: -2s; }
.chip-3 { right: 10%; bottom: -26px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .chip-1 { left: 4px; } .chip-2 { right: 4px; } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } html { scroll-behavior: auto; } }

/* Trust strip */
.strip { border-block: 1px solid var(--line); padding: 1.4rem 0; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-item { display: flex; gap: .7rem; align-items: baseline; }
.strip-item b { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.strip-item span { color: var(--muted); font-size: .9rem; line-height: 1.3; }
@media (max-width: 760px) { .strip-inner { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; } }

/* Sections */
section.block { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head p { color: var(--muted); max-width: 30rem; justify-self: end; margin: 0; }
.head h2 { margin-top: .9rem; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } .head p { justify-self: start; } }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.compare-card { border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--line); }
.compare-card.old { background: var(--paper-2); color: var(--muted); }
.compare-card.new { background: var(--deep); color: #eef0ea; border-color: var(--deep); }
.compare-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.compare-card li { display: flex; gap: .8rem; font-size: 1.05rem; }
.old li::before { content: "—"; color: #b3ada2; }
.new li::before { content: "✓"; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 1.6rem;
}
.step p { color: var(--muted); margin: .6rem 0 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 1.8rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature svg { width: 26px; height: 26px; stroke: var(--accent); margin-bottom: 1.2rem; }
.feature p { color: var(--muted); margin: .45rem 0 0; font-size: .95rem; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--deep); color: #eef0ea; }
.pricing .eyebrow, .pricing .head p { color: #a9b2ab; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 940px; }
.plan { background: var(--deep-2); border: 1px solid #334039; border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.plan.featured { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan-tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 99px; background: var(--accent); color: #fff; margin-bottom: 1.2rem; }
.plan-tag.soft { background: #334039; color: #cfd6d0; }
.price { display: flex; align-items: baseline; gap: .6rem; margin: .8rem 0 .2rem; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 4rem; line-height: 1; }
.price s { color: var(--muted); font-size: 1.3rem; }
.price-sub { color: var(--muted); font-size: .95rem; }
.pricing .plan:not(.featured) .price-sub { color: #a9b2ab; }
.plan ul { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: .7rem; font-size: .98rem; }
.plan li { display: flex; gap: .7rem; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan:not(.featured) .btn-ghost { border-color: #46544b; color: #eef0ea; }
.plan:not(.featured) .btn-ghost:hover { background: #2b3831; }
.guarantee { margin-top: 2.4rem; max-width: 940px; display: flex; gap: 1.2rem; align-items: center; padding: 1.4rem 1.6rem; border: 1px dashed #46544b; border-radius: var(--radius); color: #cfd6d0; }
.guarantee b { color: #fff; }
.seal { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: var(--accent); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Request form */
.request { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
.form input, .form select {
  font: inherit; font-weight: 400; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink);
}
.form input:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form small { color: var(--muted); font-weight: 400; }
@media (max-width: 860px) { .request { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.15rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.8rem; line-height: .8; color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 680px; }

/* CTA + footer */
.cta { text-align: center; padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.cta h2 { max-width: 14ch; margin: 1rem auto 1.6rem; }
.cta .lede { margin: 0 auto 2.2rem; }
footer { background: var(--ink); color: #b9b5ab; font-size: .88rem; padding: 3rem 0 2.4rem; }
.foot { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer .logo { color: var(--paper); margin-bottom: .8rem; }
footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Legal pages */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin: .8rem 0 .6rem; }
.legal .updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; margin: 2.4rem 0 .6rem; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .table-wrap { overflow-x: auto; }
