/* HATTECH — hattech.co.nz and products.hattech.co.nz.
   A plain, easy-to-read business site: a clear header, a short strip of what
   matters, straightforward cards and a footer with everything in one place.
   Light and dark follow the visitor's own setting. */
:root {
  color-scheme: light;
  --bg: #ffffff; --alt: #f5f7fa; --card: #ffffff; --line: #e3e7ec; --line-strong: #cfd6de;
  --text: #121820; --muted: #4f5b67; --faint: #6b7783;
  --accent: #c2410c; --accent-hover: #9a3412; --accent-soft: #fff1ea; --on-accent: #ffffff;
  --strip: #121820; --strip-text: #e9edf1;
  --shadow: 0 1px 2px rgba(18, 24, 32, 0.05), 0 8px 24px -12px rgba(18, 24, 32, 0.12);
  --wordmark-filter: invert(1);
  --wrap: 1200px; --gutter: 40px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0e13; --alt: #10141a; --card: #141920; --line: #232a33; --line-strong: #33404d;
    --text: #e9edf1; --muted: #a3adb8; --faint: #8b96a2;
    --accent: #ff6a2b; --accent-hover: #ff8752; --accent-soft: rgba(255, 106, 43, 0.12); --on-accent: #ffffff;
    --strip: #05070a; --strip-text: #c9d1d9;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    --wordmark-filter: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 19px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 96px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 8px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 12px; }


/* ---------- Header ---------- */
.head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.wordmark { width: 140px; filter: var(--wordmark-filter); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; white-space: nowrap;
  color: var(--muted); font-size: 19px; font-weight: 600; transition: color 0.15s ease, background-color 0.15s ease; }
.nav a:hover { color: var(--text); background: var(--alt); }
.nav a[aria-current="page"] { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; white-space: nowrap;
  border-radius: 8px; border: 1px solid transparent; font-size: 19px; font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: var(--card); }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 18px; }

/* ---------- Hero: words on the left, a real picture on the right ---------- */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--accent); font-size: 16px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { text-wrap: wrap; font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.hero .lead { margin-top: 20px; max-width: 620px; color: var(--muted); font-size: 23px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Words only: the tyre photo is shown once, with its product, further down. */
.hero-text .wrap { grid-template-columns: 1fr; text-align: center; }
.hero-text .lead { margin-left: auto; margin-right: auto; max-width: 760px; }
.hero-text .actions { justify-content: center; }
.hero-text { padding: 96px 0 88px; }
.hero-text h1 { font-size: 76px; }
.phone .hero.hero-text .wrap { grid-template-columns: 1fr; }
.phone .hero.hero-text h1 { font-size: 104px; }
.phone .hero-text .l2 { display: block; }
.phone .hero.hero-text .lead { max-width: 1000px; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; border-radius: 14px; box-shadow: var(--shadow); }
.hero figcaption { margin-top: 10px; color: var(--faint); font-size: 16px; }

/* ---------- Four plain points, side by side ---------- */
.points { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--alt); }
.points ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding-top: 26px; padding-bottom: 26px; list-style: none; gap: 24px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points b { display: block; font-size: 19px; }
.points span { color: var(--muted); font-size: 17px; line-height: 1.5; }

.ico { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: 46px; font-weight: 800; }
.section-head p { margin-top: 10px; max-width: 760px; color: var(--muted); font-size: 22px; }
.section-head p.eyebrow { margin: 0 0 12px; max-width: none; color: var(--accent); font-size: 16px; }
.phone .section-head p.eyebrow { font-size: 22px; }
.section-head .link { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-weight: 700; }
.section-head .link:hover { color: var(--accent-hover); }
.section-head p a, .about p a { color: var(--accent); font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 18px; font-size: 23px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 19px; }

/* ---------- Products: like a shop's featured items ---------- */
.prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prod { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.prod-img { position: relative; aspect-ratio: 16 / 9; background: #0b0e13; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img.right img { object-position: right center; }
.badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 13, 18, 0.78);
  color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.prod-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 28px 28px; }
.prod-name { display: flex; align-items: center; gap: 14px; }
.prod-name img { width: 44px; height: 44px; object-fit: contain; }
.prod-name h3 { font-size: 31px; font-weight: 800; }
.prod-line { font-size: 21px; font-weight: 600; }
.prod-note { color: var(--muted); font-size: 19px; }
.prod-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* ---------- Websites: the price range, the plans and real examples ---------- */
.range { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 32px; margin-bottom: 36px;
  padding: 28px 32px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.range-end:last-child { text-align: right; }
.range-price { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.range-price small { color: var(--muted); font-size: 20px; font-weight: 600; letter-spacing: 0; }
.range-end p:not(.range-price) { margin-top: 6px; color: var(--muted); font-size: 18px; }
.range-bar { height: 10px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); overflow: hidden; }
.range-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ffc23d, var(--accent)); }
.shot { display: block; border: 1px solid var(--line); }
.prod-img.shot { background: var(--alt); }
.prod-img.shot img { object-position: top center; }
.row-img.shot { position: relative; border-radius: 14px; }
.row-img.shot img { aspect-ratio: 16 / 10; object-position: top center; }
.row-img .badge { left: 16px; top: 16px; }
.prod-body > h3 { font-size: 26px; font-weight: 800; }


/* ---------- From simple to complex: three stages, left to right ---------- */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: stage; }
.stage { position: relative; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.stage::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
.stage:nth-child(1)::before { right: 66%; } .stage:nth-child(2)::before { right: 33%; }
.stage-tag { color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.stage h3 { margin-top: 8px; font-size: 24px; font-weight: 800; }
.stage p:not(.stage-tag):not(.stage-price) { margin-top: 10px; color: var(--muted); font-size: 18px; }
.stage-price { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 800; }
.fields [hidden] { display: none !important; }
.fields .startup { flex-direction: row; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.fields .startup input { width: 24px; height: 24px; min-height: 0; margin: 0; accent-color: var(--accent); flex: none; }
.fields textarea[aria-invalid="true"] { border-color: #cf222e; outline: 2px solid #cf222e; outline-offset: 1px; }

/* ---------- Mock-up extras: their own photos, files and words ---------- */
.mockup-extra { grid-column: 1 / -1; display: grid; gap: 14px; padding: 22px; border-radius: 12px; background: var(--alt); border: 1px solid var(--line); }
.mockup-extra[hidden] { display: none !important; }
.extra-title { font-size: 19px; font-weight: 800; }
.extra-help { margin-top: -6px; color: var(--muted); font-size: 16.5px; }
.drop { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; border: 2px dashed var(--line-strong); border-radius: 12px;
  background: var(--card); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.drop b { display: block; font-size: 19px; }
.drop span { display: block; margin-top: 2px; color: var(--muted); font-size: 16px; }
.file-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: 52px 1fr auto auto; align-items: center; gap: 14px; padding: 8px 10px 8px 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.thumb { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--alt);
  color: var(--faint); font-size: 12px; font-weight: 800; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; }
.fsize { color: var(--faint); font-size: 15px; }
.fremove { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fremove:hover { border-color: #cf222e; color: #cf222e; }

/* ---------- Going ahead, the account and admin ---------- */
.muted { color: var(--muted); }
.pill-status { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap;
  background: var(--alt); color: var(--muted); border: 1px solid var(--line); }
.pill-status.ok { background: rgba(26, 127, 55, 0.12); color: #1a7f37; border-color: rgba(26, 127, 55, 0.3); }
.pill-status.warn { background: rgba(191, 135, 0, 0.12); color: #9a6700; border-color: rgba(191, 135, 0, 0.35); }
.pill-status.bad { background: rgba(207, 34, 46, 0.1); color: #cf222e; border-color: rgba(207, 34, 46, 0.3); }
.pill-status.info { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
@media (prefers-color-scheme: dark) { .pill-status.ok { color: #3fb950; } .pill-status.warn { color: #d29922; } .pill-status.bad { color: #ff7b72; } }
.proceed { display: grid; gap: 24px; max-width: 920px; }
.step-num { color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.quote-form h2 { margin: 6px 0 18px; font-size: 30px; font-weight: 800; }
.quote-form h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 800; }
.found-head, .site-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.found-head h2, .site-top h2 { margin: 6px 0 4px; }
.found-ref { color: var(--faint); font-size: 16px; }
.found-facts { margin: 18px 0 26px; box-shadow: none; }
.link-strong { color: var(--accent); font-weight: 700; }
.accept { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; font-size: 17px; }
.accept input { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--accent); }
.accept a { color: var(--accent); font-weight: 700; }
.pay-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--faint); font-size: 15px; }
.pay-note svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
#a-sites { display: grid; gap: 20px; }
.site-card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.site-card .facts { margin: 18px 0; box-shadow: none; }
.site-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.terms-link { margin-top: 28px; color: var(--faint); font-size: 15px; }
.terms-link a { color: var(--accent); font-weight: 700; }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(5, 7, 10, 0.55); }
.modal[hidden] { display: none; }
.modal-card { max-width: 560px; padding: 30px; background: var(--card); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
.modal-card h2 { font-size: 26px; font-weight: 800; }
.modal-card p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.terms-short { padding: 28px; background: var(--alt); border: 1px solid var(--line); border-radius: 14px; }
.terms-short h2, .terms h2 { font-size: 24px; font-weight: 800; }
.terms { max-width: 820px; margin-top: 36px; }
.terms h2 { margin-top: 30px; }
.terms p { margin-top: 10px; color: var(--muted); font-size: 18px; }
.terms a { color: var(--accent); font-weight: 600; }
.terms-date { color: var(--faint) !important; font-size: 15px !important; margin-top: 28px !important; }
.admin { display: grid; gap: 24px; }
.admin-h { margin-top: 12px; font-size: 26px; font-weight: 800; }
.ready { display: flex; flex-wrap: wrap; gap: 10px; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--faint); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.row-actions { white-space: nowrap; }
.row-actions .btn + .btn { margin-left: 6px; }
.btn-xs { min-height: 34px; padding: 0 12px; font-size: 14px; }

.stages-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stages-4 .stage:nth-child(1)::before { right: 75%; } .stages-4 .stage:nth-child(2)::before { right: 50%; } .stages-4 .stage:nth-child(3)::before { right: 25%; }
.stage a { color: var(--accent); font-weight: 700; }
.sw-cards { margin-top: 24px; }
.sw-more { max-width: 900px; margin-top: 24px; }
.sw-more li { font-size: 18px; }
#shop-window .offer-band { margin: 28px 0 0; }
.offer-band + .offer-band { margin-top: -10px; }
.phone .sw-more li { font-size: 25px; }
.phone .stages-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Pricing: pick features, billed at the tier that covers them ---------- */
.builder { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.builder-pick, .builder-total { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.builder-label { margin: 0 0 10px; color: var(--faint); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.builder-label:not(:first-child) { margin-top: 22px; }
.feat { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.feat + .feat { margin-top: 10px; }
.feat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.feat-box { flex: none; position: relative; width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--line-strong); border-radius: 7px; background: var(--bg); }
.feat-box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; }
.feat input:checked + .feat-box, .feat-box.on, .feat.incl .feat-box { background: var(--accent); border-color: var(--accent); }
.feat input:checked + .feat-box::after, .feat-box.on::after, .feat.incl .feat-box::after { opacity: 1; }
.feat.incl .feat-box { opacity: 0.55; }
.feat:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.feat:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.feat-base { cursor: default; background: var(--alt); }
.feat-text b { display: block; font-size: 19px; }
.feat-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 16px; }
.builder-total { position: sticky; top: 100px; text-align: center; }
.total-name { color: var(--accent); font-size: 22px; font-weight: 800; }
.total-price { margin-top: 6px; font-size: 64px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.total-price small { color: var(--muted); font-size: 22px; font-weight: 600; letter-spacing: 0; }
.total-note { margin-top: 6px; color: var(--muted); font-size: 17px; }
.builder-total .btn { margin-top: 20px; width: 100%; }
.total-fine { margin-top: 12px; color: var(--faint); font-size: 15px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tier { padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.tier:hover { border-color: var(--line-strong); }
.tier.on { border: 2px solid var(--accent); padding: 19px 21px; background: var(--accent-soft); }
.tier-name { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tier.on .tier-name { color: var(--accent); }
.tier-price { margin-top: 6px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.tier-price small { color: var(--muted); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.tier-inc { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.req { color: var(--accent); font-weight: 600; font-size: 0.9em; }
.hint { color: var(--faint); font-size: 15px; font-weight: 400; }
.fields input[aria-invalid="true"] { border-color: #cf222e; outline: 2px solid #cf222e; outline-offset: 1px; }
.plan-pick { padding: 16px 18px; border-radius: 12px; background: var(--alt); border: 1px solid var(--line); }
.plan-pick-label { display: block; font-size: 17px; font-weight: 700; }
.plan-pick p { margin-top: 4px; color: var(--muted); font-size: 17px; }
.plan-pick b { color: var(--text); }
.plan-pick a { color: var(--accent); font-weight: 700; }

/* ---------- Start free: the two offers and the request form ---------- */
.offer-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px;
  padding: 18px 24px; border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 19px; }
.offer-band b { color: var(--text); }
.offer-go { flex: none; color: var(--accent); font-weight: 800; }
.offer-band:hover .offer-go { color: var(--accent-hover); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer { display: flex; gap: 20px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.offer-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.offer h3 { margin-top: 10px; font-size: 26px; font-weight: 800; }
.offer p:not(.offer-tag) { margin-top: 8px; color: var(--muted); font-size: 18px; }

.quote-form { margin-top: 28px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; padding: 0; border: 0; }
.choice legend { margin-bottom: 12px; padding: 0; font-size: 20px; font-weight: 800; }
.choice label { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.choice b { display: block; font-size: 19px; }
.choice small { display: block; margin-top: 2px; color: var(--muted); font-size: 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fields label { display: flex; flex-direction: column; gap: 8px; font-size: 17px; font-weight: 700; }
.fields .wide { grid-column: 1 / -1; }
.fields .opt { color: var(--faint); font-weight: 500; }
.fields input, .fields select, .fields textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--bg); color: var(--text); font: inherit; font-size: 18px; font-weight: 400; }
.fields textarea { min-height: 120px; resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form-foot .btn { min-height: 54px; padding: 0 30px; border: 0; cursor: pointer; font-family: inherit; }
.form-foot .btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { font-size: 18px; color: var(--muted); }
.form-status.ok { color: #1a7f37; font-weight: 700; }
.form-status.bad { color: #cf222e; font-weight: 700; }
@media (prefers-color-scheme: dark) { .form-status.ok { color: #3fb950; } .form-status.bad { color: #ff7b72; } }

/* ---------- How we work ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { padding-top: 22px; border-top: 3px solid var(--line-strong); }
.step:first-child { border-top-color: var(--accent); }
.step .num { color: var(--accent); font-size: 17px; font-weight: 800; letter-spacing: 0.08em; }
.step h3 { margin-top: 8px; font-size: 23px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 19px; }

/* ---------- About: a paragraph and the facts ---------- */
.about .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about h2 { font-size: 46px; font-weight: 800; }
.about p { margin-top: 16px; color: var(--muted); font-size: 22px; }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--faint); font-size: 17px; font-weight: 700; }
.facts dd { margin: 0; font-size: 19px; }
.facts a { color: var(--accent); font-weight: 600; }

/* ---------- Footer: everything in one place ---------- */
.foot { background: var(--strip); color: var(--strip-text); padding: 56px 0 0; }
.foot .wordmark { filter: none; width: 130px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { margin-top: 14px; max-width: 380px; color: #9aa4af; font-size: 17px; }
.foot h4 { margin: 0 0 10px; color: #ffffff; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li a, .foot li span { display: inline-flex; align-items: center; min-height: 36px; color: #b9c2cb; font-size: 18px; }
.foot li a:hover { color: #ffffff; }
.foot-base { margin-top: 44px; padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8b96a2; font-size: 16px; }

/* ---------- Products page ---------- */
.page-head { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background: var(--alt); }
.page-head h1 { font-size: 58px; font-weight: 800; letter-spacing: -0.025em; }
.page-head p { margin-top: 14px; max-width: 780px; color: var(--muted); font-size: 23px; }
.row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.row + .row { margin-top: 72px; }
.row-flip .row-img { order: 2; }
.row-img { position: relative; }
.row-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.row-img.right img { object-position: right center; }
.row h2 { font-size: 43px; font-weight: 800; }
.row .prod-name img { width: 52px; height: 52px; }
.row .prod-line { margin-top: 18px; font-size: 24px; }
.row .prod-note { margin-top: 10px; font-size: 20px; }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--line); color: var(--muted); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 7px; margin-top: -6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.row .prod-links { margin-top: 26px; }
.status { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.use-note { display: inline-flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 14px 18px; max-width: 780px;
  border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 19px; }
.page-head .use-note { color: var(--muted); font-size: 19px; }
.use-note b { color: var(--text); }
.use-note .chequer { flex: none; width: 28px; height: 28px; margin-top: 0; }
.fields .use-note { display: block; }   /* a sentence with a link in it, not an icon row */
/* The chequered flag: motorsport, at a glance, in light and dark. */
.flag-title { display: flex; align-items: center; gap: 0.28em; }
/* A tag on every product picture: these are for motorsport. */
.badge-moto { left: auto; right: 16px; display: inline-flex; align-items: center; gap: 8px; background: #c2410c; }
.badge-moto .chequer { width: 1.35em; height: 1.35em; }
.badge-moto .chq-pole { fill: #ffffff; }
.badge-moto .chq-edge { stroke: #ffffff; }
.status-moto { display: inline-flex; align-items: center; gap: 8px; background: #c2410c; color: #ffffff; }
.status-moto .chequer { width: 1.35em; height: 1.35em; }
.status-moto .chq-pole { fill: #ffffff; }
.status-moto .chq-edge { stroke: #ffffff; }
.chequer { flex: none; width: 1.25em; height: 1.25em; }
.chq-pole { fill: var(--text); }
.chq-light { fill: #ffffff; }
.chq-dark { fill: #121820; }
.chq-edge { fill: none; stroke: var(--text); stroke-width: 1; }
.phone .page-head .use-note { max-width: 1000px; font-size: 27px; padding: 20px 24px; }
.phone .use-note .chequer { width: 38px; height: 38px; }

/* ---------- Phones: the desktop layout, with the words set larger ----------
   A phone draws this 1280 px page at about a third of its size, so the copy,
   the menu and the buttons are scaled up to read and tap comfortably there. */
.phone .head .wrap { min-height: 120px; }
.phone .wordmark { width: 200px; }
.phone .head .wrap { gap: 24px; }
.phone .nav { gap: 4px; }
.phone .nav a { min-height: 72px; padding: 0 18px; font-size: 30px; }
/* The menu already says Products; on a phone the header button gives the menu room. */
.phone .head .btn { display: none; }
.phone .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 40px; }
.phone .btn { min-height: 80px; padding: 0 24px; font-size: 28px; border-radius: 12px; }
.phone .btn-sm { min-height: 72px; padding: 0 20px; font-size: 25px; }
.phone .about .wrap { grid-template-columns: 1fr 1fr; gap: 44px; }
.phone section[id] { scroll-margin-top: 140px; }
.phone .eyebrow { font-size: 23px; }
.phone .hero h1 { font-size: 87px; }
.phone .hero .lead { max-width: 620px; font-size: 34px; }
.phone .hero figcaption { font-size: 23px; }
.phone .points b { font-size: 29px; }
.phone .points span { font-size: 25px; }
.phone .ico { width: 64px; height: 64px; padding: 15px; border-radius: 14px; }
.phone .section-head h2, .phone .about h2 { font-size: 62px; }
.phone .section-head p, .phone .about p { max-width: 900px; font-size: 32px; }
.phone .section-head .link { font-size: 30px; min-height: 64px; }
.phone .cards, .phone .points ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phone .points ul { gap: 32px 40px; padding-top: 36px; padding-bottom: 36px; }
.phone .card { padding: 34px; }
.phone .card h3, .phone .step h3 { font-size: 34px; }
.phone .card p, .phone .step p, .phone .prod-note { font-size: 28px; }
.phone .step .num { font-size: 23px; }
.phone .badge { font-size: 21px; padding: 8px 16px; }
.phone .prod-name img { width: 64px; height: 64px; }
.phone .prod-name h3 { font-size: 44px; }
.phone .prod-line { font-size: 30px; }
.phone .facts div { grid-template-columns: 150px 1fr; padding: 22px 28px; }
.phone .facts dt { font-size: 25px; }
.phone .facts dd { font-size: 26px; }
.phone .foot h4 { font-size: 24px; }
.phone .foot li a, .phone .foot li span { min-height: 56px; font-size: 26px; }
.phone .foot-grid p { font-size: 25px; max-width: 420px; }
.phone .foot .wordmark { width: 180px; }
.phone .foot-base { font-size: 23px; }
.phone .page-head h1 { font-size: 78px; }
.phone .page-head p { max-width: 900px; font-size: 32px; }
.phone .row h2 { font-size: 60px; }
.phone .row .prod-line { font-size: 34px; }
.phone .row .prod-note, .phone .ticks li { font-size: 28px; }
.phone .status { font-size: 21px; padding: 8px 16px; }

.phone .range-price { font-size: 64px; }
.phone .range-price small { font-size: 28px; }
.phone .range-end p:not(.range-price) { font-size: 25px; }
.phone .prod-body > h3 { font-size: 38px; }
.phone .prod-links .btn { flex: 1 1 auto; }

.phone .offer-band { font-size: 26px; padding: 26px 30px; }
.phone .offer-tag { font-size: 20px; padding: 6px 16px; }
.phone .offer h3 { font-size: 36px; }
.phone .offer p:not(.offer-tag) { font-size: 25px; }
.phone .choice legend { font-size: 30px; }
.phone .choice label { padding: 24px; }
.phone .choice input { width: 34px; height: 34px; }
.phone .choice b { font-size: 27px; }
.phone .choice small { font-size: 23px; }
.phone .fields label { font-size: 25px; }
.phone .fields input, .phone .fields select, .phone .fields textarea { min-height: 80px; font-size: 27px; padding: 16px 20px; }
.phone .form-foot .btn { min-height: 84px; font-size: 28px; }
.phone .form-status { font-size: 25px; }

.phone .builder-label { font-size: 21px; }
.phone .feat { padding: 22px 24px; gap: 20px; }
.phone .feat-box { width: 38px; height: 38px; border-radius: 9px; }
.phone .feat-box::after { left: 11px; top: 4px; width: 10px; height: 19px; border-width: 0 4px 4px 0; }
.phone .feat-text b { font-size: 27px; }
.phone .feat-text small { font-size: 23px; }
.phone .total-name { font-size: 30px; }
.phone .total-price { font-size: 88px; }
.phone .total-price small { font-size: 30px; }
.phone .total-note, .phone .total-fine { font-size: 23px; }
.phone .builder-total { top: 150px; }
.phone .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phone .tier-name { font-size: 21px; }
.phone .tier-price { font-size: 48px; }
.phone .tier-price small { font-size: 23px; }
.phone .tier-inc { font-size: 22px; }
.phone .hint { font-size: 21px; }
.phone .plan-pick-label { font-size: 25px; }
.phone .plan-pick p { font-size: 24px; }

.phone .stage-tag { font-size: 21px; }
.phone .stage h3 { font-size: 34px; }
.phone .stage p:not(.stage-tag):not(.stage-price) { font-size: 25px; }
.phone .stage-price { font-size: 27px; }
.phone .fields .startup input { width: 36px; height: 36px; min-height: 0; padding: 0; }

.phone .mockup-extra { padding: 28px; gap: 20px; }
.phone .extra-title { font-size: 28px; }
.phone .extra-help { font-size: 24px; }
.phone .drop { padding: 30px; }
.phone .drop b { font-size: 27px; }
.phone .drop span { font-size: 23px; }
.phone .file-list li { grid-template-columns: 76px 1fr auto auto; gap: 18px; }
.phone .thumb { width: 76px; height: 76px; font-size: 18px; }
.phone .fname { font-size: 24px; }
.phone .fsize { font-size: 21px; }
.phone .fremove { min-height: 64px; padding: 0 20px; font-size: 22px; }

/* ---------- Websites: a short overview, a page per offer ---------- */
.subnav { position: sticky; top: 77px; z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-height: 60px; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; white-space: nowrap;
  color: var(--muted); font-size: 17px; font-weight: 600; box-shadow: inset 0 -3px 0 transparent; }
.subnav a:hover { color: var(--text); background: var(--alt); }
.subnav a[aria-current="page"] { color: var(--text); border-radius: 0; box-shadow: inset 0 -3px 0 var(--accent); }
.subnav .subnav-go { margin-left: auto; color: var(--accent); font-weight: 800; }
.subnav .subnav-go:hover { color: var(--accent-hover); background: var(--accent-soft); }
.subnav .subnav-go[aria-current="page"] { color: var(--accent); }
.offers-4 .stage { display: flex; flex-direction: column; transition: border-color 0.15s ease, transform 0.15s ease; }
.offers-4 .stage:hover { border-color: var(--accent); transform: translateY(-2px); }
.offers-4 .stage:has(.stage-go:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.stage h3 .stage-go { color: inherit; font-weight: inherit; outline: none; }
.stage-go::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.offers-4 .stage-price { margin-top: auto; }
.offers-4 .stage p:not(.stage-tag):not(.stage-price) { margin-bottom: 16px; }
.stage-more { margin-top: 12px; color: var(--accent); font-size: 18px; font-weight: 800; }
.offers-4 .stage:hover .stage-more { color: var(--accent-hover); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-cta { padding: 56px 0; }
.section-cta .offer-band { margin: 0; }
.section-tight { padding: 0 0 56px; }
.section-cta + .section-tight { margin-top: -24px; }
.home-offer { margin-top: 28px; }
.pick-title { font-size: 34px; font-weight: 800; }
.pick-more { margin-top: 20px; color: var(--muted); font-size: 18px; }
.pick-more a, .plan-help a { color: var(--accent); font-weight: 700; }
details.plan-pick summary { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; min-height: 44px; cursor: pointer; list-style: none; }
details.plan-pick summary::-webkit-details-marker { display: none; }
details.plan-pick summary .plan-pick-label { display: inline; }
#plan-summary { color: var(--muted); font-size: 17px; font-weight: 400; }
.plan-change { margin-left: auto; color: var(--accent); font-size: 17px; font-weight: 700; }
.plan-change::after { content: " \25BE"; }
details[open] .plan-change::after { content: " \25B4"; }
.plan-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.plan-feats .feat + .feat { margin-top: 0; }
.plan-feats .feat { background: var(--card); font-weight: 400; }
.plan-help { margin-top: 12px; color: var(--muted); font-size: 16px; }

.phone .subnav { top: 121px; }
.phone .subnav .wrap { min-height: 88px; gap: 2px; }
.phone .subnav a { min-height: 72px; padding: 0 14px; font-size: 25px; }
.phone .stage-more { font-size: 25px; }
.phone .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phone .pick-title { font-size: 46px; }
.phone .pick-more, .phone .plan-help { font-size: 24px; }
.phone #plan-summary, .phone .plan-change { font-size: 24px; }
.phone details.plan-pick summary { min-height: 64px; }
.phone .plan-feats { grid-template-columns: 1fr; }

.phone .step-num { font-size: 21px; }
.phone .quote-form h2 { font-size: 44px; }
.phone .quote-form h3 { font-size: 32px; }
.phone .found-ref, .phone .pay-note, .phone .terms-link { font-size: 22px; }
.phone .accept { font-size: 24px; padding: 22px; }
.phone .accept input { width: 36px; height: 36px; }
.phone .pill-status { font-size: 20px; padding: 8px 16px; }
.phone .modal-card { max-width: 900px; padding: 44px; }
.phone .modal-card h2 { font-size: 40px; }
.phone .modal-card p { font-size: 27px; }
.phone .terms-short h2, .phone .terms h2 { font-size: 34px; }
.phone .terms p { font-size: 25px; }
.phone .table { font-size: 21px; }

/* ---------- Going ahead with a mock-up, and the account pages ---------- */
[hidden] { display: none !important; }
.btn-block { width: 100%; }
.proceed-status:empty { display: none; }
.proceed-status { margin-bottom: 20px; }
.trial { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--text); font-size: 18px; }
.trial b { color: var(--accent); }
.trial.ended { background: var(--alt); color: var(--muted); }
#f-open:not(:empty) { margin-top: 18px; }
.builder-pick .builder-label { margin-top: 26px; }
.domain-field { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; text-align: left; font-size: 17px; font-weight: 700; }
.domain-field input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--text); font: inherit; font-size: 17px; font-weight: 400; }
.domain-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.domain-field small { color: var(--faint); font-size: 15px; font-weight: 400; }
.builder-total .accept { text-align: left; }
.builder-total .form-status:not(:empty) { margin-top: 12px; }
.builder-total .pay-note { justify-content: center; text-align: left; }
.welcome { max-width: 920px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.welcome-head { display: flex; gap: 20px; align-items: flex-start; }
.welcome-head .eyebrow { margin-bottom: 8px; }
.welcome-head h2 { font-size: 32px; font-weight: 800; }
.welcome-head p { margin-top: 10px; color: var(--muted); font-size: 18px; }
.welcome-tick { flex: none; width: 56px; height: 56px; fill: none; stroke: #1a7f37; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.next-steps { margin: 26px 0; padding: 0; list-style: none; counter-reset: step; }
.next-steps li { position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--line); counter-increment: step; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; line-height: 36px; text-align: center; }
.next-steps h3 { font-size: 20px; font-weight: 800; }
.next-steps p { margin-top: 4px; color: var(--muted); font-size: 17px; }
.signin-form { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.signin-form label { display: flex; flex-direction: column; gap: 8px; flex: 1 1 320px; font-size: 17px; font-weight: 700; }
.signin-form input { min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--text); font: inherit; font-weight: 400; }
.signin-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.signin-form + .form-status:not(:empty) { margin-top: 14px; }
.site-feats { margin: 0 0 18px; font-size: 16px; }
.admin-feats { margin: 0; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; }
.admin-feats legend { padding: 0 6px; font-size: 17px; font-weight: 700; }
#ad-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
#ad-feats .startup { display: flex; font-size: 16px; }
.admin-note { margin-top: 10px; font-size: 15px; }
.fb-msg { white-space: pre-wrap; min-width: 280px; }
.table tr.done td { color: var(--faint); text-decoration: line-through; }
.table tr.done td.row-actions { text-decoration: none; }
.go-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); font-size: 18px; }
.go-band b { color: var(--text); }
.go-band a { color: var(--accent); font-weight: 800; white-space: nowrap; }
.phone .trial, .phone .welcome-head p, .phone .next-steps p, .phone .go-band { font-size: 25px; }
.phone .domain-field, .phone .signin-form label { font-size: 25px; }
.phone .domain-field input, .phone .signin-form input { min-height: 80px; font-size: 27px; padding: 16px 20px; }
.phone .domain-field small, .phone .admin-note { font-size: 21px; }
.phone .welcome-head h2 { font-size: 44px; }
.phone .next-steps h3 { font-size: 30px; }
.phone .next-steps li { padding-left: 76px; }
.phone .next-steps li::before { width: 52px; height: 52px; line-height: 52px; font-size: 26px; }
.phone .site-feats { font-size: 23px; }

/* ---------- Ready to go: the My Storefront card ---------- */
.ready { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; padding: 34px 36px; background: var(--card);
  border: 2px solid var(--accent); border-radius: 18px; box-shadow: var(--shadow); }
.ready-pay { border: 1px solid var(--line); }
.ready-tag { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ready-tag span { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); font-size: 13px; letter-spacing: 0.04em; }
.ready h3, .ready h2 { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -0.015em; }
.ready h3 a { color: inherit; }
.ready-text > p:not(.ready-tag):not(.ready-price) { margin-top: 12px; color: var(--muted); font-size: 19px; }
.ready-ticks { margin-top: 18px; }
.ready-ticks li { font-size: 17px; }
.ready-ticks b { color: var(--text); }
.ready-price { margin-top: 18px; font-size: 24px; font-weight: 800; }
.ready-note { color: var(--faint) !important; font-size: 16px !important; }
.ready-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ready-shot { justify-self: center; display: block; width: 100%; max-width: 300px; padding: 10px; border-radius: 34px; background: #121820;
  box-shadow: 0 24px 60px -24px rgba(18, 24, 32, 0.5); transition: transform 0.15s ease; }
.ready-shot:hover { transform: translateY(-3px); }
.ready-shot img { width: 100%; height: 470px; object-fit: cover; object-position: top; border-radius: 25px; }
.built-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 40px 0 16px; color: var(--muted); font-size: 18px; }
.built-label b { color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-band .offer-go + .offer-go { margin-left: -4px; }
.phone .ready { grid-template-columns: 1fr 0.8fr; padding: 40px; }
.phone .ready-tag, .phone .built-label b { font-size: 21px; }
.phone .ready-tag span { font-size: 19px; }
.phone .ready h3, .phone .ready h2 { font-size: 44px; }
.phone .ready-text > p:not(.ready-tag):not(.ready-price), .phone .built-label, .phone .ready-ticks li { font-size: 25px; }
.phone .ready-price { font-size: 32px; }
.phone .ready-note { font-size: 22px !important; }

/* ---------- The website icon: our websites, as the flag is our motorsport ---------- */
.webicon { flex: none; width: 1.25em; height: 1.25em; }
.wi-frame { fill: var(--card); stroke: var(--text); stroke-width: 1.6; }
.wi-bar { fill: var(--text); }
.wi-dot { fill: var(--card); }
.wi-hero { fill: var(--accent); }
.wi-line { fill: var(--faint); }
.ready-tag span .webicon { width: 1.5em; height: 1.5em; margin: -0.2em 0.35em -0.2em -0.1em; vertical-align: middle; }
.ready-tag span { display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .offers-4 .stage:hover { transform: none; }
}

/* ---------- My Storefront: additions to the HATTECH stylesheet ---------- */
.brand-text { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand-text b { color: var(--accent); font-weight: 800; }
.foot-brand { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); margin: 0 0 6px; }
.foot-brand b { color: var(--accent); }
.affil { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.affil .wordmark { width: 96px; filter: var(--wordmark-filter); }
.band-affil { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.band-affil .wordmark { width: 150px; filter: var(--wordmark-filter); }
.band-affil p { margin: 0; color: var(--muted); }
.band-affil b { color: var(--text); }
.hero-shop .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-shop figure { margin: 0; justify-self: center; }
.hero-shop figure img { width: 300px; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.hero-shop figcaption { margin-top: 10px; text-align: center; color: var(--faint); font-size: 14px; }
.subfield { display: flex; align-items: stretch; border: 1px solid var(--line-strong, #cfd6de); border-radius: 10px; overflow: hidden; background: var(--bg); }
.subfield input { border: 0 !important; border-radius: 0 !important; min-width: 0; flex: 1; }
.subfield span { display: flex; align-items: center; padding: 0 12px; background: var(--alt); color: var(--muted); font-size: 15px; white-space: nowrap; border-left: 1px solid var(--line); }
.sub-status { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 20px; }
.sub-status.ok { color: #1a7f37; font-weight: 600; }
.sub-status.bad { color: #cf222e; font-weight: 600; }
.code { margin: 14px 0; padding: 16px 18px; border-radius: 12px; background: #121820; color: #e9edf1; font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; }
.code b { color: #ffb38f; font-weight: 600; }
.code-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 4px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.faq summary { padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 14px; color: var(--muted); }
.price-card { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.big-price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 8px; }
.big-price small { font-size: 22px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.shops-list { display: grid; gap: 16px; }
.shop-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.shop-card h3 { margin: 0; font-size: 22px; }
.shop-card .addr { display: block; color: var(--accent); font-weight: 600; text-decoration: none; word-break: break-all; }
.shop-card .facts-line { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.shop-card .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.shop-card .domain-form { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.shop-card .domain-form input { flex: 1; min-width: 200px; }
.welcome-card { padding: 22px; border-radius: 14px; background: var(--accent-soft, #fff1ea); border: 1px solid rgba(194, 65, 12, 0.3); margin-bottom: 20px; }
.welcome-card h2 { margin: 0 0 6px; font-size: 22px; }
.welcome-card p { margin: 0; color: var(--muted); }
.admin-grid { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 1.2fr; gap: 8px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 15px; }
.admin-row b { font-size: 16px; }
.admin-row .small { color: var(--faint); font-size: 13px; }
.admin-row .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-row .acts input { min-height: 40px; padding: 6px 10px; font-size: 14px; max-width: 220px; }
.ready-flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ready-flags span { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--alt); color: var(--muted); }
.ready-flags span.on { background: #e7f5ec; color: #1a7f37; }
.events { font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.events code { font-size: 13px; }
.file-pick { display: grid; gap: 8px; }
.file-pick ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.file-pick li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.phone .brand-text { font-size: 34px; }
.phone .hero-shop .wrap { grid-template-columns: 1fr; }
.phone .hero-shop figure img { width: 420px; }
.phone .band-affil { grid-template-columns: 1fr; }
.phone .price-card { grid-template-columns: 1fr; }
.phone .admin-row { grid-template-columns: 1fr 1fr; }
.phone .shop-card { grid-template-columns: 1fr; }
@media (prefers-color-scheme: dark) {
  .sub-status.ok { color: #3fb950; } .sub-status.bad { color: #ff7b72; }
  .welcome-card { background: rgba(255, 106, 43, 0.12); border-color: rgba(255, 106, 43, 0.4); }
  .ready-flags span.on { background: rgba(63, 185, 80, 0.14); color: #3fb950; }
}

.verify-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.verify-pick legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.verify-pick .check-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.verify-pick .check-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft, #fff1ea); }
.verify-pick .check-row b { display: block; }
.verify-pick .check-row span { color: var(--muted); font-size: 15px; }
.verify-pick input { margin-top: 4px; accent-color: var(--accent); }
.dns-record { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 14px; align-items: center; margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.dns-record dt { color: var(--faint); font-size: 14px; }
.dns-record dd { margin: 0; font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.dns-record button { min-height: 36px; padding: 0 12px; }
.verify-state { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.verify-state span { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--alt); color: var(--muted); }
.verify-state span.on { background: #e7f5ec; color: #1a7f37; }
.phone .dns-record { grid-template-columns: 1fr; }
.dns-box .actions { margin-top: 6px; }
.dns-box .form-status { margin-top: 8px; }
.welcome h3 { margin: 22px 0 6px; font-size: 19px; }

/* ---------- The address check: free, taken, and free ones close to it ---------- */
.addr-check { margin-top: 28px; padding: 20px 22px; max-width: 620px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.addr-check label { display: block; font-size: 18px; font-weight: 700; }
.addr-row { display: flex; gap: 10px; margin-top: 10px; }
.addr-row .subfield { flex: 1; min-width: 0; }
.addr-row input { min-height: 48px; padding: 0 14px; font: inherit; font-size: 18px; color: var(--text); background: transparent; }
.addr-row .btn { flex: none; }
.addr-row > input { flex: 1; min-width: 0; border: 1px solid var(--line-strong, #cfd6de); border-radius: 10px; background: var(--bg); }
.addr-row > input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.addr-check .sub-status { margin-top: 10px; font-size: 16px; }
.sub-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-weight: 400; }
.chip { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong, #cfd6de); border-radius: 999px; background: var(--bg); color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
a.tier { display: block; color: inherit; text-decoration: none; }
a.tier:hover { border-color: var(--accent); }
.stage-price a { margin-left: 8px; color: var(--accent); font-weight: 700; white-space: nowrap; }
.stage-price a:only-child { margin-left: 0; }
.phone .addr-check { max-width: none; padding: 28px; }
.phone .addr-check label { font-size: 28px; }
.phone .addr-row input { min-height: 80px; font-size: 28px; }
.phone .addr-check .sub-status, .phone .sub-status { font-size: 24px; }
.phone .chip { min-height: 64px; padding: 0 20px; font-size: 23px; }
.phone .subfield span { font-size: 22px; }
.phone .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phone .tier-name { font-size: 22px; } .phone .tier-price { font-size: 46px; } .phone .tier-inc { font-size: 24px; }
.phone .nav a[href="/#offer"] { display: none; }   /* the section is right below on the front page */

/* ---------- Our work: the sites we have made, as a grid ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.work-img { position: relative; display: block; border: 0; border-bottom: 1px solid var(--line); background: var(--alt); }
.work-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.work-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px 24px 24px; }
.work-body h3 { font-size: 24px; font-weight: 800; }
.work .prod-line { font-size: 18px; }
.work .prod-note { font-size: 16.5px; }
.work .prod-links { margin-top: auto; padding-top: 10px; }
.hero-text .actions { flex-wrap: wrap; }
.phone .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phone .work-body h3 { font-size: 36px; }
.phone .work .prod-line { font-size: 28px; }
.phone .work .prod-note { font-size: 25px; }

/* ---------- The free mock-up: features beside the plan they come to ---------- */
.kind-pick, .feats { border: 0; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.kind-pick legend, .feats legend { margin-bottom: 10px; padding: 0; font-size: 20px; font-weight: 800; }
.feats legend small { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; font-weight: 400; }
.kind-pick .check-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.kind-pick .check-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.kind-pick .check-row b { display: block; }
.kind-pick .check-row span { color: var(--muted); font-size: 15px; }
.kind-pick input { margin-top: 4px; accent-color: var(--accent); }
.feats .feat + .feat { margin-top: 0; }
.incl-tag { display: none; margin-left: auto; align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--alt); color: var(--muted); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.feat.incl .incl-tag { display: inline-block; }
.plan-box { position: sticky; top: 96px; align-self: start; }
.plan-name { margin-top: 4px; font-size: 26px; font-weight: 800; }
.plan-line { margin-top: 10px; color: var(--muted); font-size: 16px; }
.plan-like { margin-top: 6px; color: var(--accent); font-size: 15px; font-weight: 700; }
.tier-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.tier-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tier-chip b { font-size: 15px; } .tier-chip span { color: var(--muted); font-size: 14px; }
.tier-chip.on { border: 2px solid var(--accent); padding: 7px 11px; background: var(--accent-soft); }
.tier-like { margin-top: 8px; color: var(--accent); font-size: 14px; font-weight: 700; }
.mock-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 24px; padding: 0; list-style: none; counter-reset: mock; }
.mock-steps li { position: relative; padding: 18px 18px 18px 60px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; counter-increment: mock; }
.mock-steps li::before { content: counter(mock); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; line-height: 32px; text-align: center; }
.mock-steps b { display: block; font-size: 18px; } .mock-steps span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.field-inline { display: block; margin-top: 14px; }
.field-inline > span { display: block; font-weight: 700; margin-bottom: 6px; }
.field-inline input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; }
.shop-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.admin-row.done { opacity: .55; }
.feat-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.phone .mock-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phone .mock-steps b { font-size: 27px; } .phone .mock-steps span { font-size: 23px; }
.phone .mock-steps li { padding-left: 76px; } .phone .mock-steps li::before { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
.phone .plan-box { position: static; }
.phone .tier-chip b { font-size: 24px; } .phone .tier-chip span { font-size: 21px; } .phone .tier-chip { min-height: 80px; }
.phone .kind-pick legend, .phone .feats legend { font-size: 30px; } .phone .feats legend small, .phone .kind-pick .check-row span { font-size: 23px; }
.phone .plan-name { font-size: 38px; } .phone .plan-line, .phone .plan-like { font-size: 24px; }
/* A tick box inside a form's fields sits beside its words, at its own size. */
.fields .check-row { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.fields .check-row input { flex: none; width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--accent); }
.phone .fields .check-row input { width: 36px; height: 36px; }
/* Bringing a website's domain across */
.connect-box { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.connect-box h3 { font-size: 20px; font-weight: 800; }
.connect-box > .muted { margin-top: 6px; }
.connect-box .verify-pick { margin-top: 14px; }
.connect-box .actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.connect-box .dns-record { margin-top: 12px; }
.phone .connect-box h3 { font-size: 30px; }
