:root {
      color-scheme: light;
      --page: #f5f8fc;
      --surface: #ffffff;
      --surface-soft: #f8fbff;
      --text: #15243b;
      --muted: #61718a;
      --line: #e1e8f1;
      --blue: #175cd3;
      --blue-deep: #123c80;
      --blue-soft: #eaf2ff;
      --orange: #f08a24;
      --orange-deep: #b95a00;
      --green: #16794b;
      --shadow: 0 14px 38px rgba(25, 52, 91, .08);
      --radius: 18px;
      --content: 1160px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 94px; }
    body {
      margin: 0;
      color: var(--text);
      background: var(--page);
      font-family: Inter, "Open Sans", Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    a { color: var(--blue); text-underline-offset: 3px; }
    a:hover { color: var(--blue-deep); }
    button, input { font: inherit; }
    button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
      outline: 3px solid #8ab4ff;
      outline-offset: 3px;
    }
    .skip-link {
      position: absolute; z-index: 100; left: 12px; top: -60px;
      padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--text);
    }
    .skip-link:focus { top: 12px; }
    .container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
    .topbar {
      position: sticky; z-index: 20; top: 0;
      border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
      background: color-mix(in srgb, var(--surface) 92%, transparent);
      backdrop-filter: blur(16px);
    }
    .nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
    .brand-mark { width: 43px; height: 43px; flex: 0 0 auto; }
    .brand-word { display: flex; flex-direction: column; line-height: 1.1; }
    .brand-word strong { letter-spacing: -.045em; font-size: 19px; font-weight: 800; }
    .brand-word span { color: var(--muted); font-size: 11px; margin-top: 5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
    .nav-links { display: flex; align-items: center; gap: 25px; }
    .nav-links > a:not(.button) { color: var(--muted); font-size: 14px; text-decoration: none; font-weight: 650; }
    .nav-links > a:not(.button):hover { color: var(--blue); }
    .icon-button {
      border: 1px solid var(--line); width: 42px; height: 42px; display: grid; place-items: center;
      color: var(--text); background: var(--surface); border-radius: 13px; cursor: pointer;
    }
    .button {
      min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
      padding: 11px 18px; border: 1px solid transparent; border-radius: 12px;
      background: var(--orange); color: #201506; text-decoration: none; font-weight: 800;
      box-shadow: 0 5px 13px rgba(184, 99, 19, .16); transition: transform .15s ease, background .15s ease;
    }
    .button:hover { background: #ff9d3e; color: #201506; transform: translateY(-1px); }
    .button-blue { color: white; background: var(--blue); box-shadow: 0 7px 18px rgba(23, 92, 211, .18); }
    .button-blue:hover { background: #0f4db4; color: white; }
    .button-quiet { color: var(--blue); background: var(--surface); border-color: #cbd9ec; box-shadow: none; }
    .button-quiet:hover { background: var(--blue-soft); color: var(--blue-deep); }
    .hero {
      overflow: hidden; position: relative; padding: 68px 0 58px;
      background: radial-gradient(circle at 86% 20%, rgba(118, 170, 255, .25), transparent 25%),
                  linear-gradient(125deg, #eff6ff 0%, #f8fbff 48%, #eef4ff 100%);
      border-bottom: 1px solid var(--line);
    }
    .hero::after {
      position: absolute; content: ""; width: 310px; height: 310px; right: max(-95px, calc((100vw - var(--content))/2 - 120px)); top: 30px;
      border: 1px solid rgba(23, 92, 211, .12); border-radius: 50%; box-shadow: 0 0 0 34px rgba(23,92,211,.025), 0 0 0 69px rgba(23,92,211,.02);
      pointer-events: none;
    }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); align-items: center; gap: 45px; position: relative; z-index: 1; }
    .eyebrow { color: var(--blue); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
    .status-dot { width: 8px; height: 8px; background: #28a36a; display: inline-block; border-radius: 50%; box-shadow: 0 0 0 4px rgba(40,163,106,.12); }
    h1, h2, h3, p { margin-top: 0; }
    h1 { margin: 15px 0 12px; max-width: 680px; font-size: clamp(2.3rem, 5vw, 3.65rem); line-height: 1.08; letter-spacing: -.055em; }
    .hero-copy { max-width: 610px; color: var(--muted); font-size: 18px; margin-bottom: 26px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-card {
      justify-self: end; width: min(100%, 370px); padding: 24px;
      background: rgba(255,255,255,.86); border: 1px solid rgba(211,224,244,.95); border-radius: 20px;
      box-shadow: var(--shadow); backdrop-filter: blur(8px);
    }
    .hero-card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 17px; }
    .phone-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 14px; }
    .hero-card h2 { font-size: 17px; line-height: 1.3; margin: 0; letter-spacing: -.02em; }
    .hero-card-top p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
    .phone-link { font-size: 25px; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; text-decoration: none; color: var(--text); white-space: nowrap; }
    .phone-link:hover { color: var(--blue); }
    .phone-caption { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
    .trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: #52647d; font-size: 13px; font-weight: 650; }
    .trust-row span { display: inline-flex; align-items: center; gap: 7px; }
    .trust-row svg { color: var(--green); }
    .main { padding: 53px 0 78px; }
    .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
    .section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); letter-spacing: -.04em; line-height: 1.2; margin: 0 0 5px; }
    .section-heading p { color: var(--muted); margin: 0; }
    .count { background: #eaf2ff; color: #234f98; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 750; white-space: nowrap; }
    .search-wrap { position: relative; margin-bottom: 16px; }
    .search-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #71819a; pointer-events: none; }
    .search {
      width: 100%; min-height: 58px; border: 1px solid #d7e1ef; border-radius: 15px; padding: 14px 18px 14px 49px;
      color: var(--text); background: var(--surface); box-shadow: 0 5px 15px rgba(27,58,100,.035); font-size: 16px;
    }
    .search::placeholder { color: #8391a5; }
    .filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 28px; }
    .filter {
      appearance: none; border: 1px solid var(--line); color: #53647b; background: var(--surface); border-radius: 999px;
      padding: 8px 13px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .15s ease;
    }
    .filter:hover { border-color: #9bb8e5; color: var(--blue); }
    .filter[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
    .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 295px; align-items: start; gap: 26px; }
    .faq-list { display: grid; gap: 11px; }
    .faq-item {
      overflow: clip; background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
      transition: border-color .15s ease, box-shadow .15s ease;
    }
    .faq-item[open] { border-color: #b8cbed; box-shadow: 0 7px 20px rgba(23, 61, 115, .055); }
    .faq-item summary {
      list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px minmax(0,1fr) 22px;
      align-items: center; gap: 13px; padding: 16px 18px; font-weight: 750; line-height: 1.4;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #f0f5fb; color: #58708f; font-size: 12px; font-weight: 800; }
    .faq-item:first-child .faq-num { color: #9d4b00; background: #fff3e3; }
    .faq-title-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
    .tag { color: #526c91; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .065em; }
    .chevron { width: 19px; height: 19px; color: #75859b; transition: transform .18s ease; }
    .faq-item[open] .chevron { transform: rotate(180deg); }
    .faq-answer { padding: 0 22px 20px 67px; color: #3d4e66; font-size: 15px; }
    .faq-answer p { margin-bottom: 10px; }
    .faq-answer ol, .faq-answer ul { padding-left: 20px; margin: 7px 0 12px; }
    .faq-answer li { margin: 5px 0; padding-left: 2px; }
    .admin-note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid #80a9e8; background: #f3f7fd; border-radius: 0 10px 10px 0; }
    .admin-note strong { display: block; color: #234f89; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
    .admin-note p { margin: 0; font-size: 14px; }
    .doc-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; margin-top: 3px; }
    .sidebar { position: sticky; top: 98px; display: grid; gap: 14px; }
    .side-card { padding: 21px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
    .side-card h3 { margin: 0 0 7px; font-size: 16px; letter-spacing: -.02em; }
    .side-card > p { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
    .side-card .button { width: 100%; }
    .side-phone { margin-top: 12px; display: block; text-align: center; text-decoration: none; color: var(--blue); font-size: 14px; font-weight: 800; }
    .popular { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
    .popular a { text-decoration: none; font-size: 13px; line-height: 1.4; color: #42546d; display: flex; gap: 9px; align-items: start; }
    .popular a:hover { color: var(--blue); }
    .popular b { color: #8090a5; font-size: 11px; min-width: 20px; }
    .privacy-tip { padding: 13px; border-radius: 12px; background: #f4f8fd; color: #52647c; font-size: 12px; margin-top: 16px; }
    .privacy-tip strong { color: var(--text); }
    .empty { display: none; padding: 28px; background: var(--surface); border: 1px dashed #b9c8dc; border-radius: 16px; text-align: center; color: var(--muted); }
    .empty.show { display: block; }
    .cta-band { margin-top: 48px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 20px; color: white; background: linear-gradient(110deg, #143d7f, #1c5bb3); box-shadow: 0 16px 30px rgba(21, 62, 124, .17); }
    .cta-band h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.025em; }
    .cta-band p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }
    .cta-band .button { flex: 0 0 auto; }
    .footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
    .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
    .footer .brand-mark { width: 34px; height: 34px; }
    .footer .brand-word strong { font-size: 16px; }
    .footer .brand-word span { font-size: 9px; }
    .footer-note { text-align: right; }
    .toast {
      position: fixed; z-index: 50; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); max-width: min(430px, calc(100% - 40px));
      padding: 14px 17px; display: flex; gap: 10px; align-items: flex-start; color: white; background: #142b4d;
      border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 12px 35px rgba(8,24,48,.28);
      opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease;
    }
    .toast.show { opacity: 1; transform: translateY(0); }
    .toast svg { color: #9fc3ff; flex: 0 0 auto; margin-top: 2px; }
    .toast strong { display: block; margin-bottom: 2px; font-size: 14px; }
    .toast span { display: block; color: #d3dfef; font-size: 13px; line-height: 1.45; }
    .hidden { display: none !important; }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        color-scheme: dark;
        --page: #0b1220; --surface: #121c2d; --surface-soft: #172338; --text: #ecf2fb; --muted: #aab7ca;
        --line: #26364d; --blue: #83b4ff; --blue-deep: #b6d3ff; --blue-soft: #1b3153;
        --orange: #ffad5b; --orange-deep: #ffbf7a; --green: #68d5a0; --shadow: 0 14px 38px rgba(0,0,0,.24);
      }
      :root:not([data-theme="light"]) .hero { background: radial-gradient(circle at 86% 20%, rgba(55,106,179,.22), transparent 25%), linear-gradient(125deg, #101e33, #0e1829 52%, #14213a); }
      :root:not([data-theme="light"]) .hero-card { background: rgba(18,28,45,.9); border-color: var(--line); }
      :root:not([data-theme="light"]) .trust-row { color: #b7c4d8; }
      :root:not([data-theme="light"]) .count { background: #1b3153; color: #b6d3ff; }
      :root:not([data-theme="light"]) .filter { color: #c1cde0; background: var(--surface); }
      :root:not([data-theme="light"]) .filter[aria-pressed="true"] { color: #081326; background: #83b4ff; border-color: #83b4ff; }
      :root:not([data-theme="light"]) .faq-num { color: #b8c7dd; background: #1b2b42; }
      :root:not([data-theme="light"]) .faq-item:first-child .faq-num { color: #ffd09b; background: #3d2c1a; }
      :root:not([data-theme="light"]) .faq-answer { color: #c5d0df; }
      :root:not([data-theme="light"]) .admin-note, :root:not([data-theme="light"]) .privacy-tip { background: #18283f; color: #bfcbdb; }
      :root:not([data-theme="light"]) .admin-note strong, :root:not([data-theme="light"]) .privacy-tip strong { color: #d4e4ff; }
      :root:not([data-theme="light"]) .popular a { color: #c7d3e5; }
      :root:not([data-theme="light"]) .search { border-color: var(--line); }
      :root:not([data-theme="light"]) .button { color: #231503; }
      :root:not([data-theme="light"]) .button-blue { color: #07182d; }
      :root:not([data-theme="light"]) .button-quiet { color: #b6d3ff; background: #121c2d; }
      :root:not([data-theme="light"]) .cta-band { background: linear-gradient(110deg, #173660, #1c4f90); }
    }
    :root[data-theme="dark"] {
      color-scheme: dark;
      --page: #0b1220; --surface: #121c2d; --surface-soft: #172338; --text: #ecf2fb; --muted: #aab7ca;
      --line: #26364d; --blue: #83b4ff; --blue-deep: #b6d3ff; --blue-soft: #1b3153;
      --orange: #ffad5b; --orange-deep: #ffbf7a; --green: #68d5a0; --shadow: 0 14px 38px rgba(0,0,0,.24);
    }
    :root[data-theme="dark"] .hero { background: radial-gradient(circle at 86% 20%, rgba(55,106,179,.22), transparent 25%), linear-gradient(125deg, #101e33, #0e1829 52%, #14213a); }
    :root[data-theme="dark"] .hero-card { background: rgba(18,28,45,.9); border-color: var(--line); }
    :root[data-theme="dark"] .trust-row { color: #b7c4d8; }
    :root[data-theme="dark"] .count { background: #1b3153; color: #b6d3ff; }
    :root[data-theme="dark"] .filter { color: #c1cde0; background: var(--surface); }
    :root[data-theme="dark"] .filter[aria-pressed="true"] { color: #081326; background: #83b4ff; border-color: #83b4ff; }
    :root[data-theme="dark"] .faq-num { color: #b8c7dd; background: #1b2b42; }
    :root[data-theme="dark"] .faq-item:first-child .faq-num { color: #ffd09b; background: #3d2c1a; }
    :root[data-theme="dark"] .faq-answer { color: #c5d0df; }
    :root[data-theme="dark"] .admin-note, :root[data-theme="dark"] .privacy-tip { background: #18283f; color: #bfcbdb; }
    :root[data-theme="dark"] .admin-note strong, :root[data-theme="dark"] .privacy-tip strong { color: #d4e4ff; }
    :root[data-theme="dark"] .popular a { color: #c7d3e5; }
    :root[data-theme="dark"] .search { border-color: var(--line); }
    :root[data-theme="dark"] .button { color: #231503; }
    :root[data-theme="dark"] .button-blue { color: #07182d; }
    :root[data-theme="dark"] .button-quiet { color: #b6d3ff; background: #121c2d; }
    :root[data-theme="dark"] .cta-band { background: linear-gradient(110deg, #173660, #1c4f90); }
    @media (max-width: 880px) {
      .hero-grid { grid-template-columns: 1fr; gap: 30px; }
      .hero-card { justify-self: start; }
      .faq-layout { grid-template-columns: 1fr; }
      .sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
      .sidebar .side-card:first-child { grid-row: span 2; }
    }
    @media (max-width: 620px) {
      .container { width: min(var(--content), calc(100% - 30px)); }
      .nav { min-height: 66px; gap: 10px; }
      .brand-mark { width: 39px; height: 39px; }
      .brand-word strong { font-size: 17px; }
      .nav-links { gap: 8px; }
      .nav-links > a:not(.button), .nav-links .button { display: none; }
      .nav-links .icon-button { width: 40px; height: 40px; }
      .hero { padding: 48px 0 40px; }
      h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
      .hero-copy { font-size: 16px; }
      .hero-card { width: 100%; padding: 20px; }
      .phone-link { font-size: 23px; }
      .trust-row { gap: 10px 16px; margin-top: 20px; }
      .main { padding: 38px 0 56px; }
      .section-heading { align-items: start; }
      .section-heading .count { font-size: 11px; }
      .filter-row { flex-wrap: nowrap; overflow-x: auto; padding: 0 2px 7px; margin-right: -15px; scrollbar-width: thin; }
      .filter { white-space: nowrap; }
      .faq-item summary { grid-template-columns: 32px minmax(0,1fr) 18px; gap: 10px; padding: 14px 13px; font-size: 14px; }
      .faq-num { width: 31px; height: 31px; }
      .faq-answer { padding: 0 15px 17px 55px; font-size: 14px; }
      .sidebar { grid-template-columns: 1fr; }
      .sidebar .side-card:first-child { grid-row: auto; }
      .cta-band { padding: 23px; align-items: start; flex-direction: column; }
      .footer-inner { align-items: start; flex-direction: column; }
      .footer-note { text-align: left; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }

/* Shared PHP header controls */
.menu-button{display:none;width:42px;height:42px;place-items:center;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);cursor:pointer}
.mobile-drawer{display:none}
@media(max-width:760px){.menu-button{display:grid}.mobile-drawer.open{display:grid;gap:5px;padding:12px 20px 18px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 16px 40px rgba(20,53,88,.12)}.mobile-drawer a{padding:10px;color:var(--text);font-weight:700;border-radius:10px}.mobile-drawer a:hover{background:var(--surface-2);text-decoration:none}}
