:root {
    --page: #f4f6f9;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --ink: #17202a;
    --muted: #637083;
    --line: #d8dee8;
    --line-strong: #b9c3d2;
    --teal: #0f766e;
    --teal-dark: #0b5d57;
    --blue: #315efb;
    --purple: #645bff;
    --amber: #d97706;
    --red: #dc2626;
    --shadow: 0 18px 48px rgba(23, 32, 42, 0.12);
    --sans: Arial, Helvetica, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

html.theme-dark {
    --page: #0c111d;
    --surface: #111827;
    --surface-soft: #172033;
    --ink: #e6edf7;
    --muted: #96a3b8;
    --line: rgba(148, 163, 184, 0.24);
    --line-strong: rgba(148, 163, 184, 0.42);
    --teal: #2dd4bf;
    --teal-dark: #5eead4;
    --blue: #60a5fa;
    --amber: #f59e0b;
    --red: #f87171;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(49, 94, 251, 0.08), transparent 32%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 249, 0.98)),
        var(--page);
    font-family: var(--sans);
    letter-spacing: 0;
}

html.theme-dark body {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(12, 17, 29, 0.96), rgba(15, 23, 42, 0.98)),
        var(--page);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(49, 94, 251, 0.42);
    outline-offset: 3px;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #cacccc 0%, #d8dada 55%, #eef0f0 100%);
    backdrop-filter: blur(16px);
}

html.theme-dark .app-header {
    background: rgba(15, 23, 42, 0.92);
}

.header-inner {
    width: min(1480px, 100%);
    min-height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}
.brand-logo {
    display: block;
    width: auto;
    height: 40px;
    flex: 0 0 auto;
    aspect-ratio: 360 / 88;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 12px 26px rgba(49, 94, 251, 0.22);
    font-family: var(--mono);
    font-size: 0.86rem;
}

.brand-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-trigger {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.open > .nav-trigger,
.nav-link[aria-current="page"] {
    color: var(--ink);
    background: var(--surface-soft);
    border-color: var(--line);
}

.nav-link[aria-current="page"] {
    color: var(--teal-dark);
}

.nav-trigger i {
    font-size: 0.72rem;
    transition: transform 0.18s ease;
}

.nav-item.open .nav-trigger i,
.nav-item:hover .nav-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 60;
    min-width: 260px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(23, 32, 42, 0.16);
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

html.theme-dark .dropdown-menu {
    background: rgba(17, 24, 39, 0.98);
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dropdown-menu a::after {
    content: "\f105";
    color: var(--muted);
    font-family: "Font Awesome 6 Free";
    font-size: 0.72rem;
    font-weight: 900;
}

.dropdown-menu a:hover {
    color: var(--teal-dark);
    background: var(--surface-soft);
    transform: translateX(3px);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}

.header-search {
    min-width: 230px;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.header-search input {
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 0 11px;
    color: var(--ink);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
}

.search-submit,
.theme-toggle,
.menu-toggle {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: var(--surface);
    font-weight: 800;
}

.search-submit {
    width: 40px;
    padding: 0;
    color: var(--muted);
    border-color: transparent;
    background: transparent;
}

.search-submit:hover {
    color: var(--ink);
    background: var(--surface-soft);
}

.theme-toggle {
    padding: 0 12px;
    color: var(--teal-dark);
    background: #ecfdf5;
    border-color: #bce7d4;
}

html.theme-dark .theme-toggle {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.32);
}

.menu-toggle {
    width: 42px;
    padding: 0;
    position: relative;
    display: none;
}

.menu-toggle span {
    position: absolute;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
}

main {
    min-height: 60vh;
}

.page-hero {
    min-height: 430px;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 15%, rgba(45, 212, 191, 0.22), transparent 22%),
        radial-gradient(circle at 86% 18%, rgba(96, 165, 250, 0.18), transparent 20%),
        linear-gradient(90deg, rgba(12, 17, 29, 0.94), rgba(12, 17, 29, 0.68)),
        url("../img/bg.jpg") center / cover;
}

.page-hero__inner {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 34px 22px;
    position: relative;
}

.page-hero__inner::before {
    content: "";
    position: absolute;
    inset: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(7, 12, 23, 0.72), rgba(7, 12, 23, 0.38));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.page-hero__inner > * {
    max-width: 960px;
    position: relative;
    z-index: 1;
    padding-left: 38px;
    padding-right: 38px;
}

.eyebrow {
    margin: 38px 0 12px;
    color: #b7fff3;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.page-hero h1 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(2.7rem, 4vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero-copy {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-pill {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    font-size: 0.88rem;
    font-weight: 800;
}

.stats-strip {
    width: min(1480px, calc(100% - 44px));
    margin: -32px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    overflow: hidden;
}

html.theme-dark .stats-strip {
    background: rgba(17, 24, 39, 0.96);
}

.stat {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 18px;
    border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    font-family: var(--mono);
    font-size: 1.35rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.page-section {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 72px 22px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
}

.section-heading h2,
.split-copy h2,
.cta-panel h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.5vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-heading p,
.split-copy p,
.cta-panel p {
    margin: 8px 0 0;
    max-width: 680px;
    color: var(--muted);
    line-height: 1.7;
}

.section-heading .eyebrow,
.split-copy .eyebrow,
.policy-content .eyebrow {
    margin: 0 0 8px;
    color: var(--teal-dark);
    line-height: 1.2;
}

.section-link,
.secondary-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--teal-dark);
    background: var(--surface);
    font-weight: 900;
}

.feature-grid,
.values-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.info-card,
.value-card,
.workflow-step,
.contact-method,
.Contact-method,
.form-panel,
.policy-content,
.policy-nav,
.notice-bar {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 34px rgba(23, 32, 42, 0.08);
}

html.theme-dark .info-card,
html.theme-dark .value-card,
html.theme-dark .workflow-step,
html.theme-dark .contact-method,
html.theme-dark .Contact-method,
html.theme-dark .form-panel,
html.theme-dark .policy-content,
html.theme-dark .policy-nav,
html.theme-dark .notice-bar {
    background: rgba(17, 24, 39, 0.88);
}

.info-card,
.value-card {
    min-height: 196px;
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 14px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.info-card:hover,
.value-card:hover,
.contact-method:hover,
.Contact-method:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-icon,
.method-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.info-card:nth-child(2) .card-icon,
.value-card:nth-child(2) .card-icon,
.contact-method:nth-child(2) .method-icon,
.Contact-method:nth-child(2) .method-icon {
    background: linear-gradient(135deg, var(--purple), var(--blue));
}

.info-card:nth-child(3) .card-icon,
.value-card:nth-child(3) .card-icon,
.contact-method:nth-child(3) .method-icon,
.Contact-method:nth-child(3) .method-icon {
    background: linear-gradient(135deg, var(--amber), var(--red));
}

.method-icon i {
    color: #ffffff;
    font-size: 1rem;
}

.info-card h3,
.value-card h3,
.workflow-step h3,
.contact-method h3,
.Contact-method h3,
.faq-item h3 {
    margin: 0;
    font-size: 1.05rem;
}

.info-card p,
.value-card p,
.workflow-step p,
.contact-method p,
.Contact-method p,
.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.94rem;
}

.split-band {
    margin-top: 72px;
    padding: 64px 0;
    background:
        radial-gradient(circle at top right, rgba(49, 94, 251, 0.1), transparent 22%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.09), rgba(49, 94, 251, 0.08)),
        var(--surface-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split-inner {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
}

.workflow-list {
    display: grid;
    gap: 12px;
}

.workflow-step {
    min-height: 112px;
    padding: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.workflow-step span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--teal);
    font-family: var(--mono);
    font-weight: 900;
}

.workflow-step div {
    display: grid;
    gap: 6px;
}

.cta-band {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 72px 22px;
}

.cta-panel {
    min-height: 210px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(49, 94, 251, 0.86)),
        #0f766e;
    box-shadow: var(--shadow);
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.primary-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--teal);
    font-weight: 900;
}

.cta-panel .primary-button {
    color: #17202a;
    background: #ffffff;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.form-panel {
    padding: 26px;
}

.form-panel h2,
.contact-aside h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.form-panel > p,
.contact-aside > p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ink);
    background: var(--surface);
    outline: none;
    font-weight: 700;
}

.form-field textarea {
    min-height: 146px;
    resize: vertical;
    padding-top: 12px;
    line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.form-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.form-status {
    min-height: 20px;
    margin: 0;
    color: var(--teal-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-aside {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 92px;
    align-self: start;
}

.contact-method,
.Contact-method {
    padding: 20px;
    display: grid;
    gap: 12px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    border-left: 4px solid rgba(15, 118, 110, 0.32);
}

.contact-method a,
.Contact-method a {
    color: var(--teal-dark);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.faq-item p {
    margin-top: 8px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.policy-nav {
    position: sticky;
    top: 92px;
    padding: 16px;
    display: grid;
    gap: 6px;
}

.policy-nav strong {
    margin: 0 0 4px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.policy-nav a {
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.policy-nav a:hover {
    color: var(--teal-dark);
    background: var(--surface-soft);
}

.policy-content {
    padding: 28px;
}

.policy-section {
    padding: 24px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.policy-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.policy-section h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.policy-section p,
.policy-section li {
    color: var(--muted);
    line-height: 1.75;
}

.policy-content a {
    color: var(--teal-dark);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.policy-section p {
    margin: 0 0 12px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section ul {
    margin: 0;
    padding-left: 20px;
}

.notice-bar {
    margin-bottom: 18px;
    padding: 18px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.07), rgba(49, 94, 251, 0.05)), rgba(255, 255, 255, 0.9);
}

.notice-bar i {
    color: var(--teal-dark);
    margin-top: 2px;
}

.notice-bar p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.site-footer {
    color: #ffffff;
    background: linear-gradient(135deg, #0f3bff 0%, #1e5eff 52%, #0ea5e9 100%);
    margin-top: 0;
}

.site-footer__inner {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 48px 22px 34px;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.5fr) minmax(220px, 0.7fr);
    gap: 28px;
}

.site-footer__brand {
    display: grid;
    gap: 14px;
    align-content: start;
}

.site-footer__logo img {
    width: 217px;
    height: auto;
    aspect-ratio: 360 / 88;
}

.site-footer__brand p,
.site-footer__social p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.site-footer__brand p {
    margin-top: 10px;
}

.site-footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.site-footer__group h4,
.site-footer__social h4 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.95rem;
}

.site-footer__group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.site-footer__group a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 700;
}

.site-footer__group a:hover,
.site-footer__mail:hover {
    color: #ffffff;
}

.site-footer__social {
    display: grid;
    align-content: start;
    gap: 14px;
}

.site-footer__social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__social-row a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__social-row a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 1120px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 18px;
    }

    .menu-toggle {
        display: inline-flex;
        order: 3;
    }

    .primary-nav {
        width: auto;
        position: absolute;
        top: calc(100% + 1px);
        left: 18px;
        right: 18px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-width: calc(100vw - 36px);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-sizing: border-box;
    }

    html.theme-dark .primary-nav {
        background: rgba(17, 24, 39, 0.98);
    }

    .primary-nav.open {
        display: flex;
    }

    .nav-link,
    .nav-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .nav-item:hover .dropdown-menu {
        display: none;
    }

    .nav-item.open .dropdown-menu {
        display: grid;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        margin: 4px 0 6px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        max-width: 100%;
    }

    .header-actions {
        margin-left: auto;
        min-height: 40px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-hero h1 {
        font-size: 3rem;
    }

    .stats-strip,
    .feature-grid,
    .values-grid,
    .faq-grid,
    .contact-layout,
    .policy-layout {
        grid-template-columns: 1fr 1fr;
    }

    .split-inner {
        grid-template-columns: 1fr;
    }

    .policy-nav {
        position: static;
    }

    .policy-content {
        grid-column: 1 / -1;
    }

    .site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-nav {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 88px);
    }
}

@media (max-width: 700px) {
    .header-search {
        display: none;
    }

    .brand-copy span {
        display: none;
    }

    .header-actions {
        width: 100%;
        min-height: 86px;
        align-content: flex-start;
    }

    .primary-nav {
        left: 12px;
        right: 12px;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 80px);
    }

    .page-hero {
        min-height: 390px;
    }

    .page-hero__inner {
        padding: 62px 18px 58px;
    }

    .page-hero h1 {
        font-size: 2.45rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .stats-strip,
    .feature-grid,
    .values-grid,
    .faq-grid,
    .contact-layout,
    .policy-layout,
    .form-grid,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .section-heading h2,
    .split-copy h2,
    .cta-panel h2 {
        font-size: 1.8rem;
    }

    .page-section {
        padding-top: 56px;
    }

    .split-band {
        margin-top: 56px;
        padding: 52px 0;
    }

    .cta-band {
        padding: 56px 18px;
    }

    .cta-panel {
        padding: 22px;
    }

    .page-hero__inner::before {
        inset: 12px 12px;
        border-radius: 24px;
    }

    .page-hero__inner > * {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 10px;
        padding-inline: 14px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .theme-toggle {
        width: 40px;
        padding: 0;
    }

    .theme-toggle span {
        display: none;
    }

    .stats-strip {
        width: calc(100% - 28px);
    }

    .site-footer__links {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        justify-content: flex-start;
    }

    .eyebrow {
        margin-top: 26px;
    }
}
