/* Panda2Work v/Guo Yu Pan — design system
   Monochrome with one vivid teal accent · Archivo Black + Archivo
   Horizontal showcase · outlined numerals · sharp surfaces, round buttons */

:root {
  --ink: #0e1111;
  --ink-2: #1a1f1f;
  --ink-3: #2a3131;
  --paper: #f4f5f2;
  --white: #ffffff;
  --tint: #e7ebe8;
  --line: #c9cfcb;
  --grey: #5a615f;
  --grey-light: #a9b1ae;
  --accent: #16c9b5;
  --accent-ink: #00695e;
  --aqua: #a8f1e7;
  --danger: #b3261e;

  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius-pill: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }

a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--ink);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.no-js .js-only { display: none !important; }

.eyebrow {
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: .9rem;
}
.eyebrow-light { color: var(--accent); }

.accent { color: var(--accent); }
.muted { color: var(--grey); }

/* ---------- Buttons: always round ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: .75em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-accent:hover { background: var(--aqua); border-color: var(--aqua); }

.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); }

.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }

.round-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 700 1.25rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.round-btn:hover:not(:disabled) { background: var(--ink); color: var(--accent); }
.round-btn:disabled { opacity: .35; cursor: default; }

.text-link { font-weight: 700; color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--accent-ink); }

/* ---------- Header + fullscreen overlay menu ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.15;
  position: relative; z-index: 2;
}
.wordmark:hover { color: var(--accent-ink); }
.wordmark-light { color: var(--white); }
.wordmark-light:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 6px 0 18px;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--ink); color: var(--white);
  font: 700 .95rem/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle-bars { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.menu-toggle-bars span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle-bars span:first-child { top: 12px; }
.menu-toggle-bars span:last-child { top: 18px; }
.menu-open .menu-toggle-bars span:first-child { top: 15px; transform: rotate(45deg); }
.menu-open .menu-toggle-bars span:last-child { top: 15px; transform: rotate(-45deg); }

.site-menu {
  position: fixed; inset: 0; z-index: 1;
  background: var(--ink); color: var(--white);
  padding-top: calc(var(--header-h) + 24px);
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  clip-path: circle(0 at calc(100% - 60px) 36px);
  transition: clip-path .55s var(--ease), opacity .3s var(--ease), visibility 0s linear .55s;
}
.menu-open .site-menu {
  visibility: visible; opacity: 1;
  clip-path: circle(150% at calc(100% - 60px) 36px);
  transition: clip-path .55s var(--ease), opacity .2s var(--ease), visibility 0s;
}
.menu-open .site-header { border-color: transparent; background: var(--ink); }
.menu-open .wordmark { color: var(--white); }
.menu-open .menu-toggle { background: var(--white); color: var(--ink); border-color: var(--white); }
.menu-open .header-cta { visibility: hidden; }
.menu-open .cookie-banner { display: none; }

.site-menu-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding-bottom: 48px; align-items: end; min-height: calc(100% - 24px); }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a {
  display: flex; align-items: baseline; gap: .4em;
  font-family: var(--font-display);
  font-size: clamp(2rem, min(8vw, 10vh), 6rem);
  line-height: 1.02;
  color: var(--white); text-decoration: none;
  transition: color .2s var(--ease), transform .3s var(--ease);
}
.menu-list a:hover, .menu-list a[aria-current="page"] { color: var(--accent); transform: translateX(8px); }
.menu-num {
  font-size: .35em;
  color: transparent;
  -webkit-text-stroke: 1px var(--grey-light);
  min-width: 2.4em;
}

.menu-contact { color: var(--grey-light); font-size: 1rem; border-top: 1px solid var(--ink-3); padding-top: 24px; }
.menu-contact a { color: var(--white); text-decoration: none; }
.menu-contact a:hover { color: var(--accent); }
.menu-contact p { margin: 0 0 .4em; }
.menu-legal { font-size: .85rem; margin-top: 1em !important; }

/* Without JavaScript the menu is a simple inline list. */
.no-js .menu-toggle { display: none; }
.no-js .site-menu {
  position: static; visibility: visible; opacity: 1; clip-path: none;
  background: transparent; color: var(--ink); padding: 0 0 12px; overflow: visible;
}
.no-js .site-menu-inner { display: block; min-height: 0; padding: 0; }
.no-js .menu-list { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.no-js .menu-list a { font-size: 1rem; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.no-js .menu-num, .no-js .menu-contact { display: none; }

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--white);
  padding-top: clamp(56px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -6vw; top: -4vw;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  border: 2px solid var(--ink-3);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; }

.hero-title {
  font-size: clamp(2.5rem, 7.2vw, 6.4rem);
  line-height: .98;
  max-width: 15ch;
  margin-bottom: .45em;
}

.hero-lead { max-width: 640px; margin-left: auto; font-size: 1.15rem; color: #d7dcda; }
.hero-lead strong { color: var(--white); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ticker {
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
  border-block: 2px solid var(--ink);
}
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 28px 18px 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  white-space: nowrap;
}
.ticker-list li::after { content: ''; width: 12px; height: 12px; background: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

.fact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; padding: 32px 0 40px;
}
.fact-strip > div { padding: 8px 20px 8px 0; border-left: 1px solid var(--ink-3); padding-left: 20px; }
.fact-strip > div:first-child { border-left: 0; padding-left: 0; }
.fact-strip dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 6px; }
.fact-strip dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.fact-strip .muted { color: var(--grey-light); font-weight: 500; font-size: .9rem; }

/* ---------- Page hero ---------- */

.page-hero { background: var(--ink); color: var(--white); padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.page-hero-compact { padding-bottom: 48px; }
.page-title { font-size: clamp(2.3rem, 6vw, 5rem); max-width: 18ch; }
.page-lead { max-width: 680px; font-size: 1.15rem; color: #d7dcda; margin: 0; }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump-links a {
  display: inline-flex; gap: .5em; align-items: center;
  padding: .55em 1.1em;
  border: 1px solid var(--ink-3); border-radius: var(--radius-pill);
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.jump-links a span { color: var(--accent); font-weight: 700; }
.jump-links a:hover { border-color: var(--accent); }

/* ---------- Sections + outlined numerals ---------- */

.section { padding: var(--section-y) 0; }
.section-ink { background: var(--ink); color: var(--white); }
.section-tint { background: var(--tint); }
.section-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }

.section-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { max-width: 20ch; }
.section-intro { max-width: 620px; color: var(--grey); margin: 0; }

.big-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .8;
  color: var(--line);
  letter-spacing: -0.03em;
  user-select: none;
}
@supports (-webkit-text-stroke: 1px black) {
  .big-num { color: transparent; -webkit-text-stroke: 2px var(--ink); }
  .big-num-light { -webkit-text-stroke-color: var(--accent); }
}
.big-num-light { color: var(--ink-3); }
.big-num-xl { font-size: clamp(5rem, 14vw, 11rem); }
.big-num-xxl { font-size: clamp(7rem, 22vw, 16rem); margin-bottom: 24px; }

.prose .big-num { font-size: clamp(3rem, 7vw, 5rem); margin: 56px 0 14px; }
.prose .big-num:first-child { margin-top: 0; }

/* ---------- Horizontal showcase ---------- */

.showcase-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: -24px; margin-bottom: 20px; }
.no-js .showcase-controls { display: none; }

.showcase-track {
  display: flex; gap: 20px;
  list-style: none; margin: 0;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--ink) var(--tint);
}
.showcase-card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 380px;
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.showcase-card h3 { font-size: 1.5rem; margin-top: auto; }
.showcase-card p { color: var(--grey); }
.showcase-card .text-link { align-self: flex-start; }
.showcase-card:hover { background: var(--ink); color: var(--white); }
.showcase-card:hover p { color: var(--grey-light); }
.showcase-card:hover .text-link { color: var(--accent); }

.card-num {
  font-family: var(--font-display);
  font-size: 4.5rem; line-height: .9;
  color: var(--accent-ink);
  margin-bottom: 40px;
}
@supports (-webkit-text-stroke: 1px black) {
  .card-num { color: transparent; -webkit-text-stroke: 2px var(--accent-ink); }
  .showcase-card:hover .card-num { -webkit-text-stroke-color: var(--accent); }
}

/* ---------- Release readiness check ---------- */

.readiness { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.readiness-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.readiness-intro .big-num { margin-bottom: 24px; }
.readiness-intro p { color: #cfd5d3; }
.noscript-note { border-left: 3px solid var(--accent); padding-left: 14px; }
.noscript-note a, .section-ink a { color: var(--accent); }

.readiness-form fieldset { border: 0; margin: 0 0 32px; padding: 0; }
.readiness-form legend { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.legend-note { font-weight: 400; color: var(--grey-light); font-size: .95rem; }
.step {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-size: .95rem;
}

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.choice:hover { border-color: var(--accent); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; margin: 0; }
.choice:has(input:checked) { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.choice:has(input:focus-visible) { outline: 3px solid var(--aqua); outline-offset: 2px; }

.readiness-result {
  margin-top: 32px; padding: 28px;
  border: 2px solid var(--accent);
  background: var(--ink-2);
}
.readiness-result:focus { outline: none; }
.readiness-result h3 { color: var(--accent); font-size: 1.5rem; }
.result-list { margin: 0 0 24px; padding-left: 1.2em; }
.result-list li { margin-bottom: .6em; }
.result-list strong { color: var(--white); }
.result-list a { color: var(--accent); }

/* ---------- Steps ---------- */

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 24px 0 0; margin-right: 24px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 3.6rem; line-height: 1;
  color: var(--accent-ink);
  margin-bottom: 20px;
}
@supports (-webkit-text-stroke: 1px black) {
  .steps li::before { color: transparent; -webkit-text-stroke: 2px var(--ink); }
}
.steps p { color: var(--grey); }

/* ---------- Why ---------- */

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.why-item { padding: 32px 32px 24px 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.why-item h3 { display: flex; align-items: center; gap: 12px; }
.why-item h3::before { content: ''; width: 14px; height: 14px; background: var(--accent); flex: none; }
.why-item p { color: var(--grey); margin: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 2px solid var(--ink); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-weight: 700; font-size: 1.15rem;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink);
  font-size: 1.3rem; line-height: 1;
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-item p { color: var(--grey); padding-bottom: 22px; margin: 0; max-width: 720px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.contact-card, .details-card {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 28px;
}
.details-card { position: sticky; top: calc(var(--header-h) + 24px); }
.details-title { font-size: 1.4rem; }

.detail-list { margin: 0 0 20px; }
.detail-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.detail-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-tile { border: 2px solid var(--ink); padding: 28px; background: var(--white); }
.contact-tile .card-num { font-size: 3rem; margin-bottom: 24px; }
.contact-tile p { overflow-wrap: anywhere; }
.contact-tile p:last-child { margin: 0; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.req, .opt { font-weight: 400; color: var(--grey); font-size: .85rem; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--aqua); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 0; }

.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent-ink); flex: none; }
.field-check label { font-weight: 500; flex: 1; min-width: 0; }
.field-check .field-error { flex-basis: 100%; }

.privacy-note { font-size: .92rem; color: var(--grey); margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--white); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 16px 20px; margin-bottom: 24px; border: 2px solid; }
.form-status p { margin: 0; }
.form-status-ok { border-color: var(--accent-ink); background: #dff7f3; }
.form-status-error { border-color: var(--danger); background: #fbe9e7; }

/* ---------- About + services ---------- */

.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.service-grid { display: grid; grid-template-columns: auto 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.service-short { font-size: 1.2rem; font-weight: 600; }
.service-points { border: 2px solid var(--ink); padding: 24px; background: var(--white); }
.service-points h3 { font-size: 1.05rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; background: var(--accent); }

.cta-band { text-align: center; }
.cta-inner { max-width: 760px; }
.cta-inner p { color: #cfd5d3; font-size: 1.15rem; }
.cta-inner .hero-buttons { justify-content: center; }

/* ---------- Legal ---------- */

.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal code { font-size: .92em; background: var(--tint); padding: .1em .35em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.legal-table th { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- 404 ---------- */

.hero-404 { padding-bottom: clamp(64px, 9vw, 120px); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #cfd5d3; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr .8fr; gap: 40px; }
.footer-about .wordmark { font-size: 1.35rem; display: inline-block; margin-bottom: 16px; }
.footer-title { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; overflow-wrap: anywhere; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-top: 24px; padding-bottom: 32px;
  border-top: 1px solid var(--ink-3);
  font-size: .85rem; color: var(--grey-light);
}
.footer-base p { margin: 0; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 1080px; margin: 0 auto;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--accent);
  max-height: calc(100vh - 32px); overflow-y: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { padding: 22px 24px; display: grid; gap: 16px; }
.cookie-title { font-size: 1.2rem; margin-bottom: 6px; }
.cookie-copy p { margin: 0; font-size: .95rem; color: var(--grey); }
.cookie-copy a { color: var(--accent-ink); font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 44px; }
.btn-choice { background: var(--ink); color: var(--white); border-color: var(--ink); min-width: 150px; }
.btn-choice:hover { background: var(--ink-3); }

.cookie-prefs { border-top: 1px solid var(--line); padding-top: 12px; }
.cookie-prefs[hidden] { display: none; }
.cookie-option { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cookie-option-title { font-weight: 700; margin: 0; }
.cookie-option-text { margin: 0; font-size: .9rem; color: var(--grey); }
.cookie-save { margin-top: 14px; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; flex: none; }
.switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch-track { width: 52px; height: 30px; border-radius: var(--radius-pill); background: var(--line); position: relative; transition: background-color .2s var(--ease); }
.switch-track::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + .switch-track { background: var(--accent-ink); }
.switch input:checked + .switch-track::after { transform: translateX(22px); }
.switch input:disabled + .switch-track { opacity: .6; }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch-text { font-size: .85rem; color: var(--grey); min-width: 60px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .service-grid { grid-template-columns: auto 1fr; }
  .service-points { grid-column: 2; }
}

@media (max-width: 860px) {
  .readiness, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .readiness-intro, .details-card { position: static; }
  .fact-strip { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .fact-strip > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .site-menu-inner { grid-template-columns: 1fr; align-content: start; gap: 32px; }
  .hero-lead { margin-left: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(even) { padding: 28px 0 24px; border-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-cta { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .choice-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .detail-list > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-points { grid-column: auto; }
  .showcase-controls { margin-top: 0; justify-content: flex-start; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; box-shadow: 4px 4px 0 var(--accent); }
  .cookie-inner { padding: 18px 16px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions [data-cookie-prefs-toggle] { grid-column: 1 / -1; order: 3; }
  .btn-choice { min-width: 0; }
  .cookie-option { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-list[aria-hidden="true"] { display: none; }
  .ticker-list { flex-wrap: wrap; padding: 0 var(--gutter); }
}
