@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');
:root{
  --adaptivematrices-bg:#F5F7FA;
  --adaptivematrices-text:#2C3E50;
  --adaptivematrices-text-light:#6B7A8D;
  --adaptivematrices-accent:#D4AF37;
  --adaptivematrices-accent-dark:#B8960F;
  --adaptivematrices-primary:#0A1628;
  --adaptivematrices-secondary:#1a3a5c;
  --adaptivematrices-white:#FFFFFF;
  --adaptivematrices-card-bg:#FFFFFF;
  --adaptivematrices-border:#E2E8F0;
  --adaptivematrices-shadow:0 4px 20px rgba(10,22,40,.10);
  --adaptivematrices-shadow-lg:0 8px 40px rgba(10,22,40,.18);
  --adaptivematrices-radius:12px;
  --adaptivematrices-radius-sm:6px;
  --adaptivematrices-font:'Inter',sans-serif;
  --adaptivematrices-font-h:'Playfair Display',serif;
  --adaptivematrices-trans:.25s ease;
  --adaptivematrices-max:1140px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--adaptivematrices-font);background:var(--adaptivematrices-bg);color:var(--adaptivematrices-text);line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--adaptivematrices-secondary);text-decoration:none;transition:color var(--adaptivematrices-trans)}
a:hover{color:var(--adaptivematrices-accent)}
a:focus-visible,button:focus-visible{outline:2px solid var(--adaptivematrices-accent);outline-offset:3px;border-radius:3px}
ul,ol{list-style:none}

/* ── HEADER ─────────────────────────────────────── */
.adaptivematrices-header{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:0 2rem;height:68px;background:var(--adaptivematrices-primary);box-shadow:0 2px 12px rgba(10,22,40,.22);transition:background var(--adaptivematrices-trans),box-shadow var(--adaptivematrices-trans)}
.adaptivematrices-header.scrolled{background:rgba(10,22,40,.97);box-shadow:0 4px 24px rgba(10,22,40,.35)}
.adaptivematrices-logo{font-family:var(--adaptivematrices-font-h);font-size:1.3rem;font-weight:700;color:var(--adaptivematrices-accent);letter-spacing:.02em;text-decoration:none}
.adaptivematrices-logo:hover{color:var(--adaptivematrices-white)}
.adaptivematrices-nav{display:flex;gap:1.75rem;align-items:center}
.adaptivematrices-nav a{color:rgba(255,255,255,.82);font-size:.92rem;font-weight:500;letter-spacing:.01em;transition:color var(--adaptivematrices-trans);text-decoration:none}
.adaptivematrices-nav a:hover{color:var(--adaptivematrices-accent)}
.adaptivematrices-burger{display:none;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:6px;width:40px;height:40px}
.adaptivematrices-burger span{display:block;width:24px;height:2px;background:var(--adaptivematrices-white);border-radius:2px;transition:transform .3s,opacity .3s}
.adaptivematrices-burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.adaptivematrices-burger.active span:nth-child(2){opacity:0}
.adaptivematrices-burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── CONTAINER ───────────────────────────────────── */
.adaptivematrices-container{max-width:var(--adaptivematrices-max);margin:0 auto;padding:0 1.5rem}

/* ── SECTION BASE ────────────────────────────────── */
section{padding:5rem 0}
section:nth-child(even){background:var(--adaptivematrices-white)}
.adaptivematrices-section-title{font-family:var(--adaptivematrices-font-h);font-size:2rem;font-weight:700;color:var(--adaptivematrices-primary);margin-bottom:1rem;line-height:1.25}
.adaptivematrices-section-lead{font-size:1.05rem;color:var(--adaptivematrices-text-light);max-width:640px;margin-bottom:2.5rem;line-height:1.65}
.adaptivematrices-eyebrow{display:inline-block;margin-bottom:1.1rem;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--adaptivematrices-accent);background:rgba(212,175,55,.1);border:1px solid rgba(212,175,55,.25);padding:.3rem .9rem;border-radius:50px}

/* ── HERO ────────────────────────────────────────── */
.adaptivematrices-hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;background:var(--adaptivematrices-primary);padding:0}
.adaptivematrices-hero .adaptivematrices-container{position:relative;z-index:2;padding-top:5rem;padding-bottom:4rem}
.adaptivematrices-hero__bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;opacity:.2;border-radius:0}
.adaptivematrices-hero__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(135deg,rgba(10,22,40,.94) 40%,rgba(26,58,92,.72) 100%)}
.adaptivematrices-hero h1{font-family:var(--adaptivematrices-font-h);font-size:clamp(2rem,5vw,3.25rem);font-weight:700;color:var(--adaptivematrices-white);line-height:1.18;max-width:780px;margin-bottom:1.25rem}
.adaptivematrices-hero__sub{font-size:1.1rem;color:rgba(255,255,255,.75);max-width:600px;margin-bottom:2.25rem;line-height:1.65}
.adaptivematrices-hero__cta{display:flex;gap:1rem;flex-wrap:wrap}
.adaptivematrices-hero__stats{display:flex;gap:3rem;margin-top:3.5rem;flex-wrap:wrap}
.adaptivematrices-hero__stat-num{display:block;font-family:var(--adaptivematrices-font-h);font-size:2.25rem;font-weight:700;color:var(--adaptivematrices-accent)}
.adaptivematrices-hero__stat-label{display:block;font-size:.78rem;color:rgba(255,255,255,.55);text-transform:uppercase;letter-spacing:.08em}

/* ── BUTTONS ─────────────────────────────────────── */
.adaptivematrices-btn,.adaptivematrices-btn-outline{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;border-radius:var(--adaptivematrices-radius-sm);font-size:.97rem;font-weight:600;cursor:pointer;text-decoration:none;border:2px solid transparent;transition:all var(--adaptivematrices-trans);font-family:var(--adaptivematrices-font);line-height:1}
.adaptivematrices-btn{background:var(--adaptivematrices-accent);color:var(--adaptivematrices-primary);border-color:var(--adaptivematrices-accent)}
.adaptivematrices-btn:hover{background:var(--adaptivematrices-accent-dark);border-color:var(--adaptivematrices-accent-dark);color:var(--adaptivematrices-white)}
.adaptivematrices-btn-outline{background:transparent;color:var(--adaptivematrices-white);border-color:rgba(255,255,255,.4)}
.adaptivematrices-btn-outline:hover{border-color:var(--adaptivematrices-accent);color:var(--adaptivematrices-accent)}

/* ── CARDS ───────────────────────────────────────── */
.adaptivematrices-cards{display:grid;gap:1.5rem}
.adaptivematrices-cards--2{grid-template-columns:repeat(2,1fr)}
.adaptivematrices-cards--3{grid-template-columns:repeat(3,1fr)}
.adaptivematrices-cards--4{grid-template-columns:repeat(4,1fr)}
.adaptivematrices-card{background:var(--adaptivematrices-card-bg);border-radius:var(--adaptivematrices-radius);box-shadow:var(--adaptivematrices-shadow);overflow:hidden;transition:transform var(--adaptivematrices-trans),box-shadow var(--adaptivematrices-trans)}
.adaptivematrices-card:hover{transform:translateY(-4px);box-shadow:var(--adaptivematrices-shadow-lg)}
.adaptivematrices-card__img{width:100%;height:190px;object-fit:cover;display:block;border-radius:0}
.adaptivematrices-card__body{padding:1.5rem}
.adaptivematrices-card__icon{font-size:2.2rem;margin-bottom:.75rem;display:block}
.adaptivematrices-card__title{font-size:1rem;font-weight:700;color:var(--adaptivematrices-primary);margin-bottom:.5rem}
.adaptivematrices-card__text{font-size:.88rem;color:var(--adaptivematrices-text-light);line-height:1.6}
.adaptivematrices-card__tag{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--adaptivematrices-accent);margin-bottom:.5rem}
.adaptivematrices-card--accent{border-top:4px solid var(--adaptivematrices-accent)}
.adaptivematrices-card--flat{box-shadow:none;border:1px solid var(--adaptivematrices-border)}

/* ── STEPS ───────────────────────────────────────── */
.adaptivematrices-steps{display:flex;flex-direction:column;gap:2rem}
.adaptivematrices-step{display:flex;gap:1.5rem;align-items:flex-start}
.adaptivematrices-step__num{flex-shrink:0;width:48px;height:48px;background:var(--adaptivematrices-accent);color:var(--adaptivematrices-primary);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.1rem}
.adaptivematrices-step__title{font-size:1rem;font-weight:700;color:var(--adaptivematrices-primary);margin-bottom:.35rem}
.adaptivematrices-step__text{font-size:.9rem;color:var(--adaptivematrices-text-light);line-height:1.6}

/* ── SPLIT (2-col) ───────────────────────────────── */
.adaptivematrices-split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.adaptivematrices-split__img{border-radius:var(--adaptivematrices-radius);overflow:hidden;box-shadow:var(--adaptivematrices-shadow-lg)}
.adaptivematrices-split__img img{width:100%;height:360px;object-fit:cover;border-radius:0;display:block}
.adaptivematrices-split--reverse .adaptivematrices-split__img{order:-1}
.adaptivematrices-split__text h2{font-family:var(--adaptivematrices-font-h);font-size:1.75rem;font-weight:700;color:var(--adaptivematrices-primary);margin-bottom:1rem;line-height:1.25}
.adaptivematrices-split__text p{font-size:.97rem;color:var(--adaptivematrices-text-light);margin-bottom:.85rem}

/* ── STATS BAND ──────────────────────────────────── */
.adaptivematrices-stats-band{background:var(--adaptivematrices-primary);color:var(--adaptivematrices-white);padding:4rem 0}
.adaptivematrices-stats-band .adaptivematrices-container{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.adaptivematrices-stat-num{font-family:var(--adaptivematrices-font-h);font-size:2.5rem;font-weight:700;color:var(--adaptivematrices-accent)}
.adaptivematrices-stat-label{font-size:.82rem;color:rgba(255,255,255,.6);margin-top:.25rem;text-transform:uppercase;letter-spacing:.08em}

/* ── TABLE ───────────────────────────────────────── */
.adaptivematrices-table-wrap{overflow-x:auto;border-radius:var(--adaptivematrices-radius);box-shadow:var(--adaptivematrices-shadow)}
.adaptivematrices-table{width:100%;border-collapse:collapse;font-size:.92rem;background:var(--adaptivematrices-white)}
.adaptivematrices-table th{background:var(--adaptivematrices-primary);color:var(--adaptivematrices-white);padding:.9rem 1.2rem;text-align:left;font-weight:600;font-family:var(--adaptivematrices-font)}
.adaptivematrices-table td{padding:.85rem 1.2rem;border-bottom:1px solid var(--adaptivematrices-border);vertical-align:top}
.adaptivematrices-table tr:last-child td{border-bottom:none}
.adaptivematrices-table tr:nth-child(even) td{background:#F8F9FB}
.adaptivematrices-table td:first-child{font-weight:600;color:var(--adaptivematrices-primary)}

/* ── FAQ ─────────────────────────────────────────── */
.adaptivematrices-faq{display:flex;flex-direction:column;gap:1.25rem}
.adaptivematrices-faq__item{background:var(--adaptivematrices-white);border-radius:var(--adaptivematrices-radius);padding:1.5rem;border-left:4px solid var(--adaptivematrices-accent);box-shadow:var(--adaptivematrices-shadow)}
.adaptivematrices-faq__q{font-weight:700;color:var(--adaptivematrices-primary);font-size:1rem;margin-bottom:.6rem}
.adaptivematrices-faq__a{font-size:.9rem;color:var(--adaptivematrices-text-light);line-height:1.65}

/* ── QUOTES ──────────────────────────────────────── */
.adaptivematrices-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.adaptivematrices-quote{background:var(--adaptivematrices-white);border-radius:var(--adaptivematrices-radius);padding:1.75rem;box-shadow:var(--adaptivematrices-shadow);position:relative}
.adaptivematrices-quote::before{content:'\201C';position:absolute;top:.75rem;left:1.25rem;font-size:4rem;color:rgba(212,175,55,.14);font-family:var(--adaptivematrices-font-h);line-height:1}
.adaptivematrices-quote__photo{width:48px;height:48px;border-radius:50%;object-fit:cover;margin-bottom:.75rem}
.adaptivematrices-quote__text{font-size:.93rem;color:var(--adaptivematrices-text);line-height:1.65;margin-bottom:1rem;padding-top:1.25rem}
.adaptivematrices-quote__author{font-weight:700;font-size:.85rem;color:var(--adaptivematrices-primary)}
.adaptivematrices-quote__role{font-size:.78rem;color:var(--adaptivematrices-text-light)}

/* ── HIGHLIGHT BOX ───────────────────────────────── */
.adaptivematrices-highlight{background:rgba(212,175,55,.08);border-left:4px solid var(--adaptivematrices-accent);border-radius:0 var(--adaptivematrices-radius-sm) var(--adaptivematrices-radius-sm) 0;padding:1rem 1.25rem;margin:1.5rem 0}
.adaptivematrices-highlight p{margin:0;font-size:.93rem}

/* ── FORM (dark bg default) ──────────────────────── */
.adaptivematrices-form-section{background:var(--adaptivematrices-primary)}
.adaptivematrices-form-section .adaptivematrices-section-title{color:var(--adaptivematrices-white)}
.adaptivematrices-form-section .adaptivematrices-section-lead{color:rgba(255,255,255,.65)}
.adaptivematrices-form{max-width:560px;display:flex;flex-direction:column;gap:1rem}
.adaptivematrices-form input[type="text"],
.adaptivematrices-form input[type="tel"],
.adaptivematrices-form input[type="email"]{width:100%;padding:.85rem 1.1rem;border:1px solid rgba(255,255,255,.2);border-radius:var(--adaptivematrices-radius-sm);background:rgba(255,255,255,.07);color:var(--adaptivematrices-white);font-family:var(--adaptivematrices-font);font-size:.97rem;transition:border-color var(--adaptivematrices-trans)}
.adaptivematrices-form input::placeholder{color:rgba(255,255,255,.38)}
.adaptivematrices-form input:focus{outline:none;border-color:var(--adaptivematrices-accent)}
.adaptivematrices-form input:focus-visible{outline:2px solid var(--adaptivematrices-accent);outline-offset:2px}
.adaptivematrices-agree{display:flex;align-items:flex-start;gap:.75rem;font-size:.85rem;color:rgba(255,255,255,.72);cursor:pointer;line-height:1.55}
.adaptivematrices-agree input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:18px;height:18px;flex-shrink:0;border:2px solid rgba(255,255,255,.42);border-radius:4px;background:transparent;cursor:pointer;margin-top:2px;transition:all var(--adaptivematrices-trans)}
.adaptivematrices-agree input[type="checkbox"]:checked{background:var(--adaptivematrices-accent);border-color:var(--adaptivematrices-accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%230A1628' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:70%}
.adaptivematrices-agree span a{color:var(--adaptivematrices-accent)}
.adaptivematrices-form .adaptivematrices-btn{width:fit-content;margin-top:.5rem}
.adaptivematrices-field-error{border-color:#e74c3c !important;box-shadow:0 0 0 2px rgba(231,76,60,.18)}
.adaptivematrices-error-msg{font-size:.78rem;color:#ff7878;display:block;margin-top:-.4rem}
.adaptivematrices-label-error{outline:2px solid #e74c3c;outline-offset:3px;border-radius:4px}

/* FORM light variant (contact page) */
.adaptivematrices-form--light input[type="text"],
.adaptivematrices-form--light input[type="tel"],
.adaptivematrices-form--light input[type="email"]{background:var(--adaptivematrices-white);border-color:var(--adaptivematrices-border);color:var(--adaptivematrices-text)}
.adaptivematrices-form--light input::placeholder{color:var(--adaptivematrices-text-light)}
.adaptivematrices-form--light .adaptivematrices-agree{color:var(--adaptivematrices-text)}
.adaptivematrices-form--light .adaptivematrices-agree input[type="checkbox"]{border-color:#aab4c0}

/* ── FOOTER ──────────────────────────────────────── */
.adaptivematrices-footer{background:var(--adaptivematrices-primary);color:rgba(255,255,255,.58);padding:3rem 0 2rem}
.adaptivematrices-footer .adaptivematrices-container{display:flex;flex-direction:column;gap:1.25rem}
.adaptivematrices-footer-nav{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem}
.adaptivematrices-footer-nav a{font-size:.83rem;color:rgba(255,255,255,.6);transition:color var(--adaptivematrices-trans)}
.adaptivematrices-footer-nav a:hover{color:var(--adaptivematrices-accent)}
.adaptivematrices-copyright{font-size:.82rem}
.adaptivematrices-footer p{font-size:.82rem}
.adaptivematrices-footer p a{color:var(--adaptivematrices-accent)}

/* ── SUBPAGE HERO BAND ───────────────────────────── */
.adaptivematrices-hero-band{background:var(--adaptivematrices-primary);padding:6rem 0 3rem}
.adaptivematrices-hero-band h1{font-family:var(--adaptivematrices-font-h);font-size:clamp(1.6rem,4vw,2.4rem);font-weight:700;color:var(--adaptivematrices-white);margin-bottom:.75rem;line-height:1.25}
.adaptivematrices-hero-band p{font-size:1rem;color:rgba(255,255,255,.72);max-width:560px}

/* ── PILLS ───────────────────────────────────────── */
.adaptivematrices-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem}
.adaptivematrices-pill{display:inline-block;padding:.28rem .8rem;background:rgba(212,175,55,.1);color:var(--adaptivematrices-accent);border:1px solid rgba(212,175,55,.25);border-radius:50px;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}

/* ── CONTENT (subpages) ──────────────────────────── */
.adaptivematrices-content h2{font-family:var(--adaptivematrices-font-h);font-size:1.5rem;font-weight:700;color:var(--adaptivematrices-primary);margin:2rem 0 .75rem;line-height:1.3}
.adaptivematrices-content h3{font-size:1.05rem;font-weight:700;color:var(--adaptivematrices-secondary);margin:1.5rem 0 .5rem}
.adaptivematrices-content p{margin-bottom:1rem;font-size:.97rem;line-height:1.7}
.adaptivematrices-content ul,.adaptivematrices-content ol{margin:.75rem 0 1rem 1.5rem;list-style:disc}
.adaptivematrices-content ol{list-style:decimal}
.adaptivematrices-content li{margin-bottom:.4rem;font-size:.95rem;color:var(--adaptivematrices-text)}
.adaptivematrices-content strong{color:var(--adaptivematrices-primary)}
.adaptivematrices-content a{color:var(--adaptivematrices-secondary);text-decoration:underline}

/* ── CONTACT HOW-IT-WORKS ────────────────────────── */
.adaptivematrices-contact-how{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:1.5rem 0 2.5rem}
.adaptivematrices-how-step{text-align:center;padding:1.75rem 1.25rem;background:var(--adaptivematrices-white);border-radius:var(--adaptivematrices-radius);box-shadow:var(--adaptivematrices-shadow)}
.adaptivematrices-how-step__num{font-family:var(--adaptivematrices-font-h);font-size:1.75rem;font-weight:700;color:var(--adaptivematrices-accent);margin-bottom:.5rem}
.adaptivematrices-how-step__text{font-size:.9rem;color:var(--adaptivematrices-text-light);line-height:1.55}

/* ── THANKS PAGE ─────────────────────────────────── */
.adaptivematrices-thanks{min-height:calc(100vh - 68px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4rem 1.5rem}
.adaptivematrices-thanks h1{font-family:var(--adaptivematrices-font-h);font-size:2rem;color:var(--adaptivematrices-primary);margin-bottom:1rem}
.adaptivematrices-thanks p{max-width:480px;color:var(--adaptivematrices-text-light);margin-bottom:.75rem;font-size:.97rem}
.adaptivematrices-thanks-note{font-size:.85rem;font-style:italic}
.adaptivematrices-thanks .adaptivematrices-btn{margin-top:1.5rem}

/* ── DARK SECTION OVERRIDE ───────────────────────── */
.adaptivematrices-dark{background:var(--adaptivematrices-primary)}
.adaptivematrices-dark .adaptivematrices-section-title{color:var(--adaptivematrices-white)}
.adaptivematrices-dark .adaptivematrices-section-lead{color:rgba(255,255,255,.65)}

/* ── RESPONSIVE 1024 ─────────────────────────────── */
@media(max-width:1024px){
  .adaptivematrices-cards--4{grid-template-columns:repeat(2,1fr)}
  .adaptivematrices-stats-band .adaptivematrices-container{grid-template-columns:repeat(2,1fr)}
  .adaptivematrices-quotes{grid-template-columns:1fr 1fr}
}

/* ── RESPONSIVE 768 ──────────────────────────────── */
@media(max-width:768px){
  section{padding:3.5rem 0}
  .adaptivematrices-nav{display:none;position:fixed;top:68px;left:0;right:0;flex-direction:column;background:var(--adaptivematrices-primary);padding:1.5rem 2rem;gap:1.25rem;box-shadow:0 8px 24px rgba(10,22,40,.22);z-index:999}
  .adaptivematrices-nav.open{display:flex}
  .adaptivematrices-burger{display:flex}
  .adaptivematrices-cards--2,.adaptivematrices-cards--3{grid-template-columns:1fr}
  .adaptivematrices-cards--4{grid-template-columns:1fr 1fr}
  .adaptivematrices-split{grid-template-columns:1fr;gap:2rem}
  .adaptivematrices-split--reverse .adaptivematrices-split__img{order:0}
  .adaptivematrices-split__img img{height:260px}
  .adaptivematrices-quotes{grid-template-columns:1fr}
  .adaptivematrices-section-title{font-size:1.65rem}
  .adaptivematrices-contact-how{grid-template-columns:1fr}
  .adaptivematrices-hero-band{padding:5rem 0 2.5rem}
}

/* ── RESPONSIVE 480 ──────────────────────────────── */
@media(max-width:480px){
  .adaptivematrices-header{padding:0 1.25rem}
  .adaptivematrices-hero h1{font-size:1.7rem}
  .adaptivematrices-hero__sub{font-size:1rem}
  .adaptivematrices-hero__cta{flex-direction:column}
  .adaptivematrices-btn,.adaptivematrices-btn-outline{width:100%;justify-content:center}
  .adaptivematrices-hero__stats{gap:1.5rem}
  .adaptivematrices-stats-band .adaptivematrices-container{grid-template-columns:1fr;text-align:left}
  .adaptivematrices-footer-nav{flex-direction:column;gap:.55rem}
  .adaptivematrices-cards--4{grid-template-columns:1fr}
  .adaptivematrices-form{max-width:100%}
  .adaptivematrices-table{font-size:.82rem}
  .adaptivematrices-table th,.adaptivematrices-table td{padding:.7rem .9rem}
}

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

/* ══════ consent-label ══════ */
label:has(> input[type=checkbox]) { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.5; cursor: pointer; }
label:has(> input[type=checkbox]) > .consent-text { flex: 1 1 auto; display: inline; }
.consent-text a { text-decoration: underline; }
label:has(> input[type=checkbox]) > input[type=checkbox] { appearance: none !important; -webkit-appearance: none !important; flex: 0 0 auto; width: 20px !important; height: 20px !important; min-width: 20px; margin: .15em 0 0; padding: 0 !important; border: 1.5px solid var(--adaptivematrices-border, rgba(255,255,255,.25)) !important; border-radius: 6px !important; background-color: rgba(255,255,255,.04) !important; background-image: none !important; background-repeat: no-repeat !important; background-position: center !important; background-size: 13px 13px !important; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
label:has(> input[type=checkbox]) > input[type=checkbox]:checked { background-color: var(--adaptivematrices-accent, #7C6CFF) !important; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important; border-color: var(--adaptivematrices-accent, #7C6CFF) !important; box-shadow: 0 0 0 3px rgba(124,108,255,.25); }
label:has(> input[type=checkbox]) > input[type=checkbox]:focus-visible { outline: 2px solid var(--adaptivematrices-accent2, #4EA8FF); outline-offset: 2px; }
label:has(> input[type=checkbox]) > input[type=checkbox]:disabled { opacity: .55; cursor: default; }


/* ══════ auto-generated subpage CSS ══════ */
/* ── ABOUT PAGE ──────────────────────────────────── */
.adaptivematrices-about {
  background: var(--adaptivematrices-white);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── CONTACT PAGE ────────────────────────────────── */
.adaptivematrices-contact {
  background: var(--adaptivematrices-bg);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── FAQ PAGE ────────────────────────────────────── */
.adaptivematrices-faq-page {
  background: var(--adaptivematrices-white);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── GENERIC SECTION ─────────────────────────────── */
.adaptivematrices-section {
  padding: 5rem 0;
}

.adaptivematrices-section:nth-child(even) {
  background: var(--adaptivematrices-white);
}

.adaptivematrices-section:nth-child(odd) {
  background: var(--adaptivematrices-bg);
}

/* ── RESPONSIVE ──────────────────────────────────– */
@media (max-width: 768px) {
  .adaptivematrices-about,
  .adaptivematrices-contact,
  .adaptivematrices-faq-page,
  .adaptivematrices-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .adaptivematrices-section-title {
    font-size: 1.5rem;
  }

  .adaptivematrices-section-lead {
    font-size: 1rem;
  }
}


/* ══════ subpage-readability ══════ */
/* Подстраницы: комфортная длина строки и предсказуемые картинки */
body.page:not(.home) main .adaptivematrices-container > p,
body.page:not(.home) main .adaptivematrices-container > ul,
body.page:not(.home) main .adaptivematrices-container > ol,
body.page:not(.home) main .adaptivematrices-container > h1,
body.page:not(.home) main .adaptivematrices-container > h2,
body.page:not(.home) main .adaptivematrices-container > h3 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
body.page:not(.home) main .adaptivematrices-container > ul,
body.page:not(.home) main .adaptivematrices-container > ol {
  padding-left: 1.4rem;
}
body.page:not(.home) main .adaptivematrices-container > * + * {
  margin-top: 1rem;
}
body.page:not(.home) main img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--adaptivematrices-radius, 14px);
}
/* формы и grid-элементы не должны раздвигать вьюпорт на узких экранах */
input, textarea, select, button { min-width: 0; max-width: 100%; }
main, footer, [class*="-cookie"] { overflow-wrap: break-word; }
main [class*="-grid"] > *, main [class*="-steps"] > *, main [class*="-inner"] > * { min-width: 0; }
@media (max-width: 860px) {
  body.page:not(.home) main img { max-height: 280px; }
}


/* ══════ trust-enhanced-css ══════ */
.adaptivematrices-editorial, .adaptivematrices-sources, .adaptivematrices-status { padding: 3rem 0; }
.adaptivematrices-editorial ul, .adaptivematrices-sources ul { padding-left: 1.4rem; }
.adaptivematrices-editorial li, .adaptivematrices-sources li { margin-bottom: .6rem; }
.adaptivematrices-sources a { color: var(--adaptivematrices-accent, #2b6cb0); text-decoration: underline; }
.adaptivematrices-status { background: var(--adaptivematrices-card-bg, #f7f8fa); }
.adaptivematrices-status p { font-size: .95rem; }
.adaptivematrices-contact-details { margin-top: 1.5rem; font-size: .95rem; }
.adaptivematrices-contact-details a { color: var(--adaptivematrices-accent, #2b6cb0); }
.adaptivematrices-updated { font-size: .82rem; opacity: .75; margin-top: 1rem; }


/* ══════ short-video-landing ══════ */
.adaptivematrices-vl{background:radial-gradient(60% 50% at 80% 20%,rgba(212,175,55,.14),transparent 70%),var(--adaptivematrices-primary);color:var(--adaptivematrices-white);padding:4.5rem 0 5rem;min-height:calc(100vh - 70px)}
.adaptivematrices-vl-grid{display:grid;grid-template-columns:1fr minmax(260px,340px) 1fr;grid-template-areas:"intro video form";gap:2.5rem;align-items:center}
.adaptivematrices-vl-grid>*{min-width:0}
.adaptivematrices-vl-intro{grid-area:intro}.adaptivematrices-vl-video{grid-area:video}.adaptivematrices-vl-form{grid-area:form}
.adaptivematrices-vl h1{font-family:var(--adaptivematrices-font-h);font-size:clamp(1.9rem,3.6vw,2.8rem);line-height:1.15;color:var(--adaptivematrices-white);margin:0 0 1rem}
.adaptivematrices-vl-lead{color:rgba(255,255,255,.78);font-size:1.05rem;line-height:1.6;margin:0}
.adaptivematrices-vl-video{position:relative;margin:0;aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#07101d;box-shadow:0 30px 70px rgba(0,0,0,.45),0 0 0 1px rgba(212,175,55,.35)}
.adaptivematrices-vl-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.adaptivematrices-vl-video::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,22,40,.1) 40%,rgba(10,22,40,.75));pointer-events:none;transition:opacity .3s}
.adaptivematrices-vl-video.is-playing::after,.adaptivematrices-vl-video.is-playing .adaptivematrices-vl-play,.adaptivematrices-vl-video.is-playing .adaptivematrices-vl-cap{opacity:0;pointer-events:none}
.adaptivematrices-vl-play{position:absolute;left:50%;top:50%;width:78px;height:78px;margin:-39px 0 0 -39px;border-radius:50%;border:0;background:var(--adaptivematrices-accent);color:var(--adaptivematrices-primary);cursor:pointer;z-index:2;display:grid;place-items:center;transition:transform .25s,opacity .3s;box-shadow:0 10px 30px rgba(212,175,55,.45)}
.adaptivematrices-vl-play svg{width:30px;height:30px;fill:currentColor;margin-left:4px;position:relative;z-index:1}
.adaptivematrices-vl-play:hover{transform:scale(1.08)}
.adaptivematrices-vl-ring{position:absolute;inset:0;border-radius:50%;border:2px solid var(--adaptivematrices-accent);animation:adaptivematrices-pulse 2.2s ease-out infinite}
.adaptivematrices-vl-ring2{animation-delay:1.1s}
@keyframes adaptivematrices-pulse{0%{transform:scale(1);opacity:.75}100%{transform:scale(1.9);opacity:0}}
.adaptivematrices-vl-cap{position:absolute;left:0;right:0;bottom:18px;text-align:center;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.85);z-index:2;transition:opacity .3s}
.adaptivematrices-vl-form{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:1.8rem}
.adaptivematrices-vl-form h2{font-family:var(--adaptivematrices-font-h);color:var(--adaptivematrices-white);font-size:1.45rem;margin:0 0 .4rem}
.adaptivematrices-vl-note{color:rgba(255,255,255,.72);font-size:.92rem;margin:0 0 1.1rem}
.adaptivematrices-vl-form .adaptivematrices-form{max-width:none}
.adaptivematrices-vl-form .adaptivematrices-btn{width:100%;justify-content:center}
.adaptivematrices-vl-form .adaptivematrices-agree{color:rgba(255,255,255,.72);font-size:.84rem}
.adaptivematrices-vl-form .adaptivematrices-agree a{color:var(--adaptivematrices-accent)}
.adaptivematrices-vl-risk{margin:1rem 0 0;font-size:.76rem;line-height:1.5;color:rgba(255,255,255,.55)}
@media (max-width:980px){.adaptivematrices-vl-grid{grid-template-columns:1fr;grid-template-areas:"intro" "video" "form";gap:2rem}.adaptivematrices-vl-video{width:min(320px,100%);margin:0 auto}.adaptivematrices-vl{padding:3rem 0 3.5rem}}
@media (prefers-reduced-motion:reduce){.adaptivematrices-vl-ring{animation:none;opacity:0}}

/* fixed header 68px: отступ сверху */
.adaptivematrices-vl{padding-top:calc(68px + 3rem)}
@media (max-width:980px){.adaptivematrices-vl{padding-top:calc(68px + 2rem)}}
