/* Main-site layouts use the selected Home V.1 surfaces and Adeptee tokens. */
.site-section { padding:5rem 0; }
.site-section-white { background:white; margin:0 1.5rem; border-radius:1.5rem; }
.site-section h2 { font-size:clamp(2rem,3.2vw,3rem); line-height:1.15; margin:0 0 1.5rem; }
.site-section h3 { font-size:1.7rem; line-height:1.2; margin:1.25rem 0; }
.site-section p { line-height:1.7; margin-bottom:1.25rem; }
.site-section-heading { max-width:49rem; margin-bottom:2.5rem; }
.site-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.site-card { padding:2rem; border-radius:1.5rem; background:white; }
.site-card .text_title { font-size:.8rem; }
.hero-page:has(.site-card:nth-child(4)) .site-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.site-editorial { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr); gap:5rem; }
.site-editorial h2 { max-width:28rem; }
.site-context-links { display:flex; flex-wrap:wrap; gap:1rem 1.5rem; margin:1.5rem 0 0; }
.site-context-links a,.enquiry-grid a:not(.button),.policy-contents a { text-decoration:underline; text-underline-offset:.22em; }
.site-faq-heading { margin:0; font-size:inherit; }
.site-faq-heading .text-all-caps { white-space:normal; }
.main-site-page .section_portfolio { padding-bottom:4rem; }
.main-site-page .section_joinus { margin-top:2rem; }
.navbar .nav_dropdown-content { grid-template-columns:1fr; }
.navbar .nav_dropdown-wrap { min-width:15rem; }
.navbar .nav_dropdown-link { white-space:normal; }
.footer_column a { white-space:normal; }
.footer .footer_icon { display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:2.75rem; min-height:2.75rem; padding:.5rem .75rem; border:1px solid #7F98A3; border-radius:2rem; background:transparent; color:white; font-size:.8125rem; text-decoration:none; }
.demo-shell,.enquiry-shell { border-radius:1.5rem; background:white; padding:2.5rem; }
.demo-shell { max-width:64rem; margin:auto; scroll-margin-top:6rem; }
.demo-case-controls,.demo-step-controls { display:flex; gap:.75rem; flex-wrap:wrap; margin:1.5rem 0; }
.site-choice { background:var(--adeptee-mist); color:var(--adeptee-navy); border:1px solid #7F98A380; border-radius:2rem; font:inherit; font-size:.875rem; padding:.75rem 1.1rem; cursor:pointer; line-height:1.4; }
.site-choice[aria-pressed=true] { background:var(--adeptee-navy); color:white; border-color:var(--adeptee-navy); }
.site-choice:disabled { cursor:default; }
.demo-status { color:#4E6977; font-size:.875rem; }
.demo-panel { padding:2rem; background:var(--adeptee-mist); border-radius:1.25rem; margin:1rem 0; }
.demo-panel h4 { font-size:clamp(1.65rem,3vw,2.25rem); margin:1.2rem 0; line-height:1.2; }
.demo-record { margin:1.5rem 0; }
.demo-record div { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1fr); gap:1rem; padding:.875rem 0; border-bottom:1px solid #7F98A350; }
.demo-record dt { color:#4E6977; font-weight:400; }
.demo-record dd { margin:0; overflow-wrap:anywhere; }
.demo-explanation { border-left:3px solid var(--adeptee-capri); padding-left:1rem; }
.demo-actions { display:flex; justify-content:space-between; gap:1rem; margin-top:1.5rem; }
.demo-actions button:disabled { opacity:.5; cursor:default; }
.enquiry-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr); gap:4rem; scroll-margin-top:6rem; }
.site-note { border-left:4px solid var(--adeptee-capri); padding:1rem 1.5rem; margin:2rem 0; background:white; border-radius:0 1rem 1rem 0; }
.site-note h3 { margin-top:0; }
.enquiry-shell fieldset { min-width:0; border:0; margin:0; padding:0; }
.enquiry-shell legend { font-family:Urbanist,sans-serif; font-weight:600; font-size:1.5rem; margin-bottom:1.5rem; }
.enquiry-shell label { display:block; margin:.75rem 0 .5rem; font-weight:500; }
.enquiry-shell label span { font-size:.8125rem; color:#4E6977; font-weight:400; }
.enquiry-shell input,.enquiry-shell select,.enquiry-shell textarea { display:block; width:100%; max-width:100%; padding:.875rem 1rem; border:1px solid #7F98A3; border-radius:.75rem; background:var(--adeptee-mist); color:var(--adeptee-navy); font:inherit; font-size:1rem; margin-bottom:1.5rem; }
.enquiry-shell textarea { resize:vertical; }
.enquiry-shell button,.demo-actions button { white-space:normal; }
.enquiry-shell pre { font:inherit; white-space:pre-wrap; overflow-wrap:anywhere; background:var(--adeptee-mist); padding:1.25rem; border-radius:.75rem; }
.enquiry-result { border-top:1px solid #7F98A350; padding-top:1rem; margin-top:1rem; }
.enquiry-status { margin:0; color:#4E6977; }
.policy-grid { display:grid; grid-template-columns:minmax(0,.45fr) minmax(0,1fr); gap:4rem; align-items:start; }
.policy-contents { display:flex; flex-direction:column; gap:1.25rem; font-size:.9375rem; line-height:1.6; }
.policy-reading section { margin-bottom:3.5rem; scroll-margin-top:6rem; }
.policy-reading h2 { font-size:2rem; }
[hidden] { display:none!important; }
.main-site-page :is(button,input,select,textarea):focus-visible { outline:3px solid var(--adeptee-navy); outline-offset:4px; }
@media(max-width:991px) {
 .site-card-grid { grid-template-columns:1fr; }
 .site-editorial,.enquiry-grid,.policy-grid { grid-template-columns:1fr; gap:2rem; }
 .site-editorial h2 { max-width:42rem; }
 .hero-page:has(.site-card:nth-child(4)) .site-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .enquiry-shell { max-width:42rem; width:100%; }
 .policy-contents { padding-bottom:2rem; border-bottom:1px solid #7F98A350; }
 .site-section { padding:3.5rem 0; }
 .navbar .nav_dropdown-wrap { min-width:0; }
}
@media(max-width:479px) {
 .site-section { padding:2.75rem 0; }
 .site-section-white { margin:0 1rem; }
 .site-section-white .padding-global { padding:0 1rem; }
 .site-card,.demo-shell,.enquiry-shell { padding:1.5rem; }
 .hero-page:has(.site-card:nth-child(4)) .site-card-grid { grid-template-columns:1fr; }
 .demo-panel { padding:1.25rem; }
 .demo-record div { grid-template-columns:1fr; gap:.4rem; }
 .demo-actions { flex-wrap:wrap; }
 .demo-actions .button { width:100%; }
 .site-heading h1 { font-size:2.45rem; }
 .policy-reading h2 { font-size:1.8rem; }
}
@media(prefers-reduced-motion:reduce) { .main-site-page * { scroll-behavior:auto!important; } }
.main-site-page :is(.site-heading,.enquiry-shell,.demo-shell) .button.is-outline { color:var(--adeptee-navy); border-color:var(--adeptee-navy); background:transparent; }
.main-site-page :is(.site-heading,.enquiry-shell,.demo-shell) .button.is-outline:hover { color:var(--adeptee-navy); background:var(--adeptee-mist); }
