/* Teabreak Sites marketing site. Colours, type and copy follow designs/Main.dc.html. */
:root {
  --charcoal: #15171B;
  --charcoal-2: #2A2D33;
  --footer: #0E0F12;
  --ink-2: #3A3D44;
  --ink-3: #5C5A52;
  --off-white: #F4F2EC;
  --stone: #E8E5DC;
  --rule: #D9D6CE;
  --quiet: #A9A69E;
  --field-border: #8A877F;
  --white: #FFFFFF;
  --accent: #FFC72C;
  --xmas-red: #A3121F;
  --xmas-green: #0F5132;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--charcoal); text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.accent { color: var(--accent); }
.stack-sm > * + * { margin-top: 16px; }
.stack-md > * + * { margin-top: 28px; }
.stack-lg > * + * { margin-top: 40px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--charcoal);
  border: 2px solid var(--accent); border-radius: var(--radius);
  font-family: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
}
.button:hover { color: var(--charcoal); background: #FFD45C; }
.button--small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.button--large { min-height: 56px; padding: 0 28px; font-size: 19px; }
.button--outlined { border-color: var(--charcoal); }

/* Sale banners */
.sale-banner__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 20px; text-align: center; font-size: 17px; font-weight: 600;
}
.sale-banner__name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 1px; }
.sale-banner a { font-weight: 700; }
.sale-banner--bf {
  /* Hazard tape: the one place a gradient is allowed */
  background: repeating-linear-gradient(135deg, var(--charcoal) 0 18px, var(--accent) 18px 36px);
  padding: 6px 0;
}
.sale-banner--bf .sale-banner__inner {
  max-width: none; background: var(--charcoal); color: var(--off-white); padding: 12px 24px;
}
.sale-banner--bf .sale-banner__name { color: var(--accent); }
.sale-banner--bf a { color: var(--off-white); }
.sale-banner--xmas {
  background: var(--xmas-red); color: var(--white);
  padding: 14px 24px; border-bottom: 4px solid var(--xmas-green);
}
.sale-banner--xmas a { color: var(--white); }

/* Header */
.site-header { background: var(--charcoal); border-bottom: 1px solid var(--charcoal-2); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.logo { display: inline-block; }
.logo img { width: 200px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 600; font-size: 16px; }
.site-nav a:not(.button) { color: var(--rule); text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--off-white); }
.site-nav a.site-nav__login { color: var(--off-white); }
@media (max-width: 720px) {
  .site-nav a:not(.button):not(.site-nav__login) { display: none; }
}

/* Hero */
.hero { background: var(--charcoal); color: var(--off-white); }
.hero__inner {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px;
  padding-top: 64px; padding-bottom: 72px;
}
.hero__text {
  flex: 1 1 460px; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(54px, 7vw, 100px); line-height: 0.92; text-transform: uppercase;
}
.hero__lede { font-size: 21px; line-height: 1.5; color: var(--rule); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__link { color: var(--off-white); font-weight: 700; font-size: 18px; text-underline-offset: 4px; }
.hero__link:hover { color: var(--accent); }
.hero__small { font-size: 16px; color: var(--quiet); }
.hero__media { flex: 1 1 420px; min-width: 0; position: relative; min-height: 460px; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius);
}
/* Phones: one header row (the main button is right below in the hero),
   full-width button, and a shorter photo cropped to his face and phone. */
@media (max-width: 520px) {
  .site-header__inner { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .logo img { width: 150px; height: auto; }
  .site-nav .button { display: none; }
  .site-nav a.site-nav__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--charcoal-2); border-radius: var(--radius); }
  .hero__inner { padding-top: 32px; padding-bottom: 40px; gap: 28px; }
  .hero__text { gap: 20px; }
  .hero__lede { font-size: 19px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__actions .button { justify-content: center; text-align: center; }
  .hero__link { align-self: center; }
  .hero__small { margin-top: -4px; text-align: center; font-size: 15px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media img { object-position: 50% 35%; }
}

/* Sale stamp on the hero photo */
.stamp {
  position: absolute; top: 20px; left: -12px;
  background: var(--accent); color: var(--charcoal);
  padding: 12px 18px; transform: rotate(-4deg);
  box-shadow: 4px 4px 0 var(--charcoal);
  display: flex; flex-direction: column; gap: 2px;
}
.stamp--xmas { background: var(--xmas-red); color: var(--white); }
.stamp__name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }
.stamp__price { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.stamp__small { font-size: 14px; font-weight: 600; }
@media (max-width: 520px) { .stamp { left: 8px; } }

/* Sections */
.section { padding: 88px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--charcoal); color: var(--off-white); }
.section--ruled { border-bottom: none; }
@media (max-width: 520px) { .section { padding: 64px 0; } }

.display-h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; text-transform: uppercase;
}
.display-h2--big { font-size: clamp(44px, 5.5vw, 72px); line-height: 0.95; }

/* How it works: ruled list, not cards */
.steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px;
}
.steps li { border-top: 4px solid var(--charcoal); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.steps__label { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink-3); }
.steps h3 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.steps p { color: var(--ink-2); }

/* Example sites (real screenshots, scripts/sample-shots.mjs) and what's included */
.examples__lede { max-width: 640px; font-size: 19px; color: var(--ink-2); }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.example-shot { display: flex; flex-direction: column; gap: 14px; }
.example-shot figcaption { font-size: 17px; color: var(--ink-2); }
.example-shot figcaption strong { color: var(--charcoal); }
/* A laptop with the phone in front of it, bottom right. */
.example-shot__devices { position: relative; padding: 0 9% 9% 0; }
.laptop { position: relative; padding: 7px 7px 0; background: var(--charcoal); border-radius: 8px 8px 0 0; }
.laptop::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -10px; height: 10px; background: var(--charcoal-2); border-radius: 0 0 6px 6px; }
.laptop img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; background: var(--stone); }
.handset { position: absolute; right: 0; bottom: 0; width: 27%; padding: 4px; background: var(--charcoal); border-radius: 14px; box-shadow: 0 0 0 3px var(--white); }
.handset img { display: block; width: 100%; height: auto; aspect-ratio: 300 / 649; object-fit: cover; object-position: top; border-radius: 10px; background: var(--stone); }
@media (max-width: 960px) {
  .examples { grid-template-columns: minmax(0, 560px); justify-content: center; }
}

.included-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px 64px; align-items: start; }
.included-shot { margin-top: 8px; }
@media (max-width: 1000px) {
  .included-wrap { grid-template-columns: minmax(0, 1fr); }
  .included-shot { max-width: 560px; }
}

.included > div {
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  padding: 16px 0; border-top: 1px solid var(--rule);
}
.included > div:last-child { border-bottom: 1px solid var(--rule); }
.included dt { flex: 0 0 220px; font-weight: 700; }
.included dd { flex: 1 1 260px; color: var(--ink-2); line-height: 1.5; }

/* Comparison table */
.table-scroll { position: relative; overflow-x: auto; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 17px; text-align: left; }
.compare th, .compare td { padding: 14px 16px; }
.compare thead tr { border-bottom: 3px solid var(--charcoal); }
.compare thead th { font-weight: 700; }
.compare thead th.compare__us {
  background: var(--charcoal); color: var(--accent);
  font-family: var(--display); font-weight: 800; font-size: 22px;
}
.compare tbody tr { border-bottom: 1px solid var(--rule); }
.compare tbody th { padding-left: 0; font-weight: 700; }
.compare td.compare__us { background: var(--white); font-weight: 700; }
/* Phones: each row stacks (the feature, then one line per option), so
   nothing scrolls sideways. */
@media (max-width: 720px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .compare tbody th { padding: 0 0 8px; font-size: 19px; }
  .compare td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 16px; }
  .compare td::before { content: attr(data-label); color: var(--ink-3); font-weight: 500; }
  .table-scroll { overflow: visible; }
  .compare td.compare__us { padding: 8px 10px; }
  .compare td.compare__us::before { color: var(--charcoal); font-weight: 700; }
}

/* Founder note */
.founder { max-width: 900px; display: flex; align-items: flex-start; gap: 32px; }
.founder__photo { flex: none; width: 240px; height: auto; aspect-ratio: 440 / 502; object-fit: cover; border-radius: var(--radius); }
.founder__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* A sign-up button at the end of each homepage section, down to the form (#start). */
.founder__text .section__cta { margin-top: 8px; }
.section__cta .button { max-width: 100%; text-align: center; }
@media (max-width: 600px) {
  .founder { flex-direction: column; gap: 20px; }
  .founder__photo { width: 100%; max-width: 320px; }
}
.founder__quote { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.founder p:not(.founder__quote) { color: var(--ink-2); line-height: 1.6; }
.founder__email { font-weight: 700; font-size: 19px; color: var(--charcoal); overflow-wrap: anywhere; }

/* Pricing */
.pricing { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.pricing__text { flex: 1 1 420px; min-width: 0; }
.pricing__text p { font-size: 19px; color: var(--ink-2); max-width: 500px; }
.price-card {
  flex: 1 1 380px; min-width: 0;
  background: var(--white); border: 3px solid var(--charcoal); padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 10px 10px 0 var(--charcoal);
}
.price-card__tag {
  align-self: flex-start; background: var(--accent); color: var(--charcoal);
  padding: 6px 12px; font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: 1px; text-transform: uppercase;
}
.price-card__tag--xmas { background: var(--xmas-red); color: var(--white); }
.price-card__amount { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-card__big { font-family: var(--display); font-weight: 800; font-size: 88px; line-height: 1; }
.price-card__per { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.price-card__then { font-size: 17px; color: var(--ink-2); }
@media (max-width: 520px) {
  .price-card { padding: 28px 22px; box-shadow: 6px 6px 0 var(--charcoal); }
}

/* FAQ */
.faq { max-width: 880px; }
.faq__list > div { padding: 22px 0; border-top: 2px solid var(--charcoal); display: flex; flex-direction: column; gap: 8px; }
.faq__list > div:last-child { border-bottom: 2px solid var(--charcoal); }
.faq h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.faq p { color: var(--ink-2); }

/* Sign-up */
.start { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.start__text { flex: 1 1 400px; min-width: 0; }
.start__text p { font-size: 19px; color: var(--rule); max-width: 460px; }
.signup {
  flex: 1 1 440px; min-width: 0;
  background: var(--off-white); color: var(--charcoal); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row .field { flex: 1 1 180px; }
.field label { font-weight: 700; font-size: 16px; }
.field input, .field select {
  height: 52px; padding: 0 14px; border: 2px solid var(--field-border); border-radius: var(--radius);
  font-size: 17px; font-family: inherit; background: var(--white); color: var(--charcoal);
}
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.signup__small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* Footer */
.site-footer { background: var(--footer); color: var(--quiet); padding: 40px 0; font-size: 15px; line-height: 1.6; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand img { width: 160px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rule); }
/* Cookie choice bar (site/js/consent.js): only shown once a Meta Pixel ID is set. */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px max(16px, calc((100% - 1120px) / 2)); background: var(--charcoal); color: var(--off-white); border-top: 3px solid var(--accent); }
.cookie-bar__text { margin: 0; max-width: 62ch; font-size: 16px; }
.cookie-bar__text a { color: var(--off-white); }
.cookie-bar__buttons { display: flex; gap: 12px; }
.cookie-bar__accept, .cookie-bar__decline { min-width: 112px; background: var(--off-white); color: var(--charcoal); border: 2px solid var(--off-white); }
.cookie-bar__decline { background: transparent; color: var(--off-white); }

/* Field errors (sign-up and login) */
.field__error { color: var(--xmas-red); font-weight: 600; font-size: 15px; }
.field input[aria-invalid="true"] { border-color: var(--xmas-red); }

/* Login, check your email, sign-up (designs/Login.dc.html) */
.auth-page { background: var(--charcoal); }
.auth {
  min-height: 100vh; padding: 48px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.auth__logo img { width: 230px; }
.auth__card {
  width: 100%; max-width: 440px;
  background: var(--off-white); color: var(--charcoal); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 20px;
}
.auth__intro { display: flex; flex-direction: column; gap: 6px; }
.auth__intro h1 { font-size: 28px; font-weight: 700; line-height: 1.2; }
.auth__intro p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.auth__form { display: flex; flex-direction: column; gap: 18px; }
.auth__form .button { width: 100%; }
.auth__small { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.auth__note { background: #FFF4CC; color: #5A4500; padding: 12px 14px; font-size: 16px; line-height: 1.5; }
.auth__note a { color: inherit; font-weight: 700; }
.auth__list { padding-left: 22px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.auth__card > p { font-size: 17px; line-height: 1.5; }
/* "Thanks, that's sent" without JavaScript: neutral, no Teabreak branding. */
.sent-page { background: #F5F5F3; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.sent { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.sent__card { width: 100%; max-width: 480px; background: #FFFFFF; border: 1px solid #DDDDD8; border-radius: 12px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; color: #222; }
.sent__card h1 { font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.sent__card p, .sent__card li { font-size: 17px; line-height: 1.5; color: #444; }
.sent__card .button { font-family: inherit; text-transform: none; letter-spacing: 0; }
.verify-qr { display: flex; justify-content: center; }
.verify-qr img { display: block; width: 200px; height: 200px; padding: 10px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.verify-key { display: inline-block; margin-top: 4px; font-size: 15px; letter-spacing: 0.05em; word-break: break-all; color: var(--ink-2); }
@media (max-width: 420px) { .auth__card { padding: 28px 20px; } }

/* Dashboard (designs/Dashboard.dc.html) */
.dash-page { background: var(--off-white); }
.dash { min-height: 100vh; display: flex; flex-wrap: wrap; align-items: stretch; }
.dash__side {
  flex: 1 1 240px; max-width: 100%; background: var(--charcoal); color: var(--off-white);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 28px;
}
.dash__logo img { width: 180px; }
.dash__biz { display: flex; flex-direction: column; gap: 4px; }
.dash__biz-name { font-weight: 700; font-size: 17px; }
.dash__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--quiet); }
.dash__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dash__dot--live { background: #3CCB6A; }
/* Bottom of the sidebar: who is logged in, Your account and Log out. */
.dash__me { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--charcoal-2); }
.dash__me-email { font-size: 14px; color: var(--quiet); overflow-wrap: anywhere; }
.dash__me-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.dash__me-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--rule); font-weight: 600; font-size: 15px; text-decoration: none; }
.dash__me-links a:hover, .dash__me-links a[aria-current="page"] { color: var(--off-white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
/* On bigger screens the sidebar stays put while the page scrolls, so these are always in reach. */
@media (min-width: 801px) { .dash__side { position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto; } }
/* Moving between dashboard pages: the sidebar stays still and the page fades
   across, instead of a blank flash (browsers that support it). */
@view-transition { navigation: auto; }
.dash__side { view-transition-name: dash-side; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 120ms; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.dash__logout button {
  background: none; border: 0; padding: 0; min-height: 44px;
  color: var(--quiet); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer;
}
.dash__logout button:hover { color: var(--off-white); }
.dash__main {
  flex: 999 1 560px; min-width: 0; padding: 32px 28px 64px;
  display: flex; flex-direction: column; gap: 40px;
}
.dash__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.dash__h1 { font-size: 32px; font-weight: 700; line-height: 1.2; }
.dash__lede { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.dash__section { display: flex; flex-direction: column; gap: 14px; }
.dash__section h2 { font-size: 20px; font-weight: 700; }
.dash__panel { background: var(--white); border: 1px solid var(--rule); padding: 20px; }
.dash__details { background: var(--white); border: 1px solid var(--rule); }
.dash__details > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 20px; border-top: 1px solid var(--stone); }
.dash__details > div:first-child { border-top: 0; }
.dash__details dt { flex: 0 0 200px; font-weight: 700; }
.dash__details dd { flex: 1 1 220px; min-width: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.dash__muted { color: var(--quiet); }
.dash__nav { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 16px; }
.dash__nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--rule); text-decoration: none; border-left: 3px solid transparent;
}
.dash__nav a[aria-current="page"] { background: var(--charcoal-2); color: var(--off-white); border-left-color: var(--accent); }
.dash__nav a:hover { color: var(--off-white); }
/* Phones: the menu becomes a single row of tabs that scrolls sideways, so the
   page itself starts on the first screen; Help, Your account and Log out
   sit in a short row at the top right. */
@media (max-width: 720px) {
  .dash__side { position: relative; flex-basis: 100%; padding: 16px 16px 0; gap: 12px; }
  .dash__logo img { width: 132px; }
  /* Their own short row at the top, so nothing can sit on the logo at any width. */
  .dash__me { position: static; order: -1; align-self: flex-end; margin: 0 0 -8px; padding: 0; border: 0; }
  .dash__me-links { gap: 0 16px; }
  .dash__me-long { display: none; }
  .dash__me-email { display: none; }
  /* Wraps onto a second row rather than hiding tabs off the edge. */
  .dash__nav { flex-direction: row; flex-wrap: wrap; gap: 0; margin: 0 -16px; padding: 0 8px; }
  .dash__nav::-webkit-scrollbar { display: none; }
  .dash__nav a { flex: 0 0 auto; white-space: nowrap; padding: 0 10px; border-left: 0; border-bottom: 3px solid transparent; }
  .dash__nav a[aria-current="page"] { background: none; border-bottom-color: var(--accent); }
}
.dash__notice { background: #FFF4CC; color: #5A4500; padding: 12px 14px; font-weight: 600; font-size: 16px; }
/* Overview: the website card (homepage picture, status, actions) and paired panels. */
.site-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; background: var(--white); border: 1px solid var(--rule); }
.site-card__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); border-right: 1px solid var(--rule); }
.site-card__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 200ms ease; }
a.site-card__shot:hover img { transform: scale(1.02); }
.site-card__frame { display: flex; flex-direction: column; height: 100%; margin: 18px 18px 0; background: var(--white); border: 1px solid var(--rule); border-bottom: 0; box-shadow: 0 6px 18px rgba(21, 23, 27, 0.08); }
.site-card__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--stone); font-size: 13px; color: var(--ink-3); }
.site-card__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.site-card__bar span { margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-card__name { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; text-align: center; color: var(--charcoal); }
/* Overview: everything waiting on them, one ruled line each. */
.needs { display: flex; flex-direction: column; gap: 10px; }
.needs h2 { font-size: 20px; font-weight: 700; }
.needs__list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--accent); background: var(--white); }
.needs__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; border-bottom: 1px solid var(--stone); }
.needs__list span { font-weight: 600; }
.needs__list a, .needs__list .link-button { font-weight: 700; white-space: nowrap; }
@media (min-width: 640px) { .stats--row { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; } }
.site-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.site-card__body h2 { font-size: 20px; font-weight: 700; }
.site-card__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.site-card__address { font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.site-card__speed { padding-left: 10px; border-left: 3px solid var(--accent); font-size: 15px; color: var(--ink-2); }
.site-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 4px; }
.site-card__more { color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) { .site-card { grid-template-columns: 1fr; } .site-card__shot { border-right: 0; border-bottom: 1px solid var(--rule); } }
.dash__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; align-items: start; }
.dash__pair:empty { display: none; }

/* Onboarding checklist: a ruled list, not cards */
.checklist { list-style: none; padding: 0; margin: 0; background: var(--white); border: 1px solid var(--rule); }
.checklist__item {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 16px 20px; border-top: 1px solid var(--stone);
}
.checklist__item:first-child { border-top: 0; }
.checklist__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 320px; }
.checklist__text span { color: var(--ink-2); font-size: 16px; }
.checklist__done { display: inline-block; margin-left: 8px; padding: 1px 8px; background: #D4F2DE; color: var(--xmas-green); font-size: 14px; }

/* Business details form */
.details { display: flex; flex-direction: column; gap: 36px; max-width: 720px; }
.details__section { display: flex; flex-direction: column; gap: 18px; border-top: 3px solid var(--charcoal); padding-top: 18px; }
.details__section h2 { font-size: 20px; font-weight: 700; }
.details__review { display: flex; flex-direction: column; gap: 12px; padding-left: 16px; border-left: 3px solid var(--rule); }
.details__optional { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.details__sub { font-size: 17px; font-weight: 700; margin-top: 8px; }
/* Optional sections fold away until opened (or already filled in). */
.details__more > summary { display: flex; flex-direction: column; gap: 4px; min-height: 44px; cursor: pointer; list-style: none; }
.details__more > summary::-webkit-details-marker { display: none; }
.details__more > summary h2::after { content: ' +'; color: var(--ink-3); }
.details__more[open] > summary h2::after { content: ' −'; }
.details__more:not([open]) { gap: 0; }
.details__more-hint { font-size: 15px; color: var(--ink-3); }
.review-more > summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; cursor: pointer; }
/* Save stays in reach at the bottom of the screen on long forms. */
.details__save { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px; padding: 12px 16px; background: var(--off-white); border-top: 1px solid var(--rule); }
.details__save .button { width: 100%; max-width: 360px; }
/* The yes/no questions: one per ruled row, so the Yes and No line up down the page. */
.details__questions { display: flex; flex-direction: column; margin: 8px 0; border-top: 1px solid var(--rule); }
.details__questions .choice { padding: 12px 0 4px; border-bottom: 1px solid var(--rule); }
.details__questions .choice legend { margin-bottom: 0; }
.choice__options { display: flex; flex-direction: column; }
.choice--inline .choice__options { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
/* Business details > Your web address: live suggestions (site/js/domain-search.js). */
.domain-picks { display: flex; flex-direction: column; gap: 8px; margin-top: -8px; }
.domain-picks:empty { display: none; }
.domain-picks__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.domain-picks__list li { border-bottom: 1px solid var(--rule); }
.domain-picks__pick { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 12px; background: none; border: 0; border-left: 3px solid transparent; font: inherit; font-size: 17px; font-weight: 600; color: var(--charcoal); text-align: left; cursor: pointer; }
.domain-picks__pick::after { content: "Choose"; font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: underline; }
.domain-picks__pick:hover { background: var(--white); }
.domain-picks__pick[aria-pressed="true"] { border-left-color: var(--accent); background: var(--white); }
.domain-picks__pick[aria-pressed="true"]::after { content: "Chosen"; color: var(--charcoal); text-decoration: none; }
.profile-list { display: flex; flex-direction: column; gap: 8px; }
.profile { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.profile summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.profile summary::-webkit-details-marker { display: none; }
.profile summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.profile[open] summary::after { content: '–'; }
.profile[open] summary { border-bottom: 1px solid var(--rule); }
.profile__status { margin-left: auto; font-size: 15px; font-weight: 400; color: var(--ink-3); }
.profile__status--done { color: var(--charcoal); font-weight: 600; }
.profile__status--bad { color: var(--xmas-red); font-weight: 600; }
.profile__body { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
/* Business details > Reviews: a ruled list, each review with room to read it all. */
.review-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.review-entry { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 18px 0 22px; border: 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.review-entry__title { float: left; width: 100%; padding: 0; font-weight: 700; font-size: 16px; }
.review-entry__title + * { clear: both; }
.review-entry textarea { min-height: 7.5em; field-sizing: content; max-height: 24em; }
.review-entry__who { align-items: flex-end; }
.review-entry__who .field:last-child { flex: 0 1 150px; }
.field__hint { font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.field textarea {
  padding: 12px 14px; border: 2px solid var(--field-border); border-radius: var(--radius);
  font-size: 17px; font-family: inherit; line-height: 1.45; background: var(--white); color: var(--charcoal); resize: vertical;
}
.field textarea[aria-invalid="true"] { border-color: var(--xmas-red); }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 700; font-size: 16px; padding: 0; margin-bottom: 6px; }
.choice__option { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; cursor: pointer; }
.choice__option input { width: 22px; height: 22px; accent-color: var(--charcoal); }
.details > .button { align-self: flex-start; }
/* Business details > Your colours: each palette as a brand block with its accent on the end. */
.colour-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 24px; }
.swatch { flex: none; width: 44px; height: 26px; border-right: 12px solid transparent; border-radius: var(--radius); }
.colour-own { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.colour-own input[type="color"] { width: 64px; height: 44px; padding: 2px; border: 2px solid var(--field-border); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.swatch--teal-copper { background: #0E5E6F; border-right-color: #C0703A; }
.swatch--petrol-flame { background: #17475E; border-right-color: #D9622B; }
.swatch--bottle-coral { background: #1E5B4F; border-right-color: #E07A5F; }
.swatch--moss-sunflower { background: #3F5B2A; border-right-color: #E0A526; }
.swatch--forest-rust { background: #2F4F3A; border-right-color: #B5562B; }
.swatch--burgundy-gold { background: #7A2335; border-right-color: #C9A13B; }
.swatch--deepred-slate { background: #9B2C2C; border-right-color: #4A5568; }
.swatch--plum-sage { background: #6B3A5B; border-right-color: #8BA888; }
.swatch--slate-brick { background: #3B4650; border-right-color: #A8432F; }
.swatch--graphite-lime { background: #2E3A4B; border-right-color: #9BC53D; }
.swatch--burnt-orange { background: #B4501C; border-right-color: #1F5560; }
.swatch--royal-amber { background: #1F5FBF; border-right-color: #E89B2A; }
.swatch--navy-tomato { background: #1D3557; border-right-color: #E4572E; }

/* Admin (designs/Admin.dc.html) */
.admin-page { background: var(--off-white); }
.admin-header { background: var(--charcoal); color: var(--off-white); }
.admin-header__inner {
  padding: 16px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.admin-header__brand { display: flex; align-items: center; gap: 14px; }
.admin-header__brand img { width: 160px; }
.admin-tag { padding: 3px 8px; border: 1px solid #4A4E57; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--rule); }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-weight: 600; font-size: 16px; }
.admin-nav a { color: var(--rule); text-decoration: none; }
.admin-nav a:hover { color: var(--off-white); }
.admin-nav button { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: var(--quiet); cursor: pointer; }
.admin-nav button:hover { color: var(--off-white); }
.admin {
  padding: 32px 28px 64px; max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; gap: 40px;
}
.admin > * { min-width: 0; max-width: 100%; }
.admin .dash__section { min-width: 0; }
.admin__title { display: flex; flex-direction: column; gap: 4px; }
.admin-contact { display: flex; flex-wrap: wrap; gap: 4px 0; font-weight: 600; }
.admin-contact a { min-height: 44px; display: inline-flex; align-items: center; }
.admin-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; }
/* Admin > customer > Free trial: the length and Save on one line, the note underneath. */
.admin-trial { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 0; }
.admin-trial label { font-weight: 700; }
.admin-trial select { min-height: 44px; padding: 0 10px; border: 2px solid var(--field-border); border-radius: var(--radius); font: inherit; background: var(--white); }
.admin-trial p { flex-basis: 100%; margin: 0; font-size: 15px; }
/* Admin > Money > What you’ve paid */
.expense-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 16px; align-items: end; margin: 16px 0 20px; padding: 18px; background: var(--white); border: 1px solid var(--rule); }
.expense-form__wide { grid-column: span 2; }
.expense-form__check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.expense-form__check input { width: 22px; height: 22px; }
@media (max-width: 520px) { .expense-form__wide { grid-column: auto; } }
.dash__notice--bad { background: #FDECEA; color: #8E1B12; }
.link-button { padding: 0; min-height: 44px; border: 0; background: none; color: var(--charcoal); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.admin__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.admin__h3 { font-size: 17px; font-weight: 700; margin-top: 8px; }
.admin-fold > summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.admin-fold[open] > summary { margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 3px solid var(--charcoal); }
.stat { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--rule); }
.stat__value { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } .stat__value { font-size: 36px; } }
.stat__label { font-size: 16px; color: var(--ink-2); }
/* position: relative keeps screen-reader-only labels inside the scrolling box */
.table-wrap { position: relative; overflow-x: auto; background: var(--white); border: 1px solid var(--rule); }
.admin-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; text-align: left; }
.admin-table th, .admin-table td { padding: 12px 16px; }
.admin-table thead tr { border-bottom: 2px solid var(--charcoal); }
.admin-table tbody tr { border-bottom: 1px solid var(--stone); }
.admin-table tbody tr:last-child { border-bottom: 0; }
.admin-ok { color: var(--xmas-green); font-weight: 700; }
.admin-bad { color: var(--xmas-red); font-weight: 700; }
.admin-muted { color: var(--ink-3); }

/* Admin settings and notifications */
.settings { display: flex; flex-direction: column; gap: 32px; max-width: 720px; }
.settings .field input { max-width: 200px; }
.settings__check { display: flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 600; font-size: 17px; }
.settings__check input { width: 22px; height: 22px; flex: none; accent-color: var(--charcoal); }
.notes__item--unread { border-left: 4px solid var(--accent); padding-left: 12px; }
.notes__kind { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.notes__body { white-space: pre-line; color: var(--ink-2); }

/* Details the customer still needs to add */
.todo { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.todo li { background: var(--white); border-left: 4px solid var(--accent); padding: 14px 16px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* Build progress on the customer dashboard */
.progress { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--charcoal); }
.progress__step { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--ink-3); }
.progress__mark { flex: 0 0 56px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.progress__step--done { color: var(--ink-2); }
.progress__step--now { color: var(--charcoal); font-weight: 700; }
.progress__step--now .progress__mark { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.progress__step { transition: color 0.4s; }
/* Live: a pulsing dot, a clock counting up, and a bar that fills as the steps go (site/js/build-progress.js). */
.progress__lede { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 600; color: var(--ink-2); }
.progress__live { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 199, 44, 0.6); animation: tb-pulse 1.6s ease-out infinite; }
@keyframes tb-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(255, 199, 44, 0); } }
.progress-bar { height: 6px; margin: 0 0 4px; background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 12%; background: var(--accent); transition: width 1.2s ease; }
.progress-bar[data-step="1"] span { width: 37%; }
.progress-bar[data-step="2"] span { width: 62%; }
.progress-bar[data-step="3"] span { width: 88%; }
@media (prefers-reduced-motion: reduce) { .progress__live { animation: none; } .progress-bar span, .progress__step { transition: none; } }
/* Your web address (lib/domain-progress.mjs): when each step should be done, and the setting to add. */
.progress__note { display: block; margin-top: 2px; font-size: 15px; font-weight: 400; color: var(--ink-2); }
.domain-help { display: flex; flex-direction: column; gap: 16px; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.copy-row:first-child { border-top: 3px solid var(--charcoal); }
.copy-row__label { flex: 0 0 210px; font-weight: 700; }
.copy-row__value { flex: 1 1 200px; min-width: 0; font-size: 17px; overflow-wrap: anywhere; }
.domain-help__guides summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.domain-help__guides dl { margin: 12px 0 0; }
.domain-help__guides dt { margin-top: 12px; font-weight: 700; }
.domain-help__guides dd { margin: 2px 0 0; color: var(--ink-2); }
.domain-help form .button { align-self: flex-start; }

/* Customer enquiries inbox */
.enq-table { min-width: 860px; }
.enq-table td { vertical-align: top; }
.enq-message { min-width: 260px; white-space: pre-line; overflow-wrap: anywhere; }
.enq-when { white-space: nowrap; }
.enq-label { display: block; margin-bottom: 8px; font-weight: 700; }
.enq-label--new { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.enq-label--won { color: var(--xmas-green); }
.enq-label--lost { color: var(--ink-3); }
.enq-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.enq-status select { min-height: 44px; padding: 0 10px; font: inherit; font-size: 16px; border: 2px solid var(--ink-3); border-radius: 3px; background: var(--white); }
/* Phones: each enquiry stacks (who and when, then the job, then how to
   reach them and its status), so nothing scrolls sideways. */
@media (max-width: 700px) {
  .enq-table, .enq-table tbody { display: block; min-width: 0; }
  .enq-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .enq-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 16px; }
  .enq-table td { display: block; padding: 0; }
  .enq-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .enq-table td.enq-when { grid-column: 2; grid-row: 1; color: var(--ink-3); font-size: 15px; }
  .enq-table td.enq-message { grid-column: 1 / -1; min-width: 0; }
  .enq-table td:nth-child(4), .enq-table td:nth-child(5) { grid-column: 1 / -1; }
  .enq-table td:nth-child(4) a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
  .enq-table .enq-label { display: none; }
}
.admin-search { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.admin-search input {
  height: 44px; flex: 1 1 160px; width: 240px; min-width: 0; padding: 0 12px; border: 2px solid var(--field-border);
  border-radius: var(--radius); font-size: 16px; font-family: inherit; background: var(--white);
}
.admin-list { list-style: none; padding: 0; margin: 0; background: var(--white); border: 1px solid var(--rule); }
.admin-list > li {
  padding: 16px 20px; border-top: 1px solid var(--stone);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
}
.admin-list > li:first-child { border-top: 0; }
.admin-list__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 360px; }
.admin-list__text span { color: var(--ink-2); }
.enq-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.enq-photo { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--rule); }
.booked-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.booked-form .field { flex: 0 1 240px; }
.admin-reply { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; flex: 1 1 100%; }
.admin-reply textarea { flex: 1 1 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 2px solid var(--field-border); border-radius: var(--radius); background: var(--white); }
.danger-zone { border: 2px solid var(--ink-3); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.button--danger { background: #9B1C1C; border-color: #9B1C1C; color: #fff; }
.admin-link { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: var(--charcoal); }
.review { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--rule); padding: 20px; }
.review__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .admin { padding: 24px 16px 48px; } .admin-header__inner { padding: 16px; } }

/* Photos page */
.photos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.photos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photos--logo { grid-template-columns: minmax(150px, 220px); }
.photos__item { display: flex; flex-direction: column; gap: 6px; }
.photos__item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.photos--logo .photos__item img { object-fit: contain; background: var(--white); border: 1px solid var(--rule); }
.photos__missing { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--stone); color: var(--ink-3); font-size: 14px; }
.photos__delete {
  min-height: 44px; width: 100%; background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.photos__delete:hover { border-color: var(--xmas-red); color: var(--xmas-red); }
.photos__add { cursor: pointer; }
.photos__add:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

.button--outlined-dark { background: transparent; border-color: var(--charcoal); min-height: 44px; }
.button--outlined-dark:hover { background: var(--stone); }
@media (max-width: 520px) { .dash__main { padding: 28px 20px 48px; } }

/* 404 page */
.not-found { background: var(--charcoal); color: var(--off-white); min-height: 60vh; display: flex; align-items: center; }
.not-found .wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
/* /privacy and /terms (built from docs/legal by scripts/build-site.mjs). */
.legal { background: var(--off-white); }
.legal__inner { max-width: 760px; padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 52px); line-height: 1; text-transform: uppercase; }
.legal h2 { margin-top: 24px; padding-top: 16px; border-top: 3px solid var(--charcoal); font-size: 22px; font-weight: 700; }
.legal h2.legal__part { margin-top: 48px; font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; }
.legal h3 { margin-top: 8px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { max-width: 68ch; line-height: 1.6; }
.legal ul, .legal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal code { font-size: 0.92em; background: var(--stone); padding: 1px 4px; border-radius: var(--radius); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.legal-table th { border-bottom: 2px solid var(--charcoal); font-weight: 700; }
.not-found h1 { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 9vw, 112px); line-height: 0.92; text-transform: uppercase; }
.not-found a { color: var(--off-white); font-weight: 700; font-size: 18px; }
