:root {
    --navy: #0e1828;
    --navy-2: #14243a;
    --charcoal: #20242a;
    --ink: #182230;
    --muted: #647084;
    --line: #dce3eb;
    --paper: #f3f6f8;
    --white: #fff;
    --accent: #c94526;
    --accent-2: #e37a2f;
    --steel: #edf2f6;
    --shadow: 0 18px 44px rgba(14, 24, 40, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.62; }
a { color: #0b5c84; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px; }
.skip-link:focus { left: 8px; z-index: 30; }

.site-header { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; box-shadow: 0 8px 28px rgba(14, 24, 40, .06); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 250px; color: var(--navy); text-decoration: none; }
.brand img { display: block; width: 126px; max-height: 48px; object-fit: contain; object-position: left center; }
.brand span { display: grid; gap: 1px; border-left: 1px solid var(--line); padding-left: 13px; }
.brand strong { font-size: 18px; line-height: 1; letter-spacing: .2px; }
.brand small { color: var(--muted); font-size: 12px; line-height: 1.2; }
.nav-toggle { display: none; }
.menu-button { display: none; }
.primary-nav { min-width: 0; justify-self: end; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
.primary-nav a { display: block; color: var(--navy); font-size: 14px; font-weight: 700; padding: 10px 9px; border-radius: 4px; white-space: nowrap; }
.primary-nav a:hover { background: var(--steel); text-decoration: none; }
.header-cta,
.button,
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border-radius: 4px; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; border: 0; line-height: 1.2; box-shadow: none; }
.header-cta { white-space: nowrap; background: var(--accent); font-size: 14px; }
.button-accent,
.wp-block-button__link { background: var(--accent); }
.button:hover,
.header-cta:hover,
.wp-block-button__link:hover { filter: brightness(.96); text-decoration: none; color: #fff; }

.hero-band { background: radial-gradient(circle at top right, rgba(227,122,47,.2), transparent 34%), linear-gradient(135deg, var(--navy), var(--charcoal)); color: #fff; padding: 72px 0 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 42px; align-items: center; }
.hero-band h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.03; margin: 0 0 18px; max-width: 880px; }
.hero-band p { font-size: 18px; color: #e9eff5; max-width: 780px; }
.hero-band h2 { color: #fff; }
.hero-band .wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-band .wp-block-button:not(:first-child) .wp-block-button__link { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.hero-panel { background: #fff; color: var(--ink); border-top: 5px solid var(--accent-2); padding: 28px; border-radius: 6px; box-shadow: 0 22px 46px rgba(0,0,0,.2); }
.hero-panel h2 { color: var(--navy); margin: 6px 0 10px; font-size: 26px; }
.hero-panel p { color: var(--muted); font-size: 16px; }
.panel-kicker { display: block; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

.page-shell { padding: 54px 0; }
.narrow { width: min(960px, 92vw); }
.content-panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(26px, 4.4vw, 52px); box-shadow: 0 12px 32px rgba(14, 24, 40, .06); }
.content-panel > h1:first-child,
.content-panel h1:first-child { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; margin: 0 0 18px; color: var(--navy); }
.content-panel h2 { margin-top: 40px; color: var(--navy); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.content-panel h3 { color: var(--navy-2); margin-bottom: 8px; }
.content-panel p { color: #334155; }
.content-panel > p:first-of-type { font-size: 18px; color: #475569; }
.wp-block-columns { gap: 18px; margin: 26px 0; }
.wp-block-column { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 6px; padding: 22px; background: #fff; box-shadow: 0 10px 24px rgba(14, 24, 40, .06); }
.wp-block-column p:last-child { margin-bottom: 0; }
.wp-block-group,
.info-panel { background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; padding: 22px; margin: 24px 0; }
.wp-block-group.has-background { padding: 22px; }

.guide-page .content-panel { position: relative; overflow: hidden; }
.guide-page .content-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.related-guidance { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-top: 22px; box-shadow: 0 10px 28px rgba(14,24,40,.06); }
.related-guidance h2 { margin: 0 0 16px; color: var(--navy); font-size: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-grid a { display: block; background: var(--steel); color: var(--navy); font-weight: 800; border-radius: 4px; padding: 14px; min-height: 74px; }
.related-grid a:hover { background: #e3ebf3; text-decoration: none; }

.page-disclaimer,
.site-disclaimer { font-size: 14px; color: #4b5563; background: #f6f8fb; border: 1px solid var(--line); border-left: 5px solid var(--accent-2); padding: 16px; margin: 26px 0; border-radius: 4px; }
.en1366-cta-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; background: linear-gradient(135deg, var(--navy), #26374e); color: #fff; padding: 28px; border-radius: 6px; margin: 34px 0; box-shadow: var(--shadow); }
.en1366-cta-block h2 { margin: 0 0 8px; color: #fff; font-size: 26px; }
.en1366-cta-block p { margin: 0; color: #edf2f6; }

.en1366-review-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.en1366-review-form label { display: grid; gap: 6px; font-weight: 800; color: var(--navy); }
.en1366-review-form input,
.en1366-review-form textarea,
.en1366-review-form select { width: 100%; border: 1px solid #cbd3dc; border-radius: 4px; padding: 12px; font: inherit; background: #fff; }
.en1366-review-form input:focus,
.en1366-review-form textarea:focus,
.en1366-review-form select:focus { outline: 3px solid rgba(201,69,38,.18); border-color: var(--accent); }
.en1366-hp { position: absolute; left: -9999px; }
.form-success { background: #e7f5ee; border-left: 4px solid #237a4b; padding: 14px; }
.form-error { background: #fff0ed; border-left: 4px solid var(--accent); padding: 14px; }

.site-footer { background: #171b22; color: #e7edf4; padding: 50px 0 22px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .95fr .9fr; gap: 30px; align-items: start; }
.footer-brand img { width: 210px; max-height: 74px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.footer-grid h2 { font-size: 16px; color: #fff; margin: 0 0 12px; }
.footer-grid p { color: #cfd7df; margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 30px; padding-top: 18px; }
.footer-bottom .site-disclaimer { background: transparent; border-color: rgba(255,255,255,.16); border-left-color: var(--accent-2); color: #cfd7df; margin: 0; }

@media (max-width: 1080px) {
    .header-inner { grid-template-columns: auto auto; }
    .menu-button { display: inline-flex; align-items: center; justify-content: center; justify-self: end; min-height: 42px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); font-weight: 800; cursor: pointer; }
    .primary-nav { display: none; grid-column: 1 / -1; justify-self: stretch; border-top: 1px solid var(--line); padding-top: 12px; }
    .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .primary-nav a { background: var(--steel); }
    .nav-toggle:checked ~ .primary-nav { display: block; }
    .header-cta { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 900px) {
    .hero-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid { grid-template-columns: 1fr; }
    .en1366-cta-block { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1180px); }
    .brand { min-width: 0; }
    .brand img { width: 104px; }
    .brand span { padding-left: 10px; }
    .brand strong { font-size: 16px; }
    .brand small { font-size: 11px; }
    .hero-band { padding: 46px 0; }
    .hero-band h1 { font-size: 36px; }
    .primary-nav ul,
    .related-grid { grid-template-columns: 1fr; }
    .content-panel { padding: 22px; }
}
