/* Altifigence section-page consistency layer.
   Mirrors the finished homepage shell without changing index.html. */
:root{
  --ink:#111113;
  --muted:#646973;
  --soft:#f5f5f7;
  --line:rgba(0,0,0,.10);
  --line2:rgba(0,0,0,.06);
  --blue:#0b5fff;
  --company:#174a7a;
  --std:#f6d52f;
  --open:#59c90d;
  --sdk:#ff6a1f;
  --asic:#2baec1;
  --labs:#1e527d;
  --violet:#8057ff;
  --copper:#d69254;
  --green:#3a9d32;
  --content:1180px;
  --wide:1512px;
  --nav-h:44px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"IBM Plex Sans",Pretendard,"Noto Sans KR",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#fff;scroll-padding-top:calc(var(--nav-h) + 18px);scrollbar-color:rgba(0,0,0,.28) transparent;scrollbar-width:thin}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--font);letter-spacing:-.022em;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:hover{color:var(--blue)}
body::-webkit-scrollbar{width:12px;height:12px}
body::-webkit-scrollbar-track{background:transparent}
body::-webkit-scrollbar-thumb{background:rgba(0,0,0,.20);border:4px solid transparent;background-clip:content-box;border-radius:999px}
body::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.38);border:4px solid transparent;background-clip:content-box}
h1,h2,h3,h4,p{overflow-wrap:break-word}
h1,h2,h3,h4{margin:0;color:var(--ink);font-family:var(--font);font-weight:650;line-height:1.03;letter-spacing:-.065em}
h1{font-size:clamp(42px,5.6vw,72px)}
h2{font-size:clamp(31px,3.8vw,52px)}
h3{font-size:clamp(21px,2.2vw,30px)}
h4{font-size:14px;letter-spacing:-.02em}
p{margin:0}
code{border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink);padding:.08em .32em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
.wrap{width:min(calc(100% - 44px),var(--content));max-width:var(--content);margin:0 auto}
.narrow{max-width:860px}
.skip-link{position:absolute;left:18px;top:8px;z-index:1400;transform:translateY(-160%);padding:9px 12px;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 12px 34px rgba(0,0,0,.15)}
.skip-link:focus{transform:translateY(0)}

.site-header{position:sticky;top:0;z-index:1000;height:var(--nav-h);background:rgba(255,255,255,.78);backdrop-filter:saturate(180%) blur(22px);border-bottom:1px solid rgba(0,0,0,.06)}
.nav-shell{max-width:var(--content);height:var(--nav-h);margin:0 auto;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:inline-flex;align-items:center;gap:8px;min-width:138px;color:var(--ink);font-size:18px;font-weight:660;letter-spacing:-.055em;line-height:1}
.brand:hover{color:#000}
.brand-mark{width:28px;height:28px;object-fit:contain;border-radius:6px}
.desktop-nav{height:var(--nav-h)}
.nav-list{height:var(--nav-h);margin:0;padding:0;list-style:none;display:flex;align-items:stretch;justify-content:center;gap:2px}
.nav-item{position:relative}
.nav-link{height:var(--nav-h);padding:0 13px;display:flex;align-items:center;border:0;background:transparent;color:rgba(0,0,0,.78);font-family:var(--font);font-size:13px;font-weight:430;letter-spacing:-.022em;white-space:nowrap}
.nav-link:hover,.nav-item:focus-within>.nav-link,.nav-item:hover>.nav-link{background:transparent;color:#000}
.nav-actions{min-width:138px;display:flex;align-items:center;justify-content:flex-end;gap:16px}
.nav-actions a{font-size:13px;color:rgba(0,0,0,.72)}
.nav-actions a:hover{color:#000}
.nav-actions .primary{color:var(--blue);font-weight:520}
.dashboard-button,.profile-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid rgba(0,0,0,.14);border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.04);cursor:pointer}
.dashboard-button:hover,.dashboard-button:focus-visible,.profile-button:hover,.profile-button:focus-visible{border-color:var(--blue);color:var(--blue);outline:none}
.dashboard-button svg,.profile-button svg{width:17px;height:17px;display:block}
.profile-button{padding:0;font:inherit;overflow:hidden}
.profile-button:disabled{opacity:.52;cursor:not-allowed}
.profile-button[data-sso-state="signed-in"]{border-color:rgba(11,95,255,.36);color:var(--blue)}
.profile-avatar{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.lang{position:relative;display:flex;align-items:center}
.lang-btn{display:flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;font-family:inherit;cursor:pointer;color:rgba(0,0,0,.72);font-size:13px}
.lang:hover .lang-btn,.lang:focus-within .lang-btn{color:#000}
.lang-globe{width:17px;height:17px;display:block}
.lang-caret{width:9px;height:9px;display:block;opacity:.6}
.lang-menu{position:absolute;top:calc(var(--nav-h) - 6px);right:0;min-width:148px;background:#fff;border:1px solid rgba(0,0,0,.10);border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.14);padding:6px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.lang:hover .lang-menu,.lang:focus-within .lang-menu{opacity:1;visibility:visible;transform:translateY(0)}
.lang-menu a{display:block;padding:9px 12px;border-radius:8px;font-size:14px;color:rgba(0,0,0,.78)}
.lang-menu a:hover{background:var(--soft);color:#000}
.mega{position:fixed;top:var(--nav-h);left:0;right:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(26px);border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 26px 70px rgba(0,0,0,.10)}
.nav-item:hover .mega,.nav-item:focus-within .mega{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.mega-inner{max-width:var(--content);margin:0 auto;padding:38px 22px 42px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.05fr;gap:0}
.mega-inner>div{padding:0 32px;border-left:1px solid rgba(0,0,0,.08)}
.mega-inner>div:first-child{padding-left:0;border-left:0}
.mega h3{margin:0 0 18px;color:#86868b;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.mega .lead-links a{display:block;margin-bottom:13px;font-size:26px;line-height:1.16;font-weight:650;letter-spacing:-.05em}
.mega a:hover{color:var(--blue)}
.mega .small-links a{display:block;font-size:16px;line-height:1.78;color:rgba(0,0,0,.8)}
.mega-note{border-left:2px solid var(--blue);padding-left:16px;color:#515154;font-size:14px;line-height:1.55}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;transform:translateY(-1px)}
.dot-std{background:var(--std)}
.dot-open{background:var(--open)}
.dot-sdk{background:var(--sdk)}
.mobile-toggle,.mobile-scrim,.mobile-panel,.mobile-quick-links{display:none}
.mobile-quick-links{align-items:center;gap:12px;margin-left:auto}
.mobile-quick-links a{font-size:12px;font-weight:520;color:rgba(0,0,0,.72);white-space:nowrap}
.mobile-quick-links .primary{color:var(--blue)}
.mobile-quick-links .dashboard-button,.mobile-quick-links .profile-button{width:34px;height:34px}
.mobile-quick-links .dashboard-button,.mobile-quick-links .profile-button,.mobile-quick-links .primary,.mobile-toggle{position:relative;z-index:1;overflow:visible}
.mobile-quick-links .dashboard-button::after,.mobile-quick-links .profile-button::after,.mobile-quick-links .primary::after,.mobile-toggle::after{content:"";position:absolute;left:50%;top:50%;z-index:2;width:max(100%,44px);height:max(100%,44px);background:rgba(0,0,0,0);pointer-events:auto;transform:translate(-50%,-50%)}
.mobile-toggle{width:38px;height:38px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--ink);cursor:pointer;align-items:center;justify-content:center;position:relative}
.mobile-toggle span{position:absolute;width:18px;height:1.5px;border-radius:999px;background:currentColor;transition:transform .24s ease,opacity .18s ease}
.mobile-toggle span:nth-child(1){transform:translateY(-6px)}
.mobile-toggle span:nth-child(3){transform:translateY(6px)}
.mobile-toggle[aria-expanded="true"] span:nth-child(1){transform:rotate(45deg)}
.mobile-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.mobile-toggle[aria-expanded="true"] span:nth-child(3){transform:rotate(-45deg)}
.mobile-scrim{position:fixed;top:var(--nav-h);left:0;right:0;bottom:0;z-index:1;width:100%;height:calc(100svh - var(--nav-h));padding:0;border:0;background:rgba(0,0,0,.20);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s ease,visibility .24s ease}
.mobile-panel{position:fixed;top:var(--nav-h);left:0;right:0;z-index:2;max-height:calc(100svh - var(--nav-h) - 48px);overflow:auto;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(26px);border-bottom:1px solid var(--line);box-shadow:0 26px 70px rgba(0,0,0,.10);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .24s ease,transform .24s ease,visibility .24s ease}
.mobile-menu-inner{max-width:var(--content);margin:0 auto;padding:16px 22px 28px}
.mobile-group{border-top:1px solid var(--line2);padding:15px 0}
.mobile-group:first-child{border-top:0}
.mobile-primary,.mobile-primary-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0;border:0;background:transparent;color:var(--ink);font-family:inherit;text-align:left;cursor:pointer;font-size:22px;line-height:1.1;letter-spacing:-.055em;font-weight:650}
.mobile-primary:hover,.mobile-primary-link:hover{color:var(--blue)}
.mobile-chevron,.mobile-lang-caret{width:13px;height:13px;display:block;flex:0 0 auto;transition:transform .22s ease}
.mobile-group.is-open .mobile-chevron{transform:rotate(180deg)}
.mobile-columns{display:grid;grid-template-rows:0fr;margin-top:0;opacity:0;visibility:hidden;transition:grid-template-rows .22s ease,opacity .18s ease,visibility .18s ease,margin .22s ease}
.mobile-group.is-open .mobile-columns{grid-template-rows:1fr;margin-top:14px;opacity:1;visibility:visible}
.mobile-columns-inner{min-height:0;overflow:hidden;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-left:18px}
.mobile-columns h3{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.mobile-columns a{display:block;color:rgba(0,0,0,.78);font-size:15px;line-height:1.8}
.mobile-columns a:hover{color:var(--blue)}
.mobile-language{border-top:1px solid var(--line2);padding-top:15px}
.mobile-language-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);font-family:inherit;font-size:16px;font-weight:620;cursor:pointer}
.mobile-language-label{display:flex;align-items:center;gap:9px}
.mobile-language.is-open .mobile-lang-caret{transform:rotate(180deg)}
.mobile-language-panel{display:grid;grid-template-rows:0fr;margin-top:0;opacity:0;visibility:hidden;transition:grid-template-rows .22s ease,opacity .18s ease,visibility .18s ease,margin .22s ease}
.mobile-language.is-open .mobile-language-panel{grid-template-rows:1fr;margin-top:8px;opacity:1;visibility:visible}
.mobile-language-links{min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;padding:6px}
.mobile-language-links a{display:block;padding:10px 11px;border-radius:8px;font-size:15px;color:rgba(0,0,0,.78)}
.mobile-language-links a:hover{background:var(--soft);color:#000}
body.mobile-menu-open{overflow:hidden}
body.mobile-menu-open .mobile-scrim,body.mobile-menu-open .mobile-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}

main{background:#fff}
.breadcrumb-strip{display:none}
.hero,.page-head,.records-hero,.legal-hero{border:0;background:#fff;color:var(--ink)}
.hero.hero--image,.page-head,.records-hero,.legal-hero{padding:72px 0 54px;position:relative;overflow:hidden}
.hero.hero--image::before,.page-head::before,.records-hero::before,.legal-hero::before{content:"";position:absolute;inset:auto 0 0;height:1px;background:var(--line)}
.hero-grid,.records-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.42fr);align-items:end;gap:34px}
.hero-copy,.hero-copy--statement{max-width:900px;padding:0;border:0;background:transparent;color:var(--ink)}
.eyebrow,.hero-kicker,.kicker,.section-kicker{display:block;margin:0 0 10px;color:#6e6e73;font-family:var(--font);font-size:15px;font-weight:630;letter-spacing:-.025em;text-transform:none}
.hero h1,.page-head h1,.records-hero h1,.legal-hero h1,.hero-statement{max-width:960px;margin:0;color:var(--ink);font-family:var(--font);font-size:clamp(40px,5vw,68px);font-weight:680;line-height:.98;letter-spacing:-.075em;text-shadow:none}
.lead,.hero-lead,.records-lead,.legal-hero .lead{max-width:760px;margin:18px 0 0;color:#5f646d;font-family:var(--font);font-size:clamp(17px,2vw,21px);line-height:1.43;letter-spacing:-.035em}
.actions,.hero-actions,.records-actions,.packet-actions,.evaluation-actions,.form-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.button,.hero-cta,.form-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid rgba(0,0,0,.14);border-radius:999px;background:#fff;color:var(--ink);padding:0 18px;font-family:var(--font);font-size:15px;font-weight:560;letter-spacing:-.02em;box-shadow:none;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.button.primary,.hero-cta.primary,.hero-cta:first-child{border-color:var(--ink);background:var(--ink);color:#fff}
.hero-cta.secondary,.hero-cta.accent{background:#fff;color:var(--ink)}
.button:hover,.hero-cta:hover,.form-links a:hover{border-color:var(--blue);background:var(--blue);color:#fff;transform:translateY(-1px)}
.front-resource-rail,.record-center-strip,.records-jump,.legal-section.alt,.records-section-alt,.muted,.evaluation-section{background:var(--soft)}
.front-resource-rail{padding:28px 0 68px}
.front-resource-grid,.record-center-grid,.packet-list,.policy-grid,.rule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.front-resource-grid a,.record-center-grid>a,.packet-list>div,.policy-card,.rule-card,.faq-card,.records-status,.records-panel,.record-note,.notice-box,.feature-visual,.record-table,.side-list,.preview-shell{border:1px solid rgba(0,0,0,.08);border-radius:20px;background:#fff;box-shadow:0 14px 42px rgba(0,0,0,.055)}
.front-resource-grid a,.record-center-grid>a,.packet-list>div,.policy-card,.rule-card,.faq-card,.records-status,.records-panel,.record-note,.notice-box{padding:24px}
.front-resource-grid span,.record-center-grid span,.packet-list span,.policy-card>span,.record-row span,.records-contact-grid span,.legal-meta span{display:block;color:#6e6e73;font-size:13px;font-weight:630;letter-spacing:-.02em}
.front-resource-grid strong,.record-center-grid strong,.packet-list strong{display:block;margin-top:8px;font-size:21px;line-height:1.08;letter-spacing:-.045em}
.front-resource-grid small,.record-center-grid small{display:block;margin-top:10px;color:#5f646d;font-size:14px;line-height:1.45}
.record-center-grid>a{--card-accent:var(--blue);--card-press-bg:rgba(11,95,255,.15);position:relative;isolation:isolate;overflow:hidden;color:var(--ink);cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
.record-center-grid>a::before{content:"";position:absolute;inset:0;z-index:0;background:var(--card-press-bg);opacity:0;transition:opacity .26s cubic-bezier(.2,.8,.2,1)}
.record-center-grid>a>*{position:relative;z-index:1}
.record-center-grid>a:nth-of-type(1){--card-accent:var(--company);--card-press-bg:rgba(23,74,122,.17)}
.record-center-grid>a:nth-of-type(2){--card-accent:var(--asic);--card-press-bg:rgba(43,174,193,.19)}
.record-center-grid>a:nth-of-type(3){--card-accent:var(--green);--card-press-bg:rgba(58,157,50,.18)}
.record-center-grid>a:nth-of-type(4){--card-accent:var(--copper);--card-press-bg:rgba(214,146,84,.22)}
.record-center-grid>a span{color:var(--card-accent)}
.record-center-grid>a:hover,.record-center-grid>a:focus-visible{color:var(--ink);transform:translateY(-3px);box-shadow:0 22px 58px rgba(0,0,0,.09)}
.record-center-grid>a:focus-visible{outline:2px solid var(--card-accent);outline-offset:3px}
.record-center-grid>a:active,.record-center-grid>a.is-pressed{transform:translateY(-1px) scale(.992);border-color:rgba(0,0,0,.14)}
.record-center-grid>a:active::before,.record-center-grid>a.is-pressed::before{opacity:1}
.record-center-strip{padding:76px 0}
.record-center-title{grid-column:1/-1;max-width:760px;text-align:left}
.section,.records-section,.legal-section,.section-pad,.tracks-section,.feature-pair{padding:88px 0;border:0;background:#fff}
.section.muted,.records-section-alt,.legal-section.alt,.evaluation-section{background:var(--soft)}
.section-head,.split-head,.compact-head{display:grid;grid-template-columns:minmax(160px,.34fr) minmax(0,1fr);gap:30px;align-items:start;max-width:var(--content);margin:0 auto 34px;padding:0}
.section-head h2,.split-head h2,.records-section h2,.legal-section h2{margin:0;max-width:860px;color:var(--ink);font-family:var(--font);font-size:clamp(31px,3.8vw,52px);font-weight:650;line-height:1.02;letter-spacing:-.065em}
.section-head p,.split-head p,.records-section .split-head p,.records-panel p,.records-section-dark p,.prose p,.policy-body p,.notice-box p{color:#5f646d;font-family:var(--font);font-size:17px;line-height:1.5;letter-spacing:-.025em}
.records-status p{margin:0 0 16px;color:#6e6e73;font-size:13px;font-weight:630;letter-spacing:-.02em}
.records-status dl,.records-meta{margin:0;display:grid;gap:0}
.records-status div,.records-meta div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1fr);gap:16px;padding:13px 0;border-top:1px solid var(--line2)}
.records-status dt,.records-meta dt{color:#6e6e73;font-size:13px;font-weight:620}
.records-status dd,.records-meta dd{margin:0;color:var(--ink);font-size:15px;line-height:1.38}
.records-jump{padding:22px 0}
.records-jump .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.records-jump a{display:flex;align-items:center;gap:12px;min-height:70px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px 18px;transition:transform .2s ease,box-shadow .2s ease}
.records-jump a:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(0,0,0,.08);color:var(--ink)}
.record-list{display:grid;gap:14px}
.record-row{display:grid;grid-template-columns:minmax(170px,.45fr) minmax(0,1fr) minmax(150px,.34fr);gap:24px;align-items:center;padding:24px;border:1px solid rgba(0,0,0,.08);border-radius:20px;background:#fff;box-shadow:0 14px 42px rgba(0,0,0,.045)}
.record-row h3{margin:7px 0 0;font-size:24px;line-height:1.04}
.record-row p{color:#5f646d;font-size:16px;line-height:1.5}
.record-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.record-links a,.records-contact-grid a,.side-list a,.question-list a,.policy-card a,.rows a em{color:var(--blue);font-size:15px;font-weight:560}
.record-links a::after,.policy-card a::after,.rows a em::after{content:" ›"}
.records-two-col,.two-column,.content-grid,.legal-layout,.records-row{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,1fr);gap:36px;align-items:start}
.records-contact-grid,.rows{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.records-contact-grid a,.rows a{display:block;border:1px solid rgba(0,0,0,.08);border-radius:18px;background:#fff;padding:20px;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.records-contact-grid strong,.rows strong{display:block;margin-top:8px;color:var(--ink);font-size:17px;line-height:1.35}
.records-section-dark{background:var(--company);color:#fff}
.records-section-dark h2,.records-section-dark p{color:#fff}
.records-section-dark .kicker{color:rgba(255,255,255,.72)}
.prose,.policy-body{max-width:880px}
.prose p+p,.policy-body p+p{margin-top:16px}
.prose h2,.policy-body h2{margin:34px 0 12px;font-size:clamp(25px,3vw,36px)}
.prose h2:first-child,.policy-body h2:first-child{margin-top:0}
.content-grid{grid-template-columns:260px minmax(0,1fr)}
.side-list{position:sticky;top:calc(var(--nav-h) + 24px);display:grid;gap:0;padding:8px}
.side-list a{display:block;border-radius:12px;padding:11px 12px;color:rgba(0,0,0,.78)}
.side-list a:hover{background:var(--soft);color:var(--blue)}
.anchor-section{padding:0 0 32px;border-bottom:1px solid var(--line)}
.anchor-section+.anchor-section{padding-top:32px}
.rule-list{display:grid;gap:12px}
.rule-list>div{border:1px solid rgba(0,0,0,.08);border-radius:18px;background:#fff;padding:20px}
.rule-grid{grid-template-columns:repeat(3,1fr)}
.rule-card h3,.rule-list h3,.faq-card h2,.policy-card h2{margin:0 0 10px;font-size:24px}
.preview-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;padding:24px}
.question-list{display:grid;gap:8px}
.question-list a{display:block;border-radius:12px;background:var(--soft);padding:11px 12px;color:rgba(0,0,0,.78)}
.question-list a:hover{color:var(--blue)}
.answer-column{display:grid;gap:16px}
.policy-grid{grid-template-columns:repeat(3,1fr)}
.legal-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.legal-meta span{border:1px solid var(--line);border-radius:999px;background:#fff;padding:7px 11px;color:#5f646d}
.legal-nav{position:sticky;top:calc(var(--nav-h) + 24px);border:1px solid var(--line);border-radius:18px;background:#fff;padding:8px;box-shadow:0 12px 34px rgba(0,0,0,.045)}
.legal-nav a{display:block;border-radius:12px;padding:11px 12px;color:rgba(0,0,0,.78);font-size:14px}
.legal-nav a:hover{background:var(--soft);color:var(--blue);text-decoration:none}
.notice-box{margin:0 0 24px}
.notice-box strong{display:block;margin-bottom:8px;font-size:18px}
.legal-table{width:100%;border-collapse:separate;border-spacing:0;margin:22px 0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.legal-table th,.legal-table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.legal-table tr:last-child th,.legal-table tr:last-child td{border-bottom:0}
.form-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid var(--line);border-radius:18px;background:#fff;padding:20px;margin-bottom:14px}
.feature-pair-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.feature-visual{margin:0;overflow:hidden}
.feature-visual img{width:100%;height:auto;display:block}
.feature-visual figcaption{display:flex;justify-content:space-between;gap:18px;padding:18px 20px;border-top:1px solid var(--line);color:#5f646d}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.product{min-height:432px;display:grid;grid-template-rows:150px 1fr 52px;border:1px solid rgba(0,0,0,.08);border-radius:28px;background:#fff;overflow:hidden;box-shadow:0 14px 42px rgba(0,0,0,.06);transition:transform .24s ease,box-shadow .24s ease}
.product:hover{transform:translateY(-7px);box-shadow:0 28px 80px rgba(0,0,0,.14);color:var(--ink)}
.product-art{background:#e9e9ec;display:grid;place-items:center;overflow:hidden}
.product-art svg{width:100%;height:100%;display:block}
.product-body{padding:22px 20px 16px}
.product-body h3{font-size:24px;line-height:1}
.product-body p{margin:14px 0 0;color:#4f5258;font-size:15px;line-height:1.42}
.product-foot{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(0,0,0,.08)}
.product-foot span{display:flex;align-items:center;padding:0 16px;border-right:1px solid rgba(0,0,0,.08);font-size:14px;font-weight:650}
.product-foot span:last-child{border-right:0;justify-content:flex-end}
.footer{background:var(--company);border-top:1px solid rgba(255,255,255,.22);padding:58px 22px 28px;color:#fff}
.footer-inner{max-width:var(--content);margin:0 auto;display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:34px}
.footer-brand strong{display:block;color:#fff;font-size:24px;letter-spacing:-.055em}
.footer-brand p{margin:12px 0 0;color:rgba(255,255,255,.78);font-size:14px;line-height:1.5}
.footer h3{margin:0 0 12px;color:rgba(255,255,255,.70);font-size:13px;letter-spacing:-.02em}
.footer a{display:block;color:rgba(255,255,255,.78);font-size:13px;line-height:1.9}
.footer a:hover{color:#fff}
.footer-bottom{max-width:var(--content);margin:34px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.22);display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:rgba(255,255,255,.70);font-size:12px}

.product,.front-resource-grid a,.record-center-grid>a,.packet-list>div,.policy-card,.rule-card,.faq-card,.records-status,.records-panel,.record-note,.notice-box,.feature-visual,.record-row,.records-jump a,.lang-menu,.mega{transition-timing-function:cubic-bezier(.2,.8,.2,1)}
.motion-ready [data-reveal],.motion-ready [data-reveal-card]{opacity:0;transform:translateY(22px) scale(.985);transition:opacity .68s ease,transform .68s ease;transition-timing-function:cubic-bezier(.2,.8,.2,1)}
.motion-ready [data-reveal-card]{transform:translateY(26px) scale(.965)}
.motion-ready [data-reveal].is-visible,.motion-ready [data-reveal-card].is-visible{opacity:1;transform:translateY(0) scale(1)}
.motion-ready [data-reveal-card]:nth-child(2){transition-delay:.04s}
.motion-ready [data-reveal-card]:nth-child(3){transition-delay:.08s}
.motion-ready [data-reveal-card]:nth-child(4){transition-delay:.12s}
.motion-ready [data-reveal-card]:nth-child(5){transition-delay:.16s}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .mobile-toggle span,.mobile-scrim,.mobile-panel,.mobile-chevron,.mobile-lang-caret,.mobile-columns,.mobile-language-panel,.lang-menu,.mega,.product,.record-center-grid>a,.record-center-grid>a::before,.motion-ready [data-reveal],.motion-ready [data-reveal-card]{transition:none}
  .motion-ready [data-reveal],.motion-ready [data-reveal-card]{opacity:1;transform:none}
}
@media(max-width:1100px){
  .hero-grid,.records-hero-grid,.records-two-col,.two-column,.content-grid,.legal-layout,.records-row{grid-template-columns:1fr}
  .front-resource-grid,.record-center-grid,.packet-list,.policy-grid,.rule-grid,.records-jump .wrap,.product-grid{grid-template-columns:repeat(2,1fr)}
  .side-list,.legal-nav{position:static}
}
@media(max-width:980px){
  .desktop-nav,.nav-list,.nav-actions{display:none}
  .mega{display:none}
  .mobile-toggle,.mobile-quick-links{display:flex}
  .mobile-scrim,.mobile-panel{display:block}
  .footer-inner{grid-template-columns:1fr 1fr}
  .brand{min-width:0}
  .brand-mark{width:24px;height:24px}
}
@media(max-width:700px){
  .wrap{width:min(100% - 34px,var(--content))}
  .hero.hero--image,.page-head,.records-hero,.legal-hero{padding:58px 0 42px}
  .front-resource-grid,.record-center-grid,.packet-list,.policy-grid,.rule-grid,.records-jump .wrap,.records-contact-grid,.rows,.feature-pair-grid,.product-grid{grid-template-columns:1fr}
  .section-head,.split-head,.compact-head{grid-template-columns:1fr;gap:12px}
  .record-row,.form-row{grid-template-columns:1fr}
  .record-links{justify-content:flex-start}
  .actions,.hero-actions,.records-actions,.packet-actions,.evaluation-actions,.form-links{flex-direction:column}
  .button,.hero-cta,.form-links a{width:100%}
  .preview-shell{grid-template-columns:1fr;padding:18px}
  .mobile-menu-inner{padding-left:18px;padding-right:18px}
  .mobile-columns-inner{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom{display:block}
  .footer-bottom span{display:block;margin-top:8px}
}
@media(max-width:620px){
  :root{--nav-h:44px}
  .nav-shell{gap:10px;padding:0 14px}
  .mobile-quick-links{gap:9px}
  .mobile-quick-links a{font-size:11px}
  .mobile-toggle{width:34px;height:34px}
}

/* Contrast-only guards for section pages loaded after site-system.css. */
:root {
  --af-menu-kicker: #5f6368;
}

.mega h3,
.mobile-columns h3 {
  color: var(--af-menu-kicker);
}

.button:active,
.hero-cta:active,
.form-links a:active {
  border-color: var(--m3-primary);
  background: var(--m3-primary);
  color: var(--m3-on-primary);
}

.button:hover,
.button:focus-visible,
.hero-cta:hover,
.hero-cta:focus-visible,
.form-links a:hover,
.form-links a:focus-visible {
  border-color: var(--m3-primary);
  background: var(--m3-primary);
  color: var(--m3-on-primary);
}

.question-list a:hover,
.question-list a:focus-visible,
.question-list a:active {
  color: var(--m3-primary);
}

.button.primary:active,
.hero-cta.primary:active,
.hero-cta:first-child:active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--m3-on-primary);
}

html[data-theme="dark"] {
  --ink: var(--m3-on-surface);
  --muted: var(--m3-on-surface-variant);
  --soft: var(--m3-surface-container-low);
  --line: var(--m3-outline-variant);
  --line2: color-mix(in srgb, var(--m3-outline-variant) 62%, transparent);
  --blue: var(--m3-primary);
  --af-menu-kicker: var(--m3-on-surface-variant);
}

html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] main {
  background: var(--m3-surface);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-head,
html[data-theme="dark"] .records-hero,
html[data-theme="dark"] .legal-hero,
html[data-theme="dark"] .front-resource-rail,
html[data-theme="dark"] .record-center-strip,
html[data-theme="dark"] .records-jump,
html[data-theme="dark"] .legal-section.alt,
html[data-theme="dark"] .records-section-alt,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .evaluation-section {
  background: var(--m3-surface);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .page-head h1,
html[data-theme="dark"] .records-hero h1,
html[data-theme="dark"] .legal-hero h1,
html[data-theme="dark"] .hero-statement {
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .kicker,
html[data-theme="dark"] .section-kicker {
  color: var(--m3-primary);
}

html[data-theme="dark"] .lead,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .records-lead,
html[data-theme="dark"] .legal-hero .lead,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .split-head p,
html[data-theme="dark"] .records-section .split-head p,
html[data-theme="dark"] .records-panel p,
html[data-theme="dark"] .records-section-dark p,
html[data-theme="dark"] .prose p,
html[data-theme="dark"] .policy-body p,
html[data-theme="dark"] .notice-box p {
  color: var(--m3-on-surface-variant);
}

html[data-theme="dark"] .front-resource-grid a,
html[data-theme="dark"] .record-center-grid > a,
html[data-theme="dark"] .packet-list > div,
html[data-theme="dark"] .policy-card,
html[data-theme="dark"] .rule-card,
html[data-theme="dark"] .faq-card,
html[data-theme="dark"] .records-status,
html[data-theme="dark"] .records-panel,
html[data-theme="dark"] .record-note,
html[data-theme="dark"] .notice-box,
html[data-theme="dark"] .feature-visual,
html[data-theme="dark"] .record-table,
html[data-theme="dark"] .side-list,
html[data-theme="dark"] .preview-shell,
html[data-theme="dark"] .legal-table,
html[data-theme="dark"] .form-row,
html[data-theme="dark"] .product {
  border-color: var(--m3-outline-variant);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .front-resource-grid small,
html[data-theme="dark"] .record-center-grid small,
html[data-theme="dark"] .product-body p,
html[data-theme="dark"] .feature-visual figcaption,
html[data-theme="dark"] .rule-list p,
html[data-theme="dark"] .rule-card p,
html[data-theme="dark"] .faq-card p {
  color: var(--m3-on-surface-variant);
}

html[data-theme="dark"] .question-list a,
html[data-theme="dark"] .side-list a {
  background: var(--m3-surface-container);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .question-list a:hover,
html[data-theme="dark"] .question-list a:focus-visible,
html[data-theme="dark"] .question-list a:active,
html[data-theme="dark"] .side-list a:hover,
html[data-theme="dark"] .side-list a:focus-visible,
html[data-theme="dark"] .side-list a:active {
  background: var(--m3-primary-container);
  color: var(--m3-on-primary-container);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .mobile-panel {
  border-color: var(--m3-outline-variant);
  background: color-mix(in srgb, var(--m3-surface-container-low) 94%, transparent);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .nav-actions a,
html[data-theme="dark"] .dashboard-button,
html[data-theme="dark"] .profile-button,
html[data-theme="dark"] .sso-button,
html[data-theme="dark"] .mobile-quick-links a,
html[data-theme="dark"] .mobile-quick-links .dashboard-button,
html[data-theme="dark"] .mobile-quick-links .profile-button,
html[data-theme="dark"] .mobile-quick-links .sso-button,
html[data-theme="dark"] .lang-btn,
html[data-theme="dark"] .mobile-primary,
html[data-theme="dark"] .mobile-primary-link,
html[data-theme="dark"] .mobile-toggle {
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .dashboard-button,
html[data-theme="dark"] .profile-button {
  border-color: var(--m3-outline-variant);
  background: var(--m3-surface-container-lowest);
}

html[data-theme="dark"] .brand:hover,
html[data-theme="dark"] .brand:focus-visible,
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:focus-visible,
html[data-theme="dark"] .nav-item:focus-within > .nav-link,
html[data-theme="dark"] .nav-item:hover > .nav-link,
html[data-theme="dark"] .nav-actions a:hover,
html[data-theme="dark"] .nav-actions a:focus-visible,
html[data-theme="dark"] .dashboard-button:hover,
html[data-theme="dark"] .dashboard-button:focus-visible,
html[data-theme="dark"] .profile-button:hover,
html[data-theme="dark"] .profile-button:focus-visible,
html[data-theme="dark"] .sso-button:hover,
html[data-theme="dark"] .sso-button:focus-visible,
html[data-theme="dark"] .sso-button:active,
html[data-theme="dark"] .mobile-quick-links a:hover,
html[data-theme="dark"] .mobile-quick-links a:focus-visible,
html[data-theme="dark"] .mobile-quick-links .dashboard-button:hover,
html[data-theme="dark"] .mobile-quick-links .dashboard-button:focus-visible,
html[data-theme="dark"] .mobile-quick-links .profile-button:hover,
html[data-theme="dark"] .mobile-quick-links .profile-button:focus-visible,
html[data-theme="dark"] .mobile-quick-links .sso-button:hover,
html[data-theme="dark"] .mobile-quick-links .sso-button:focus-visible,
html[data-theme="dark"] .mobile-quick-links .sso-button:active,
html[data-theme="dark"] .lang:hover .lang-btn,
html[data-theme="dark"] .lang:focus-within .lang-btn,
html[data-theme="dark"] .mobile-primary:hover,
html[data-theme="dark"] .mobile-primary-link:hover {
  color: var(--m3-primary);
}

html[data-theme="dark"] .mega,
html[data-theme="dark"] .lang-menu,
html[data-theme="dark"] .mobile-language-links {
  border-color: var(--m3-outline-variant);
  background: color-mix(in srgb, var(--m3-surface-container-lowest) 94%, transparent);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .mega .lead-links a,
html[data-theme="dark"] .mega .small-links a,
html[data-theme="dark"] .lang-menu a,
html[data-theme="dark"] .mobile-columns a,
html[data-theme="dark"] .mobile-language-links a {
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .mega a:hover,
html[data-theme="dark"] .mega a:focus-visible,
html[data-theme="dark"] .mega a:active,
html[data-theme="dark"] .lang-menu a:hover,
html[data-theme="dark"] .lang-menu a:focus-visible,
html[data-theme="dark"] .lang-menu a:active,
html[data-theme="dark"] .mobile-language-links a:hover,
html[data-theme="dark"] .mobile-language-links a:focus-visible,
html[data-theme="dark"] .mobile-language-links a:active {
  background: var(--m3-surface-container);
  color: var(--m3-primary);
}

html[data-theme="dark"] .mega-note {
  color: var(--m3-on-surface-variant);
}

html[data-theme="dark"] .mobile-language-toggle {
  border-color: var(--m3-outline);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .button,
html[data-theme="dark"] .hero-cta,
html[data-theme="dark"] .form-links a {
  border-color: var(--m3-outline);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-primary);
}

html[data-theme="dark"] .button.primary,
html[data-theme="dark"] .hero-cta.primary,
html[data-theme="dark"] .hero-cta:first-child {
  border-color: var(--m3-primary);
  background: var(--m3-primary);
  color: var(--m3-on-primary);
}

html[data-theme="dark"] .hero-cta.secondary,
html[data-theme="dark"] .hero-cta.accent {
  border-color: var(--m3-outline);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .button:focus-visible,
html[data-theme="dark"] .button:active,
html[data-theme="dark"] .hero-cta:hover,
html[data-theme="dark"] .hero-cta:focus-visible,
html[data-theme="dark"] .hero-cta:active,
html[data-theme="dark"] .form-links a:hover,
html[data-theme="dark"] .form-links a:focus-visible,
html[data-theme="dark"] .form-links a:active {
  border-color: var(--m3-primary);
  background: var(--m3-primary-container);
  color: var(--m3-on-primary-container);
}

html[data-theme="dark"] .button.primary:hover,
html[data-theme="dark"] .button.primary:focus-visible,
html[data-theme="dark"] .button.primary:active,
html[data-theme="dark"] .hero-cta.primary:hover,
html[data-theme="dark"] .hero-cta.primary:focus-visible,
html[data-theme="dark"] .hero-cta.primary:active,
html[data-theme="dark"] .hero-cta:first-child:hover,
html[data-theme="dark"] .hero-cta:first-child:focus-visible,
html[data-theme="dark"] .hero-cta:first-child:active {
  border-color: var(--m3-primary);
  background: var(--m3-primary);
  color: var(--m3-on-primary);
}

/* Contrast-only guards for legacy record/legal routes and forced states. */
.records-status dt,
.records-meta dt {
  color: var(--m3-on-surface-variant);
}

.records-hero .hero-kicker {
  color: var(--m3-primary);
}

main .record-links a:hover,
main .record-links a:focus-visible,
main .record-links a:active,
main .form-links a:hover,
main .form-links a:focus-visible,
main .form-links a:active {
  border-color: var(--m3-primary) !important;
  background: var(--m3-primary) !important;
  color: var(--m3-on-primary) !important;
}

html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .section,
html[data-theme="dark"] .records-section,
html[data-theme="dark"] .records-section-alt,
html[data-theme="dark"] .records-section-dark,
html[data-theme="dark"] .records-jump,
html[data-theme="dark"] .policy-body,
html[data-theme="dark"] .prose,
html[data-theme="dark"] #auth-callback-status {
  background: var(--m3-surface);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .legal-layout,
html[data-theme="dark"] .two-column,
html[data-theme="dark"] .records-hero-grid,
html[data-theme="dark"] .policy-grid,
html[data-theme="dark"] .rule-list > div,
html[data-theme="dark"] .record-list,
html[data-theme="dark"] .record-row,
html[data-theme="dark"] .records-jump a {
  border-color: var(--m3-outline-variant);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-on-surface);
}

html[data-theme="dark"] .policy-body p,
html[data-theme="dark"] .policy-body li,
html[data-theme="dark"] .prose p,
html[data-theme="dark"] .section > p,
html[data-theme="dark"] .records-section p,
html[data-theme="dark"] .records-jump span,
html[data-theme="dark"] .rule-list p,
html[data-theme="dark"] #auth-callback-status .lead {
  color: var(--m3-on-surface-variant) !important;
}

html[data-theme="dark"] .policy-body h2,
html[data-theme="dark"] .prose h2,
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .records-section h2,
html[data-theme="dark"] .record-row h3,
html[data-theme="dark"] .rule-list h3,
html[data-theme="dark"] #auth-callback-status h1 {
  color: var(--m3-on-surface) !important;
}

html[data-theme="dark"] .records-status p,
html[data-theme="dark"] .records-status dt,
html[data-theme="dark"] .records-meta dt,
html[data-theme="dark"] .policy-card span,
html[data-theme="dark"] .record-row span {
  color: var(--m3-on-surface-variant) !important;
}

html[data-theme="dark"] .legal-nav {
  border-color: var(--m3-outline-variant);
  background: var(--m3-surface-container-lowest);
}

html[data-theme="dark"] .legal-nav a {
  color: var(--m3-on-surface) !important;
}

html[data-theme="dark"] .legal-nav a:hover,
html[data-theme="dark"] .legal-nav a:focus-visible,
html[data-theme="dark"] .legal-nav a:active {
  background: var(--m3-primary-container);
  color: var(--m3-on-primary-container) !important;
}

html[data-theme="dark"] .legal-table th,
html[data-theme="dark"] .legal-table td {
  border-color: var(--m3-outline-variant);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-on-surface) !important;
}

html[data-theme="dark"] main .record-links a,
html[data-theme="dark"] main .form-links a,
html[data-theme="dark"] #auth-callback-status .button {
  border-color: var(--m3-outline);
  background: var(--m3-surface-container-lowest);
  color: var(--m3-on-surface) !important;
}

html[data-theme="dark"] main .record-links a:hover,
html[data-theme="dark"] main .record-links a:focus-visible,
html[data-theme="dark"] main .record-links a:active,
html[data-theme="dark"] main .form-links a:hover,
html[data-theme="dark"] main .form-links a:focus-visible,
html[data-theme="dark"] main .form-links a:active,
html[data-theme="dark"] #auth-callback-status .button:hover,
html[data-theme="dark"] #auth-callback-status .button:focus-visible,
html[data-theme="dark"] #auth-callback-status .button:active {
  border-color: var(--m3-primary);
  background: var(--m3-primary-container) !important;
  color: var(--m3-on-primary-container) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: var(--m3-on-surface);
    --muted: var(--m3-on-surface-variant);
    --soft: var(--m3-surface-container-low);
    --line: var(--m3-outline-variant);
    --line2: color-mix(in srgb, var(--m3-outline-variant) 62%, transparent);
    --blue: var(--m3-primary);
    --af-menu-kicker: var(--m3-on-surface-variant);
  }

  :root:not([data-theme="light"]),
  :root:not([data-theme="light"]) body,
  :root:not([data-theme="light"]) main {
    background: var(--m3-surface);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) .site-header,
  :root:not([data-theme="light"]) .mobile-panel {
    border-color: var(--m3-outline-variant);
    background: color-mix(in srgb, var(--m3-surface-container-low) 94%, transparent);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) :is(.brand, .nav-link, .nav-actions a, .dashboard-button, .profile-button, .mobile-quick-links a, .lang-btn, .mobile-primary, .mobile-primary-link, .mobile-toggle) {
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) :is(.dashboard-button, .profile-button) {
    border-color: var(--m3-outline-variant);
    background: var(--m3-surface-container-lowest);
  }

  :root:not([data-theme="light"]) :is(.brand, .nav-link, .nav-actions a, .dashboard-button, .profile-button, .mobile-quick-links a, .lang-btn, .mobile-primary, .mobile-primary-link, .mobile-toggle):is(:hover, :focus-visible),
  :root:not([data-theme="light"]) .nav-item:focus-within > .nav-link,
  :root:not([data-theme="light"]) .nav-item:hover > .nav-link,
  :root:not([data-theme="light"]) .lang:hover .lang-btn,
  :root:not([data-theme="light"]) .lang:focus-within .lang-btn {
    color: var(--m3-primary);
  }

  :root:not([data-theme="light"]) :is(.mega, .lang-menu, .mobile-language-links) {
    border-color: var(--m3-outline-variant);
    background: color-mix(in srgb, var(--m3-surface-container-lowest) 94%, transparent);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) :is(.mega .lead-links a, .mega .small-links a, .lang-menu a, .mobile-columns a, .mobile-language-links a) {
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) :is(.button, .hero-cta, .form-links a) {
    border-color: var(--m3-outline);
    background: var(--m3-surface-container-lowest);
    color: var(--m3-primary);
  }

  :root:not([data-theme="light"]) :is(.hero-cta.secondary, .hero-cta.accent) {
    border-color: var(--m3-outline);
    background: var(--m3-surface-container-lowest);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) :is(.button.primary, .hero-cta.primary, .hero-cta:first-child) {
    border-color: var(--m3-primary);
    background: var(--m3-primary);
    color: var(--m3-on-primary);
  }

  :root:not([data-theme="light"]) :is(.button, .hero-cta, .form-links a):is(:hover, :focus-visible, :active) {
    border-color: var(--m3-primary);
    background: var(--m3-primary-container);
    color: var(--m3-on-primary-container);
  }

  :root:not([data-theme="light"]) :is(.button.primary, .hero-cta.primary, .hero-cta:first-child):is(:hover, :focus-visible, :active) {
    border-color: var(--m3-primary);
    background: var(--m3-primary);
    color: var(--m3-on-primary);
  }

  :root:not([data-theme="light"]) .records-page {
    background: var(--m3-surface);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) .records-page :is(.records-hero, .records-section, .records-section-alt, .records-section-dark, .records-jump) {
    border-color: var(--m3-outline-variant);
    background: var(--m3-surface);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) .records-page :is(.records-status, .records-panel, .record-row, .records-jump a, .records-contact-grid a) {
    border-color: var(--m3-outline-variant);
    background: var(--m3-surface-container-lowest);
    color: var(--m3-on-surface);
  }

  :root:not([data-theme="light"]) .records-page :is(h1, h2, h3, strong, dd) {
    color: var(--m3-on-surface) !important;
  }

  :root:not([data-theme="light"]) .records-page :is(p, dt, span, .records-lead, .record-row p, .records-panel p, .records-section .split-head p) {
    color: var(--m3-on-surface-variant) !important;
  }

  :root:not([data-theme="light"]) .records-page :is(.hero-kicker, .kicker) {
    color: var(--m3-primary) !important;
  }

  :root:not([data-theme="light"]) .records-page :is(.record-links a, .records-panel a:not(.button)) {
    border-color: var(--m3-outline);
    background: var(--m3-surface-container-lowest);
    color: var(--m3-primary) !important;
  }

  :root:not([data-theme="light"]) .records-page :is(.record-links a, .records-contact-grid a, .records-jump a):is(:hover, :focus-visible) {
    border-color: var(--m3-primary);
    background: var(--m3-primary-container) !important;
    color: var(--m3-on-primary-container) !important;
  }

  :root:not([data-theme="light"]) .records-page :is(.record-links a, .records-contact-grid a, .records-jump a):is(:hover, :focus-visible) * {
    color: var(--m3-on-primary-container) !important;
  }
}
