:root {
    --brand: #183153;
    --accent: #f28c28;
    --ink: #172033;
    --muted: #5d6778;
    --line: #dfe4ea;
    --surface: #f6f8fa;
    --warm: #fff7ed;
    --white: #fff;
    --radius: 16px;
    --shadow: 0 14px 40px rgba(19, 39, 65, .09);
    --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--brand); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h2 { margin-top: 1.8em; font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { margin-top: 1.35em; font-size: 1.25rem; }
p { margin: 0 0 1.15em; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 99; top: -100px; left: 20px; padding: 10px 16px; color: var(--white); background: var(--brand); }
.skip-link:focus { top: 10px; }

.utility-bar { color: #dce6f0; background: #10243f; font-size: .78rem; }
.utility-bar__inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.utility-bar a { color: inherit; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 105px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--brand); text-decoration: none; }
.brand:hover { color: var(--brand); }
.brand__mark { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50% 50% 50% 14px; color: var(--white); background: var(--accent); font-size: 1.55rem; font-weight: 900; }
.brand__logo { display: block; width: auto; max-width: 220px; height: 52px; object-fit: contain; }
.brand__logo--footer { max-width: 180px; height: 40px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.15; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .025em; }

.menu-toggle { display: none; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--brand); background: var(--white); font: inherit; font-weight: 700; }
.primary-navigation { color: var(--white); background: var(--brand); box-shadow: 0 4px 12px rgba(14, 35, 62, .12); }
.primary-navigation ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { display: block; padding: 15px 18px; color: inherit; font-size: .92rem; font-weight: 750; text-decoration: none; }
.primary-navigation a:hover, .primary-navigation a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .13); }

.page-shell { padding-block: 48px 78px; }
.page-shell--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 54px; align-items: start; }
.main-column { min-width: 0; }
.main-column > :first-child { margin-top: 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 42px; align-items: center; margin: 2px 0 70px; padding: clamp(30px, 5vw, 60px); overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, #f4f7fb, #fff5e7); box-shadow: var(--shadow); }
.hero h1 { max-width: 12ch; }
.hero__text { max-width: 55ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero__visual img { border-radius: 20px; }
.eyebrow { margin-bottom: 10px; color: var(--accent); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 2px solid var(--accent); border-radius: 9px; color: #172033; background: var(--accent); font-weight: 800; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { color: #172033; transform: translateY(-1px); box-shadow: 0 7px 18px rgba(242, 140, 40, .24); }
.button--small { min-height: 40px; padding: 8px 14px; font-size: .88rem; }

.section-block { margin-block: 60px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.content-card { display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgba(18, 42, 69, .055); }
.content-card h3 { margin-top: 0; }
.content-card h3 a { text-decoration: none; }
.content-card__label { margin-bottom: 9px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.content-card .text-link { margin-top: auto; font-size: .9rem; font-weight: 800; }

.product-section { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--surface); }
.product-section > h2 { margin-top: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.product-card h3 { margin-top: 8px; font-size: 1.05rem; }
.product-card__badge { display: inline-block; padding: 3px 8px; border-radius: 99px; color: var(--white); background: var(--brand); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.product-card__price { color: var(--brand); font-size: 1.25rem; font-weight: 900; }
.product-card small { display: block; margin-top: 10px; color: var(--muted); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: inherit; }
.page-intro, .article-header { max-width: 820px; margin-bottom: 46px; }
.page-intro h1, .article-header h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.lead { color: #465367; font-size: clamp(1.08rem, 2vw, 1.27rem); line-height: 1.55; }
.article-meta { display: flex; gap: 9px; margin-top: 20px; color: var(--muted); font-size: .8rem; }
.prose { max-width: 780px; }
.prose p, article > .prose p { margin-bottom: 1.25em; }
.prose a { font-weight: 650; }
.content-list { max-width: 780px; padding-left: 1.4em; }
.content-list li { margin-bottom: .55em; padding-left: .3em; }

.callout { max-width: 800px; margin-block: 34px; padding: 24px 26px; border-left: 5px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--warm); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--warning { border-color: #c95345; background: #fff2f0; }

.table-scroll { max-width: 100%; margin-block: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--brand); }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--surface); }

.faq { max-width: 800px; margin-top: 60px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 17px 35px 17px 0; color: var(--brand); font-weight: 800; cursor: pointer; }
.faq details p { padding: 0 25px 18px 0; }
.content-image { max-width: 800px; margin: 38px 0; }
.content-image img { width: 100%; border-radius: 15px; }
.content-image figcaption { margin-top: 8px; color: var(--muted); font-size: .78rem; }
blockquote { max-width: 760px; margin: 38px 0; padding: 8px 0 8px 28px; border-left: 5px solid var(--accent); color: var(--brand); font-size: 1.25rem; font-weight: 700; }
blockquote cite { display: block; margin-top: 12px; color: var(--muted); font-size: .75rem; font-style: normal; font-weight: 500; }

.sidebar { position: sticky; top: 25px; display: grid; gap: 22px; }
.sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sidebar-card h2 { margin-top: 0; font-size: 1.3rem; }
.sidebar-card--accent { border: 0; background: linear-gradient(145deg, #eff4fa, #fff4e6); box-shadow: var(--shadow); }
.sidebar-card--notice { color: var(--muted); background: var(--surface); font-size: .78rem; }
.sidebar-card--notice p { margin: 7px 0 0; }
.sidebar-links { margin: 0; padding: 0; list-style: none; }
.sidebar-links li + li { border-top: 1px solid var(--line); }
.sidebar-links a { display: block; padding: 11px 0; font-size: .88rem; font-weight: 750; line-height: 1.35; text-decoration: none; }

.error-page { max-width: 700px; padding: 70px 0 100px; }
.site-footer { color: #d7e1ec; background: #10243f; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; padding-block: 58px; }
.site-footer__grid > div { max-width: 580px; }
.site-footer h2 { margin-top: 0; color: var(--white); font-size: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: inherit; }
.site-footer__bottom { padding-block: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.brand--footer { margin-bottom: 18px; color: var(--white); }
.brand--footer:hover { color: var(--white); }
.brand--footer .brand__mark { width: 40px; height: 40px; font-size: 1.1rem; }

@media (max-width: 940px) {
    .page-shell--sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .sidebar-card--notice { grid-column: 1 / -1; }
    .hero { grid-template-columns: 1fr; }
    .hero__visual { max-width: 600px; }
    .card-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .utility-bar__inner span { display: none; }
    .utility-bar__inner { justify-content: flex-end; }
    .masthead { min-height: 82px; }
    .brand small { display: none; }
    .brand__mark { width: 43px; height: 43px; }
    .menu-toggle { display: inline-flex; align-items: center; gap: 7px; }
    .primary-navigation { display: none; }
    .primary-navigation.is-open { display: block; }
    .primary-navigation ul { display: block; padding-block: 7px; }
    .primary-navigation a { padding: 11px 7px; }
    .page-shell { padding-block: 30px 58px; }
    .hero { gap: 25px; margin-bottom: 45px; padding: 27px 22px; }
    .card-grid, .product-grid, .sidebar, .site-footer__grid { grid-template-columns: 1fr; }
    .sidebar-card--notice { grid-column: auto; }
    .site-footer__grid { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

