/* ==========================================================================
   Sycamore Digital Dental Laboratory
   Built from the Sycamore Brand Guidelines (11-11-2025)
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Components  6. Sections  7. Pages
   ========================================================================== */

/* 1. Fonts ----------------------------------------------------------------
   Degular Display is a licensed typeface. Place your licensed .woff2 files in
   /assets/fonts/ with these names. Until then, headings fall back to Work Sans. */
@font-face { font-family: "Degular Display"; src: url("../fonts/DegularDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Degular Display"; src: url("../fonts/DegularDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Degular Display"; src: url("../fonts/DegularDisplay-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
    /* Brand palette */
    --earth-olive: #493C12;   /* primary */
    --stone-green: #7F6D3B;   /* primary */
    --sand:        #D7C399;   /* primary */
    --ivory:       #E9E2D3;   /* primary */
    --slate:       #211F20;   /* primary */
    --deep-clay:   #A53F2B;   /* secondary */
    --honey:       #D98F38;   /* secondary */
    --white:       #FFFFFF;

    /* Brand gradients (brand book p.24) */
    --soft-sun: radial-gradient(120% 120% at 30% 25%, #EDB25A 0%, var(--honey) 45%, #B8701F 100%);
    --woodland: radial-gradient(90% 110% at 50% 20%, #8A7843 0%, var(--stone-green) 25%, #4F4118 70%, #332A0C 100%);
    --clay-glow: radial-gradient(110% 110% at 70% 20%, #C0553D 0%, var(--deep-clay) 50%, #7E2E1F 100%);
    --stone-glow: radial-gradient(110% 110% at 30% 30%, #978551 0%, var(--stone-green) 55%, #5F5129 100%);

    /* Roles */
    --bg:          #F6F2EA;
    --surface:     var(--white);
    --text:        var(--slate);
    --text-muted:  #5D574C;
    --heading:     var(--earth-olive);
    --line:        #DDD4C2;
    --focus:       var(--honey);

    /* Type */
    --font-display: "Degular Display", "Work Sans", system-ui, sans-serif;
    --font-body:    "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Space and shape */
    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section: clamp(4rem, 9vw, 7.5rem);
    --radius-s: 6px;
    --radius-m: 14px;
    --radius-l: 28px;
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--heading);
    line-height: 1.1;          /* brand: leading 100–130% */
    letter-spacing: 0;         /* brand: tracking 0 */
    margin: 0 0 .6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-muted); max-width: 58ch; font-weight: 300; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--earth-olive); color: var(--ivory); padding: .7rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* 4. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-top: 2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--media { align-items: center; }
.split__img { border-radius: var(--radius-l); aspect-ratio: 7 / 5; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.section-head {
    display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1rem 3rem;
    align-items: end; margin-bottom: 2.75rem;
}
.section-head h2 { margin: 0; }
.section-head p { color: var(--text-muted); margin: 0; max-width: 46ch; }
@media (max-width: 960px) { .section-head { grid-template-columns: 1fr; } }

/* 5. Components ----------------------------------------------------------- */

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .75rem 1.5rem;
    border-radius: 999px; border: 1.5px solid transparent;
    font: 500 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--earth-olive); color: var(--ivory); }
.btn--primary:hover { background: var(--slate); }
.btn--outline { border-color: var(--earth-olive); color: var(--earth-olive); background: transparent; }
.btn--outline:hover { background: var(--earth-olive); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--earth-olive); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn--outline-light:hover { background: var(--ivory); color: var(--earth-olive); }
.btn--honey { background: var(--honey); color: var(--slate); }
.btn--honey:hover { background: #E7A04E; }
.btn--clay { background: var(--deep-clay); color: var(--ivory); }
.btn--clay:hover { background: #8E3423; }
.btn--large { min-height: 56px; padding-inline: 2rem; font-size: 1.05rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button-row--center { justify-content: center; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--earth-olive); font-weight: 500; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--honey); }
.text-link--light { color: var(--sand); }

/* Photos and placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; background: var(--sand); }
.placeholder {
    position: relative; display: grid; place-items: center;
    background: var(--woodland); overflow: hidden; min-height: 200px;
}
.placeholder--soft-sun { background: var(--soft-sun); }
.placeholder--clay     { background: var(--clay-glow); }
.placeholder--stone    { background: var(--stone-glow); }
.placeholder__mark { width: 22%; max-width: 110px; opacity: .35; }
.placeholder__label {
    position: absolute; left: 1rem; bottom: .8rem;
    font-size: .75rem; color: var(--ivory); opacity: .7; letter-spacing: .02em;
}

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; }
.brand { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; }
.brand img { width: 200px; height: auto; }   /* brand minimum: 150px digital */
.brand__sub { font-size: .72rem; color: var(--stone-green); letter-spacing: .08em; padding-left: 2px; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { text-decoration: none; color: var(--text-muted); font-weight: 500; padding-block: .4rem; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--earth-olive); }
.site-nav ul a[aria-current="page"] { color: var(--earth-olive); border-color: var(--honey); }
.nav-toggle { display: none; background: none; border: 0; color: var(--earth-olive); padding: .5rem; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

@media (max-width: 1000px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 1.5rem;
        background: var(--bg); padding: 1.5rem var(--gutter) 2rem; border-bottom: 1px solid var(--line);
        display: none;
    }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
    .site-nav ul a[aria-current="page"] { border-bottom-color: var(--honey); }
    .nav-open .site-nav { display: flex; }
    .nav-open .nav-toggle__open { display: none; }
    .nav-open .nav-toggle__close { display: block; }
}

/* Product card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--surface); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.product-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.product-card__img { aspect-ratio: 4 / 3; height: auto; flex-shrink: 0; transition: transform .5s ease; }
.product-card__link:hover .product-card__img { transform: scale(1.03); }
.product-card .photo { overflow: hidden; }
.product-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; background: var(--surface); position: relative; }
.product-card__title { margin-bottom: .4rem; }
.product-card__link:hover .product-card__title { text-decoration: underline; text-decoration-color: var(--honey); }
.product-card__body > p { color: var(--text-muted); font-size: .97rem; }
.product-card__meta { display: flex; justify-content: space-between; gap: 1rem; margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .85rem; }
.product-card__meta > div { padding-top: .2rem; }
.product-card__meta dt { color: var(--text-muted); }
.product-card__meta dd { margin: 0; font-weight: 500; color: var(--earth-olive); }
.product-card__meta > div:last-child dd { color: var(--deep-clay); }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter a {
    padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line);
    text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text-muted);
}
.filter a:hover { border-color: var(--stone-green); color: var(--earth-olive); }
.filter a[aria-current="true"] { background: var(--earth-olive); border-color: var(--earth-olive); color: var(--ivory); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; }
.steps__icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: var(--honey); color: var(--slate);
}
.steps--compact { display: grid; gap: 1.6rem; counter-reset: step; }
.steps--compact li { display: grid; grid-template-columns: 52px 1fr; gap: 1.2rem; align-items: start; }
.steps--compact h3 { color: var(--ivory); margin-bottom: .2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.steps--compact h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--sand); font-weight: 400; }
.steps--compact p { color: color-mix(in srgb, var(--ivory) 80%, transparent); margin: 0; }

.steps--full { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; position: relative; }
.steps--full::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 1px; background: var(--line); }
.steps--full li { position: relative; }
.steps--full .steps__icon { margin-bottom: 1.4rem; }
.steps--full li:nth-child(5n+1) .steps__icon { background: var(--earth-olive); color: var(--ivory); }
.steps--full li:nth-child(5n+2) .steps__icon { background: var(--stone-green); color: var(--ivory); }
.steps--full li:nth-child(5n+3) .steps__icon { background: var(--deep-clay); color: var(--ivory); }
.steps--full li:nth-child(5n+4) .steps__icon { background: var(--honey); color: var(--slate); }
.steps--full li:nth-child(5n+5) .steps__icon { background: var(--sand); color: var(--earth-olive); }
.steps--full h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.steps__time { color: var(--deep-clay); font-weight: 500; font-size: .9rem; margin-bottom: .6rem; }
.steps--full p:last-child { color: var(--text-muted); }
@media (max-width: 900px) {
    .steps--full { grid-template-columns: 1fr; }
    .steps--full::before { top: 26px; bottom: 26px; left: 26px; right: auto; width: 1px; height: auto; }
    .steps--full li { padding-left: 76px; }
    .steps--full .steps__icon { position: absolute; left: 0; top: 0; }
}

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; }
.ticks .icon { color: var(--stone-green); margin-top: .2rem; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 3rem); }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.5rem; }
.form legend { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); margin-bottom: 1.2rem; padding: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--text-muted); }
.field__hint { font-size: .88rem; color: var(--text-muted); margin: -.1rem 0 .4rem; }
.field__error { font-size: .9rem; color: var(--deep-clay); font-weight: 500; margin: 0 0 .4rem; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: .7rem .9rem;
    font: inherit; color: var(--text); background: var(--bg);
    border: 1.5px solid var(--line); border-radius: var(--radius-s);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--earth-olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--honey) 45%, transparent); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--deep-clay); }

/* Practice / laboratory picker: two large radio cards */
.form .choice-group { grid-column: 1 / -1; min-width: 0; margin: 0; }
.form .choice-group legend { font-family: inherit; font-size: 1rem; font-weight: 500; color: inherit; margin-bottom: .5rem; }
.choice-group__options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .choice-group__options { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__card {
    position: relative; display: block; padding: .85rem 1.1rem .85rem 3rem;
    background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-s);
    transition: border-color .2s, box-shadow .2s;
}
.choice__card::before {
    content: ''; position: absolute; left: 1.1rem; top: 1.1rem; width: 18px; height: 18px;
    border: 1.5px solid var(--text-muted); border-radius: 50%; background: var(--surface);
}
.choice__title { display: block; font-weight: 500; }
.choice__hint { display: block; font-size: .88rem; color: var(--text-muted); }
.choice input:checked + .choice__card { border-color: var(--earth-olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--honey) 45%, transparent); }
.choice input:checked + .choice__card::before { border-color: var(--earth-olive); background: radial-gradient(circle, var(--earth-olive) 0 40%, var(--surface) 45%); }
.choice input:focus-visible + .choice__card { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-group--error .choice__card { border-color: var(--deep-clay); }

.check { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--earth-olive); flex-shrink: 0; }
.check--error span { color: var(--deep-clay); }

.dropzone {
    border: 2px dashed var(--sand); border-radius: var(--radius-m); background: var(--bg);
    padding: 2.25rem 1.5rem; text-align: center; transition: border-color .2s, background-color .2s;
}
.dropzone > .icon { width: 36px; height: 36px; margin: 0 auto .75rem; color: var(--stone-green); }
.dropzone.is-over { border-color: var(--earth-olive); background: var(--ivory); }
.dropzone--error { border-color: var(--deep-clay); }
.dropzone__browse { color: var(--earth-olive); text-decoration: underline; cursor: pointer; font-weight: 500; }
.dropzone:focus-within .dropzone__browse { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.dropzone__list { list-style: none; padding: 0; margin: 1rem 0 0; text-align: left; display: grid; gap: .4rem; }
.dropzone__list li { display: flex; justify-content: space-between; gap: 1rem; background: var(--surface); padding: .55rem .9rem; border-radius: var(--radius-s); font-size: .92rem; }
.dropzone__list span { color: var(--text-muted); white-space: nowrap; }

.alert { border-radius: var(--radius-m); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.alert h2 { font-size: 1.25rem; margin-bottom: .4rem; color: inherit; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.alert--error { background: #F6E4DF; color: #7A2C1D; border-left: 4px solid var(--deep-clay); }
.alert--success { background: #EEF0E1; color: var(--earth-olive); border-left: 4px solid var(--stone-green); }
.hp { position: absolute; left: -9999px; }

.form-aside { position: sticky; top: 110px; background: var(--earth-olive); color: var(--ivory); border-radius: var(--radius-l); padding: 2rem; }
.form-aside h2 { color: var(--ivory); font-size: 1.6rem; }
.mini-steps { margin: 0 0 1.5rem; padding-left: 1.2rem; display: grid; gap: .7rem; }
.form-aside__help { display: flex; gap: .5rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--ivory) 25%, transparent); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .icon { color: var(--sand); margin-top: .2rem; }

/* 6. Sections ------------------------------------------------------------- */
.section--olive { background: var(--earth-olive); color: var(--ivory); }
.section--olive h2 { color: var(--ivory); }
.section--olive .lead { color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }
.section--sand .needs > div { border-color: rgba(73, 60, 18, .22); }
.section--sand .needs dd { color: #3E3A31; }
.section--woodland { background: var(--woodland); color: var(--ivory); }
.section--woodland h2 { color: var(--ivory); }
.section--woodland .section-head p { color: color-mix(in srgb, var(--ivory) 85%, transparent); }
.section--woodland .machine-strip__item strong { color: var(--ivory); }
.section--woodland .machine-strip__item span { color: var(--sand); }
.section--clay { background: var(--clay-glow); color: var(--ivory); }
.section--clay h2 { color: var(--ivory); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 500; line-height: 1.02; max-width: 16ch; }
.hero__facts { list-style: none; margin: 3rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hero__facts li { display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; color: var(--text-muted); }
.hero__facts strong { display: block; color: var(--earth-olive); font-weight: 600; }
.hero__facts .icon { color: var(--deep-clay); width: 26px; height: 26px; }
.hero__media { position: relative; }
.hero__img { aspect-ratio: 8 / 9; border-radius: 200px 200px var(--radius-l) var(--radius-l); }
.hero__badge {
    position: absolute; left: -1.5rem; bottom: 2rem;
    display: flex; align-items: center; gap: .9rem;
    background: var(--earth-olive); color: var(--ivory);
    padding: 1rem 1.4rem 1rem 1rem; border-radius: var(--radius-m);
    font-size: .92rem; line-height: 1.35; box-shadow: 0 20px 40px -20px rgba(33, 31, 32, .5);
}
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__media { order: -1; }
    .hero__img { aspect-ratio: 4 / 3; border-radius: 160px 160px var(--radius-l) var(--radius-l); }
    .hero__badge { left: 1rem; bottom: 1rem; }
}
@media (max-width: 560px) { .hero__facts { grid-template-columns: 1fr; } .hero__facts li { flex-direction: row; align-items: center; } }

/* Values (brand tone-of-voice pattern) */
.values { padding-block: 0 var(--section); }
.values__list { list-style: none; margin: 0; padding: 0; }
.values__list li {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: center;
    padding-block: 1.4rem; border-bottom: 1px solid var(--line);
}
.values__list li:first-child { border-top: 1px solid var(--line); }
.values__word {
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem);
    color: var(--earth-olive); text-transform: uppercase; line-height: 1;
}
.values__word .icon { width: .8em; height: .8em; stroke-width: 1.25; color: var(--deep-clay); }
.values__list li > span:last-child { color: var(--text-muted); justify-self: end; text-align: right; max-width: 34ch; }
@media (max-width: 700px) {
    .values__list li { grid-template-columns: 1fr; }
    .values__list li > span:last-child { justify-self: start; text-align: left; }
}

/* Machine strip (home) */
.machine-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.machine-strip__item { margin: 0; }
.machine-strip__item .photo { aspect-ratio: 4 / 5; border-radius: var(--radius-m); }
.machine-strip__item figcaption { padding-top: .9rem; display: flex; flex-direction: column; }
.machine-strip__item strong { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--earth-olive); }
.machine-strip__item span { font-size: .88rem; color: var(--text-muted); }
@media (max-width: 900px) { .machine-strip { grid-template-columns: 1fr 1fr; } }

/* Needs */
.needs { margin: 0; }
.needs > div { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.needs dt { font-family: var(--font-display); font-size: 1.3rem; color: var(--earth-olive); }
.needs dd { margin: .25rem 0 0; color: var(--text-muted); }

/* Call to action */
.cta { background: var(--clay-glow); color: var(--ivory); overflow: hidden; position: relative; }
.cta__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.cta__text { padding-block: var(--section); }
.cta h2 { color: var(--ivory); font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.cta p { color: var(--ivory); max-width: 50ch; }
.cta__img { align-self: stretch; min-height: 360px; border-radius: 240px 240px 0 0; margin-top: 4rem; }
@media (max-width: 860px) {
    .cta__inner { grid-template-columns: 1fr; gap: 0; }
    .cta__text { padding-bottom: 2.5rem; }
    .cta__img { margin-top: 0; min-height: 280px; }
}

/* Footer */
.site-footer { background: var(--slate); color: color-mix(in srgb, var(--ivory) 78%, transparent); padding-block: 4.5rem 2rem; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__line { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); line-height: 1.2; margin-top: 1.4rem; max-width: 16ch; }
.site-footer__heading { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--sand); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid rgba(233, 226, 211, .15); font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { flex-basis: 100%; }
.site-footer__legal a { text-decoration: underline; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* 7. Pages ---------------------------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) 2.5rem; }
.page-hero--image { padding-bottom: 0; }
.page-hero__inner { display: grid; gap: 3rem; }
.page-hero--image .page-hero__inner { grid-template-columns: 1fr 1fr; align-items: end; }
.page-hero__text { max-width: 760px; }
.page-hero--image .page-hero__text { padding-bottom: var(--section); }
.page-hero__img { aspect-ratio: 5 / 4; border-radius: 220px 220px 0 0; }
@media (max-width: 860px) {
    .page-hero--image .page-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .page-hero--image .page-hero__text { padding-bottom: 0; }
}

/* Product detail */
.breadcrumb { display: flex; gap: .6rem; font-size: .92rem; color: var(--text-muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--stone-green); }
.product-detail { padding-top: 2.5rem; }
.product-detail__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.product-detail__img { aspect-ratio: 1 / 1; border-radius: var(--radius-l); position: sticky; top: 110px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 0; }
.spec > div:last-child { background: var(--honey); }
.spec > div:last-child dt, .spec > div:last-child dd { color: var(--slate); }
.spec > div { background: var(--ivory); border-radius: var(--radius-m); padding: 1rem 1.2rem; }
.spec dt { font-size: .85rem; color: var(--text-muted); }
.spec dd { margin: 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--earth-olive); }
@media (max-width: 860px) {
    .product-detail__grid { grid-template-columns: 1fr; }
    .product-detail__img { position: static; aspect-ratio: 4 / 3; }
}

/* Technology */
.machine-list { display: grid; gap: clamp(3rem, 8vw, 6rem); }
.machine { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.machine--flip .machine__img { order: 2; }
.machine__img { aspect-ratio: 4 / 3; border-radius: var(--radius-l); }
.machine__type { color: var(--deep-clay); font-weight: 500; margin-bottom: .5rem; }
.machine__text > p:not(.machine__type):not(.machine__benefit) { color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; }
.machine__benefit { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .6rem 1.1rem; background: var(--honey); border-radius: 999px; color: var(--slate); font-weight: 500; }
@media (max-width: 860px) {
    .machine { grid-template-columns: 1fr; }
    .machine--flip .machine__img { order: 0; }
}

/* About */
.prose p { font-size: 1.15rem; max-width: 60ch; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 2.5rem 0 0; }
.value-grid > div { border-top: 1px solid rgba(233, 226, 211, .3); padding-top: 1.25rem; }
.value-grid dt { font-family: var(--font-display); font-size: 1.7rem; color: var(--ivory); margin-bottom: .5rem; }
.value-grid dd { margin: 0; color: color-mix(in srgb, var(--ivory) 78%, transparent); }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }

/* Confirmation and 404 (short statements: centred, per brand) */
.confirm__inner { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.confirm__inner img { margin-bottom: 2rem; }
.confirm__inner .lead { margin-inline: auto; }
.confirm__ref { font-size: 1.15rem; background: var(--ivory); padding: .6rem 1.2rem; border-radius: 999px; }

/* 8. Price list ----------------------------------------------------------- */
.price-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-clay); margin: 0 0 .5rem; }
.price-subhead { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .8rem; }

/* Jump links in the hero */
.price-jump { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.price-jump a {
    display: flex; flex-direction: column; gap: .15rem; height: 100%;
    padding: .85rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius-m);
    background: var(--surface); text-decoration: none; transition: border-color .2s;
}
.price-jump a:hover { border-color: var(--honey); }
.price-jump span { font-size: .9rem; color: var(--text-muted); }
.price-jump strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--earth-olive); }
.price-jump small { font-family: var(--font-body); font-size: .8rem; color: var(--text-muted); font-weight: 400; }
@media (max-width: 420px) { .price-jump { grid-template-columns: 1fr; } }

/* A product: coloured band, photo, then details */
.price-product { scroll-margin-top: 100px; }
.price-product--olive { --tone: var(--earth-olive); --tone-ink: var(--ivory); --tone-bg: var(--woodland); }
.price-product--stone { --tone: var(--stone-green); --tone-ink: var(--ivory); --tone-bg: var(--stone-glow); }
.price-product--honey { --tone: var(--honey); --tone-ink: var(--slate); --tone-bg: var(--soft-sun); }
.price-product--clay  { --tone: var(--deep-clay); --tone-ink: var(--ivory); --tone-bg: var(--clay-glow); }
.price-product--slate { --tone: var(--slate); --tone-ink: var(--ivory); --tone-bg: var(--slate); }
.price-stack { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }

.price-band {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem;
    background: var(--tone-bg); color: var(--tone-ink);
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.price-band__text { flex: 1 1 22rem; }
.price-band h2 { color: inherit; font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 0 0 .5rem; }
.price-band h2 span { font-size: .55em; opacity: .75; }
.price-band__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-bottom: .7rem; }
.price-band__tagline { max-width: 52ch; margin: 0; opacity: .92; }
.price-band__from { display: flex; flex-direction: column; align-items: flex-end; margin: 0; line-height: 1; }
.price-band__from span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.price-band__from strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 7vw, 4.75rem); margin: .3rem 0; font-variant-numeric: tabular-nums; }
.price-band__img { height: auto; aspect-ratio: 16 / 7; border-radius: 0 0 var(--radius-l) var(--radius-l); }
@media (max-width: 640px) {
    .price-band__from { align-items: flex-start; }
    .price-band__img { aspect-ratio: 4 / 3; }
}

.price-product__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 4rem); margin: clamp(2rem, 5vw, 3rem) 0; }
.price-product__body p, .price-product__intro p, .price-how p, .price-equipment > p { color: var(--text-muted); max-width: 66ch; }
.price-product__body .ticks { margin-top: 0; align-content: start; }
@media (max-width: 860px) { .price-product__body { grid-template-columns: 1fr; } }
.price-product__intro { margin: clamp(2rem, 5vw, 3rem) 0 1.5rem; }
.price-product__note { margin-top: 1.5rem; font-size: .92rem; font-style: italic; color: var(--text-muted); }
.price-product__note a { color: var(--earth-olive); font-style: normal; font-weight: 500; }

/* Tables */
.price-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; margin-top: 1.5rem; }
.price-table-wrap--scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.price-table th, .price-table td { padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table thead th { background: var(--tone); color: var(--tone-ink); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.price-table tbody:not(.price-table__extra) tr:nth-child(even) { background: color-mix(in srgb, var(--ivory) 40%, var(--surface)); }
.price-table tbody th { font-weight: 600; color: var(--slate); }
.price-table td { color: var(--text-muted); }
.price-table .price-table__price { text-align: right; white-space: nowrap; }
.price-table td.price-table__price { font-weight: 600; font-size: 1.2rem; color: var(--deep-clay); font-variant-numeric: tabular-nums; }

/* Denture matrix: one column per finish */
.price-table--matrix { min-width: 640px; }
.price-table--matrix th:not(:first-child), .price-table--matrix td { text-align: center; border-left: 1px solid var(--line); }
.price-table--matrix td.price-table__price { text-align: center; color: var(--slate); font-size: 1.1rem; }
.price-table--matrix tbody th { font-weight: 400; color: var(--text-muted); }
.price-table--matrix tbody th strong { color: var(--slate); margin-right: .35rem; }
.price-table--matrix thead th:first-child { background: var(--surface); color: var(--slate); vertical-align: bottom; }
.price-table thead .price-table__finish { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.price-table__finish span { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-bottom: .2rem; }
.price-table .price-table__finish--light { background: var(--ivory); color: var(--slate); }
.price-table .price-table__finish--honey { background: var(--honey); color: var(--slate); }
.price-table .price-table__finish--dark  { background: var(--earth-olive); color: var(--ivory); }
.price-table__extra { border-top: 2px solid var(--line); }
.price-table__extra td { font-size: .9rem; vertical-align: top; }
.price-table__extra th { vertical-align: top; }
.price-table td.price-table__offer { color: var(--deep-clay); font-weight: 600; font-size: 1rem; }
.price-table__includes { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }

/* List tables stack into cards on small screens */
@media (max-width: 640px) {
    .price-table--list, .price-table--list tbody { display: block; }
    .price-table--list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .price-table--list tr { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
    .price-table--list tbody tr:last-child { border-bottom: 0; }
    .price-table--list th, .price-table--list td { padding: 0; border: 0; }
    .price-table--list tbody th { grid-column: 1; grid-row: 1; font-size: 1.05rem; }
    .price-table--list td.price-table__price { grid-column: 2; grid-row: 1; }
    .price-table--list td:not(.price-table__price) { grid-column: 1 / -1; font-size: .92rem; }
    .price-table--list td:not(.price-table__price)::before { content: attr(data-label) ": "; color: var(--slate); font-weight: 500; }
}

/* Before you send a case */
.price-terms-block { margin-top: clamp(2.5rem, 6vw, 4rem); }
.price-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price-terms li { display: grid; grid-template-columns: 64px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.price-terms__num { display: grid; place-items: center; background: var(--honey); color: var(--slate); font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.price-terms li > div { padding: 1rem 1.25rem; }
.price-terms h4, .price-benefits h4, .price-features h4, .price-machines h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--earth-olive); margin: 0 0 .25rem; }
.price-terms p { margin: 0; font-size: .95rem; color: var(--text-muted); }
@media (max-width: 760px) { .price-terms { grid-template-columns: 1fr; } }

/* TrueDent */
.price-how { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; margin: clamp(2rem, 5vw, 3rem) 0; }
.price-how__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--honey); color: var(--slate); }
.price-how__icon .icon { width: 30px; height: 30px; }
@media (max-width: 560px) { .price-how { grid-template-columns: 1fr; gap: 1rem; } }

.price-benefits { list-style: none; margin: 0 0 clamp(2rem, 5vw, 3rem); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.price-benefits li { background: var(--surface); border-radius: var(--radius-m); border-top: 4px solid var(--stone-green); padding: 1.4rem 1.3rem; }
.price-benefits li:nth-child(5n+2) { border-top-color: var(--deep-clay); }
.price-benefits li:nth-child(5n+3) { border-top-color: var(--earth-olive); }
.price-benefits li:nth-child(5n+4) { border-top-color: var(--honey); }
.price-benefits li:nth-child(5n+5) { border-top-color: var(--sand); }
.price-benefits .icon { width: 34px; height: 34px; color: var(--honey); margin-bottom: 1rem; }
.price-benefits p { margin: 0; font-size: .92rem; color: var(--text-muted); }

.price-evidence { background: var(--surface); border-left: 4px solid var(--deep-clay); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.25rem); }
.price-evidence p { color: var(--text-muted); max-width: 72ch; }
.price-evidence ul { margin: 0 0 1.25rem; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--text-muted); }
.price-evidence li::marker { color: var(--deep-clay); }
.price-evidence strong { color: var(--slate); }
.price-evidence__cite { font-size: .82rem; font-style: italic; }

/* Crowns */
.price-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0 0 1.5rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); background: var(--stone-glow); border-radius: var(--radius-m); color: var(--ivory); }
.price-stats > div { display: flex; flex-direction: column-reverse; }
.price-stats dt { font-size: .85rem; color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.price-stats dd { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.15; }
@media (max-width: 760px) { .price-stats { grid-template-columns: 1fr 1fr; } }

.price-features { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price-features li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--tone); border-radius: var(--radius-m); padding: 1.2rem 1.4rem; }
.price-features p { margin: 0; font-size: .95rem; color: var(--text-muted); }
@media (max-width: 640px) { .price-features { grid-template-columns: 1fr; } }

.price-equipment { background: var(--ivory); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.5rem); }
.price-machines { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.price-machines li { background: var(--surface); border-top: 4px solid var(--deep-clay); border-radius: var(--radius-m); padding: 1.3rem 1.4rem; }
.price-machines li:nth-child(3n+2) { border-top-color: var(--stone-green); }
.price-machines li:nth-child(3n+3) { border-top-color: var(--honey); }
.price-machines li p:last-child { margin: 0; font-size: .92rem; color: var(--text-muted); }
.price-machines--three { margin: 0; }

/* Good to know */
.price-info { list-style: none; margin: 2.25rem 0 1.25rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price-info li { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.4rem 1.5rem; }
.price-info li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.price-info .icon { width: 32px; height: 32px; color: var(--honey); }
.price-info h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.price-info p { margin: 0; color: var(--text-muted); }
.price-info a { color: var(--earth-olive); font-weight: 500; }
@media (max-width: 760px) { .price-info { grid-template-columns: 1fr; } }
.price-disclaimer { font-size: .9rem; color: var(--text-muted); margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.price-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.price-values__item { border-radius: var(--radius-m); padding: 1.4rem 1.6rem; }
.price-values__item h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; color: inherit; }
.price-values__item p { font-size: .95rem; margin: 0; }
.price-values__item--olive { background: var(--earth-olive); color: var(--ivory); }
.price-values__item--stone { background: var(--stone-green); color: var(--ivory); }
.price-values__item--clay  { background: var(--deep-clay); color: var(--ivory); }
.price-values__item--honey { background: var(--honey); color: var(--slate); }
.price-values__item--olive h3, .price-values__item--stone h3, .price-values__item--clay h3 { color: var(--sand); }
@media (max-width: 900px) { .price-values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .price-values { grid-template-columns: 1fr; } }

@media print {
    .site-header, .site-footer, .cta, .accreditations, .scroll-progress, .button-row, .price-jump { display: none !important; }
    body { background: #fff; }
    .price-product, .price-table-wrap, .price-terms li, .price-benefits li, .price-values__item { break-inside: avoid; }
}


/* Legal pages (privacy policy): sticky contents list beside a readable column */
.legal { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

.legal__toc { position: sticky; top: 108px; max-height: calc(100vh - 128px); overflow-y: auto; font-size: .95rem; }
.legal__toc summary { cursor: pointer; font-weight: 600; color: var(--stone-green); margin-bottom: .75rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.legal__toc details[open] > summary::after { content: "\2212"; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; counter-reset: toc; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: .3rem 0 .3rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-muted); text-decoration: none; line-height: 1.35; }
.legal__toc a::before { content: counter(toc) ". "; }
.legal__toc a:hover { color: var(--earth-olive); border-left-color: var(--sand); }

.legal__body { max-width: 72ch; }
.legal__meta { color: var(--text-muted); font-size: .95rem; }
.legal__summary { background: var(--ivory); border-left: 4px solid var(--stone-green); border-radius: var(--radius-m); padding: 1.4rem 1.6rem; margin: 1.5rem 0 3rem; }
.legal__body .legal__summary h2 { font-size: 1.35rem; margin: 0 0 .6rem; }
.legal__summary ul { margin: 0; }

.legal__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 3.25rem 0 1rem; scroll-margin-top: 108px; }
.legal__body h3 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.legal__num { color: var(--stone-green); }
.legal__body ul { margin: 0 0 1em; padding-left: 1.25rem; display: grid; gap: .4rem; }
.legal__body li::marker { color: var(--stone-green); }
.legal__body a { color: var(--earth-olive); text-decoration-thickness: 1px; }
.legal__body a:hover { color: var(--deep-clay); }

.legal__facts { margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.legal__facts dt { font-size: .85rem; font-weight: 600; color: var(--stone-green); }
.legal__facts dd { margin: 0; }
.legal__address { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.3rem; margin: 0 0 1em; display: inline-block; }
.legal__contact { list-style: none; padding-left: 0 !important; }
.legal__rights { margin: 0 0 1em; }
.legal__rights dt { font-weight: 600; color: var(--earth-olive); margin-top: 1.1rem; }
.legal__rights dd { margin: .15rem 0 0; }

.legal__table { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.legal__table th { background: var(--ivory); color: var(--earth-olive); font-weight: 600; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code { font-size: .9em; background: var(--ivory); padding: .1em .4em; border-radius: 4px; }

@media (max-width: 960px) {
    .legal { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .legal__toc { position: static; max-height: none; overflow: visible; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.25rem; }
    .legal__toc summary { margin-bottom: 0; }
    .legal__toc details[open] > summary { margin-bottom: .75rem; }
}

/* Centred, single-column section */
.section--center .container {
    max-width: 900px;
    display: block;          /* cancels the two-column grid */
    text-align: center;
}
.section--center h2 {
    max-width: none;         /* keeps the heading on one line */
    margin-inline: auto;
}
.section--center .lead {
    max-width: 60ch;
    margin-inline: auto;
}
.section--center .btn {
    margin-top: 1.5rem;
}