/* Techcon — London street-sign identity
   plate white / sign black / borough red / pavement grey */
:root {
  --plate: #FBFBF9;
  --white: #FFFFFF;
  --ink: #111316;
  --ink-2: #2A2E34;
  --slate: #59626E;
  --kerb: #ECEEF1;
  --line: #D9DDE2;
  --red: #D42A2F;
  --red-dark: #B01F24;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 10px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plate);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-plate { background: var(--plate); color: var(--ink); }
.btn-plate:hover { background: var(--white); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 249, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { width: 132px; height: auto; }
.site-header nav { margin-left: auto; }
.nav { display: none; list-style: none; margin: 0; padding: 0; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--red); }
@media (min-width: 860px) { .nav { display: flex; } }
@media (max-width: 859px) { .site-header .btn { margin-left: auto; } }

/* ---------- Type helpers ---------- */
.eyebrow, .kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--slate);
}
.kicker { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--red); }
.kicker-red { color: #C9CDD3; }

h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.01em;
  max-width: 22ch;
}
h3 { font-size: 20px; font-weight: 750; }
.body-lg { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 54ch; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 72px 0 96px; } .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

h1 {
  font-family: var(--display);
  font-variation-settings: "wdth" 116;
  font-weight: 850;
  font-size: clamp(36px, 5.4vw, 60px);
  letter-spacing: -.02em;
  line-height: 1.02;
}
h1 em {
  font-style: normal;
  background: linear-gradient(transparent 82%, var(--red) 82%, var(--red) 94%, transparent 94%);
}
.lede { font-size: 19px; color: var(--ink-2); margin-top: 24px; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; color: var(--slate); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg) translateY(-2px); }

/* ---------- Before / After ---------- */
.compare { margin: 0; }
.compare figcaption { font-size: 14px; color: var(--slate); margin-top: 14px; text-align: center; }
.browser {
  border: 2px solid var(--ink); border-radius: 14px; background: var(--white);
  box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--kerb); }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.browser-bar .url { margin-left: 10px; flex: 1; background: var(--white); border-radius: 6px; padding: 3px 10px; font-family: var(--mono); font-size: 12px; color: var(--slate); }

.compare-stage { position: relative; aspect-ratio: 4 / 3.3; --pos: 55%; user-select: none; }
.mock { position: absolute; inset: 0; overflow: hidden; }

/* the "after" site */
.after { background: var(--white); padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; font-size: 13px; }
.after i { font-style: normal; }
.a-nav { display: flex; align-items: center; gap: 14px; color: var(--slate); font-weight: 600; font-size: 12px; }
.a-nav b { font-family: var(--display); font-variation-settings: "wdth" 115; font-size: 17px; color: #0E3B5C; margin-right: auto; }
.a-nav b span { color: #F2A33A; }
.a-call { background: #0E3B5C; color: #fff; padding: 6px 10px; border-radius: 6px; font-weight: 700; }
.a-hero { background: linear-gradient(135deg, #0E3B5C, #17577F); color: #fff; border-radius: 10px; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.a-hero small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.a-hero strong { font-family: var(--display); font-variation-settings: "wdth" 110; font-size: clamp(18px, 2.4vw, 25px); line-height: 1.1; }
.a-hero p { font-size: 13px; opacity: .9; line-height: 1.45; }
.a-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.a-call.big { background: #F2A33A; color: #10202D; padding: 9px 12px; }
.a-alt { border: 1.5px solid rgba(255,255,255,.6); padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.a-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-cards i { background: #EEF3F7; border-radius: 8px; padding: 18px 8px 10px; font-weight: 700; font-size: 12px; color: #0E3B5C; border-top: 4px solid #F2A33A; }

/* the "before" site — deliberately terrible */
.before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background: #FFFF99 repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,153,0,.15) 14px 28px);
  font-family: "Times New Roman", Times, serif; color: #000080; padding: 14px; font-size: 13px;
}
.b-title { font-family: "Comic Sans MS", "Comic Sans", cursive; font-size: clamp(16px, 2.2vw, 22px); color: #FF00FF; text-align: center; text-shadow: 2px 2px 0 #00FFFF; font-weight: bold; }
.b-construct { background: #000; color: #FFFF00; text-align: center; font-weight: bold; margin: 10px 0; padding: 4px; font-family: "Courier New", monospace; font-size: 12px; animation: blink 1.1s steps(1) infinite; }
.before p { margin: 10px 0; line-height: 1.3; }
.b-links u { color: #0000EE; }
.b-counter { display: inline-block; border: 3px ridge #999; background: #C0C0C0; padding: 4px 8px; color: #000; font-size: 12px; }
.b-counter span { font-family: "Courier New", monospace; background: #000; color: #0F0; padding: 0 4px; }
.b-tiny { font-size: 9px !important; color: #777; }
@keyframes blink { 50% { opacity: 0; } }

.tag {
  position: absolute; bottom: 12px; z-index: 3;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 8px; border-radius: 4px; pointer-events: none;
}
.tag-before { left: 12px; background: var(--ink); color: var(--white); }
.tag-after { right: 12px; background: var(--red); color: var(--white); }

.handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--ink);
  transform: translateX(-50%); z-index: 4; pointer-events: none;
}
.handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: var(--white);
  border: 3px solid var(--ink); display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; z-index: 5; -webkit-appearance: none; appearance: none;
}
.compare-range:focus-visible + * , .compare-stage:has(.compare-range:focus-visible) .handle span { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 1000px) { .section { padding: 112px 0; } }
.section-kerb { background: var(--kerb); }
.section-ink { background: var(--ink); color: var(--plate); }
.section-head { margin-bottom: 48px; }

/* Fixes */
.fix-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .fix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fix-grid { grid-template-columns: repeat(3, 1fr); } }
.fix { background: var(--white); padding: 30px 28px 34px; }
.fix h3 { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--red); display: inline-block; }
.fix p { color: var(--ink-2); font-size: 16px; }

/* Who */
.who { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .who { grid-template-columns: 1fr 1fr; gap: 64px; } }
.districts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .districts { grid-template-columns: repeat(3, 1fr); } }
.districts li {
  background: var(--plate); border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 4.5px var(--ink);
  padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.25;
}
.districts b { display: block; font-family: var(--display); font-variation-settings: "wdth" 115; font-size: 22px; font-weight: 850; color: var(--red); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; counter-reset: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: var(--white); font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* Pricing */
.section-ink h2 { color: var(--plate); }
.plans { display: grid; gap: 20px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  border: 1.5px solid #3A3F47; border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column; background: #181B1F;
}
.plan-feature { border: 2px solid var(--red); background: #1E2126; position: relative; }
.plan-flag {
  position: absolute; top: -13px; left: 28px; background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px;
}
.plan h3 { font-family: var(--display); font-variation-settings: "wdth" 115; font-size: 24px; font-weight: 850; }
.plan-for { color: #AEB4BC; font-size: 15px; margin-top: 6px; min-height: 2.8em; }
.price { margin-top: 22px; color: #AEB4BC; font-size: 15px; }
.price span { font-family: var(--display); font-variation-settings: "wdth" 110; font-size: 40px; font-weight: 850; color: var(--plate); letter-spacing: -.01em; margin-right: 4px; }
.price-sub { color: #AEB4BC; font-size: 15px; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg) translateY(-3px); }
.fine { color: #8C939C; font-size: 14px; margin-top: 28px; }

/* FAQ */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; } }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 500; color: var(--red); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* Review form */
.review { display: grid; gap: 44px; }
@media (min-width: 1000px) { .review { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.contact-alt { margin-top: 28px; font-weight: 600; line-height: 1.8; }
.contact-alt a { color: var(--red); }
.form {
  background: var(--white); border: 2px solid var(--ink); border-radius: 14px;
  padding: 28px 24px; box-shadow: 10px 10px 0 var(--ink); display: grid; gap: 18px;
}
@media (min-width: 560px) { .form { padding: 36px 34px; } }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 650; font-size: 15px; }
.opt { font-weight: 400; color: var(--slate); }
.field input {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid #B9BFC7; background: var(--plate); color: var(--ink); width: 100%;
}
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212, 42, 47, .25); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--slate); }
.form-status { font-weight: 600; font-size: 15px; }
.form-status.ok { color: #157347; }
.form-status.err { color: var(--red); }

/* Footer */
.site-footer { background: var(--ink); color: #AEB4BC; padding: 56px 0; font-size: 15px; }
.footer-inner { display: grid; gap: 14px; justify-items: start; }
.site-footer img { width: 120px; margin-bottom: 8px; }
.site-footer a { color: var(--plate); }
.copy { color: #6E757E; font-size: 13px; }

/* Privacy page */
.prose { max-width: 70ch; padding: 64px 16px 96px; margin: 0 auto; }
.prose h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }

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