/* Kitbox-Websites mock-up — planned for kitbox-websites.co.uk. Not live.
   Palette, type and outline-icon language match the shop mock-up.
   Spacing follows a generous Living Bathrooms-style rhythm (~96px sections, 1200px max). */

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/Urbanist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/Urbanist-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #F9F9F9;
  --paper-deep: #F0F0F0;
  --card: #FFFFFF;
  --ink: #090909;
  --muted: #4A4A4A;
  --line: #E6E6E6;
  --accent: #F7911D;
  --accent-dark: #9A5200;
  --dark: #090909;
  --dark-band: #424242;
  --focus: #9A5200;
  --danger: #8B2E2E;
  --max: 75rem; /* 1200px */
  --header-h: 4.75rem;
  --section: 6rem; /* 96px */
  --font-display: "Raleway", "Liberation Sans", sans-serif;
  --font-sans: "Urbanist", "Liberation Sans", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  background: var(--dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 400;
  min-height: 2.5rem;
  text-decoration: none;
  border-radius: 0.25rem;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus,
.skip-link:focus-visible {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  white-space: normal;
  outline: 3px solid #fff;
  outline-offset: 3px;
}

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.banner :focus-visible,
.dark-band :focus-visible,
.btn-on-dark:focus-visible {
  outline-color: #fff;
}

a, button, input, select, textarea, label, summary {
  min-height: 24px;
  min-width: 24px;
}

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}
.wrap-narrow { width: min(40rem, calc(100% - 3rem)); margin-inline: auto; }

.section { padding: var(--section) 0; }
.section-tight { padding: 4rem 0; }
.band { background: var(--paper-deep); }
.band-white { background: var(--card); }
.dark-band {
  background: var(--dark-band);
  color: #fff;
}
.dark-band .lede,
.dark-band p { color: #EDEDED; }
.dark-band a { color: #fff; }
.dark-band a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  text-wrap: balance;
  hyphens: manual;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.35rem); font-weight: 620; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.6;
}
.prose { max-width: 40rem; }
.prose p, .prose li { color: var(--ink); }

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 1rem;
}
.dark-band .kicker { color: var(--accent); }

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 3rem;
  max-width: 40rem;
}
.section-head h2 { margin-bottom: 0.35rem; }

.banner {
  background: var(--dark);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  padding: 0.65rem 1.25rem;
}
.banner strong { font-weight: 650; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
  min-height: 44px;
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 2.75rem;
  border: 1px dashed #8A8A8A;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.logo-slot img, .logo-slot svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-text { display: flex; flex-direction: column; gap: 0.05rem; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.logo-tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-tag { color: #C8C8C8; }
.site-footer .logo-slot {
  background: #1A1A1A;
  border-color: #6A6A6A;
  color: #C8C8C8;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.primary-nav a:hover { color: var(--accent-dark); }
.primary-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: 650;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--paper-deep); }
.btn-on-dark {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn-on-dark-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.text-link {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--ink); }

.hero { padding: 5.5rem 0 4.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.25rem; max-width: none; hyphens: manual; }
.hero .lede { margin-bottom: 0; }

.hero-panel {
  background: var(--paper-deep);
  border-radius: 0.35rem;
  min-height: 20rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.hero-panel p {
  color: var(--muted);
  max-width: 22rem;
}
.hero-illustration { width: 100%; height: auto; color: var(--ink); }

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 2.25rem;
}
.trust-list li {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}
.trust-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.trust-list span { color: var(--muted); }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 0.25rem;
  color: var(--ink);
  background: var(--card);
  flex: 0 0 auto;
}
.icon-box svg { width: 1.4rem; height: 1.4rem; }
.dark-band .icon-box {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.grid-3, .grid-2, .pkg-grid, .addon-grid, .include-grid {
  display: grid;
  gap: 2rem;
}
.grid-3, .pkg-grid { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.addon-grid, .include-grid { grid-template-columns: repeat(3, 1fr); }

.card, .pkg-card, .include-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 2rem 1.85rem 2.1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
.pkg-card { padding: 2.25rem 2rem 2.35rem; }
.card h3, .pkg-card h3 { margin-bottom: 0.6rem; }
.card p, .pkg-card p { color: var(--muted); }
.pkg-card > p:not(.price) { flex: 0 0 auto; }

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 1.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 0.2rem;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.tag-accent {
  background: var(--accent);
  color: var(--ink);
}

.price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.15rem;
  line-height: 1.2;
}
.price small {
  display: inline;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: 0;
}
.price-stack { margin: 0 0 1.15rem; }
.confirm {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}

.pkg-card ul, .card ul, .tick, .plain-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.pkg-card ul { flex: 1; }
.pkg-card li, .card li, .tick li, .plain-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.pkg-card li:first-child, .card ul li:first-child, .tick li:first-child { border-top: 0; }
.pkg-card li::before, .tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.note {
  background: var(--paper-deep);
  border-radius: 0.35rem;
  padding: 1.5rem 1.6rem;
  max-width: 48rem;
  color: var(--muted);
}
.note strong { color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 2rem;
}
.steps .who {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.7rem;
}

.tablewrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 1rem;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: top;
}
thead th {
  background: var(--paper-deep);
  font-family: var(--font-display);
  font-weight: 650;
}
caption { color: var(--muted); }

.form-row { margin-bottom: 1.35rem; }
.form-row label { display: block; font-weight: 650; margin-bottom: 0.4rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #B0B0B0;
  border-radius: 0.25rem;
  background: var(--card);
}
.form-row textarea { min-height: 10rem; resize: vertical; }
.form-row .check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 400;
}
.form-row .check input { width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; flex: 0 0 auto; }
.form-status { color: var(--muted); margin-top: 1rem; }

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 3rem 2.5rem;
  margin-bottom: 3rem;
}
.site-footer p, .site-footer li { color: #E4E4E4; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0; padding: 0.2rem 0; border: 0; }
.footer-nav a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.footer-legal {
  border-top: 1px solid #2A2A2A;
  padding-top: 1.5rem;
}
.footer-legal p {
  color: #C8C8C8;
  font-size: 0.95rem;
  max-width: 60rem;
  margin-bottom: 0.6rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.calc-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.pkg-controls fieldset {
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 1.25rem 1.35rem 1.4rem;
  margin: 0 0 1.25rem;
  background: var(--card);
}
.pkg-controls legend { font-weight: 700; padding: 0 0.35rem; }
.tier-option, .mode-toggle label, .addon-toggle {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.mode-toggle label:first-child,
.tier-option:first-of-type { border-top: 0; }
.tier-option span, .addon-toggle span, .hint { color: var(--muted); display: block; }
.pkg-summary {
  background: var(--paper-deep);
  border-radius: 0.35rem;
  padding: 2rem 1.75rem;
}
.pkg-summary [id^="sum-"] { font-weight: 650; }

@media (max-width: 960px) {
  .hero-grid,
  .grid-3, .pkg-grid, .addon-grid, .include-grid,
  .footer-grid, .calc-box { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
}
@media (max-width: 720px) {
  :root { --section: 4.25rem; }
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  .hero { padding: 3.25rem 0 2.75rem; }
  .hero-grid { gap: 2rem; }
  .hero-panel { min-height: 0; padding: 1.5rem; }
  .trust-list, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .header-inner { position: relative; }
}


/* Compatibility + page-specific */
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; line-height: 1.6; }
.small, .hint { color: var(--muted); font-size: 1rem; }
.btns { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.btn.ghost, a.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn.sm { min-height: 44px; padding: 0.45rem 1rem; }
.grid.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.legal, .legal-doc { max-width: 48rem; }
.legal h2, .legal-doc h2 { margin-top: 2.5rem; }
.legal h2:first-child, .legal-doc h2:first-child { margin-top: 0; }
.legal ul, .legal-doc ul, .legal ol, .legal-doc ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.legal li, .legal-doc li { margin: 0.4rem 0; padding: 0; border: 0; }
.legal .card, .legal-doc { background: var(--card); border: 1px solid var(--line); border-radius: 0.35rem; padding: 2.25rem 2rem; }
.crumbs { color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--accent-dark); }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.cs-facts .card { padding: 1.35rem 1.25rem; }
.cs-facts strong { display: block; font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.3rem; }
.cs-label, .cs-facts span { color: var(--muted); }
.pkg-calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; margin-top: 2rem; }
.big-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 1.25rem; }
.stat-box { background: var(--card); border-radius: 0.3rem; padding: 1rem 1.1rem; }
.stat-box .lbl { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.25rem; }
.stat-box .val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 650; }
.inc-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.inc-list li { padding: 0.35rem 0 0.35rem 1.2rem; border-top: 1px solid var(--line); position: relative; }
.inc-list li::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 0.45rem; height: 0.45rem; border: 1.5px solid var(--accent); border-radius: 50%; }
.bng-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.bng-card { background: var(--card); border: 1px solid var(--line); border-radius: 0.35rem; padding: 1.75rem 1.5rem; }
.bng-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 650; color: var(--ink); margin: 0 0 0.5rem; }
.contact-order { max-width: 40rem; padding-left: 1.25rem; }
.contact-order li { margin: 0.7rem 0; }
@media (max-width: 960px) {
  .grid.g2, .grid.g3, .pkg-calc, .bng-cards, .cs-facts, .big-row { grid-template-columns: 1fr; }
}

.logo-wordmark {
  display: block;
  height: 2.1rem;
  width: auto;
  max-width: 19.5rem;
}
.logo .logo-tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  align-self: flex-end;
  margin-bottom: 0.15rem;
}
.site-footer .logo-wordmark { height: 1.95rem; max-width: 17.5rem; }
.site-footer .logo .logo-tag { color: #C8C8C8; }

/* Page top section (hero): grey band with orange writing, on every page.
   Headline is large text (34.4–53.6px), so #F7911D at 4.32:1 on #424242 meets the 3:1 large-text bar.
   Kickers, links and other small type use #FFA94D (5.28:1, AA normal). */
.hero,
.hero-home {
  background: #424242;
  color: #F0F0F0;
}
.hero .kicker,
.hero-home .kicker {
  color: #FFA94D;
}
.hero h1,
.hero-home h1 {
  color: #F7911D;
}
.hero .lede,
.hero .lead,
.hero .small,
.hero .hint,
.hero p,
.hero li,
.hero-home .lede {
  color: #F0F0F0;
}
.hero strong,
.hero-home strong {
  color: #FFFFFF;
}
.hero a:not(.btn),
.hero-home a:not(.btn) {
  color: #FFA94D;
}
.hero a:not(.btn):hover,
.hero-home a:not(.btn):hover {
  color: #FFD19A;
}
.hero .btn-primary,
.hero-home .btn-primary {
  background: #F7911D;
  color: #090909;
  border-color: #F7911D;
}
.hero .btn-secondary,
.hero-home .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.hero .btn-secondary:hover,
.hero-home .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
.hero :focus-visible,
.hero-home :focus-visible {
  outline-color: #FFFFFF;
}
.hero .hero-panel,
.hero-home .hero-panel {
  background: #F0F0F0;
  color: #090909;
}
.hero .hero-panel p,
.hero-home .hero-panel p {
  color: #4A4A4A;
}
.hero .tag {
  background: #F0F0F0;
  color: #090909;
}
.hero .crumbs {
  color: #F0F0F0;
}


/* Public / trade prices, promise line, draft terms box, chat CTAs */
:root {
  --brand: #F7911D;
  --brand-d: #9A5200;
  --bg: #F9F9F9;
  --alt: #F0F0F0;
}
.price-trade {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.price-stack .price-trade { margin-top: -0.25rem; }
.trade-line {
  margin: 1.25rem 0 0;
  font-weight: 650;
  color: var(--ink);
}
.promise {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: inherit;
}
.hero .promise,
.hero-home .promise { color: #F0F0F0; }
.hero .promise a,
.hero-home .promise a { color: #FFA94D; }
.hero .promise a:hover,
.hero-home .promise a:hover { color: #FFD19A; }
.hero .trade-line,
.hero-home .trade-line { color: #F0F0F0; }
.hero-alt { margin: 1rem 0 0; }
.hero-alt a { color: #FFA94D; font-weight: 650; }
.hero-alt a:hover { color: #FFD19A; }
.draft-box {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border: 2px solid #9A5200;
  background: #FFF6EB;
  color: var(--ink);
  border-radius: 0.35rem;
}
.draft-box p { margin: 0 0 0.6rem; }
.draft-box p:last-child { margin: 0; }
.text-link-btn {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  min-height: 0;
  min-width: 0;
}
.hero .text-link-btn,
.hero-home .text-link-btn { color: #FFA94D; }
.hero .text-link-btn:hover,
.hero-home .text-link-btn:hover { color: #FFD19A; }
.prose .text-link-btn,
.contact-order .text-link-btn { color: var(--accent-dark); }
button.btn { font: inherit; cursor: pointer; }

/* Kori launcher and panel: house colours, AA contrast (dark text on orange). */
.kori-launch {
  background: #F7911D;
  color: #090909;
  border: 2px solid #090909;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.kori-launch:hover,
.kori-launch:focus-visible { background: #FFA94D; color: #090909; }
.kori-launch span { color: #090909; }
.k-head { background: #424242; color: #F0F0F0; }
.k-head h2, .k-head p { color: #F0F0F0; }
.k-badge { background: #F7911D; color: #090909; }
.k-close { border-color: #FFFFFF; color: #FFFFFF; }
.k-close:hover { background: #2A2A2A; }
.k-user { background: #F7911D; color: #090909; }
.k-user .k-who { color: #090909; }
.k-chip { color: #9A5200; border-color: #F7911D; }
.k-chip:hover { background: #FFF6EB; }
.k-chip.k-primary,
.k-chip[aria-pressed=true] { background: #F7911D; color: #090909; }
.k-chip.k-primary:hover { background: #FFA94D; color: #090909; }
.k-disclose { background: #F0F0F0; border-bottom-color: #E6E6E6; color: #090909; }
.k-summary { border-color: #F7911D; }
.k-summary h3 { color: #9A5200; }

.site-footer .site-tagline {
  margin: 0.35rem 0 0.85rem;
  color: #F0F0F0;
  font-weight: 650;
  max-width: 26rem;
  line-height: 1.45;
}


/* Kori panel sits below the sticky header; launcher/panel above it. */
.kori {
  top: calc(var(--header-h) + 0.5rem);
  z-index: 90;
}
.kori-launch { z-index: 90; }
@media (max-width: 600px) {
  .kori { top: var(--header-h); }
}

.draft-banner {
  margin: 0 0 2rem;
  padding: 0.95rem 1.25rem;
  background: #424242;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: 0.3rem;
}
.draft-banner strong { color: #FFFFFF; font-weight: 700; }
.promise-terms h2 {
  margin-top: 2.25rem;
  font-size: 1.5rem;
}
.promise-terms h2:first-child { margin-top: 0; }
.promise-terms h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.15rem;
}
.promise-terms p, .promise-terms li { color: var(--ink); }
.promise-terms .confirm {
  display: inline;
  background: #FFF6EB;
  border: 1px solid #9A5200;
  border-radius: 0.2rem;
  padding: 0.05rem 0.3rem;
  color: #9A5200;
}

.hero-strapline {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: #F0F0F0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.4;
}
.hero .hero-strapline + .lede,
.hero-home .hero-strapline + .lede { margin-top: 1rem; }

.pay-options {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
}
.pay-option {
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.85rem 0.95rem 0.75rem;
  background: var(--paper);
}
.pay-label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.pkg-card .pay-option .price { color: var(--ink); margin-bottom: 0; }
.pkg-card .pay-option .price-trade { margin: 0 0 0.4rem; }
.pkg-card .pay-option .price-trade:last-child { margin-bottom: 0; }
.installer-notes { margin-top: 2rem; }
.installer-notes .note { margin: 0 0 0.85rem; }
.installer-notes .terms-pending {
  border: 2px solid #9A5200;
  background: #FFF6EB;
  padding: 0.85rem 1rem;
  border-radius: 0.3rem;
}
.tier-option[hidden] { display: none; }

.pay-option-trade .pay-label { color: #9A5200; }
.pay-extra {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.table-wrap { overflow-x: auto; margin: 0 0 1.4rem; }
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--card);
}
.terms-table th, .terms-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.terms-table th { background: var(--band, #F0F0F0); font-weight: 700; }
.client-terms h2 { scroll-margin-top: 6rem; }
.client-terms hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.banner-sub {
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
}
.installer-audience {
  margin: 0 0 1.5rem;
  max-width: 46rem;
}

@media (max-width: 720px) {
  .logo-wordmark { height: 1.65rem; max-width: 12.5rem; }
  .site-footer .logo-wordmark { height: 1.7rem; max-width: 15rem; }
}

/* Alignment audit (v13) */

/* Legal copy stays in the main 75rem well, left-aligned, so it does not
   sit under the chat launcher. The 48rem cap applies to the inner blocks. */
.wrap.legal {
  max-width: var(--max);
}
.wrap.legal > * {
  max-width: 48rem;
}

/* Tables and long statute URLs must scroll inside the column, not widen the page. */
.wrap,
.client-terms,
.table-wrap,
.tablewrap {
  min-width: 0;
}
/* Overflow:auto on .table-wrap is not enough on its own: wide tables still
   expand the page scroll width. Clip the section so only the table wraps scroll. */
main,
.section,
.wrap.legal,
.client-terms {
  overflow-x: clip;
  max-width: 100%;
}
.table-wrap,
.tablewrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.terms-table {
  width: 100%;
  min-width: 36rem;
}
.client-terms a,
.wrap.legal a,
.promise-terms a {
  overflow-wrap: anywhere;
}

/* Footer columns wrap instead of overflowing; leave room for the launcher. */
.footer-grid > * { min-width: 0; }
.site-footer { padding-bottom: 6.5rem; }
.site-footer a { overflow-wrap: anywhere; }

/* Audience note lines up with the card grid rather than a narrower inset. */
.installer-audience { max-width: none; }

.pay-extra { text-wrap: pretty; }
.nobr { white-space: nowrap; }
.tm {
  font-size: 0.55em;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 0;
  position: relative;
  top: -0.65em;
  padding-left: 0.05em;
}

/* Compact the chat launcher on small screens so it does not cover CTAs. */
@media (max-width: 720px) {
  .kori-launch {
    max-width: min(11.25rem, calc(100vw - 1.5rem));
    white-space: normal;
    line-height: 1.2;
    text-align: left;
    font-size: 0.92rem;
    padding: 0.55rem 0.85rem;
    right: 0.7rem;
    bottom: 0.7rem;
  }
  .hero-alt, .hero .promise {
    padding-right: 8.5rem;
  }
  .hero .btn-row,
  .hero-home .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn-row .btn,
  .hero-home .btn-row .btn {
    width: 100%;
  }
}

/* Longer Kitbox-Websites wordmark: open the hamburger a little earlier so
   the five nav links are not flush to the right edge. */
@media (max-width: 840px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    z-index: 20;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .header-inner { position: relative; }
}


/* Contact form */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cf-turnstile { margin: 0.4rem 0 0.2rem; }
.form-status.is-error { color: #7A1F16; }
.form-status.is-success { color: #14532D; }
