@charset "UTF-8";

:root {
  --ink: #192539;
  --muted: #535d69;
  --paper: #fff9f3;
  --white: #fff;
  --line: #e8dbcf;
  --peach: #ffead9;
  --accent: #a33900;
  --orange: #b74500;
  --orange-hover: #943700;
  --green: #24654f;
  --teal: #06756f;
  --blue: #2e63ac;
  --plum: #914575;
  --field: #fbf7f2;
  --radius: 18px;
  --radius-small: 11px;
  --shadow: 0 8px 24px #6933170f;
  --font: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.037em; }
h1 { font-size: clamp(2.65rem, 5.5vw, 4.7rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 760; margin-bottom: 20px; }
h3 { font-size: 1.5rem; font-weight: 720; }
p { color: var(--muted); }
img { display: block; max-width: 100%; object-fit: cover; }
svg { max-width: 100%; }
pre { overflow: auto; }
article { overflow-wrap: anywhere; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -100px; z-index: 100; background: var(--ink); color: white; padding: 12px; }
.skip:focus { top: 0; }
.eyebrow { display: block; font-size: .76rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.icon { width: 1em; height: 1em; flex: none; }
.lead { font-size: 1.08rem; line-height: 1.7; max-width: 680px; }

.header { position: relative; z-index: 20; }
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-light { font-weight: 560; }
.brand-mark { width: 40px; height: 40px; }
.header nav { display: flex; align-items: center; gap: 12px; font-size: .94rem; font-weight: 680; }
.header nav > a{
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 24px;
  text-decoration: none;
}
.header nav > a:hover, .header nav > a[aria-current]{
  color: var(--accent);
  background: var(--peach);
}
.header nav .nav-method { border: 1px solid var(--line); background: var(--white); }

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: clamp(460px, 44vw, 530px);
  padding: clamp(30px, 4.2vw, 60px);
  border-radius: 30px;
  background: var(--ink);
  color: var(--white);
}
.hero-photo, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-photo { object-position: center 74%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, #09182bf2 0%, #09182bc9 42%, #09182b26 76%, transparent);
}
.hero-content { min-width: 0; }
.hero h1 {
  font-size: clamp(2.45rem, 4.65vw, 4.2rem);
  line-height: 1.035;
  letter-spacing: -.065em;
  margin-bottom: 20px;
}
.hero h1 span { color: #ffd0ad; }
.hero-content > p { color: var(--white); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 38ch; margin-bottom: 24px; }
.hero-credit {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #09182bde;
  text-align: right;
  font-size: .75rem;
  line-height: 1.4;
}
.hero-credit a { display: block; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--orange);
  border-radius: var(--radius-small);
  padding: 10px 17px;
  background: var(--orange);
  color: var(--white);
  font-size: .94rem;
  font-weight: 720;
  text-decoration: none;
}
.button:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

.section { padding-block: clamp(42px, 6vw, 76px); }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 23px; }
.section-heading h2, .section-heading > p { margin-bottom: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.photo-tool {
  display: flex;
  flex-direction: column;
  padding: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .18s, border-color .18s;
}
.photo-tool:hover { transform: translateY(-3px); border-color: var(--orange); }
.card-photo { overflow: hidden; aspect-ratio: 1.73; background: var(--peach); border-radius: 12px; }
.card-photo img { width: 100%; height: 100%; object-position: center 63%; }
.card-copy { display: flex; flex: 1; flex-direction: column; padding: 13px 10px 10px; }
.card-category { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 690; margin-bottom: 12px; }
[data-category="orange"] { --category: var(--orange); }
[data-category="teal"] { --category: var(--teal); }
[data-category="plum"] { --category: var(--plum); }
[data-category="blue"] { --category: var(--blue); }
.category-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white);
  background: var(--category, var(--orange));
  font-size: 1.04rem;
}
.category-icon > svg { width: 17px; height: 17px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-arrow { width: 18px; height: 18px; transition: transform .18s; }
.photo-tool:hover .card-arrow { transform: translateX(3px); }
.card-copy h3 { font-size: clamp(1.2rem, 1.6vw, 1.55rem); margin-bottom: 8px; }
.card-copy p { margin-bottom: 14px; }
.card-link { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--accent); font-size: .88rem; font-weight: 730; }
.photo-tool:hover .card-link { text-decoration: underline; }
.fine-print { font-size: .8rem; margin: 16px 0 0; }
.text-link { color: var(--accent); font-size: .94rem; font-weight: 720; text-underline-offset: .28em; }
.text-link:hover { color: var(--orange-hover); }

.math-section{ padding-block: clamp(42px, 6vw, 74px); background: var(--peach); }
.math-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 7vw, 95px); align-items: center; }
.math-copy > p { max-width: 45ch; }
.how-steps { padding-left: 1.5rem; margin-bottom: 22px; }
.how-steps li { padding: 7px 0 7px 5px; }
.how-steps li::marker { color: var(--accent); font-weight: 740; }
.worked-example { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.worked-example h3 { margin-bottom: 14px; }
.comparison-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 18px; }
.comparison-verdict > strong { font-size: 1.02rem; letter-spacing: -.01em; }
.verdict-badge {
  --badge: #8a5200;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 6px;
  border: 1px solid color-mix(in srgb, var(--badge) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--badge) 10%, var(--white));
  color: var(--badge);
  font-size: .8rem;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verdict-badge[hidden] { display: none; }
.verdict-icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--badge); color: var(--white); stroke-width: 2.2; }
.verdict-badge[data-judgment="worth"] { --badge: #1a6a4a; }
.verdict-badge[data-judgment="close"] { --badge: #8a5200; }
.verdict-badge[data-judgment="skip"] { --badge: #a3313a; }

.cost-chart {
  --c-tickets: #2e63ac; --c-transit: #6b9be0; --c-card: #b74500; --c-extra: #e8a06a;
  display: grid;
  gap: 16px;
  padding: clamp(14px, 2.4vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--field);
}
.cost-row-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 7px; font-size: .88rem; color: var(--muted); }
.cost-row-head > span { margin-right: auto; }
.cost-row-head > strong { color: var(--ink); font-size: clamp(1.3rem, 2.6vw, 1.65rem); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.cost-delta { padding: 2px 8px; border-radius: 999px; background: #e3f3ea; color: #1a6a4a; font-size: .78rem; font-style: normal; font-weight: 760; font-variant-numeric: tabular-nums; }
.cost-track { display: flex; gap: 2px; height: 22px; }
.cost-seg, .cost-gap { flex: 0 1 0; min-width: 4px; border-radius: 4px; }
.cost-seg[data-part="tickets"], .cost-legend i[data-part="tickets"] { background: var(--c-tickets); }
.cost-seg[data-part="transit"], .cost-legend i[data-part="transit"] { background: var(--c-transit); }
.cost-seg[data-part="card"], .cost-legend i[data-part="card"] { background: var(--c-card); }
.cost-seg[data-part="extra"], .cost-legend i[data-part="extra"] { background: var(--c-extra); }
.cost-gap { border: 1.5px dashed #b9a99c; background: repeating-linear-gradient(135deg, transparent 0 4px, #e6d9cd 4px 6px); }
.cost-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .78rem; color: var(--muted); }
.cost-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cost-legend i { flex: none; width: 10px; height: 10px; border-radius: 3px; min-width: 0; }
.cost-legend i.cost-gap { border-width: 1px; }
.cost-legend b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.example-footnote { font-size: .85rem; line-height: 1.6; margin: 14px 0 0; }
.example-footnote strong { color: var(--ink); }

.guide-layout { display: grid; grid-template-columns: 1fr 1.85fr; align-items: start; gap: clamp(24px, 6vw, 74px); }
.guide-intro > p:not(.eyebrow) { max-width: 34ch; }
.guide-row {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}
.guide-row + .guide-row { margin-top: 10px; }
.guide-row img { width: 100%; height: 104px; border-radius: 11px; }
.guide-row h3 { font-size: 1.18rem; letter-spacing: -.02em; margin: 3px 0 6px; }
.guide-row p { font-size: .9rem; margin: 0 0 3px; }
.guide-row:hover { border-color: var(--orange); }
.guide-row:hover h3 { text-decoration: underline; }
.guide-row.is-pinned { position: relative; background: var(--peach); border: 2px solid var(--orange); box-shadow: var(--shadow); margin-bottom: 22px; }
.guide-row.is-pinned h3 { font-size: 1.3rem; }
.pin-badge { position: absolute; top: -11px; right: 18px; padding: 3px 11px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: .72rem; font-weight: 740; letter-spacing: .08em; text-transform: uppercase; }

.method-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-block: 45px; }
.method-symbol { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--orange); color: var(--paper); box-shadow: 0 8px 20px #b7450033; }
.method-symbol .icon { width: 30px; height: 30px; stroke-width: 2; }
.method-strip h2 { font-size: 1.48rem; margin-bottom: 7px; }
.method-strip p { margin-bottom: 0; }
.method-strip .eyebrow { margin-bottom: 7px; }
.method-strip > .text-link { margin-left: auto; }
footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-top { padding-block: 24px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 7px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; padding-block: 19px; color: var(--muted); font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

.page-heading { padding-block: 36px 24px; }
.page-heading h1 { max-width: 900px; margin-bottom: 16px; }
.listing { padding-bottom: clamp(42px, 6vw, 74px); }
.listing > .guide-row { max-width: 950px; }
.content-body { width: min(760px, calc(100% - 36px)); margin-inline: auto; padding: 10px 0 65px; }
.content-body h2 { font-size: 1.65rem; margin-top: 34px; }
.content-body h3 { font-size: 1.28rem; margin-top: 25px; }
.content-body p, .content-body li { line-height: 1.8; }
.content-body li { color: var(--muted); margin-bottom: 8px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 24px; }
.table-scroll table { min-width: 540px; }
.content-body table { border-collapse: collapse; width: 100%; }
.content-body :is(td, th) { padding: 12px; border: 1px solid var(--line); text-align: left; }

.tool-heading { display: grid; grid-template-columns: 1.65fr 1fr; gap: 48px; padding-block: 22px 4px; align-items: center; }
.tool-heading-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 10px; }
.tool-heading-meta .breadcrumb, .tool-heading-meta .card-category { margin-bottom: 0; }
.tool-heading h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.tool-heading-text { grid-template-columns: 1fr; }
.breadcrumb { display: block; width: fit-content; font-size: .9rem; color: var(--accent); margin-bottom: 17px; }
.tool-heading h1 { margin-bottom: 10px; }
.tool-heading > img { width: 100%; height: 255px; border-radius: var(--radius); }
.tool-heading .lead { font-size: 1rem; margin-bottom: 10px; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); }
.tool-tags span::before { content: "✓"; color: var(--green); margin-right: 5px; }
.tool-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 24px;
  font-size: .9rem;
}
.tool-journey b { color: var(--accent); margin-right: 8px; font-size: .8rem; }
.tool-surface { padding-bottom: 65px; }

.travel-tool{color:inherit;max-width:100%;overflow-wrap:anywhere}
.travel-tool form{padding:0;margin:0}
.travel-tool fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--white);padding:23px 28px;margin:25px 0}
.travel-tool legend{padding:0 10px;font-weight:750;font-size:1.05rem}
.travel-tool .tool-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px 24px}
.travel-tool .tool-field{display:flex;flex-direction:column;margin:9px 0;gap:6px}
.travel-tool label{display:block;font-size:.9rem;line-height:1.6;color:var(--ink)}
.travel-tool input:not([type=checkbox]),.travel-tool select,.travel-tool textarea{font:inherit;display:block;min-height:46px;width:100%;border:1px solid #c5b8ae;border-radius:var(--radius-small);background:var(--field);padding:10px 12px;color:var(--ink);margin-top:auto;font-size:.9rem}
.travel-tool .tool-check{margin:15px 0}
.travel-tool input[type=checkbox]{width:19px;height:19px;vertical-align:middle;accent-color:var(--orange);margin-right:8px}
.travel-tool button{font:inherit;font-size:.86rem;font-weight:750;min-height:46px;padding:12px 20px;border:1px solid var(--orange);border-radius:var(--radius-small);color:var(--white);background:var(--orange);margin:5px 8px 5px 0}
.travel-tool button:hover{background:var(--orange-hover)}
.travel-tool button[type=reset],.travel-tool button[type=button]{background:transparent;color:var(--ink);border-color:#c5b8ae;font-weight:600}
.travel-tool button:is([type=reset], [type=button]):hover:not(:disabled) { border-color: var(--orange); }
.travel-tool button:disabled{opacity:.55;cursor:default}
.travel-tool .tool-note{background:var(--peach);color:#665448;padding:16px 20px;border-left:3px solid var(--orange);font-size:.8rem;border-radius:0 8px 8px 0;margin:8px 0 20px}
.travel-tool details{margin-top:25px;border-block:1px solid var(--line);padding:12px 0}
.travel-tool summary{font-weight:700;font-size:.9rem;min-height:44px;padding-block:10px}
.travel-tool details p{font-size:.82rem;line-height:1.85}
.travel-tool [role=alert]{color:#a32928;font-weight:700}
.travel-tool [role=status]{font-size:.8rem}
.travel-tool .tool-result{margin-block:30px;padding:30px;background:var(--peach);border:1px solid var(--line);border-radius:14px}
.travel-tool .tool-result:empty{display:none}
.travel-tool .tool-result h2{font-family:var(--font);font-size:1.9rem;letter-spacing:-.035em}
.travel-tool .tool-result h3{font-size:1.3rem;margin-top:27px}
.travel-tool .tool-result p,.travel-tool .tool-result li{font-size:.86rem}
.travel-tool .tool-card{display:block;transform:none;padding:20px;margin:18px 0;border-radius:9px}
.travel-tool .tool-card h4{font-size:1.05rem}
.travel-tool .tool-card h3{margin-top:0}
.travel-tool .verdict{padding:20px;border-radius:10px;margin-bottom:25px;background:var(--ink);color:#fff6eb}
.travel-tool .verdict .eyebrow{color:#ffd6be;font-size:.58rem;margin:0 0 12px}
.travel-tool .verdict strong{font-size:1.1rem;line-height:1.5;display:block}
.travel-tool .verdict[data-verdict=positive]{background:#285443}
.travel-tool .verdict[data-verdict=caution]{background:#684433}
.travel-tool dl{display:grid;grid-template-columns:1fr auto;gap:12px 25px;padding-block:20px;border-block:1px solid var(--line);margin-top:20px}
.travel-tool dt{font-size:.88rem}
.travel-tool dd{font-weight:750;margin:0;white-space:nowrap}
.travel-tool ul{padding-left:22px}
.noscript{display:block;background:var(--peach);padding:16px;font-size:.85rem;margin-block:20px}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  
  .method-strip > .text-link { margin-left: 0; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: auto; flex-wrap: wrap; justify-content: center; padding-block: 13px 8px; gap: 6px; }
  .js .header-inner { position: relative; flex-wrap: nowrap; justify-content: space-between; min-height: 60px; padding-block: 8px; }
  .js .nav-toggle { display: grid; }
  .js .header nav {
    display: none; position: absolute; top: calc(100% - 2px); left: 0; right: 0; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 40px #30231f26;
  }
  .js .nav-toggle[aria-expanded="true"] + nav { display: flex; }
  .js .header nav > a { justify-content: flex-start; padding-inline: 14px; font-size: 1rem; }
  .js .header nav .nav-method { border: 0; background: none; }
  .brand { font-size: 1.28rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header nav { justify-content: center; flex-wrap: wrap; gap: 3px; font-size: .88rem; }
  .header nav > a{ padding-inline: 10px; }
  
  
  
  
  .hero { min-height: 470px; align-content: start; padding: 36px 22px 90px; border-radius: 23px; }
  .hero-photo { object-position: center 84%; }
  .hero::after { background: linear-gradient(175deg, #09182bef 4%, #09182bbd 48%, #09182b12 88%); }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.5rem); margin-bottom: 12px; }
  .hero-content > p { margin-bottom: 16px; }
  
  .guide-layout, .math-layout { grid-template-columns: 1fr; }
  .guide-row { grid-template-columns: 75px minmax(0, 1fr); gap: 12px; }
  .guide-row img { height: 85px; }
  
  .tool-heading { grid-template-columns: 1fr; gap: 20px; padding-top: 14px; }
  .tool-heading .lead { font-size: .95rem; line-height: 1.55; }
  .tool-tags { display: none; }
  .tool-surface .travel-tool fieldset:first-of-type { margin-top: 12px; }
  .tool-journey { font-size: .8rem; padding: 12px; gap: 10px; }
  .tool-journey span { display: flex; flex-direction: column; gap: 3px; }
  .travel-tool fieldset { padding: 17px 16px; margin-block: 22px; }
  .travel-tool .tool-result { padding: 22px 16px; }
  .travel-tool dl { gap: 15px; }
}
@media (max-width: 510px) {
  
  .tool-grid { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 1.85; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.consent {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 16px;
}
.consent-inner > div:first-child { flex: 1 1 24rem; }
.consent h2 { font-size: 1.2rem; margin-bottom: 6px; }
.consent p { font-size: .875rem; margin: 0; max-width: 46rem; }
.consent-status:not(:empty) { margin-top: .5rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions button {
  border: 1px solid var(--ink);
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  min-height: 44px;
  padding: 8px 12px;
}
.consent-actions button:hover { background: var(--peach); }
.footer-bottom .cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero city cards */
.hero-kicker { color: #ffd0ad !important; font-size: .82rem !important; font-weight: 740; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px !important; }
.hero-cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.hero-city {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #ffffff40; border-radius: 14px; background: #ffffffeb; color: var(--ink);
  text-decoration: none; box-shadow: 0 10px 26px #0000002e; transition: transform .18s, box-shadow .18s;
}
.hero-city:hover { transform: translateY(-3px); box-shadow: 0 14px 32px #0000004a; }
.hero-city img { width: 100%; aspect-ratio: 4 / 3; height: auto; }
.hero-city span { padding: 8px 10px 9px; line-height: 1.25; }
.hero-city strong { display: block; font-size: .98rem; letter-spacing: -.02em; }
.hero-city small { color: var(--muted); font-size: .76rem; }

/* City cards */
.city-facts { list-style: none; padding: 0; margin: -4px 0 6px; font-size: .84rem; color: var(--ink); }
.city-facts li { display: flex; align-items: center; gap: 7px; padding: 3px 0; }
.city-facts .icon { color: var(--accent); }
.card-copy p { font-size: .9rem; }
.pass-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* City hub */
.city-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding-block: 28px 8px; }
.city-hero > img { width: 100%; height: clamp(240px, 32vw, 400px); border-radius: var(--radius); }
.city-hero h1 { margin-bottom: 14px; }
.city-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; padding-block: 34px; }
.city-link { display: flex; flex-direction: column; padding: 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.city-link:hover { transform: translateY(-3px); border-color: var(--orange); }
.city-link .category-icon { margin-bottom: 14px; }
.city-link .eyebrow { margin-bottom: 6px; }
.city-link h2 { font-size: 1.35rem; margin-bottom: 8px; }
.city-link p { font-size: .9rem; }
.city-facts-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); padding-bottom: clamp(42px, 6vw, 74px); }
.city-facts-section h2 { font-size: 1.6rem; }
.hub-prices { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hub-prices li { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--white); font-variant-numeric: tabular-nums; }
.hub-prices strong { min-width: 3ch; color: var(--accent); }
.hub-prices small { margin-left: auto; color: var(--muted); }
.hub-sights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.hub-sight { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--white); }
.hub-sight img, .hub-sight-empty { width: 64px; height: 64px; border-radius: 8px; }
.hub-sight-empty { display: grid; place-items: center; background: var(--peach); color: var(--accent); font-size: 1.4rem; }
.hub-sight strong { display: block; font-size: .92rem; line-height: 1.3; }
.hub-sight small { display: block; color: var(--muted); font-size: .78rem; }
.hub-sight span { display: block; color: var(--green); font-size: .78rem; font-weight: 650; }

/* Footer */
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.footer-cities { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 650; font-size: .92rem; }
.footer-cities a { text-decoration: none; }
.footer-cities a:hover { color: var(--accent); text-decoration: underline; }
.button-quiet { background: var(--white); color: var(--ink); border-color: var(--line); }
.button-quiet:hover { background: var(--peach); border-color: var(--orange); }

/* Consent card, bottom of the viewport */
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  max-width: 760px; margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px #30231f33;
}
.consent-inner { padding: 18px 20px; }
.consent-actions .consent-accept { background: var(--orange); border-color: var(--orange); color: var(--white); }
.consent-actions .consent-accept:hover { background: var(--orange-hover); }

@media (max-width: 1000px) {
  .city-hero, .city-facts-section { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero { padding-bottom: 60px; }
  .hero-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* Home page rhythm: dark hero, peach pass check, paper cities, peach guides, paper method strip */
.hero + .math-section { margin-top: clamp(32px, 5vw, 60px); }
.band-peach { background: var(--peach); }
.band-peach .guide-row { border-color: #f1d9c6; }
.hub-sight .hub-sight-empty { display: grid; place-items: center; color: var(--accent); }
.hub-sight-empty .icon { width: 26px; height: 26px; }

/* Mobile menu button (shown only on narrow screens when JS runs) */
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .nav-close, .nav-toggle[aria-expanded="true"] .nav-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-close { display: block; }

/* City hub: the calculator is the main tool */
.city-hero .button { margin-top: 6px; }
.city-feature { padding-top: clamp(28px, 4vw, 44px); }
.pass-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 44px); align-items: center;
  padding: clamp(16px, 2.5vw, 26px); border: 2px solid var(--orange); border-radius: 24px;
  background: linear-gradient(135deg, var(--peach), #fff4ea 60%, var(--white)); color: var(--ink); text-decoration: none;
  box-shadow: 0 14px 36px #b745001f; transition: transform .18s, box-shadow .18s;
}
.pass-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 44px #b7450030; }
.pass-feature:hover .button { background: var(--orange-hover); border-color: var(--orange-hover); }
.pass-feature-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pass-feature-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.pass-feature-copy .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.pass-feature-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.pass-feature-copy p { color: var(--muted); margin-bottom: 14px; }
.pass-feature-facts { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; font-weight: 650; }
.pass-feature-facts li { display: inline-flex; align-items: center; gap: 6px; }
.pass-feature-facts .icon { color: var(--accent); }
.city-links { padding-block: 20px 34px; }
.city-link { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; box-shadow: none; }
.city-link .category-icon { margin-bottom: 0; }
.city-link > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; flex: 1; }
.city-link strong { font-size: 1.02rem; line-height: 1.3; }
.city-link small { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.city-link .eyebrow { margin-bottom: 0; }
.city-link .card-arrow { width: 20px; height: 20px; color: var(--accent); flex: none; }
.city-facts-section .text-link { display: inline-block; margin-top: 4px; }
@media (max-width: 760px) {
  .pass-feature { grid-template-columns: 1fr; }
  .pass-feature-photos { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .pass-feature-photos img { aspect-ratio: 1; border-radius: 9px; }
  .pass-feature .button { width: 100%; }
}

/* Calculator cards next to articles */
.pass-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.pass-card:hover { transform: translateY(-2px); border-color: var(--orange); }
.pass-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pass-card-copy { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px; }
.pass-card-copy .eyebrow { margin-bottom: 0; }
.pass-card-copy strong { font-size: 1.08rem; line-height: 1.3; }
.pass-card-copy small { color: var(--muted); font-size: .84rem; }
.pass-card .card-link { margin-top: 8px; }
.article-aside-list .pass-card { grid-template-rows: none; grid-template-columns: 84px minmax(0, 1fr); box-shadow: none; }
.article-aside-list .pass-card img { height: 100%; aspect-ratio: auto; }
.article-aside-list .pass-card-copy { padding: 10px 12px; }
.article-aside-list .pass-card-copy strong { font-size: .95rem; }
.article-aside-list .pass-card .card-link { margin-top: 4px; padding-top: 6px; }
