/* ============================================================
   3Dfy World — site stylesheet
   Tokens traced to brand/design-tokens.css (3Dfy Brand Kit v1.0)
   One family (Inter 400/500/700), flat surfaces, 14px buttons,
   4px cards, 0 radius on product media, amber as fill only.
   ============================================================ */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --blue-50: #EDF3FE; --blue-100: #D6E4FD; --blue-200: #AFC9FB; --blue-400: #4D8FF5;
  --blue: #1164EC; --blue-deep: #0E52C7; --navy: #1D3686; --navy-900: #132456;
  --amber: #F2A942; --amber-500: #E0912A; --amber-text: #9A5A1A; --copper: #C4721D;
  --logo-blue: #006BA8; --aluminum: #B4B4B4;
  --white: #FFFFFF; --cloud: #FAFAFA; --surface: #F5F5F5; --mist: #E6E6E6; --line: #DFDFDF;
  --steel: #8A8A8A; --slate: #5A5A5A; --graphite: #333333; --ink: #000000;
  --sage: #EEF1EA; --sky: #E1EDF5;
  --success: #2E7D32; --error: #C62828;
  --scrim: rgb(0 0 0 / 0.45);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-caption: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-lg: 1.125rem;
  --text-h4: 1.25rem; --text-h3: 1.5rem; --text-h2: 1.875rem; --text-h1: 2.5rem; --text-display: 3.5rem;

  --r-media: 0; --r-card: 4px; --r-btn: 14px; --r-pill: 999px;
  --shadow-overlay: 0 10px 30px -12px rgb(0 0 0 / 0.25);
  --dur: 200ms;

  --sp-xs: .25rem; --sp-sm: .5rem; --sp-md: 1rem; --sp-lg: 1.5rem; --sp-xl: 2rem; --sp-2xl: 3rem; --sp-3xl: 5rem;
  --max-w: 75rem; --gutter: 1rem;
}
@media (min-width: 48em) { :root { --gutter: 1.5rem; } }
@media (min-width: 64em) { :root { --gutter: 2rem; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body {
  margin: 0; background: var(--white);
  color: rgb(0 0 0 / 0.81); font-family: var(--font); font-size: var(--text-base); line-height: 1.5;
  font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 0.15em; }
a:hover { color: var(--blue-deep); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; margin: 0 0 var(--sp-md); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); line-height: 1.2; }
h3 { font-size: var(--text-h3); line-height: 1.25; letter-spacing: 0; }
h4 { font-size: var(--text-h4); font-weight: 500; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 var(--sp-md); max-width: 68ch; }
ul, ol { padding-left: 1.25rem; margin: 0 0 var(--sp-md); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--sp-md); top: -3rem; background: var(--ink); color: var(--white); padding: .5rem 1rem; border-radius: var(--r-btn); z-index: 100; }
.skip-link:focus { top: var(--sp-md); }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: inline-block; font-size: var(--text-caption); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-text); margin-bottom: var(--sp-sm); }
.lede { font-size: var(--text-lg); line-height: 1.6; color: var(--slate); }
.muted { color: var(--slate); }
.small { font-size: var(--text-sm); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .7rem 1.4rem; border-radius: var(--r-btn); font-family: var(--font); font-size: var(--text-base); font-weight: 500; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--cloud); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: .75rem; }
.btn-ghost:hover { color: var(--blue-deep); background: var(--blue-50); }
.btn-commerce { background: var(--ink); color: var(--white); }
.btn-commerce:hover { background: var(--graphite); color: var(--white); }
.btn-on-dark { background: var(--white); color: var(--navy); }
.btn-on-dark:hover { background: var(--sky); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.6); }
.btn-outline-light:hover { color: var(--white); border-color: var(--white); background: rgb(255 255 255 / 0.08); }
.btn-sm { min-height: 2.25rem; padding: .45rem 1rem; font-size: var(--text-sm); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: var(--r-pill); font-size: var(--text-caption); font-weight: 500; line-height: 1.4; border: 1px solid var(--mist); background: var(--white); color: var(--graphite); }
.pill-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.pill-blue { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-deep); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: var(--white); font-size: var(--text-sm); text-align: center; padding: .55rem var(--gutter); }
.announce a { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.announce strong { font-weight: 500; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--mist); }
.site-header .container { display: flex; align-items: center; gap: var(--sp-lg); min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: .55rem .8rem; color: var(--graphite); font-weight: 500; border-radius: var(--r-btn); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-deep); background: var(--blue-50); text-decoration: none; }
.header-actions { display: none; gap: .5rem; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--mist); background: var(--white); border-radius: var(--r-btn); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 64em) {
  .nav, .header-actions { display: flex; }
  .nav-toggle { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--mist); background: var(--white); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1rem; }
.mobile-nav li a { display: block; padding: .8rem .25rem; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--surface); }
.mobile-nav .mobile-actions { display: flex; gap: .5rem; padding: 1rem var(--gutter) 1.25rem; flex-wrap: wrap; }

/* ---------- Layer-line texture (the subject, quietly) ---------- */
.layered { position: relative; background-color: var(--sky); }
.layered::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgb(29 54 134 / 0.055) 0 1px, transparent 1px 5px); }
.layered > * { position: relative; }
.layered-sage { background-color: var(--sage); }
.layered-sage::before { background: repeating-linear-gradient(to bottom, rgb(51 51 51 / 0.05) 0 1px, transparent 1px 5px); }
.layered-surface { background-color: var(--surface); }
.layered-surface::before { background: repeating-linear-gradient(to bottom, rgb(0 0 0 / 0.04) 0 1px, transparent 1px 5px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-2xl); }
@media (min-width: 64em) { .section { padding-block: var(--sp-3xl); } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-md) var(--sp-xl); margin-bottom: var(--sp-xl); }
.section-head h2 { margin-bottom: .25rem; }
.section-head p { margin: 0; }
.rule-amber { display: block; width: 3.5rem; height: 4px; background: var(--amber); border-radius: 2px; margin: var(--sp-md) 0 var(--sp-lg); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--sp-2xl) 0; overflow: hidden; }
.hero .container { display: grid; gap: var(--sp-xl); }
.hero-copy h1 { font-size: clamp(2.125rem, 2.1vw + 1.5rem, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: var(--sp-md); }
.hero-copy .lede { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: var(--sp-lg) 0 var(--sp-lg); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; font-size: var(--text-sm); color: var(--slate); margin-bottom: var(--sp-xl); }
.stars { color: var(--amber-text); letter-spacing: .05em; font-size: .95em; }
.hero-media { margin-inline: calc(-1 * var(--gutter)); }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-media); }
.hero-media figcaption { font-size: var(--text-caption); color: var(--slate); padding: .5rem var(--gutter) 0; }
@media (min-width: 64em) {
  .hero { padding-block: var(--sp-3xl) 0; }
  .hero .container { grid-template-columns: 5fr 7fr; align-items: end; gap: var(--sp-3xl); }
  .hero-copy { padding-bottom: var(--sp-3xl); }
  .hero-media { margin-inline: 0 calc(-1 * var(--gutter)); }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-media figcaption { padding-inline: 0; }
}
@media (min-width: 90em) { .hero-media { margin-right: calc((100vw - var(--max-w)) / -2 - var(--gutter)); } }

/* text-only hero */
.hero-solo { padding-block: var(--sp-2xl); }
.hero-solo .container { grid-template-columns: 1fr; }
.hero-solo .hero-copy { max-width: 46rem; padding-bottom: 0; }
.hero-solo .hero-copy h1 { font-size: clamp(2.25rem, 2.6vw + 1.5rem, 3.75rem); }
.hero-solo .hero-copy .lede { max-width: 40rem; }
.hero-solo .hero-proof { margin-bottom: 0; }
@media (min-width: 64em) { .hero-solo { padding-block: var(--sp-3xl); } }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--mist); background: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.trust li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--surface); }
.trust li:last-child { border-bottom: 0; }
.trust svg { flex: none; width: 1.5rem; height: 1.5rem; color: var(--blue); margin-top: .1rem; }
.trust strong { display: block; color: var(--ink); font-weight: 700; }
.trust span { color: var(--slate); font-size: var(--text-sm); }
@media (min-width: 48em) {
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li { padding: 1.25rem 1.25rem; border-bottom: 0; border-right: 1px solid var(--surface); }
  .trust li:first-child { padding-left: 0; }
  .trust li:last-child { border-right: 0; padding-right: 0; }
}

/* ---------- Product grid ---------- */
.grid { display: grid; gap: var(--sp-lg) var(--sp-md); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48em) { .grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl) var(--sp-lg); } }
@media (min-width: 64em) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48em) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--mist); border-radius: var(--r-card); overflow: hidden; transition: border-color var(--dur) ease; }
.card:hover { border-color: var(--blue); }
.card-media { display: block; background: var(--surface); aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-media); }
.card-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-title { font-size: var(--text-base); font-weight: 500; margin: 0; line-height: 1.3; letter-spacing: 0; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--blue-deep); }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: auto; font-size: var(--text-sm); color: var(--slate); }
.card-price { color: var(--ink); font-weight: 500; font-size: var(--text-base); }
.card-type { font-size: var(--text-caption); color: var(--steel); }

/* ---------- Collection tiles (caption below image — brand fix 4.1) ---------- */
.tiles { display: grid; gap: var(--sp-lg) var(--sp-md); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48em) { .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl) var(--sp-lg); } }
@media (min-width: 64em) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: block; color: var(--ink); border: 1px solid var(--mist); border-radius: var(--r-card); overflow: hidden; background: var(--white); transition: border-color var(--dur) ease; }
.tile:hover { border-color: var(--blue); text-decoration: none; color: var(--ink); }
.tile-media { aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: .85rem .9rem 1rem; }
.tile-body strong { display: block; font-weight: 700; line-height: 1.3; }
.tile-body span { display: block; color: var(--slate); font-size: var(--text-sm); margin-top: .2rem; }

/* ---------- Dark band (Navy Depth) — how it's made ---------- */
.band-navy { background: var(--navy); color: rgb(255 255 255 / 0.86); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a { color: var(--white); }
.band-navy .number { color: var(--amber); } /* 5.47:1 on Navy — approved as text on dark */
.steps { display: grid; gap: var(--sp-xl); margin-top: var(--sp-xl); }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 1px solid rgb(255 255 255 / 0.18); padding-top: var(--sp-lg); }
.step .number { display: block; font-size: var(--text-display); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: .5rem; }
.step .number small { display: block; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: rgb(255 255 255 / 0.7); margin-top: .35rem; }
.step h3 { font-size: var(--text-h4); margin-bottom: .5rem; }
.step p { color: rgb(255 255 255 / 0.78); margin: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--sp-lg); }
@media (min-width: 48em) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r-card); padding: var(--sp-lg); display: flex; flex-direction: column; gap: .75rem; }
.review blockquote { margin: 0; font-size: var(--text-lg); line-height: 1.5; color: var(--ink); }
.review footer { font-size: var(--text-sm); color: var(--slate); margin-top: auto; }
.review footer strong { color: var(--graphite); font-weight: 500; }

 .shops { display: grid; gap: var(--sp-md); margin-bottom: var(--sp-xl); }
@media (min-width: 48em) { .shops { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); } }
.shop-card { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; background: var(--white); border: 1px solid var(--mist); border-radius: var(--r-card); padding: 1rem 1.25rem; color: var(--ink); transition: border-color var(--dur); }
.shop-card:hover { border-color: var(--blue); text-decoration: none; color: var(--ink); }
.shop-name { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.shop-name svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.shop-stats { color: var(--slate); font-size: var(--text-sm); flex: 1 1 14rem; }
.shop-stats strong { color: var(--ink); font-weight: 500; }
.shop-cta { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue); font-weight: 500; font-size: var(--text-sm); }
.shop-cta svg { width: 1em; height: 1em; }

/* ---------- Editorial list ---------- */
.list-links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mist); }
.list-links li { border-bottom: 1px solid var(--mist); }
.list-links a { display: flex; justify-content: space-between; gap: var(--sp-md); padding: 1rem 0; color: var(--ink); font-weight: 500; }
.list-links a:hover { color: var(--blue-deep); text-decoration: none; }
.list-links a span { color: var(--steel); font-weight: 400; font-size: var(--text-sm); flex: none; }

/* ---------- Newsletter / CTA ---------- */
.cta-split { display: grid; gap: var(--sp-xl); align-items: center; }
@media (min-width: 64em) { .cta-split { grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); } }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Page header ---------- */
.page-head { padding-block: var(--sp-2xl) var(--sp-xl); }
.page-head h1 { font-size: clamp(2rem, 1.5vw + 1.4rem, 2.5rem); margin-bottom: .5rem; }
.page-head .lede { margin: 0; }
.breadcrumb { font-size: var(--text-sm); color: var(--slate); margin-bottom: var(--sp-md); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--blue-deep); }
.breadcrumb span { margin-inline: .4rem; color: var(--aluminum); }

/* ---------- Catalog filters ---------- */
.filters { background: var(--white); border-bottom: 1px solid var(--mist); padding-block: .75rem; }
@media (min-width: 64em) { .filters { position: sticky; top: 4.25rem; z-index: 10; } }
.filters .container { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip { border: 1px solid var(--mist); background: var(--white); color: var(--graphite); font: inherit; font-size: var(--text-sm); font-weight: 500; padding: .4rem .85rem; border-radius: var(--r-pill); cursor: pointer; transition: background var(--dur), border-color var(--dur), color var(--dur); }
.chip:hover { border-color: var(--blue); color: var(--blue-deep); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.search { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; width: 100%; margin-top: .25rem; }
.search input { flex: 1 1 10rem; min-width: 0; font: inherit; font-size: var(--text-sm); padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); color: var(--ink); }
.search select.chip { flex: 0 0 auto; }
@media (min-width: 64em) { .search { width: auto; margin-left: auto; margin-top: 0; } .search input { min-width: 13rem; } }
.search input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 2px var(--blue-100); }
.results-count { font-size: var(--text-sm); color: var(--slate); margin: var(--sp-lg) 0; }
.empty { padding: var(--sp-2xl) 0; text-align: left; color: var(--slate); }
.empty strong { display: block; color: var(--ink); font-size: var(--text-h4); margin-bottom: .25rem; }

/* ---------- Storefront cards (Shop page) ---------- */
.stores { display: grid; gap: var(--sp-lg); }
@media (min-width: 64em) { .stores { grid-template-columns: 1.25fr 1fr 1fr; } }
.store-card { display: flex; flex-direction: column; gap: var(--sp-md); border: 1px solid var(--mist); border-radius: var(--r-card); padding: var(--sp-lg); background: var(--white); }
.store-primary { background: var(--sky); border-color: var(--blue-100); }
.store-head h2 { font-size: var(--text-h3); margin: 0; }
.store-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--text-sm); font-weight: 500; color: var(--slate); margin-bottom: .35rem; }
.store-kicker svg { width: 1em; height: 1em; fill: currentColor; }
.store-card p { margin: 0; color: var(--slate); }
.store-card .kv { margin-top: .25rem; }
.store-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-2xl); font-size: var(--text-h3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-h4); font-weight: 700; margin-top: var(--sp-xl); }
.prose ul li { margin-bottom: .35rem; }
.two-col { display: grid; gap: var(--sp-2xl); }
@media (min-width: 64em) { .two-col { grid-template-columns: 7fr 4fr; gap: var(--sp-3xl); } }
.aside { align-self: start; position: sticky; top: 5.5rem; }
.aside-box { border: 1px solid var(--mist); border-radius: var(--r-card); padding: var(--sp-lg); background: var(--white); }
.aside-box + .aside-box { margin-top: var(--sp-md); }
.aside-box h3 { font-size: var(--text-h4); margin-bottom: .5rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { padding: .45rem 0; border-top: 1px solid var(--surface); font-size: var(--text-sm); }
.aside-box li:first-child { border-top: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: var(--text-sm); }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: var(--sp-2xl); }
.faq-group h2 { font-size: var(--text-h3); margin-bottom: var(--sp-md); }
details.faq { border-top: 1px solid var(--mist); }
details.faq:last-child { border-bottom: 1px solid var(--mist); }
details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md); padding: 1rem 0; font-weight: 500; color: var(--ink); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; flex: none; width: 1.5rem; height: 1.5rem; display: inline-grid; place-items: center; color: var(--blue); font-weight: 500; font-size: 1.25rem; transition: transform var(--dur); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 0 1.25rem; color: var(--slate); max-width: 68ch; }
details.faq .faq-body p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--sp-lg); }
@media (min-width: 48em) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { border: 1px solid var(--mist); border-radius: var(--r-card); padding: var(--sp-lg); display: flex; flex-direction: column; gap: .5rem; }
.contact-card h3 { margin-bottom: .25rem; font-size: var(--text-h4); }
.contact-card p { margin: 0 0 .75rem; color: var(--slate); }
.contact-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: rgb(255 255 255 / 0.8); padding-block: var(--sp-2xl) var(--sp-xl); margin-top: var(--sp-2xl); }
.site-footer a { color: rgb(255 255 255 / 0.85); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: var(--sp-xl); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-2xl); } }
.footer-brand img { width: 56px; height: 56px; margin-bottom: var(--sp-md); }
.footer-brand p { color: rgb(255 255 255 / 0.7); font-size: var(--text-sm); }
.footer-grid h4 { color: var(--white); font-size: var(--text-sm); font-weight: 700; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; font-size: var(--text-sm); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.14); margin-top: var(--sp-xl); padding-top: var(--sp-lg); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-md); font-size: var(--text-caption); color: rgb(255 255 255 / 0.6); }
.social { display: flex; gap: .5rem; }
.social a { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--r-btn); }
.social a:hover { border-color: var(--white); background: rgb(255 255 255 / 0.06); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--sp-lg); } .mt-xl { margin-top: var(--sp-xl); } .mt-2xl { margin-top: var(--sp-2xl); }
.flex { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.text-center { text-align: center; }
.max-prose { max-width: 68ch; }
.not-found { padding-block: var(--sp-3xl); }
.not-found h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); letter-spacing: -0.02em; }
