:root {
  color-scheme: light;
  --ink: #17233b;
  --muted: #48576b;
  --paper: #f7fafc;
  --navy: #152541;
  --mint: #c8f1cf;
  --line: #d6e0e8;
  --link: #145f48;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: .16rem solid #217456; outline-offset: .25rem; }
h1, h2, h3 { margin: 0; line-height: 1.18; font-weight: 750; }
p { margin: 0; }
.wrap { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .75rem; transform: translateY(-180%); padding: .6rem 1rem; background: white; z-index: 2; }
.skip:focus { transform: none; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.masthead, .footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .65rem 1.5rem; }
.masthead { min-height: 4.25rem; align-items: center; padding-block: .65rem; }
.brand { font-size: 1.12rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.masthead nav { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.masthead nav a { color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current] { text-decoration: underline; }
.masthead nav a[aria-current] { color: var(--link); }

.hero { background: var(--navy); color: white; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 1fr); align-items: center; gap: clamp(1.7rem, 5vw, 5rem); padding-block: clamp(2.75rem, 7vw, 5.8rem); }
.hero h1 { max-width: 15ch; font-size: clamp(2.55rem, 5.7vw, 4.75rem); letter-spacing: -.048em; }
.hero p { margin-top: .95rem; max-width: 50ch; color: #dce6f1; font-size: 1.08rem; }
.quick-start { background: var(--mint); color: var(--navy); border-radius: 1.1rem; padding: clamp(1.1rem, 3vw, 1.5rem); }
.quick-start h2 { font-size: 1.12rem; margin-bottom: .35rem; }
.quick-start p { margin: 0; padding: .6rem .05rem; font-size: .97rem; }
.quick-start p + p { border-top: 1px solid #a4cdb0; }
.quick-start a { color: #183c31; font-weight: 700; text-decoration: none; }
.quick-start a:hover { text-decoration: underline; }

.home-main { padding-block: clamp(2.15rem, 6vw, 4rem); }
.home-main > h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); letter-spacing: -.032em; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.25rem; }
.guide-card { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: clamp(1.1rem, 2.4vw, 1.55rem); border: 1px solid var(--line); border-radius: .95rem; background: white; }
.guide-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a:hover { text-decoration: underline; }
.guide-card p { color: var(--muted); }
.read-link { margin-top: auto; display: inline-block; padding: .52rem .88rem; border: 1px solid #aed5b9; border-radius: .5rem; background: #eaf7ef; font-weight: 700; text-decoration: none; }
.read-link:hover { background: var(--mint); }

.article-wrap { max-width: 48rem; }
.article-head { padding-block: clamp(2.2rem, 6vw, 4rem); background: #eaf7ef; border-bottom: 1px solid #c8ded0; }
.breadcrumb { display: inline-block; margin-bottom: .8rem; font-weight: 650; }
.article-head h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); letter-spacing: -.047em; }
.article-head p { max-width: 60ch; margin-top: .85rem; color: var(--muted); font-size: 1.08rem; }
.guide-layout { display: grid; grid-template-columns: minmax(12rem, .27fr) minmax(0, 1fr); gap: clamp(1.1rem, 4vw, 2.7rem); padding-block: clamp(1.8rem, 5vw, 3.2rem); }
.guide-sidebar { min-width: 0; }
.toc { position: sticky; top: 1.5rem; display: grid; gap: .45rem; padding: 1.05rem; border-left: .2rem solid #80bea1; background: #eaf7ef; }
.toc h2 { margin-bottom: .2rem; font-size: 1.04rem; }
.toc a { color: var(--ink); font-size: .94rem; }
.guide { min-width: 0; }
.guide section, .venue { scroll-margin-top: 1.1rem; }
.comparison h2, .venue-list h2 { margin: 0 0 .85rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.comparison table { width: 100%; min-width: 31rem; border-collapse: collapse; text-align: left; }
.comparison th, .comparison td { padding: .75rem .9rem; vertical-align: top; }
.comparison thead { color: white; background: var(--navy); }
.comparison tbody th { width: 25%; }
.comparison tbody td:nth-child(2) { width: 38%; }
.comparison tbody tr:nth-child(even) { background: #edf5f4; }
.comparison tbody tr + tr { border-top: 1px solid var(--line); }
.table-note { display: none; margin-top: .4rem; color: var(--muted); font-size: .875rem; }
.venue-list { margin-top: 2rem; }
.venues { display: grid; gap: .8rem; margin: 0; padding: 0; list-style-position: inside; }
.venue { padding: clamp(1rem, 3vw, 1.45rem); border: 1px solid var(--line); border-radius: .8rem; background: white; }
.venue::marker { color: var(--link); font-size: 1.15rem; font-weight: 800; }
.venue h3 { display: inline; font-size: 1.38rem; }
.venue:target { border-color: #217456; outline: .12rem solid #b7e7c9; }
.venue p { margin-top: .4rem; }
.venue a { display: inline-block; margin-top: .45rem; font-weight: 650; }
.location { color: var(--muted); font-size: .94rem; }
.booking, .sources { margin-top: 1.4rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: .8rem; background: white; }
.booking h2, .sources h2 { font-size: 1.28rem; }
.sources p { margin-top: .6rem; color: var(--muted); }
.booking ul, .sources ul { padding-left: 1.3rem; margin: .45rem 0 0; }
.related { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 1.45rem; }
.related a { font-weight: 650; }
footer { padding-block: 1.55rem; color: #dce6f1; background: var(--navy); }
footer strong { color: white; }

@media (max-width: 52rem) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc h2 { grid-column: 1 / -1; }
}

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner, .guide-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 17ch; }
}

@media (max-width: 34rem) {
  .table-note { display: block; }
}
