/* Setuply: navy and mint, matching the business card. One stylesheet for the
   home page, templates page, terms, privacy and thank-you pages. */

:root {
  --navy: #0b1f3f;
  --navy-2: #132c55;
  --navy-3: #1c3a6b;
  --mint: #5ec8b5;
  --mint-soft: #e3f6f2;
  --teal: #17786b;        /* mint dark enough to read as text on white */
  --ink: #0b1f3f;
  --muted: #55627a;
  --line: #e1e7ef;
  --bg: #ffffff;
  --soft: #f4f7fb;

  --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h1 em { font-style: normal; background: linear-gradient(transparent 64%, var(--mint) 64%, var(--mint) 92%, transparent 92%); }

.eyebrow { margin-bottom: 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 34em; }

.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 660px; margin-bottom: 36px; }
.section-head h2::after, .contact-copy h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 22px; border-radius: 4px; background: var(--mint); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--navy-3); border-color: var(--navy-3); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(11, 31, 63, 0.6); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.btn-mint:hover { background: #7ad6c5; border-color: #7ad6c5; box-shadow: 0 10px 24px -12px rgba(94, 200, 181, 0.9); }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-small { padding: 10px 18px; font-size: 0.94rem; }

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

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

/* The wordmark: lowercase "setuply" with a mint full stop. */
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); }
.wordmark svg { display: none; }
.wordmark span { font-family: var(--display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; }
.wordmark span::after { content: "."; color: var(--mint); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 600; font-size: 0.96rem; text-decoration: none; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--teal); }

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

.hero { position: relative; background: var(--navy); color: #fff; padding: 76px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 48px; background: var(--navy-2); }
.hero::after { content: ""; position: absolute; left: -90px; bottom: -120px; width: 280px; height: 280px; border-radius: 56px; border: 2px solid rgba(94, 200, 181, 0.25); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.hero .eyebrow { color: var(--mint); }
.hero h1::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 28px; border-radius: 5px; background: var(--mint); }
.hero .lead { margin-top: 28px; color: #c3cee0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 0.92rem; font-weight: 500; color: #c3cee0; }
.chips li { position: relative; padding-left: 24px; }
.chips li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 13px; height: 7px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg); }

.hero-art svg { display: block; width: 100%; max-width: 460px; margin-inline: auto; }
.hero-art .node rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(94, 200, 181, 0.55); stroke-width: 1.5; }
.hero-art .ico { fill: none; stroke: var(--mint); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-art text { fill: #fff; font-family: var(--body); font-size: 14px; font-weight: 600; }
.hero-art .hub { fill: var(--mint); }
.hero-art .wires path { stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* ---------- Proof band ---------- */

.proof { background: var(--bg); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid li { padding: 28px 28px; }
.proof-grid li + li { border-left: 1px solid var(--line); }
.proof-grid li:first-child { padding-left: 0; }
.proof-grid strong { display: block; font-family: var(--display); font-weight: 700; font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1; color: var(--navy); white-space: nowrap; }
.proof-grid strong::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 4px; border-radius: 50%; background: var(--mint); }
.proof-grid span { display: block; margin-top: 10px; font-size: 0.93rem; color: var(--muted); line-height: 1.45; }

/* ---------- Plans ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.plan-card:hover { border-color: var(--mint); box-shadow: 0 24px 48px -32px rgba(11, 31, 63, 0.45); transform: translateY(-3px); }
.plan-top { display: flex; align-items: center; gap: 14px; }
.plan-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); color: var(--teal); font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.plan-top h3 { font-size: 1.6rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 22px; }
.plan-price strong { font-family: var(--display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.035em; line-height: 1; }
.plan-price span { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.plan-desc { margin-top: 14px; color: var(--muted); }

.ticks { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 5px 0 5px 30px; font-size: 0.97rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.72em; width: 13px; height: 7px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg); }
.ticks.arrows li::before { content: "→"; top: 5px; left: 0; width: auto; height: auto; border: 0; transform: none; color: var(--teal); font-weight: 700; }
.ticks a { color: var(--teal); font-weight: 600; }
.plan-foot { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }
.plan-card .btn { margin-top: auto; align-self: flex-start; }
.plan-card .ticks, .plan-card .plan-foot { margin-bottom: 28px; }
.plan-card .ticks + .plan-foot { margin-top: -14px; }

.plan-card.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan-card.featured .plan-num { background: var(--mint); color: var(--navy); }
.plan-card.featured .plan-price span, .plan-card.featured .plan-desc { color: #c3cee0; }
.plan-card.featured .ticks { border-color: rgba(255, 255, 255, 0.18); }
.plan-card.featured .ticks a { color: var(--mint); }

.custom { margin-top: 24px; padding: 22px 28px; background: var(--mint-soft); border-radius: var(--radius); }
.custom a { color: var(--teal); font-weight: 700; margin-left: 6px; white-space: nowrap; }

.plan-more { align-self: flex-start; margin-top: 16px; font-size: 0.92rem; font-weight: 600; color: var(--teal); text-underline-offset: 4px; }
.plan-more::after { content: " ↓"; }
.plan-card.featured .plan-more { color: var(--mint); }

/* ---------- Each plan in detail ---------- */

.detail { padding: 40px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); scroll-margin-top: 96px; }
.detail + .detail { margin-top: 24px; }
.detail-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.detail-head > div { display: flex; align-items: center; gap: 14px; }
.detail-head h3 { font-size: 1.7rem; }
.detail-price { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.detail-price strong { margin-right: 6px; font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--navy); }
.detail-intro { margin-top: 22px; max-width: 46em; font-size: 1.08rem; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 30px; }
.detail-grid h4 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.detail-grid .ticks { margin-top: 12px; padding-top: 12px; }
.detail-grid .ticks li { font-size: 0.94rem; }
.detail-out { margin-top: 30px; padding: 18px 22px; background: var(--mint-soft); border-radius: 12px; font-size: 0.98rem; }

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

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mint-soft); color: var(--teal); font-family: var(--body); font-weight: 600; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; background: var(--navy); color: #fff; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }

/* ---------- How it works ---------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 2px dashed var(--mint); }
.steps li { position: relative; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.25rem; box-shadow: 0 0 0 8px var(--bg); }
.steps li:last-child .step-n { background: var(--mint); color: var(--navy); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.97rem; }

.terms-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 44px; }
.terms-grid li { grid-column: span 2; padding: 28px; background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--radius); }
.terms-grid li:nth-child(-n + 2) { grid-column: span 3; }
.terms-grid h3 { margin-bottom: 8px; padding-left: 16px; border-left: 4px solid var(--mint); }
.terms-grid p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Designs showcase ---------- */

.showcase { padding-bottom: 48px; }
.showcase-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.showcase-head .section-head { margin-bottom: 0; }
.shots { display: flex; gap: 22px; padding-block: 6px 26px; padding-inline: 28px; padding-inline: max(28px, calc(50vw - 552px)); scroll-padding-inline: max(28px, calc(50vw - 552px)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots li { flex: none; width: min(78vw, 420px); scroll-snap-align: start; }
.shots a { display: block; text-decoration: none; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); transition: border-color .15s, transform .15s, box-shadow .15s; }
.shots a:hover { border-color: var(--mint); transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(11, 31, 63, 0.5); }
.shots img { width: 100%; border-bottom: 1px solid var(--line); }
.shots span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.shots small { font-family: var(--body); font-weight: 500; font-size: 0.86rem; color: var(--muted); }

/* ---------- About ---------- */

.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-grid h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 22px; border-radius: 4px; background: var(--mint); }
.about-grid > div > p:not(.eyebrow) { font-size: 1.12rem; color: var(--muted); }
.about .ticks { border-top-color: #d5dde8; }

/* ---------- Contact ---------- */

.contact { position: relative; background: var(--navy); color: #fff; padding: 76px 0; overflow: hidden; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.contact .eyebrow { color: var(--mint); }
.contact-sub { margin-top: 22px; color: #c3cee0; font-size: 1.06rem; max-width: 30em; }
.contact-sub + .contact-sub { margin-top: 12px; }
.contact-sub a { color: #fff; font-weight: 600; }
.contact-art { width: 220px; margin-top: 48px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--muted); font-size: inherit; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(94, 200, 181, 0.4); outline-offset: 0; border-color: var(--mint); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-actions .btn { flex: 1 1 auto; }
.form-actions .btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.form-note { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
.form-note a { color: var(--teal); }
.form-status { margin-top: 12px; font-weight: 600; color: var(--teal); }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3261e; }
.form-done h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-done p { color: var(--muted); }
.form-done:focus { outline: none; }

/* ---------- Phone menu ---------- */

.nav-toggle { display: none; align-items: center; gap: 8px; margin-left: 10px; padding: 9px 14px; border: 1.500px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 0.94rem; line-height: 1.2; cursor: pointer; }
.nav-toggle::before { content: ""; width: 16px; height: 10px; border-block: 2px solid currentColor; }
.mobile-menu { display: none; }

/* ---------- Free instant check ---------- */

.free-check-band { padding: 56px 0; background: var(--mint-soft); }
.free-check-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.free-check-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.free-check-band p { color: #33415c; }
.free-check-form label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; }
.free-check-form .form-actions { flex-wrap: nowrap; margin-top: 0; }
.free-check-form input { flex: 1 1 auto; min-width: 0; padding: 14px 16px; border: 1.500px solid #b9e6dc; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.free-check-form input:focus { outline: 3px solid rgba(94, 200, 181, 0.45); border-color: var(--mint); }
.free-check-form .btn { flex: none; background: var(--navy); border-color: var(--navy); color: #fff; }
.free-check-form .cf-turnstile { margin-top: 12px; }
.free-check-results { margin-top: 18px; padding: 24px 26px; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 40px -30px rgba(11, 31, 63, 0.5); }
.free-check-results h3 { margin-bottom: 12px; font-size: 1.15rem; }
.free-check-results li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.96rem; font-weight: 500; }
.free-check-results em { flex: none; padding: 3px 10px; border-radius: 99px; font-style: normal; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.free-check-results .is-pass em { background: var(--mint-soft); color: var(--teal); }
.free-check-results .is-fail em { background: #fde3dc; color: #a3321b; }
.free-check-results .is-unknown em { background: var(--soft); color: var(--muted); }
.free-check-results p { margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
.free-check-results .btn { width: 100%; white-space: normal; text-align: center; }

/* ---------- Plan pages ---------- */

.plan-hero .eyebrow a { color: inherit; }
.plan-hero-price { margin-top: 22px; color: #c3cee0; font-weight: 500; }
.plan-hero-price strong { margin-right: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--mint); }
.plan-hero .lead { margin-top: 16px; }
.plan-cta { padding: 56px 0; }
.plan-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.plan-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.other-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.other-plans a { display: block; padding: 24px 26px; border: 1.500px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s; }
.other-plans a:hover { border-color: var(--mint); transform: translateY(-2px); }
.other-plans strong { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.02em; }
.other-plans span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.94rem; }
.about.plain { background: var(--bg); }
.booking a.booking-link:not(.btn) { color: #fff; font-weight: 600; }
.form-done .booking { margin-top: 18px; }

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

.site-footer { background: var(--navy); color: #c3cee0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; }
.site-footer strong { color: #fff; font-family: var(--display); letter-spacing: -0.02em; }

/* ---------- Templates page ---------- */

.templates { padding: 72px 0 104px; }
.templates h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.templates .section-head h1::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 22px; border-radius: 4px; background: var(--mint); }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.template-card { display: flex; flex-direction: column; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.template-card:hover { border-color: var(--mint); box-shadow: 0 24px 48px -32px rgba(11, 31, 63, 0.45); }
.template-shot { display: block; border-bottom: 1px solid var(--line); }
.template-shot img { display: block; width: 100%; height: auto; }
.template-info { padding: 26px 28px 30px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.template-info h2 { font-size: 1.7rem; }
.template-for { color: var(--teal); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 8px 0 10px; }
.template-info p:not(.template-for) { color: var(--muted); margin-bottom: 20px; }
.template-info .btn { margin-top: auto; }
.template-custom { justify-content: center; background: var(--navy); border-color: var(--navy); color: #fff; }
.template-custom .template-for { color: var(--mint); }
.template-custom .template-info p:not(.template-for) { color: #c3cee0; }
.template-custom .btn { background: var(--mint); border-color: var(--mint); color: var(--navy); }

/* ---------- Terms and privacy pages ---------- */

.legal-hero { position: relative; background: var(--navy); color: #fff; padding: 64px 0 60px; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; right: -60px; top: -70px; width: 240px; height: 240px; border-radius: 48px; background: var(--navy-2); }
.legal-hero::after { content: ""; position: absolute; right: 120px; bottom: -110px; width: 180px; height: 180px; border-radius: 40px; border: 2px solid rgba(94, 200, 181, 0.3); }
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero .eyebrow { color: var(--mint); }
.legal-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legal-hero h1::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 24px; border-radius: 5px; background: var(--mint); }
.legal-hero .lead { margin-top: 24px; color: #c3cee0; }
.legal-date { margin-top: 18px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa1bd; }

.legal-points { border-bottom: 1px solid var(--line); }
.legal-points ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.legal-points li { position: relative; padding: 26px 24px 26px 34px; font-size: 0.95rem; font-weight: 500; line-height: 1.45; }
.legal-points li + li { border-left: 1px solid var(--line); padding-left: 58px; }
.legal-points li::before { content: ""; position: absolute; left: 4px; top: 33px; width: 14px; height: 8px; border-left: 2.500px solid var(--mint); border-bottom: 2.500px solid var(--mint); transform: rotate(-45deg); }
.legal-points li + li::before { left: 28px; }

.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 80px; }
.legal-toc { position: sticky; top: 100px; padding: 26px; background: var(--soft); border-radius: var(--radius); }
.legal-toc .eyebrow { margin-bottom: 12px; }
.legal-toc ol { counter-reset: toc; margin-bottom: 22px; }
.legal-toc li { counter-increment: toc; }
.legal-toc li a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 0; font-size: 0.92rem; font-weight: 500; line-height: 1.35; text-decoration: none; color: var(--ink); }
.legal-toc li a::before { content: counter(toc, decimal-leading-zero); font-size: 0.74rem; font-weight: 700; color: var(--teal); padding-top: 2px; }
.legal-toc li a:hover { color: var(--teal); }
.legal-toc .btn { width: 100%; white-space: normal; text-align: center; }

.legal-content { max-width: 760px; }
.legal-intro { padding: 22px 26px; background: var(--mint-soft); border-radius: var(--radius); font-size: 1.04rem; }
.legal-intro p + p { margin-top: 12px; }
.legal-section { padding-top: 40px; scroll-margin-top: 84px; }
.legal-section + .legal-section { margin-top: 40px; border-top: 1px solid var(--line); }
.legal-section h2 { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.legal-section h2 .plan-num { flex: none; }
.legal-content p { margin-bottom: 12px; color: #33415c; }
.legal-content ul { margin-bottom: 12px; }
.legal-content li { position: relative; padding: 5px 0 5px 24px; color: #33415c; }
.legal-content li::before { content: ""; position: absolute; left: 4px; top: 0.95em; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--teal); font-weight: 600; }
.legal-content mark { background: var(--mint-soft); padding: 1px 4px; border-radius: 3px; }

@media (max-width: 960px) {
  .legal-points ul { grid-template-columns: 1fr 1fr; }
  .legal-points li:nth-child(odd) { border-left: 0; padding-left: 34px; }
  .legal-points li:nth-child(odd)::before { left: 4px; }
  .legal-points li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 60px; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 28px; }
  .legal-toc li { break-inside: avoid; }
  .legal-toc .btn { width: auto; }
}
@media (max-width: 680px) {
  .legal-hero { padding: 44px 0 44px; }
  .legal-points ul { grid-template-columns: 1fr; }
  .legal-points li, .legal-points li + li { border-left: 0; padding: 16px 0 16px 34px; }
  .legal-points li + li { border-top: 1px solid var(--line); }
  .legal-points li::before, .legal-points li + li::before { left: 4px; top: 23px; }
  .legal-toc { padding: 22px; }
  .legal-toc ol { columns: 1; }
  .legal-toc .btn { width: 100%; }
  .legal-intro { padding: 18px 20px; }
  .legal-section { padding-top: 30px; }
  .legal-section + .legal-section { margin-top: 30px; }
  .legal-section h2 { font-size: 1.3rem; }
}
/* ---------- Thank-you page ---------- */

.thanks { padding: 104px 0 128px; }
.thanks .lead { margin-top: 24px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 960px) {
  .section, .contact { padding: 60px 0; }
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-art svg { max-width: 380px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid li { padding: 28px 24px; }
  .proof-grid li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .steps::before { display: none; }
  .terms-grid li, .terms-grid li:nth-child(-n + 2) { grid-column: span 3; }
  .terms-grid li:last-child { grid-column: span 6; }
  .about-grid, .contact-inner, .faq-grid, .free-check-grid { grid-template-columns: 1fr; gap: 40px; }
  .free-check-grid { gap: 26px; }
  .faq-grid .section-head { position: static; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .contact-art { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 22px; }
  .section, .contact { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .header-inner { height: 64px; }
  .wordmark span { font-size: 1.5rem; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .nav { margin-left: auto; }
  .header-inner { gap: 10px; }
  .btn-small { padding: 9px 13px; font-size: 0.88rem; }
  .nav-toggle { display: inline-flex; margin-left: 0; padding: 9px 11px; font-size: 0.88rem; }
  .mobile-menu:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 6px 22px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(11, 31, 63, 0.5); }
  .mobile-menu a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
  .mobile-menu a.btn { margin-top: 16px; padding: 15px 20px; border: 2px solid var(--navy); color: #fff; text-align: center; }
  .free-check-band { padding: 44px 0; }
  .free-check-form .form-actions { flex-wrap: wrap; }
  .free-check-form .btn { width: 100%; }
  .free-check-results { padding: 20px; }
  .other-plans { grid-template-columns: 1fr; gap: 12px; }
  .plan-cta-inner .btn { width: 100%; }

  .hero { padding: 40px 0 48px; }
  .hero::before { width: 150px; height: 150px; right: -50px; top: -50px; }
  .lead { font-size: 1.06rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chips { flex-direction: column; gap: 10px; }
  .hero-art svg { max-width: 320px; }

  .proof-grid strong { font-size: 1.9rem; }
  .proof-grid li { padding: 24px 16px 24px 20px; }

  .plan-grid, .template-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan-card { padding: 28px 24px; }
  .plan-price strong { font-size: 2.2rem; }
  .plan-card .btn { align-self: stretch; }
  .custom { padding: 22px; }
  .detail { padding: 26px 22px; }
  .detail-head h3 { font-size: 1.45rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .detail-out { padding: 16px 18px; }
  .faq summary { font-size: 1.04rem; padding-block: 20px; }
  .faq details p { padding-right: 0; }
  .custom a { display: inline-block; margin-left: 0; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-n { grid-row: span 2; margin-bottom: 0; }
  .terms-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .terms-grid li, .terms-grid li:nth-child(-n + 2), .terms-grid li:last-child { grid-column: auto; padding: 24px 22px; }

  .showcase-head .btn { width: 100%; }
  .shots { gap: 14px; padding-inline: 22px; }

  .form-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { width: 100%; white-space: normal; }

  .templates, .legal { padding: 52px 0 76px; }
  .template-info { padding: 22px 22px 26px; }
  .thanks { padding: 72px 0 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .plan-card, .shots a { transition: none; }
  .hero-art .wires path { animation: none; }
}
