:root {
  --ink: #0f1b2d;
  --ink-2: #33415c;
  --muted: #5b6577;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e4e1d8;
  --teal: #0f766e;
  --teal-soft: #e6f4f2;
  --sun: #ffd166;
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--teal); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid #b45309; outline-offset: 3px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; color: var(--sun); font-family: var(--serif); font-size: 18px; }
.logo small { font-weight: 500; color: var(--muted); }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav ul a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 860px) { .nav ul { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 16px; cursor: pointer; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #1d2e49; }
.btn.line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.line:hover { background: #fff; }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 5px 10px; border-radius: 99px; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.1; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); margin: 16px 0 16px; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--sun) 58%); color: inherit; padding: 0 2px; }
.hero p.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 34em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--ink-2); }
.ticks li::before { content: "\2713"; color: var(--teal); font-weight: 800; margin-right: 10px; }

.demo-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px rgba(15, 27, 45, .12); overflow: hidden; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f6f4ee; flex-wrap: wrap; }
.demo-top label { font-size: 14px; font-weight: 700; }
.demo-top select { font: inherit; font-size: 15px; padding: 7px 10px; border-radius: 10px; border: 1.5px solid #a9a395; background: #fff; min-height: 40px; }
.demo-toggle { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.demo-toggle input { width: 18px; height: 18px; accent-color: var(--teal); }
.demo-toggle select { min-height: 34px; padding: 4px 8px; font-size: 14px; }
.demo-card iframe { display: block; width: 100%; height: 760px; border: 0; }
.demo-caption { font-size: 13px; color: var(--muted); padding: 8px 14px 12px; margin: 0; border-top: 1px solid var(--line); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 10px 0 10px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.card p { margin: 0; color: var(--ink-2); }
.num { font-family: var(--serif); font-size: 2.2rem; color: var(--teal); line-height: 1; }
.source { font-size: 13px; color: var(--muted); margin-top: 10px !important; }

.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-weight: 800; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.features div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features h3 { font-family: var(--sans); font-size: 1.02rem; margin: 0 0 4px; letter-spacing: 0; }
.features p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } .features div { border-right: 0; } }

table.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--ink); color: #fff; font-weight: 700; }
table.compare td:nth-child(2) { background: var(--teal-soft); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.agency { background: var(--ink); color: #e9edf5; }
.agency .section-head h2, .agency h3 { color: #fff; }
.agency .section-head p, .agency .card p { color: #c6cedd; }
.agency .card { background: #172843; border-color: #2a3c5c; }
.agency .eyebrow { background: #1f3a3a; color: #7fe0d4; }
.agency a { color: var(--sun); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--ink); box-shadow: 0 16px 40px rgba(15, 27, 45, .12); }
.price-card .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); padding: 4px 9px; border-radius: 99px; }
.price-card h3 { font-size: 1.5rem; margin: 10px 0 4px; }
.price-card .amount { font-family: var(--serif); font-size: 2.8rem; line-height: 1; margin: 8px 0 2px; }
.price-card .per { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.price-card li { padding-left: 26px; position: relative; color: var(--ink-2); }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

.final { text-align: center; }
.final h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 12px; }
.final p { color: var(--ink-2); max-width: 640px; margin: 0 auto 24px; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.demo-card.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, .95), 0 20px 50px rgba(15, 27, 45, .12); } 100% { box-shadow: 0 0 0 18px rgba(255, 209, 102, 0), 0 20px 50px rgba(15, 27, 45, .12); } }
.demo-fallback { margin: 0; padding: 12px 14px; background: #fff8e6; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
