/* byazan.com. One stylesheet for every page. Mobile first: the base rules are
   the 360px layout, and the min-width queries add columns as there is room.
   No gradients, no emoji. Icons are inline stroke SVGs in the markup. */

/* ---- fonts (self-hosted, latin subset, variable weight) ---------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

/* ---- tokens ------------------------------------------------------------------- */
:root {
  --bg: #F2F3F7;
  --card: #FFFFFF;
  --ink: #15152E;
  --mute: #4A4B63;
  --line: #DCDDE6;
  --line-soft: #ECEDF2;
  --field-line: #8E90A6;
  --lime: #C8F53C;
  --green: #1E8E4E;
  --dark: #15152E;
  --dark-text: #FFFFFF;
  --dark-mute: #C3C4D6;
  --dark-surface: #2A2B4A;
  --err: #B3261E;
  --head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 24px;
  --r-big: 28px;
  --gutter: 20px;
  --space: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; --space: 88px; } }

/* ---- base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55; font-weight: 400;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: #3A3B5C; }
.dark a:hover { color: var(--lime); }
h1, h2, h3 { font-family: var(--head); margin: 0; }
h1 { font-weight: 800; font-size: clamp(40px, 9.5vw, 88px); line-height: .98; letter-spacing: -.03em; }
h2 { font-weight: 800; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.02; letter-spacing: -.025em; }
h3 { font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .pricebar :focus-visible { outline-color: var(--lime); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--space); padding-bottom: 24px; }
.section-tight { padding-top: calc(var(--space) - 24px); }
.section > h2 { margin-bottom: 32px; }
.section > h2:has(+ .section-lede) { margin-bottom: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 32px; }
.section-head:has(+ .section-lede) { margin-bottom: 12px; }
.section-lede { color: var(--mute); max-width: 620px; margin-bottom: 32px; }

.dark { background: var(--dark); color: var(--dark-text); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.eyebrow { margin: 0; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); line-height: 1.4; }
.dark .eyebrow { color: var(--dark-mute); }
.lede { font-size: 19px; color: var(--mute); max-width: 620px; margin: 24px 0 0; }
.dark .lede { color: var(--dark-mute); }
.micro { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
.dark .micro { color: var(--dark-mute); }
.fine { font-size: 14px; color: var(--mute); margin: 0; }
.mark { background: var(--lime); color: var(--ink); padding: 0 .12em; border-radius: 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lime { color: var(--lime); }
.textlink { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }


/* ---- buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 52px; padding: 8px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { min-height: 56px; padding: 8px 28px; font-size: 18px; }
.btn-sm { min-height: 48px; padding: 6px 20px; font-size: 15px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2B4A; color: #fff; }
.btn-lime, .btn-lime:hover { background: var(--lime); color: var(--ink); }
.dark a.btn-lime:hover { color: var(--ink); }
.btn-white { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-soft { background: var(--bg); border-color: var(--line); color: var(--ink); }
.btn-surface, .dark a.btn-surface:hover { background: var(--dark-surface); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---- header ------------------------------------------------------------------- */
.site-header { position: relative; z-index: 30; }
.header-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; min-width: 0; }
.logo { font-family: var(--head); font-size: 24px; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; letter-spacing: -.02em; }
.logo-by { font-weight: 600; }
.logo-azan { font-weight: 800; }
.logo-sub { font-size: 14px; font-weight: 500; color: var(--mute); text-decoration: none; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); min-height: 48px; display: inline-flex; align-items: center; white-space: nowrap; }
.dark .logo-sub { color: var(--dark-mute); border-left-color: var(--dark-surface); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.dark .nav-toggle { background: var(--dark-surface); border-color: var(--dark-surface); color: #fff; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) { padding: 0 14px; min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 999px; }
.site-nav > a:not(.btn):hover { background: rgba(21, 21, 46, .06); color: var(--ink); }
.dark .site-nav > a:not(.btn):hover { background: var(--dark-surface); color: #fff; }
.site-nav .btn { margin-left: 8px; }

/* Below 900px the links collapse behind a Menu button (only when JS is on;
   without it they simply wrap under the logo). */
@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
  .js .dark .site-nav { background: var(--dark-surface); border-color: var(--dark-surface); }
  .js .dark .site-nav > a:not(.btn):hover { background: var(--dark); }
  .js .nav-open .site-nav { display: flex; }
  .js .site-nav .btn { margin: 6px 0 0; }
}

/* ---- hero --------------------------------------------------------------------- */
.hero { padding-top: 40px; padding-bottom: 32px; }
.hero h1 { max-width: 900px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; margin: 0 0 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.hero .eyebrow { margin-bottom: 20px; }
.hero-split { display: grid; gap: 40px; align-items: center; padding-bottom: 56px; }
.hero-split h1 { font-size: clamp(38px, 6vw, 76px); }
@media (min-width: 768px) { .hero { padding-top: 64px; } .lede { font-size: 20px; } }
@media (min-width: 960px) { .hero-split { grid-template-columns: 1.15fr 1fr; gap: 48px; } }

.get { border-radius: var(--r-big); padding: 24px; }
.get-list { list-style: none; margin-top: 8px; }
.get-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.get-list li:last-child { border-bottom: 0; }
.get-list li > span { display: grid; }
.get-list li > span > span { color: var(--mute); font-size: 15px; }
.ico-check { color: var(--green); flex: none; margin-top: 2px; }
.dark .ico-check, .tier-pop .ico-check { color: var(--lime); }
.hero-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hp-cell { background: var(--bg); border-radius: 16px; padding: 12px; display: grid; }
.hp-cell span { font-size: 13px; color: var(--mute); }
.hp-cell b { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.hp-pop { background: var(--lime); }
.hp-pop span { color: var(--ink); }
@media (min-width: 480px) { .get { padding: 28px; } .hp-cell { padding: 14px; } .hp-cell b { font-size: 26px; } }

.statement { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.02em; max-width: 900px; margin: 0; }
.statement .dim { color: var(--mute); }

/* ---- grids -------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; list-style: none; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-2.grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- home: doors -------------------------------------------------------------- */
.doors { display: grid; gap: 20px; padding-top: 16px; padding-bottom: var(--space); }
@media (min-width: 768px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { background: #fff; border: 1px solid var(--line); border-radius: var(--r-big); padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 16px; min-height: 320px; transition: transform 200ms var(--ease); }
.door:hover { transform: translateY(-3px); color: var(--ink); }
.door-dark, .door-dark:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.door-dark .eyebrow, .door-dark .door-text { color: var(--dark-mute); }
.door-title { font-family: var(--head); font-weight: 800; font-size: clamp(32px, 4vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.door-text { color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.door-dark .chip { background: var(--dark-surface); }
.door-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.door-dark .door-go { color: var(--lime); }
@media (min-width: 768px) { .door { padding: 36px; min-height: 340px; } }

/* ---- fact / rule / process strips ---------------------------------------------- */
.strip { display: grid; margin: 0; list-style: none; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.strip > * { padding: 24px 0; border-top: 1px solid var(--line); }
.strip > *:first-child { border-top: 0; }
.strip dt { font-family: var(--head); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.strip dd { margin: 0; color: var(--mute); font-size: 15px; }
.strip-text h3 { margin-bottom: 8px; }
.strip-text p { margin: 0; color: var(--mute); }
.process { border-bottom: 0; }
.process p { font-size: 15px; }
.proc-n { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--mute); display: block; margin-bottom: 8px; }
@media (min-width: 640px) {
  .strip-4 { grid-template-columns: repeat(2, 1fr); }
  .strip-4 > * { padding: 28px 24px 28px 0; }
  .strip-4 > *:nth-child(2) { border-top: 0; }
}
@media (min-width: 860px) {
  .strip-3 { grid-template-columns: repeat(3, 1fr); }
  .strip-3 > * { border-top: 0; padding: 32px 28px 32px 0; }
}
@media (min-width: 1024px) {
  .strip-4 { grid-template-columns: repeat(4, 1fr); }
  .strip-4 > * { border-top: 0; }
  .strip dt { font-size: 44px; }
}

/* ---- work cards ---------------------------------------------------------------- */
.work-card { overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
a.work-card { transition: transform 200ms var(--ease); }
a.work-card:hover { transform: translateY(-3px); color: var(--ink); }
.work-card img { width: 100%; aspect-ratio: 960 / 450; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.work-body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-body h3, .work-title { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.work-body p, .work-desc { color: var(--mute); margin: 0; }
.work-body p { font-size: 15px; }
.work-link { font-weight: 600; font-size: 15px; margin-top: auto !important; padding-top: 10px; text-decoration: underline; text-underline-offset: 3px; }
p.work-link { text-decoration: none; color: var(--ink) !important; }
p.work-link a { min-height: 44px; display: inline-flex; align-items: center; }


/* ---- home: about ---------------------------------------------------------------- */
.about { display: grid; gap: 32px; align-items: center; padding-bottom: var(--space); }
.about-photo { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-big); background: #E4E6EE; }
.about h2 { margin: 10px 0 20px; }
.about p:not(.eyebrow) { color: var(--mute); max-width: 560px; }
@media (min-width: 768px) { .about { grid-template-columns: 280px 1fr; gap: 56px; } }

/* ---- websites: steps, pricing, extras, faq --------------------------------------- */
.step { padding: 28px; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 22px; }
.step h3 { margin: 20px 0 8px; font-size: 26px; }
.step p { margin: 0; color: var(--mute); }

.tiers { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--r-big); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tier-pop { background: var(--dark); border-color: var(--dark); color: #fff; }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.tier-name { font-family: var(--body); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.tag { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.tier-amt { font-family: var(--head); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.03em; margin: 0; }
.tier-line { margin: 0; color: var(--mute); }
.tier-pop .tier-line { color: var(--dark-mute); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico-check { width: 20px; height: 20px; margin-top: 1px; }
.tier .btn { margin-top: auto; }
.tier .checks { margin-bottom: 10px; }
@media (min-width: 480px) { .tier { padding: 32px; } }

.extras { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.extras > summary { cursor: pointer; list-style: none; padding: 16px 24px; min-height: 60px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: var(--r-card); }
.extras > summary::-webkit-details-marker { display: none; }
.extras > summary::after, .faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease);
}
.extras[open] > summary::after, .faq details[open] > summary::after { transform: translateY(3px) rotate(-135deg); }
.extras[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--r-card) var(--r-card) 0 0; }
.extras-sub { margin: 0; padding: 18px 24px 4px; color: var(--mute); font-size: 15px; }
.extras-list { list-style: none; padding: 6px 0 10px; }
.extras-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 14px 24px; border-top: 1px solid var(--line-soft); }
.extras-list li:first-child { border-top: 0; }
.extras-list span { grid-column: 1; color: var(--mute); font-size: 15px; }
.extras-list em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }

.faq-split { display: grid; gap: 32px; padding-bottom: var(--space); }
@media (min-width: 900px) { .faq-split { grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; } .faq-side { position: sticky; top: 24px; } }
.faq-side h2 { margin-bottom: 16px; }
.faq-side p { color: var(--mute); margin-bottom: 20px; }
.faq-group { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 36px 0 10px; }
.faq-group:first-child { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type, .faq details:has(+ :not(details)) { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details > p { margin: 0 0 18px; color: var(--mute); max-width: 640px; }
.faq-after { margin: 20px 0 0; color: var(--mute); font-size: 15px; }
.faq-after a { font-weight: 600; color: var(--ink); }

.testimonials-block { margin-top: 48px; }
.testimonials-h { margin-bottom: 20px; }
.testimonials { display: grid; gap: 20px; }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
.testimonial { margin: 0; padding: 28px; }
.testimonial blockquote { margin: 0; }
.testimonial figcaption { display: grid; color: var(--mute); font-size: 15px; }
.testimonial figcaption b { color: var(--ink); }

/* ---- software ------------------------------------------------------------------- */
.page-software .site-header { background: var(--dark); }
.sw-hero { padding: 40px 0 72px; }
.sw-hero h1 { max-width: 940px; }
.sw-hero .eyebrow { margin-bottom: 20px; }
@media (min-width: 768px) { .sw-hero { padding: 64px 0 96px; } }
.build { padding: 28px; }
.build h3 { margin: 16px 0 8px; }
.build p { margin: 0; color: var(--mute); font-size: 15px; }
.stack-card { padding: 28px; }
.stack-card h3 { font-size: 22px; margin-bottom: 16px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.way { border-radius: var(--r-big); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.way h3 { font-family: var(--body); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.way-price { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.way p:last-child { margin: 0; color: var(--mute); }
.way-lime { background: var(--lime); border-color: var(--lime); }
.way-lime p:last-child { color: var(--ink); }
.cross { margin: 24px 0 0; color: var(--mute); font-size: 15px; }
.cross a { font-weight: 600; color: var(--ink); }
.brief { display: grid; gap: 32px; align-items: start; padding-bottom: var(--space); }
.brief h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -.03em; margin-bottom: 20px; }
.brief > div > p { color: var(--mute); }
.brief .checks { font-size: 17px; gap: 12px; margin: 24px 0 0; }
.brief-alt { margin: 28px 0 0; font-size: 15px; }
@media (min-width: 900px) { .brief { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* ---- forms (enquiry) -------------------------------------------------------------- */
.form { border-radius: var(--r-big); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 480px) { .form { padding: 32px; } }
.form-two { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-two { grid-template-columns: 1fr 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font-weight: 600; font-size: 15px; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; border: 1px solid var(--field-line); border-radius: 12px; padding: 10px 14px; background: #fff; }
.fld textarea { resize: vertical; min-height: 130px; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-radius: 12px; }
.fld [aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.form-err { color: var(--err); font-weight: 500; margin: 0; min-height: 0; }
.form-err:empty { display: none; }
.form .btn { width: 100%; }
/* Honeypot: off-screen for people, still there for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { border-radius: var(--r-big); padding: 32px; border-color: var(--green); border-width: 2px; }
.form-ok h3 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.form-ok p { margin: 0; color: var(--mute); }

/* ---- closing + footer ---------------------------------------------------------------- */
.closing-in { padding-top: var(--space); padding-bottom: var(--space); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.closing h2 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1; letter-spacing: -.03em; max-width: 780px; }
.closing-lede { margin: 0; color: var(--dark-mute); font-size: 19px; }
.closing .btn-row { margin-top: 4px; }
.closing-links { margin: 0; color: var(--dark-mute); font-size: 15px; line-height: 2; }
.closing-links a { color: #fff; }
.site-footer { color: var(--dark-mute); font-size: 14px; }
.site-footer a { color: var(--dark-mute); min-height: 44px; display: inline-flex; align-items: center; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid var(--dark-surface); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 40px 0 24px; border-top: 1px solid var(--dark-surface); }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(4, 1fr); } }
.foot-h { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.site-footer ul { list-style: none; }
.foot-base { margin: 0; padding: 20px 0 28px; border-top: 1px solid var(--dark-surface); }
.page-software .site-footer .foot-row { border-top: 0; padding-top: 20px; padding-bottom: 20px; }

/* ---- content pages (articles, city and trade pages, privacy) ---------------------------- */
.page-hero { padding-top: 32px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); max-width: 900px; }
.page-hero .lede { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; font-weight: 500; color: var(--mute); margin-bottom: 16px; }
.crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.article { border-radius: var(--r-big); padding: 28px 22px; margin-bottom: var(--space); }
@media (min-width: 768px) { .article { padding: 56px; } }
.article > * { max-width: 720px; }
.article > .table-scroll, .article > .example, .article > .testimonials { max-width: none; }
.article h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.08; margin: 48px 0 16px; }
.article > h2:first-child, .article > .sec-head:first-child { margin-top: 0; }
.article h3 { font-size: 22px; margin: 28px 0 8px; }
.article p { color: var(--mute); }
.article ul:not(.price-rows) { padding-left: 22px; margin: 0 0 16px; color: var(--mute); }
.article li { margin: 8px 0; }
.article li b, .article p b { color: var(--ink); }
.article a { font-weight: 600; color: var(--ink); }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin: 48px 0 16px; }
.sec-head h2 { margin: 0; }
.sec-num { font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--mute); flex: none; }
.note-box { background: var(--bg); border-radius: 16px; padding: 18px 20px; color: var(--ink) !important; }
.next-read, .sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources { font-size: 14px; }
.example { display: grid; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.example:first-of-type { border-top: 0; }
.example img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.example h2 { margin: 0 0 10px; font-size: 28px; }
@media (min-width: 860px) { .example { grid-template-columns: 1fr 1fr; gap: 36px; } }
.price-rows { list-style: none; padding: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; }
.price-rows li { display: grid; gap: 3px; padding: 16px 20px; margin: 0; border-top: 1px solid var(--line); }
.price-rows li:first-child { border-top: 0; }
.price-rows span { font-size: 15px; color: var(--mute); }

/* Comparison table: stacked cards on small screens, a real table from 860px. */
.table-scroll { margin: 20px 0; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; color: var(--mute); font-size: 14px; padding-bottom: 12px; }
.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.compare tbody, .compare tr, .compare th, .compare td { display: block; }
.compare tr { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.compare tr.is-me { background: var(--lime); border-color: var(--lime); }
.compare th[scope="row"] { text-align: left; font-family: var(--head); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.compare td { padding: 8px 0; border-top: 1px solid var(--line-soft); color: var(--mute); }
.compare .is-me td { color: var(--ink); border-top-color: rgba(21, 21, 46, .18); }
.compare td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
@media (min-width: 860px) {
  .table-scroll { overflow-x: auto; }
  .compare { min-width: 760px; }
  .compare thead { position: static; width: auto; height: auto; clip-path: none; display: table-header-group; }
  .compare tbody { display: table-row-group; }
  .compare tr { display: table-row; }
  .compare th, .compare td { display: table-cell; padding: 14px 14px 14px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
  .compare thead th { border-top: 0; font-size: 13px; color: var(--ink); }
  .compare th[scope="row"] { font-size: 16px; }
  .compare td::before { content: none; }
  .compare tr.is-me th, .compare tr.is-me td { background: var(--lime); border-top-color: var(--lime); }
  .compare tr.is-me th { padding-left: 14px; border-radius: 14px 0 0 14px; }
  .compare tr.is-me td:last-child { border-radius: 0 14px 14px 0; }
}

/* ==== price form (/websites/start) ======================================================
   Class names are the ones public/js/survey.js writes. Only the look is new. */
.survey-body { min-height: 100dvh; display: flex; flex-direction: column; }
.pricebar { position: sticky; top: 0; z-index: 40; background: var(--dark); color: #fff; }
.pricebar-inner { max-width: 1120px; margin: 0 auto; padding: 12px var(--gutter); }
.price-main { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 2px 22px; }
.price-fig { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.price-note { color: var(--dark-mute); font-size: 13px; }
.price-total { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--lime); }
.price-total.bump { animation: bump 260ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.price-sub { flex-basis: 100%; text-align: right; color: var(--dark-mute); font-size: 13px; }
.price-nudge { flex-basis: 100%; text-align: right; color: #fff; font-size: 14px; margin-top: 2px; }
.price-nudge[hidden], .tier-note[hidden] { display: none; }
.price-nudge .link { color: var(--lime); font-weight: 600; }
.progress { height: 4px; background: var(--dark-surface); }
.progress > i { display: block; height: 100%; background: var(--lime); width: 0; transition: width 320ms var(--ease); }

.stage-wrap { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 40px var(--gutter) 88px; position: relative; }
.q { max-width: 640px; }
.q.enter-fwd { animation: in-up 380ms var(--ease) both; }
.q.enter-back { animation: in-down 380ms var(--ease) both; }
.q.leave-fwd { animation: out-up 220ms var(--ease) both; position: absolute; inset: 40px var(--gutter) auto; pointer-events: none; }
.q.leave-back { animation: out-down 220ms var(--ease) both; position: absolute; inset: 40px var(--gutter) auto; pointer-events: none; }
@keyframes in-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes in-down { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes out-up { to { opacity: 0; transform: translateY(-28px); } }
@keyframes out-down { to { opacity: 0; transform: translateY(28px); } }

.q-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.q-num { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--mute); }
.q-arrow { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.q-arrow:hover { border-color: var(--ink); }
.q-arrow[disabled] { opacity: .4; cursor: not-allowed; }
.q-arrow[disabled]:hover { border-color: var(--line); }
.q h2 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 12px; }
.q .help { color: var(--mute); margin: 0 0 24px; }
.q .fine-help { font-size: 14px; margin: 6px 0 0; }

.field { width: 100%; min-height: 56px; border: 1px solid var(--field-line); border-radius: 14px; background: #fff; padding: 12px 16px; font-size: 19px; }
.field:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-radius: 14px; }
.field::placeholder { color: #6B6D85; }
textarea.field { font-size: 17px; line-height: 1.5; min-height: 140px; resize: vertical; }
.notes-label { display: block; font-weight: 600; margin: 24px 0 6px; }
.opt-tag { font-weight: 400; color: var(--mute); font-size: 14px; }
.err { color: var(--err); font-weight: 500; font-size: 15px; min-height: 1.4em; margin: 8px 0 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.actions .btn { background: var(--ink); color: #fff; min-width: 160px; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reset-wrap .link, .reset-ask .link, .review-row .edit { min-height: 44px; min-width: 44px; }
.reset-ask { color: var(--mute); }

/* package cards */
.tier-grid { display: grid; gap: 12px; }
.tier-card {
  position: relative; text-align: left; cursor: pointer; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline;
}
.tier-card:hover { border-color: var(--ink); }
.tier-card.selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); background: #fff; }
.tier-card .tier-name { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; }
.tier-card.selected .tier-name::after {
  content: ""; width: 24px; height: 24px; border-radius: 50%; background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315152E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E");
  background-size: 16px; background-position: center; background-repeat: no-repeat;
}
.tier-card .tier-price { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -.02em; grid-column: 2; grid-row: 1; }
.tier-card > span:not(.tier-name):not(.tier-price) { grid-column: 1 / -1; }
.tier-persona { color: var(--mute); }
.tier-badge-pay { justify-self: start; background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 500; margin: 4px 0; }
.tier-card .tier-inc, .tier-meta { font-size: 14px; color: var(--mute); }
.tier-note { margin: 0 0 18px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ink); font-size: 15px; }
.tier-grid + .tier-note { margin: 14px 0 0; }

/* option rows */
.survey-body .addons { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; min-height: 56px; background: #fff; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; }
.addon:hover { border-color: var(--ink); }
.addon input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.addon:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.addon:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.addon b { display: block; font-weight: 600; }
.addon small { color: var(--mute); display: block; font-size: 14px; }
.addon .price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon.is-locked { cursor: default; background: var(--bg); }
.addon.is-locked:hover { border-color: var(--line); }
.addon.is-locked input { opacity: .45; }
.addon .locked-note { color: var(--ink); margin-top: 4px; }
.addon .locked-note .link { font-weight: 600; }
.tag-inc { font-size: 12px; font-weight: 600; color: var(--ink); background: var(--lime); border-radius: 999px; padding: 3px 10px; text-transform: uppercase; letter-spacing: .06em; }

/* review */
.review { display: grid; border-top: 1px solid var(--line); margin-top: 10px; }
.review-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.review-row .k { color: var(--mute); }
.review-row .v { white-space: pre-wrap; word-break: break-word; min-width: 0; }
.review-row .edit { background: none; border: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
@media (max-width: 480px) { .review-row { grid-template-columns: 1fr auto; } .review-row .k { grid-column: 1 / -1; font-size: 14px; } }
.review-h { font-size: 20px; margin: 28px 0 8px; }
.inc-list { margin: 0; padding-left: 20px; color: var(--mute); }
.inc-list li { margin: 3px 0; }
.not-in-package .link { font-weight: 600; margin-left: 6px; }
.totals { margin-top: 24px; display: grid; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals .big { font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: -.02em; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.totals .fine { color: var(--mute); font-size: 14px; margin: 2px 0 0; }
.estimate { margin-top: 20px; padding: 22px 24px; border-radius: var(--r-card); background: var(--dark); color: #fff; }
.estimate b { font-size: 18px; display: block; }
.estimate strong { color: var(--lime); }
.estimate p { margin: 8px 0 0; color: #fff; }
.estimate .fine { color: var(--dark-mute); font-size: 14px; }
.sent-ok { margin-top: 26px; }
.sent-ok b { font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--lime); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--dark-surface); border-top-color: var(--lime); border-radius: 50%; display: inline-block; vertical-align: -4px; margin-right: 8px; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
