:root {
  color-scheme: light;
  --ink: #18353e;
  --muted: #5e7379;
  --deep: #113c46;
  --teal: #147988;
  --teal-dark: #0c5d6b;
  --line: #dce9ea;
  --paper: #ffffff;
  --soft: #f5faf9;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #f9fcfb; line-height: 1.65; }
body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 760px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 38% 55% at 84% 7%, rgba(101, 209, 215, .26), transparent 80%), radial-gradient(ellipse 35% 45% at 35% 1%, rgba(179, 223, 240, .28), transparent 85%), linear-gradient(180deg, #e9f8f8, #f9fcfb 84%); }
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:hover { color: #063f49; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 800; }
p { line-height: 1.7; }
:focus-visible { outline: 3px solid #0f8c9d; outline-offset: 4px; border-radius: 4px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--deep); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-shell { width: min(100% - 3rem, 1216px); margin: 0 auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--deep); font-family: var(--font-display); font-size: 1rem; font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: -.035em; }
.brand b { color: var(--teal); }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; background: var(--deep); border-radius: 10px 10px 10px 3px; transform: rotate(-8deg); }
.brand-mark span { width: 11px; height: 15px; display: block; background: #7cdae0; border-radius: 9px 9px 9px 1px; transform: rotate(27deg); }
.top-nav { display: flex; gap: 2rem; }
.top-nav a { color: #3c6068; font-size: .9rem; font-weight: 700; text-decoration: none; }
.top-nav a:hover { color: var(--deep); }
.hero { min-height: 420px; padding: 67px 0 62px; display: grid; grid-template-columns: minmax(0, 1fr) 272px; align-items: end; gap: 4rem; }
.hero-copy { max-width: 780px; }
.eyebrow, .overline { color: var(--teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; }
.eyebrow-line { display: inline-block; width: 22px; height: 2px; background: currentColor; }
.hero h1 { margin-bottom: 1.45rem; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-lede { max-width: 670px; margin-bottom: 0; color: #526d73; font-size: 1.13rem; line-height: 1.7; }
.hero-note { margin-bottom: .55rem; display: flex; gap: .8rem; padding: 1.25rem 1.3rem; border: 1px solid rgba(144, 200, 204, .7); border-radius: 17px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(12px); box-shadow: 0 18px 45px rgba(45, 125, 130, .07); }
.hero-note p { margin: 0; color: #526d73; font-size: .9rem; }
.hero-note strong { display: block; color: var(--deep); }
.note-icon { flex: none; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #86bfc6; color: var(--teal-dark); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.route-section { padding: 19px 0 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 24px; }
.section-heading .overline { margin-bottom: .65rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 345px; margin-bottom: .15rem; color: var(--muted); font-size: .94rem; }
.route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.route-card { min-height: 248px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; cursor: pointer; color: var(--ink); background: rgba(255,255,255,.86); border: 1px solid #dbe9e9; border-radius: 18px; box-shadow: 0 15px 35px rgba(22, 70, 75, .035); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.route-card:hover, .route-card[aria-pressed="true"] { transform: translateY(-3px); border-color: #86ccd2; box-shadow: 0 18px 38px rgba(22, 97, 106, .1); background: #fff; }
.card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.card-number { color: #6b9da2; font-family: var(--font-display); font-size: .82rem; font-weight: 800; }
.card-arrow { color: #237d86; font-size: 1.2rem; }
.card-label { margin-top: 1.3rem; margin-bottom: .55rem; color: var(--teal-dark); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-title { color: var(--deep); font-family: var(--font-display); font-size: 1.11rem; line-height: 1.35; font-weight: 800; letter-spacing: -.025em; }
.card-summary { margin-top: .7rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.route-result { margin-top: 18px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: var(--deep); border-radius: 18px; color: #e9f5f3; box-shadow: 0 18px 45px rgba(18, 69, 77, .15); }
.route-result[hidden] { display: none; }
.route-result .overline { color: #79d6da; margin-bottom: .45rem; }
.route-result h3 { color: #fff; font-size: 1.25rem; margin-bottom: .3rem; }
.route-result p:last-child { margin: 0; font-size: .93rem; color: #d2e8e7; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; white-space: nowrap; padding: .85rem 1.15rem; border-radius: 10px; background: #a6e5e6; color: var(--deep); text-decoration: none; font-weight: 800; font-size: .88rem; }
.button-link:hover { background: #d1f1ef; color: var(--deep); }
.split-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; padding-bottom: 75px; }
.diagram-card, .notes-card { min-height: 425px; padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.diagram-card { background: #f0f8f8; }
.diagram-card img { width: 100%; margin-top: 12px; }
.image-caption { margin: 4px 0 0; color: #658188; font-size: .78rem; }
.notes-card { display: flex; flex-direction: column; }
.notes-card h2 { max-width: 480px; margin-bottom: 1.3rem; font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.number-list { padding: 0; list-style: none; margin: 0; }
.number-list li { display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.number-list li span { color: var(--teal); font-size: .77rem; font-weight: 800; }
.quiet { margin: auto 0 0; padding-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.safety-banner { display: flex; gap: 1rem; padding: 23px 27px; margin-bottom: 82px; border: 1px solid #e1dbb9; border-radius: 16px; background: #fffdf3; }
.safety-banner p, .guide-safety p { margin: 0; color: #5a604d; font-size: .92rem; }
.safety-mark { flex: none; width: 24px; height: 24px; display: grid; place-items: center; color: #625b28; border: 1.5px solid #a6a06d; border-radius: 50%; font-size: .82rem; font-weight: 800; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 1rem 3rem; padding: 38px 0 55px; border-top: 1px solid var(--line); }
.site-footer > div:first-child p { margin: .75rem 0 0; color: var(--muted); font-size: .83rem; }
.footer-links { display: flex; gap: 1.4rem; align-items: start; }
.footer-links a { color: #43646a; font-size: .82rem; font-weight: 700; text-decoration: none; }
.footer-disclaimer { grid-column: 1 / -1; margin: .9rem 0 0; color: #73878b; font-size: .75rem; }

/* Guide pages keep the decision content in view rather than opening with a marketing hero. */
.breadcrumb { padding-top: 26px; display: flex; gap: .6rem; align-items: center; color: #789093; font-size: .82rem; }
.breadcrumb a { color: var(--teal-dark); text-decoration: none; }
.guide-hero { max-width: 850px; padding: 54px 0 55px; }
.guide-hero h1 { max-width: 820px; font-size: clamp(2.55rem, 5vw, 4.6rem); margin-bottom: 1.2rem; }
.guide-intro { max-width: 780px; margin-bottom: 1.4rem; color: #536d73; font-size: 1.12rem; }
.review-line { display: flex; gap: .7rem; color: #6b858a; font-size: .8rem; font-weight: 700; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(220px, 1fr); gap: 45px; align-items: start; padding-bottom: 85px; }
.guide-body { min-width: 0; }
.quick-answer { margin: -5px 0 22px; padding: 22px 25px; border: 1px solid #b6dddd; border-left: 4px solid var(--teal); border-radius: 13px; background: #eff8f7; }
.quick-answer .overline { margin: 0 0 .55rem; color: var(--teal-dark); }
.quick-answer p:last-child { margin: 0; color: var(--deep); font-size: .98rem; line-height: 1.75; }
.guide-safety { display: flex; gap: .9rem; padding: 20px 22px; background: #fffdf3; border: 1px solid #e4ddb8; border-radius: 14px; }
.guide-section { margin-top: 50px; }
.guide-section .overline { margin-bottom: .7rem; }
.guide-section h2 { max-width: 720px; margin-bottom: 1.4rem; }
.guide-section p { color: #4f686d; }
.guide-section p a, .comparison a, .source-note a, .safety-banner a { font-weight: 700; }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact-card { padding: 20px; border: 1px solid var(--line); background: #fff; border-radius: 14px; }
.fact-index { display: block; margin-bottom: 1.9rem; color: var(--teal-dark); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fact-card h3 { margin-bottom: .55rem; }
.fact-card p { margin: 0; font-size: .86rem; }
.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.comparison > div { padding: 20px 23px; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; border-bottom: 1px solid var(--line); }
.comparison > div:last-child { border-bottom: 0; }
.comparison strong { color: var(--deep); font-family: var(--font-display); font-size: .93rem; }
.comparison p { margin: 0; font-size: .9rem; }
.callout { margin: 46px 0 0; padding: 24px 27px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: #ecf7f7; }
.callout strong { font-family: var(--font-display); }
.callout p { margin: .4rem 0 0; color: #506b70; }
.guide-sidebar { position: sticky; top: 24px; padding: 23px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.8); }
.guide-sidebar .overline { margin-bottom: .8rem; }
.guide-sidebar a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .5rem; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.guide-sidebar a span:first-child { grid-column: 1; color: var(--teal-dark); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.guide-sidebar a strong { grid-column: 1; color: var(--deep); font-size: .87rem; line-height: 1.4; }
.guide-sidebar a span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--teal); }
.sidebar-note { margin: 15px 0 0; color: var(--muted); font-size: .78rem; }
.step-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-list li > span, .mini-number { color: var(--teal); font-family: var(--font-display); font-size: .85rem; font-weight: 800; }
.step-list h3 { margin-bottom: .35rem; }
.step-list p { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; background: #fff; text-align: left; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--deep); background: #eaf5f5; font-family: var(--font-display); font-size: .82rem; }
td { color: #526b70; font-size: .89rem; }
td:first-child { font-weight: 700; color: var(--deep); }
.source-note { margin-top: .7rem; color: var(--muted); font-size: .82rem; }
.observation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.observation-grid > div { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.observation-grid h3 { margin: 1.6rem 0 .6rem; }
.observation-grid p { margin: 0; font-size: .86rem; }
.inline-diagram { margin: 22px 0 42px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #eff8f8; }
.inline-diagram img { width: 100%; }
.inline-diagram figcaption { margin-top: .55rem; color: #638188; font-size: .78rem; }
.timeline { border-left: 2px solid #b2dadd; margin-left: 15px; }
.timeline > div { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 0 0 28px 18px; }
.timeline > div:last-child { padding-bottom: 0; }
.timeline > div > span { position: absolute; left: -16px; top: -2px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #e5f4f4; color: var(--teal-dark); font-size: .67rem; font-weight: 800; }
.timeline > div > div { grid-column: 2; }
.timeline h3 { margin-bottom: .4rem; }
.timeline p { margin: 0; }
.related { margin-top: 48px; padding: 21px 23px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.related > span { font-size: .86rem; color: var(--muted); }
.related a { font-size: .87rem; font-weight: 800; text-decoration: none; }
.not-found { min-height: 65vh; padding: 100px 0; }
.not-found h1 { max-width: 700px; }
.not-found p:not(.overline) { color: var(--muted); font-size: 1.1rem; }
.not-found .button-link { margin-top: 1rem; }

.legal-page { max-width: 900px; margin: 0 auto; padding-bottom: 90px; }
.legal-hero { max-width: 760px; padding: 58px 0 35px; }
.legal-hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); margin-bottom: 1rem; }
.legal-intro { max-width: 680px; margin-bottom: .9rem; color: #536d73; font-size: 1.1rem; }
.legal-updated { color: #6b858a; font-size: .82rem; font-weight: 700; }
.legal-body { max-width: 740px; }
.legal-section { padding: 27px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 .8rem; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-section p, .legal-section li { color: #4f686d; font-size: .97rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { padding-left: 1.3rem; }
.legal-section li + li { margin-top: .55rem; }
.contact-address { display: inline-flex; margin: .35rem 0 1rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; color: var(--deep); background: #fff; font-weight: 800; text-decoration: none; }
.contact-address.is-pending { color: #62797c; background: #f1f6f5; font-weight: 600; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 45px; }
  .hero-note { max-width: 600px; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-card { min-height: 214px; }
  .guide-layout { grid-template-columns: 1fr; gap: 35px; }
  .guide-sidebar { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
  .guide-sidebar .overline, .guide-sidebar .sidebar-note { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-shell { width: min(100% - 2rem, 1216px); }
  .site-header { min-height: 72px; }
  .top-nav { gap: .8rem; }
  .top-nav a { font-size: .78rem; }
  .top-nav a:last-child { display: none; }
  .hero { min-height: auto; padding: 39px 0 44px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .hero-lede { font-size: 1rem; }
  .hero-note { padding: 1rem; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 570px; margin-top: .75rem; }
  .route-grid { grid-template-columns: 1fr; gap: 11px; }
  .route-card { min-height: 160px; padding: 18px; }
  .card-label { margin-top: .5rem; }
  .route-result { display: block; padding: 22px; }
  .route-result .button-link { margin-top: 1.1rem; white-space: normal; }
  .split-section { grid-template-columns: 1fr; }
  .diagram-card, .notes-card { min-height: 0; padding: 23px; }
  .notes-card .quiet { margin-top: 1rem; }
  .safety-banner { padding: 18px; margin-bottom: 55px; }
  .site-footer { display: block; }
  .footer-links { flex-wrap: wrap; margin-top: 1.5rem; }
  .footer-disclaimer { margin-top: 2rem; }
  .guide-hero { padding: 42px 0 39px; }
  .guide-hero h1 { font-size: clamp(2.3rem, 10vw, 3.7rem); }
  .guide-intro { font-size: 1rem; }
  .guide-section { margin-top: 38px; }
  .fact-grid, .observation-grid { grid-template-columns: 1fr; }
  .fact-index { margin-bottom: .8rem; }
  .observation-grid h3 { margin-top: .6rem; }
  .comparison > div { grid-template-columns: 1fr; gap: .35rem; }
  .guide-sidebar { display: block; }
  .related { display: block; }
  .related a { display: block; margin-top: .7rem; }
  .legal-hero { padding: 42px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-card { transition: none; }
}
