/* Guide pages. Same tokens, type and controls as the home page. */
:root {
  --tomato: #FF5A36; --sun: #FFD23F; --sky: #3DA5FF; --ink: #22184A; --cream: #FFF6E5;
  --white: #FFFFFF; --line: #F1E3C8; --muted: #5B4F8A; --sky-ink: #0B3A66; --sun-ink: #5A3E00;
  --sky-tint: #E3F2FF; --sun-tint: #FFF1BF; --tomato-tint: #FFE9E3;
  --r-card: 28px;
  --display: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--tomato); }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; background: var(--white); padding: 6px 14px 6px 8px; border-radius: 999px; }
.eyebrow .dot { width: 18px; height: 18px; border-radius: 999px; background: var(--tomato); flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; border: 0; font-family: var(--display); font-weight: 600; font-size: 18px; text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { color: var(--sun); }
.btn:disabled { opacity: .6; cursor: default; }

nav { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 2px solid transparent; transition: border-color .2s; }
nav.scrolled { border-color: var(--line); }
nav .wrap { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 26px; }
.brand:hover { color: var(--ink); }
nav ul { display: flex; gap: 24px; list-style: none; margin: 0 0 0 auto; padding: 0; font-family: var(--display); font-weight: 500; font-size: 16px; }
nav ul a { text-decoration: none; }
nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
nav .btn { height: 44px; padding: 0 18px; font-size: 16px; }
@media (max-width: 860px) { nav ul { display: none; } nav .btn { margin-left: auto; } }

.hero { padding: 48px 0 24px; }
.hero .intro { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; margin: 18px 0; text-wrap: balance; }
.hero h1 .tag { display: inline-block; background: var(--tomato); color: var(--ink); padding: 0 .2em; border-radius: .25em; transform: rotate(-2deg); }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; }
.lede + .lede { margin-top: 12px; }

.join { margin-top: 28px; max-width: 520px; width: 100%; }
.join .row { display: flex; gap: 10px; }
.join input[type=email] { flex: 1; min-width: 0; height: 56px; padding: 0 22px; border-radius: 999px; border: 3px solid var(--ink); background: var(--white); font: 700 17px var(--body); color: var(--ink); }
.join input:focus { outline: 3px solid var(--sun); outline-offset: 2px; }
.join .msg { min-height: 24px; margin-top: 8px; font-size: 15px; color: var(--muted); }
.join .msg.err { color: #C92F1B; }
.join .done { display: none; background: var(--white); border-radius: 24px; padding: 18px 20px; border: 2px solid var(--line); }
.join.is-done .row, .join.is-done .msg { display: none; }
.join.is-done .done { display: block; }
.join .done strong { font-family: var(--display); font-size: 20px; display: block; margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; }
.meta { margin-top: 16px; font-size: 15px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.meta > span::before { content: "✓ "; color: var(--sky); font-weight: 800; }
@media (max-width: 520px) {
  .join .row { flex-direction: column; }
  .join .btn, .band .btn { width: 100%; }
}

section { padding: 72px 0; }
.sec-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.sec-head h2, .band h2 { font-size: clamp(32px, 4.4vw, 48px); }
.sec-head p { font-size: 19px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-card); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.card .ico { width: 56px; height: 56px; border-radius: 18px; background: var(--sky-tint); color: var(--sky); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 24px; }
.card p { font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 16px 18px; font-size: 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.tips li span { font-family: var(--display); font-weight: 600; width: 36px; height: 36px; border-radius: 999px; background: var(--sun); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.tips li p { font-size: 16px; }
.tips li strong { font-family: var(--display); font-weight: 600; }

.stat { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 8px; max-width: 720px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.stat p { font-size: 17px; color: var(--muted); }

.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.city { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-card); padding: 22px; text-decoration: none; color: inherit; display: block; }
a.city:hover { color: inherit; border-color: var(--ink); }
.city .n { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; }
.city .name { font-family: var(--display); font-weight: 600; font-size: 22px; margin-top: 10px; }
.city .ctry { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.note { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 720px; }

.faq { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 0 22px; }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }
details p + p { margin-top: -8px; }

.band { background: var(--sun); border-radius: 40px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.band .btn { flex: none; }
.band p { margin-top: 12px; font-size: 19px; color: var(--sun-ink); max-width: 640px; }
@media (max-width: 800px) { .band { flex-direction: column; align-items: stretch; padding: 28px 22px; } }

.more { display: flex; gap: 12px; flex-wrap: wrap; }
.more a { text-decoration: none; background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 10px 16px; font-family: var(--display); font-weight: 600; font-size: 16px; }
.more a[aria-current="page"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.more a[aria-current="page"]:hover { color: var(--sun); }

footer { padding: 48px 0 64px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
footer .brand { font-size: 20px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
