/* AMAC "cool depth", v2 (desk 12-03, cut 1203g): Bez's ruling VERDICT-BEZ-AMAC-COOL-DEPTH-2026-12-03-01 applied.
   Marc 12-03: "The tan color throughout the AC site needs to change. Something more modern. There needs to be layers and depth. Its flat."
   Bez: keep the cool palette and the warm house render; solid surfaces, one deliberate lift at the hero-to-content
   transition, quiet reading sheets, flat inset cards, 16px sheets / 8px cards, max 14% shadow, a 3px ink focus ring with a
   2px white gap. One file, linked last in <head> on every AMAC page; selectors carry `html body` so they win over the pages'
   own <style> blocks without !important. No blur, blend, filter, backdrop-filter or new animation (speed rule). */

:root{
  /* Bez's role tokens: the only literal colours in this file */
  --surface-canvas:#EEF3FA;--surface-base:#F8FAFD;--surface-sheet:#FFFFFF;--surface-footer:#E2EAF5;--surface-inv:#0A1D44;
  --text-primary:#0A1D44;--text-secondary:#3D4B63;--text-inv:#FFFFFF;--border-subtle:#C9D6E8;
  --action-primary:#E60000;--action-primary-hover:#C80000;--action-link:#0055AA;
  --radius-sheet:16px;--radius-card:8px;
  --elev-header:0 2px 8px rgb(10 29 68 / 8%);
  --elev-sheet:0 12px 28px -12px rgb(10 29 68 / 14%);
  --scene-ink:10 29 68;                                   /* tint for the illustration floor shadows (rgb channels of text-primary) */
  /* old names alias the roles, so every rule that used them turns */
  --sand0:var(--surface-base);--sand1:var(--surface-canvas);--sand2:var(--surface-footer);--sand3:var(--border-subtle);
}
html body{background:var(--surface-canvas)}

/* ---- focus: 3px ink ring with a 2px white gap, visible on white, red and navy ---- */
html body :focus-visible,html body .apw .btn:focus-visible,html body .inverse :focus-visible,html body .apw-svc a:focus-visible,html body .x3h .hot:focus-visible{
  outline:3px solid var(--text-primary);outline-offset:2px;box-shadow:0 0 0 2px var(--surface-sheet)}

/* ---- calls: Bez's action reds ---- */
html body .btn-action,html body .apw .btn-action{background:var(--action-primary)}
html body .btn-action:hover,html body .apw .btn-action:hover{background:var(--action-primary-hover)}

/* ---- 1. header and navigation ---- */
html body .top{background:var(--surface-sheet);border-bottom:0;box-shadow:var(--elev-header)}
html body .nav{background:var(--surface-inv)}

/* ---- 2. hero: solid base surface over the canvas, with clear bottom padding for the one overlap ---- */
html body .apw{--sand1:var(--surface-canvas);--sand2:var(--surface-footer);--sand3:var(--border-subtle);background:var(--surface-canvas);box-shadow:0 0 0 100vmax var(--surface-canvas)}
html body .apw-hero{background:var(--surface-base);box-shadow:0 0 0 100vmax var(--surface-base);clip-path:inset(0 -100vmax)}
html body .apw-hero:has(+ .ap-sec)>.wrap{padding-bottom:72px}           /* 24px overlap + 48px clear */
html body .apw-ev{background:var(--surface-base);box-shadow:0 0 0 100vmax var(--surface-base)}
html body .apw .w-chip{border-color:var(--border-subtle);box-shadow:none}

/* ---- 3. reading sections: white sheets; only the first one after the hero lifts and overlaps ---- */
html body .ap-sec{padding:20px 0}
html body .ap-sec>.wrap{background:var(--surface-sheet);border-radius:var(--radius-sheet);box-shadow:none;padding:32px;position:relative}
html body .apw-hero+.ap-sec{padding-top:0;margin-top:-24px;position:relative;z-index:1}
html body .apw-hero+.ap-sec>.wrap{box-shadow:var(--elev-sheet);border:1px solid var(--border-subtle)}

/* ---- 4. fact and step cards: flat insets ---- */
html body .ap-fact,html body .w-step,html body .ap-sec .w-step{background:var(--surface-base);border:1px solid var(--border-subtle);border-radius:var(--radius-card);box-shadow:none;padding:24px}
html body .w-step b,html body .ap-sec .w-step b{color:var(--text-primary)}
html body .ap-one{background:var(--surface-base);border-radius:0 var(--radius-card) var(--radius-card) 0;box-shadow:none}
html body .ap-callif{background:var(--surface-base)}
/* the six-step visit list: three columns at 1024+, two at 768-1023, one below */
html body .w-steps:has(>li:nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr))}
@media (min-width:768px) and (max-width:1023px){html body .w-steps:has(>li:nth-child(6)){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* a four-card facts list: two equal columns with a 24px gap at 768 and up, one column with 16px below (ap-sections' 991px rule left 16px at 768-991) */
@media (min-width:768px){html body .ap-facts:has(>li:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media (max-width:767px){html body .ap-facts:has(>li:nth-child(4)){grid-template-columns:1fr;gap:16px}}

/* ---- 5. call bands: solid ink ---- */
html body .inverse{background:var(--surface-inv);box-shadow:none;padding:32px 0}
html body .inverse h2{margin-top:0}                                    /* the band's inner space is the padding alone, top = bottom */
html body .inverse .ctas{display:flex;flex-wrap:wrap;gap:12px}          /* the financing closing band's two calls no longer touch */
html body .fin-band{border-radius:var(--radius-sheet)}                  /* the mid band sits in the reading column: sheet radius */

/* ---- 6. the financing staple: a solid white sheet, padded ---- */
html body .ap-staple>.wrap,html body .ap-staple .wrap{background:var(--surface-sheet);border-radius:var(--radius-sheet);box-shadow:none;padding:16px 20px}

/* ---- 7. footer: the base layer, no shadow or rule ---- */
html body footer{background:var(--surface-footer);border-top:0;box-shadow:none}

/* ---- home: the hero ground turned cool and solid (the house render keeps its warm stucco) ---- */
html body .x3h{background:var(--surface-base);--lit:var(--surface-base);--muted:var(--text-secondary)}
html body .x3h:before{background:linear-gradient(to right,var(--surface-base) 0,var(--surface-base) 36%,transparent 60%)}   /* the text scrim over the scene (existing), in the base colour */
html body .x3h .x3-cap,html body .x3h .x3-capd,html body .x3h .x3-hint{color:var(--text-secondary)}
html body .x3-hdr.x3-bar{background:var(--surface-sheet);box-shadow:var(--elev-header)}
html body .x3-hdr nav{background:var(--surface-sheet)}
html body .w-floor{background:radial-gradient(60% 50% at 50% 40%,rgb(var(--scene-ink) / 12%),transparent 70%)}
html body .w-sh{background:radial-gradient(closest-side,rgb(var(--scene-ink) / 14%),transparent)}
html body .w-pic{background:radial-gradient(50% 14% at 50% 96%,rgb(var(--scene-ink) / 10%),transparent)}
html body .w-po{background:var(--surface-base)}
html body .w-po:after{background:var(--border-subtle)}
html body .w-pi{background:var(--surface-base);border-left-color:var(--border-subtle)}
html body .w-pi:after{background:var(--surface-footer)}
@media (min-width:768px) and (orientation:landscape),(min-width:1101px){
  html body .x3-hdr::before{background:linear-gradient(var(--surface-sheet) calc(100% - 32px),transparent)}   /* the existing fade under the home header, in the sheet colour */
}

/* ---- phone ---- */
@media (max-width:767px){
  html body .ap-sec>.wrap{padding:16px}
  html body .apw-hero:has(+ .ap-sec)>.wrap{padding-bottom:64px}       /* 16px overlap + 48px clear */
  html body .apw-hero+.ap-sec{margin-top:-16px}
  html body .ap-fact,html body .w-step,html body .ap-sec .w-step{padding:16px}
  html body .w-steps:has(>li:nth-child(6)){grid-template-columns:1fr}
  html body .inverse{padding:24px 0}
}

/* ---- v2.1 (desk 12-03, cut 1203l) ---- */
/* Bez's finish note (VERDICT-BEZ-AMAC-FINISH-1203I): a sheet's first child takes no top margin, so the sheet's padding reads even on every side */
html body .ap-sec>.wrap>:first-child{margin-top:0}
/* the link under an answer or a section: the target page's own heading */
html body .ap-go{margin:12px 0 0}
html body .ap-go a{font-weight:700;color:var(--action-link)}
html body .ap-qa-a .lst{margin:8px 0 0}
/* a closing call inside a sheet (careers: Call to apply) */
html body .ap-sec .ctas{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 0}
/* the hero-template pages (contact, careers, reviews): their sheets sit on the page's content line like every other sheet
   (16px from the screen edge on a phone, 32px from 768, the logo's line on a wide screen), and a paragraph keeps a reading measure */
html body .hero~.ap-sec{padding-left:var(--pad);padding-right:var(--pad)}
html body .hero~.ap-sec>.wrap{max-width:calc(var(--wrap) - 2 * var(--pad))}
html body .hero~.ap-sec .wrap>p{max-width:68ch}
