/* UK Business Directory — design system */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/inter-var.woff2") format("woff2");
}

:root {
  --brand: #0b1f44;
  --brand-2: #13306b;
  --primary: #2453e6;
  --primary-600: #1c43c4;
  --primary-50: #eef3ff;
  --accent: #e5484d;
  --accent-600: #cc3439;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .06);
  --shadow: 0 4px 6px -1px rgb(15 23 42 / .06), 0 10px 24px -6px rgb(15 23 42 / .10);
  --shadow-lg: 0 24px 48px -12px rgb(11 31 68 / .25);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .8rem 1.2rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .15s, color .15s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgb(36 83 230 / .3), inset 0 1px 0 rgb(255 255 255 / .12); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px rgb(229 72 77 / .6); }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-sm { padding: .6rem .95rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand strong { font-weight: 800; color: var(--primary); }
.brand span { font-weight: 600; }
.logo-mark { width: 34px; height: 34px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light strong { color: #8fb0ff; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.main-nav ul a:hover { background: var(--bg-alt); color: var(--ink); }
.main-nav ul a[aria-current="page"] { color: var(--primary); background: var(--primary-50); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon + .icon { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .18s ease;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 12px; font-size: 1.05rem; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .icon { display: none; }
  .nav-open .nav-toggle .icon + .icon { display: block; }
  .main-nav .btn { padding: 1rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--brand); color: #c7d4f0; padding: 88px 0 96px; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 10%, rgb(36 83 230 / .55), transparent 60%),
    radial-gradient(40% 60% at 5% 100%, rgb(229 72 77 / .28), transparent 60%),
    linear-gradient(180deg, #0b1f44 0%, #0a1a3a 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { text-align: center; max-width: 920px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero .hl { background: linear-gradient(90deg, #8fb0ff, #c9d7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 700px; margin: 0 auto 2.25rem; color: #c7d4f0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #e3eaff; font-size: .85rem; font-weight: 500; margin-bottom: 1.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgb(74 222 128 / .2); }
.hero-popular { margin: 1.5rem 0 0; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; color: #9fb3dc; }
.hero-popular a { color: #e3eaff; padding: 4px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); transition: background .15s; }
.hero-popular a:hover { background: rgb(255 255 255 / .1); color: #fff; }

/* Search box */
.search-box {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 6px;
  background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow-lg);
  max-width: 820px; margin: 0 auto; text-align: left;
}
.search-box label { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 10px; color: var(--muted); transition: background .15s; }
.search-box label:focus-within { background: var(--bg-alt); }
.search-box .field-where { border-left: 1px solid var(--line); border-radius: 0 10px 10px 0; }
.search-box input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: 14px 0; min-width: 0; }
.search-box input::placeholder { color: #94a3b8; }
.search-box-inline { box-shadow: var(--shadow); border: 1px solid var(--line); margin: 0 0 32px; max-width: none; }
.center-block .search-box-inline { grid-template-columns: 1fr auto; margin: 0 auto 24px; }
@media (max-width: 720px) {
  .search-box, .center-block .search-box-inline { grid-template-columns: 1fr; }
  .search-box .field-where { border-left: 0; border-top: 1px solid var(--line); border-radius: 10px; }
}

/* Stats */
.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 28px 16px; text-align: center; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stats-grid span { font-size: .9rem; color: var(--muted); }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0 88px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand); color: #c7d4f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.section-dark .eyebrow, .hero .eyebrow { color: #8fb0ff; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead { color: #c7d4f0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.sub-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 40px 0 16px; }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Category grid */
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-card:hover { border-color: #b9c9f7; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); margin-bottom: 12px; flex: none; }
.cat-icon .icon { width: 22px; height: 22px; }
.cat-name { font-weight: 650; color: var(--ink); }
.cat-subs { font-size: .85rem; color: var(--muted); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-card { padding: 16px; } }

/* Nations */
.nation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nation-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px;
  padding: 22px; border-radius: var(--radius); color: #fff; overflow: hidden; isolation: isolate;
  background: var(--brand-2); transition: transform .15s, box-shadow .15s;
}
.nation-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .95; }
.nation-england::before { background: linear-gradient(135deg, #13306b, #2453e6); }
.nation-scotland::before { background: linear-gradient(135deg, #0b3a6b, #0e7490); }
.nation-wales::before { background: linear-gradient(135deg, #14532d, #15803d); }
.nation-northern-ireland::before { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.nation-card:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.nation-name { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; }
.nation-meta { font-size: .9rem; opacity: .85; }
.nation-card .icon { position: absolute; top: 20px; right: 20px; opacity: .8; transition: transform .15s; }
.nation-card:hover .icon { transform: translateX(3px); }
@media (max-width: 900px) { .nation-grid { grid-template-columns: repeat(2, 1fr); } .nation-card { min-height: 130px; } }

.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; font-size: .92rem; transition: border-color .15s, color .15s; }
.chip .icon { width: 16px; height: 16px; color: var(--muted); }
.chip:hover { border-color: var(--primary); color: var(--primary); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding: 32px; border-radius: var(--radius); background: var(--bg-alt); counter-increment: step; }
.steps li::after { content: "0" counter(step); position: absolute; top: 24px; right: 28px; font-size: 2.5rem; font-weight: 800; color: #dfe6f3; letter-spacing: -0.04em; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; margin-bottom: 20px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Split / benefits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.benefits .icon { width: 24px; height: 24px; color: #8fb0ff; margin-top: 2px; }
.benefits h3 { margin-bottom: 4px; font-size: 1.05rem; }
.benefits p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Prose */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.seo-copy p { color: var(--ink-2); }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px; border-radius: 20px; color: #c7d4f0;
  background: radial-gradient(80% 140% at 100% 0%, rgb(36 83 230 / .6), transparent 60%), var(--brand);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 560px; }
@media (max-width: 800px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; } }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 40px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 860px; }
.page-hero .lead { max-width: 720px; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 28px; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }

/* Category detail */
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.jump-nav a { padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); font-size: .875rem; font-weight: 500; }
.jump-nav a:hover { background: var(--primary-50); color: var(--primary); }
.cat-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat-detail { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.cat-detail:target { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.cat-detail header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cat-detail header .cat-icon { margin: 0; }
.cat-detail h2 { font-size: 1.3rem; margin: 0; }
.cat-detail > p { color: var(--muted); }
.cat-detail .link-arrow { margin-top: auto; font-size: .92rem; }
.tag-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; padding: 5px 12px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
.tag-list a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 800px) { .cat-detail-grid { grid-template-columns: 1fr; } .cat-detail { padding: 22px; } }

/* Locations */
.nation-block { margin-bottom: 56px; }
.nation-block > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; }
.nation-block > h2 .icon { color: var(--accent); width: 26px; height: 26px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.region-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.region-card:target { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.region-card h3 { font-size: 1.05rem; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.region-card ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.region-card li { padding: 3px 0; break-inside: avoid; }
.region-card li:target a { color: var(--accent); font-weight: 600; }
.region-card a { color: var(--ink-2); font-size: .95rem; }
.region-card a:hover { color: var(--primary); }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.form { padding: 36px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.form legend { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 18px; padding: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgb(36 83 230 / .15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; }
.hint { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.consent.invalid label { color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 20px; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.form-status.ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-aside { display: grid; gap: 16px; position: sticky; top: 92px; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card p:last-child { margin: 0; }
.aside-card.muted { background: #fff; }
.muted-text { color: var(--muted); font-size: .92rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: .95rem; }
.check-list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #dcfce7; color: var(--success); margin-top: 2px; stroke-width: 3; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }
@media (max-width: 600px) { .form { padding: 22px; } .field-grid { grid-template-columns: 1fr; } }

/* About values */
.value-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-cards li { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.value-cards .icon { width: 28px; height: 28px; color: var(--primary); margin-bottom: 14px; }
.value-cards p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 520px) { .value-cards { grid-template-columns: 1fr; } }

/* Search results */
.search-results:empty { display: none; }
.search-results { margin-bottom: 32px; }
.result-group h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.result-group + .result-group { margin-top: 28px; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.result-list a { display: flex; flex-direction: column; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.result-list a:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.result-list strong { color: var(--ink); }
.result-list span { color: var(--muted); font-size: .88rem; }
.result-summary { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 24px; }
.notice { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--primary-50); border: 1px solid #d5e0ff; }
.notice > .icon { width: 32px; height: 32px; color: var(--primary); }
.notice h2 { font-size: 1.15rem; margin-bottom: 6px; }
.notice p { margin: 0; }

/* Thank-you / 404 */
.center-block { text-align: center; }
.center-block .lead { margin-inline: auto; max-width: 560px; }
.big-check { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: var(--success); margin-bottom: 24px; }
.big-check .icon { width: 36px; height: 36px; stroke-width: 2.5; }

/* Footer */
.site-footer { background: #071530; color: #9fb0d0; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0; max-width: 340px; }
.footer-title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c7d4f0; }
.site-footer a:hover { color: #fff; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer-mail .icon { width: 18px; height: 18px; }
.footer-mail.dark { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

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