:root {
    --ink-950: #071523;
    --ink-900: #0b1e2f;
    --ink-800: #133047;
    --ink-700: #25445b;
    --ink-600: #496277;
    --paper: #fffdf8;
    --paper-deep: #f3f0e8;
    --white: #ffffff;
    --teal-700: #006d6a;
    --teal-600: #008883;
    --teal-300: #82d9d1;
    --teal-100: #dff6f2;
    --blue-700: #164f87;
    --blue-100: #e8f1fb;
    --amber-700: #8c5700;
    --amber-100: #fff1cc;
    --red-700: #9a2f2f;
    --red-100: #fff0ec;
    --border: #d9e0e2;
    --shadow: 0 18px 50px rgba(7, 21, 35, 0.11);
    --shadow-soft: 0 8px 24px rgba(7, 21, 35, 0.07);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;
    --container: 1180px;
    --narrow: 820px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    color: var(--ink-900);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal-700);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--ink-950);
}

button,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #f1b84b;
    outline-offset: 4px;
    border-radius: 3px;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink-950);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(1.85rem, 3.4vw, 3rem);
}

h3 {
    font-size: 1.22rem;
}

code {
    padding: 0.14em 0.38em;
    border: 1px solid #d7e1e5;
    border-radius: 5px;
    color: #173a51;
    background: #eef4f5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    word-break: break-all;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.container.narrow,
.narrow {
    width: min(calc(100% - 40px), var(--narrow));
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink-950);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.notice-bar {
    padding: 8px 20px;
    color: #caeee9;
    background: var(--ink-950);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(7, 21, 35, 0.1);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(15px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 11px;
    color: var(--ink-950);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink-950);
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px 7px 14px 7px;
    color: var(--white);
    background: linear-gradient(145deg, #dc3656, #8f1d36);
    box-shadow: 0 8px 22px rgba(143, 29, 54, 0.28);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 1.15rem;
    letter-spacing: 0.03em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-600);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.site-nav a {
    padding: 10px 13px;
    border-radius: 9px;
    color: var(--ink-700);
    font-size: 0.91rem;
    font-weight: 750;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink-950);
    background: var(--teal-100);
}

.mobile-nav {
    display: none;
    position: relative;
}

.mobile-nav summary {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 40px));
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.mobile-nav nav a {
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--ink-800);
    font-weight: 750;
    text-decoration: none;
}

.mobile-nav nav a[aria-current="page"] {
    background: var(--teal-100);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 9vw, 116px) 0 84px;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 15%, rgba(27, 174, 167, 0.24), transparent 28%),
        radial-gradient(circle at 95% 78%, rgba(47, 113, 178, 0.28), transparent 31%),
        var(--ink-950);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
    align-items: center;
    gap: clamp(44px, 7vw, 88px);
}

.eyebrow {
    margin-bottom: 13px;
    color: var(--teal-600);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--teal-300);
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(2.7rem, 5.7vw, 5.15rem);
}

.hero-lead {
    max-width: 720px;
    margin-bottom: 30px;
    color: #d3e1e9;
    font-size: clamp(1.05rem, 1.7vw, 1.26rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.3;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink-950);
    background: #69d2c8;
    box-shadow: 0 10px 28px rgba(55, 202, 190, 0.22);
}

.button-primary:hover {
    color: var(--ink-950);
    background: #8be0d8;
}

.button-red {
    border-color: #e24a64;
    color: var(--white);
    background: linear-gradient(145deg, #e03757, #a51f3d);
    box-shadow: 0 10px 28px rgba(203, 36, 70, 0.32);
}

.button-red:hover {
    border-color: #f0647d;
    color: var(--white);
    background: linear-gradient(145deg, #ee4c69, #bd294a);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.27);
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.button-secondary:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.hero-link-note {
    max-width: 660px;
    margin: -18px 0 26px;
    color: #a9c2ce;
    font-size: 0.76rem;
    line-height: 1.6;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    padding: 0;
    margin: 30px 0 0;
    color: #b9ccd6;
    font-size: 0.83rem;
    font-weight: 700;
    list-style: none;
}

.hero-points li::before {
    content: "✓";
    margin-right: 7px;
    color: var(--teal-300);
}

.hero-visual {
    position: relative;
    margin: 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -22px;
    border-radius: 40px;
    background: rgba(81, 202, 192, 0.1);
    transform: rotate(3deg);
}

.hero-visual img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero-visual figcaption {
    margin-top: 12px;
    color: #9fb6c4;
    font-size: 0.77rem;
    text-align: center;
}

.section {
    padding: clamp(74px, 10vw, 126px) 0;
}

.section.compact-top {
    padding-top: 64px;
}

.section-alt {
    background: var(--paper-deep);
}

.section-intro {
    background: linear-gradient(to bottom, #f7f5ef, var(--paper));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin-bottom: 16px;
}

.section-heading > p:last-child {
    color: var(--ink-600);
    font-size: 1.05rem;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    position: relative;
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: var(--teal-600);
}

.info-card.accent-blue::before {
    background: var(--blue-700);
}

.info-card.accent-amber::before {
    background: #d9941b;
}

.card-number {
    margin-bottom: 28px;
    color: var(--teal-700);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.info-card h3 {
    margin-bottom: 13px;
    font-size: 1.45rem;
}

.info-card p {
    color: var(--ink-600);
}

.info-card .text-link {
    margin-top: auto;
}

.text-link {
    color: var(--teal-700);
    font-weight: 850;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    align-items: center;
    gap: clamp(45px, 8vw, 100px);
}

.large-copy {
    color: var(--ink-700);
    font-size: 1.14rem;
}

.comparison-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.comparison-card section {
    padding: 30px;
}

.comparison-card section + section {
    border-left: 1px solid var(--border);
    background: #fff9ee;
}

.comparison-card h3 {
    margin-bottom: 22px;
}

.check-list {
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 27px;
    margin: 10px 0;
}

.check-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 900;
}

.check-list.positive li::before {
    content: "✓";
    color: var(--teal-700);
}

.check-list.caution li::before {
    content: "!";
    display: grid;
    top: 0.36em;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--amber-700);
    font-size: 0.67rem;
    line-height: 1;
}

.steps {
    padding: 0;
    margin: 34px 0;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.steps li > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: var(--ink-900);
    font-size: 0.86rem;
    font-weight: 900;
}

.steps h3 {
    margin-bottom: 6px;
}

.steps p {
    margin-bottom: 0;
    color: var(--ink-600);
}

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

.steps-horizontal li {
    display: block;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
}

.steps-horizontal li > span {
    margin-bottom: 24px;
}

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: clamp(25px, 4vw, 42px);
    margin-top: 42px;
    border-radius: var(--radius-lg);
    color: #d8e8ee;
    background: var(--ink-900);
    box-shadow: var(--shadow);
}

.callout h3 {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 1.45rem;
}

.callout p {
    max-width: 700px;
    margin: 0;
}

.callout .button {
    flex: 0 0 auto;
}

.contextual-external-cta {
    margin-top: 38px;
}

.contextual-external-cta p {
    max-width: 760px;
}

.callout > .hero-actions {
    flex: 0 0 auto;
    margin: 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.proof-card {
    min-height: 220px;
    padding: 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.56);
}

.proof-card h3 {
    margin-bottom: 15px;
}

.proof-card p {
    margin: 0;
    color: var(--ink-600);
    font-size: 0.94rem;
}

.center-link {
    margin: 32px 0 0;
    text-align: center;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    position: relative;
    padding: 24px 45px 24px 0;
    color: var(--ink-950);
    font-size: 1.06rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 4px;
    color: var(--teal-700);
    font-size: 1.55rem;
    font-weight: 500;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    padding: 0 50px 24px 0;
    margin: 0;
    color: var(--ink-600);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 92px) 0 clamp(62px, 9vw, 104px);
    color: var(--white);
    background:
        radial-gradient(circle at 82% 15%, rgba(0, 136, 131, 0.25), transparent 34%),
        linear-gradient(145deg, var(--ink-950), #112c42);
}

.page-hero::after {
    content: "레드코리아";
    position: absolute;
    right: 4vw;
    bottom: -0.4em;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(8rem, 25vw, 20rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: #93aebb;
    font-size: 0.78rem;
}

.breadcrumbs a {
    color: #bad0da;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.page-lead {
    max-width: 760px;
    margin-bottom: 22px;
    color: #cbdce4;
    font-size: 1.12rem;
}

.page-meta {
    margin: 0;
    color: #8fa9b6;
    font-size: 0.8rem;
    font-weight: 700;
}

.content-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: clamp(45px, 7vw, 90px);
}

.toc {
    position: sticky;
    top: 110px;
    display: grid;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    gap: 3px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.toc h2 {
    margin: 0 0 10px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.toc a {
    padding: 7px 9px;
    border-radius: 6px;
    color: var(--ink-600);
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.toc a:hover {
    color: var(--ink-950);
    background: var(--teal-100);
}

.prose {
    min-width: 0;
}

.prose > section {
    padding-bottom: 64px;
    margin-bottom: 64px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.prose > section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.prose h2 {
    margin-bottom: 22px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.prose h3 {
    margin-top: 28px;
}

.prose p,
.prose li {
    color: var(--ink-700);
}

.prose p {
    margin-bottom: 1.25em;
}

.prose li + li {
    margin-top: 8px;
}

.prose a:not(.button):not(.resource-card a):not(.tool-links a) {
    font-weight: 700;
}

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

.note-grid article {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}

.note-grid h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.note-grid p {
    margin: 0;
    font-size: 0.9rem;
}

.warning {
    display: block;
    padding: 20px 22px;
    margin: 28px 0;
    border: 1px solid #edd59b;
    border-left: 5px solid #d9941b;
    border-radius: 7px 13px 13px 7px;
    color: #654815;
    background: var(--amber-100);
    font-size: 0.92rem;
}

.warning a {
    color: #624000;
}

.directory-section {
    scroll-margin-top: 110px;
}

.directory-heading {
    margin-bottom: 25px;
}

.directory-heading h2 {
    margin-bottom: 10px;
}

.directory-heading p {
    max-width: 790px;
    margin-bottom: 0;
}

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

.resource-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 4px 18px rgba(7, 21, 35, 0.05);
}

.resource-top {
    margin-bottom: 15px;
}

.resource-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.resource-domain {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 5px;
    color: var(--blue-700);
    background: var(--blue-100);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.71rem;
    font-weight: 750;
    word-break: break-all;
}

.resource-card p {
    margin-bottom: 20px;
    color: var(--ink-600);
    font-size: 0.88rem;
    line-height: 1.65;
}

.resource-card > a {
    margin-top: auto;
    color: var(--teal-700);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
}

.resource-card > a:hover {
    text-decoration: underline;
}

.comparison-table {
    max-width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}

th,
td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--ink-950);
    background: #edf5f4;
    font-size: 0.79rem;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.step-label {
    margin-bottom: 6px !important;
    color: var(--teal-700) !important;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.quick-check {
    padding: clamp(24px, 4vw, 38px) !important;
    border: 1px solid #edd59b !important;
    border-radius: var(--radius-md);
    background: #fff9e9;
}

.quick-check h2 {
    font-size: 1.6rem;
}

.tool-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.tool-links a {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--ink-950);
    background: var(--white);
    text-decoration: none;
}

.tool-links a:hover {
    border-color: var(--teal-600);
    box-shadow: var(--shadow-soft);
}

.tool-links span {
    color: var(--ink-600);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.69rem;
    word-break: break-all;
}

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

.response-grid article {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}

.response-grid span {
    color: var(--teal-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.response-grid h3 {
    margin: 8px 0;
}

.response-grid p {
    margin: 0;
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    padding-left: 33px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: var(--teal-300);
}

.timeline > article {
    position: relative;
}

.timeline > article::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -33px;
    width: 16px;
    height: 16px;
    border: 4px solid var(--paper);
    border-radius: 50%;
    background: var(--teal-600);
    box-shadow: 0 0 0 1px var(--teal-600);
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.timeline-date time {
    color: var(--ink-950);
    font-weight: 900;
}

.timeline-date span {
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--teal-700);
    background: var(--teal-100);
    font-size: 0.7rem;
    font-weight: 850;
}

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

.exclusion-list article {
    padding: 22px;
    border: 1px solid #efd2ca;
    border-radius: 13px;
    background: var(--red-100);
}

.exclusion-list h3 {
    margin: 0 0 7px;
    color: #742b28;
    font-size: 1rem;
}

.exclusion-list p {
    margin: 0;
    color: #74514c;
    font-size: 0.89rem;
}

.summary-box {
    padding: 28px;
    margin-bottom: 64px;
    border: 1px solid #b8ddd8;
    border-radius: var(--radius-md);
    background: var(--teal-100);
}

.summary-box h2 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.summary-box ul {
    margin-bottom: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 25px;
}

.contact-primary,
.contact-safety {
    padding: clamp(27px, 5vw, 48px);
    border-radius: var(--radius-lg);
}

.contact-primary {
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.contact-primary h2,
.contact-safety h2 {
    font-size: 1.75rem;
}

.email-link {
    display: block;
    margin: 4px 0 27px;
    color: var(--teal-700);
    font-size: clamp(1.25rem, 4vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.contact-primary .button {
    margin-top: 12px;
}

.contact-safety {
    color: #f0e5c8;
    background: var(--ink-900);
}

.contact-safety h2 {
    color: var(--white);
}

.contact-safety .check-list li {
    color: #d3e0e5;
}

.contact-safety .check-list.caution li::before {
    color: var(--ink-950);
    background: #f0bc55;
}

.contact-safety p {
    margin-top: 27px;
    color: #aebfc8;
    font-size: 0.9rem;
}

.contact-extra {
    margin-top: 84px;
}

.status-page {
    display: grid;
    min-height: 62vh;
    place-items: center;
    padding: 90px 0;
    text-align: center;
}

.status-code {
    margin-bottom: 8px;
    color: var(--teal-600);
    font-size: clamp(4rem, 13vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
}

.status-page h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.status-page > div > p:not(.status-code) {
    color: var(--ink-600);
}

.status-page .hero-actions {
    justify-content: center;
}

.status-page .button-secondary {
    border-color: var(--border);
    color: var(--ink-900);
    background: var(--white);
}

.site-footer {
    padding: 72px 0 26px;
    color: #b5c5ce;
    background: var(--ink-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) minmax(150px, 0.65fr) minmax(180px, 0.7fr);
    gap: 60px;
}

.brand-footer {
    color: var(--white);
}

.brand-footer .brand-copy small {
    color: #9db2bd;
}

.footer-grid section > p {
    max-width: 470px;
    margin-top: 22px;
    color: #98adb8;
    font-size: 0.88rem;
}

.footer-grid nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-grid nav h2 {
    margin-bottom: 11px;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.footer-grid nav a {
    color: #9fb3be;
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-grid nav a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-top: 26px;
    margin-top: 55px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #76909d;
    font-size: 0.7rem;
}

@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 790px;
    }

    .hero-visual {
        max-width: 760px;
    }

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

    .card-grid-three > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

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

    .site-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }
}

@media (max-width: 820px) {
    body {
        font-size: 16px;
        word-break: normal;
    }

    .container,
    .container.narrow,
    .narrow {
        width: min(calc(100% - 30px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

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

    .hero {
        padding-top: 62px;
    }

    .hero h1 br {
        display: none;
    }

    .split-layout,
    .content-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        max-height: none;
        overflow: visible;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .toc h2 {
        grid-column: 1 / -1;
    }

    .comparison-card,
    .directory-grid {
        grid-template-columns: 1fr;
    }

    .comparison-card section + section {
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .steps-horizontal,
    .tool-links {
        grid-template-columns: 1fr;
    }

    .steps-horizontal li {
        display: grid;
    }

    .callout {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-grid section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 570px) {
    .notice-bar {
        padding: 7px 13px;
        font-size: 0.7rem;
    }

    .brand-copy small {
        display: none;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-points {
        display: grid;
    }

    .card-grid-three,
    .note-grid,
    .response-grid,
    .exclusion-list,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .card-grid-three > :last-child:nth-child(odd) {
        grid-column: auto;
    }

    .info-card {
        min-height: 240px;
    }

    .proof-card {
        min-height: 0;
    }

    .toc {
        grid-template-columns: 1fr;
    }

    .toc h2 {
        grid-column: auto;
    }

    .page-hero {
        padding-top: 46px;
    }

    .breadcrumbs {
        margin-bottom: 25px;
    }

    .prose > section {
        padding-bottom: 47px;
        margin-bottom: 47px;
    }

    .steps li {
        grid-template-columns: 40px 1fr;
        gap: 13px;
    }

    .steps li > span {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .resource-card {
        min-height: 0;
    }

    th,
    td {
        min-width: 145px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-grid section {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .contact-primary,
    .contact-safety {
        padding: 25px 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .notice-bar,
    .site-header,
    .site-footer,
    .toc,
    .hero-actions,
    .button {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 11pt;
    }

    .page-hero,
    .hero {
        padding: 28px 0;
        color: #000;
        background: #fff;
    }

    .page-hero h1,
    .hero h1,
    .page-hero .eyebrow,
    .hero .eyebrow,
    .page-lead,
    .hero-lead {
        color: #000;
    }

    a {
        color: #000;
    }

    .content-layout {
        display: block;
    }

    .prose > section {
        break-inside: avoid;
    }
}
