/* ==========================================================================
   Não Durma no Ponto : shared design system
   Used by / (home), /guias/*.html. Keep this file the single source of
   truth for tokens + components so every page stays visually consistent.
   ========================================================================== */

:root {
  --primary: #673AB7;
  --primary-dark: #512DA8;
  --on-primary: #FFFFFF;
  --primary-container: #EADDFF;
  --on-primary-container: #21005D;
  --accent: #FF8F00;
  --accent-dark: #E07B00;
  --on-accent: #2A1800;
  --bg: #FFFBFE;
  --surface: #FFFFFF;
  --surface-1: #F7F2FA;
  --surface-2: #F2ECF6;
  --surface-variant: #E7E0EC;
  --outline: #CAC4D0;
  --outline-faint: #E7E0EC;
  --text: #1C1B1F;
  --text-2: #49454F;
  --shadow-1: 0 1px 2px rgba(28,27,31,.10), 0 1px 3px rgba(28,27,31,.06);
  --shadow-2: 0 2px 6px rgba(28,27,31,.10), 0 6px 18px rgba(28,27,31,.10);
  --shadow-3: 0 10px 28px rgba(81,45,168,.18), 0 4px 10px rgba(28,27,31,.10);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 36px;
  --maxw: 1180px;
  --maxw-article: 760px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #D0BCFF;
    --primary-dark: #B69DF8;
    --on-primary: #381E72;
    --primary-container: #4F378B;
    --on-primary-container: #EADDFF;
    --accent: #FFB74D;
    --accent-dark: #FFA726;
    --on-accent: #2A1800;
    --bg: #1C1B1F;
    --surface: #211F26;
    --surface-1: #26242B;
    --surface-2: #2B2930;
    --surface-variant: #36343B;
    --outline: #49454F;
    --outline-faint: #2B2930;
    --text: #E6E1E5;
    --text-2: #CAC4D0;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4);
    --shadow-2: 0 2px 8px rgba(0,0,0,.45);
    --shadow-3: 0 14px 34px rgba(0,0,0,.55);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Roboto Flex", "Roboto", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
header.scrolled { border-color: var(--outline-faint); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; min-width: 0; flex-shrink: 0; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-1);
}
.brand .logo img { width: 40px; height: 40px; display: block; }
.brand span:not(.logo) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .brand span:not(.logo) { display: none; } }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
.nav-links { display: none; align-items: center; gap: 28px; font-weight: 600; font-size: .92rem; color: var(--text-2); }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--primary); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Language switcher */
.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-opt {
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 8px; color: var(--text-2);
  transition: background .15s ease, color .15s ease;
}
.lang-opt:hover { background: var(--surface-variant); color: var(--text); }
.lang-opt.active { background: var(--primary-container); color: var(--on-primary-container); }

/* ---------- Breadcrumbs (guide pages) ---------- */
.crumbs { padding: 22px 0 0; font-size: .86rem; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a { color: var(--text-2); transition: color .15s ease; }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { opacity: .6; }
.crumbs .current { color: var(--text); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  padding: 15px 26px; border-radius: 100px;
  background: var(--accent); color: var(--on-accent);
  box-shadow: var(--shadow-2);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .2s ease;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); background: var(--accent-dark); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; }
.btn.btn-ghost {
  background: transparent; color: var(--primary);
  box-shadow: none; border: 1.5px solid var(--outline);
  font-weight: 600; padding: 12px 22px;
}
.btn.btn-ghost:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); border-color: var(--primary); }
.btn.btn-light { background: var(--accent); color: var(--on-accent); }
.btn.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* Store badges */
.play-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 18px; border-radius: 100px;
  background: var(--accent); color: var(--on-accent);
  box-shadow: var(--shadow-2);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .2s ease;
}
.play-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); background: var(--accent-dark); }
.play-badge .tri { width: 26px; height: 28px; flex-shrink: 0; }
.play-badge .apple { width: 23px; height: 27px; flex-shrink: 0; margin-bottom: 2px; }
.play-badge .lbl { line-height: 1.05; text-align: left; white-space: nowrap; }
.play-badge .lbl small { display: block; font-size: .66rem; font-weight: 600; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.play-badge .lbl strong { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.play-badge.outline { background: var(--surface); color: var(--text); border: 1.5px solid var(--outline); box-shadow: var(--shadow-1); }
.play-badge.outline:hover { background: var(--surface-1); }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--primary-container); color: var(--on-primary-container);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px; white-space: nowrap;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; font-weight: 900; text-wrap: balance; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.1rem; text-wrap: pretty; }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 22%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(50% 40% at 10% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
.hero-copy h1 .hl { color: var(--primary); position: relative; }
.hero-copy .sub { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--text-2); max-width: 520px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; color: var(--text-2); font-size: .92rem; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.hero-trust .sep { width: 1px; height: 18px; background: var(--outline); }

/* ---------- Phone mockup ---------- */
.phone-stage { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: 300px; height: 612px; border-radius: 44px;
  background: #0E0B16; padding: 12px;
  box-shadow: 0 40px 80px -20px rgba(81,45,168,.5), 0 18px 40px rgba(28,27,31,.28), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(1deg);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.phone:hover { transform: rotateY(-6deg) rotateX(2deg); }
.phone::after { content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #2a2533; }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--surface); position: relative; display: flex; flex-direction: column; }
.notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #0E0B16; border-radius: 100px; z-index: 6; }
.statusbar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 24px; font-size: .72rem; font-weight: 700; color: var(--text); z-index: 5; }
.statusbar .sig { display: inline-flex; gap: 5px; align-items: center; }
.statusbar .sig svg { width: 15px; height: 15px; }
.map { flex: 1; position: relative; overflow: hidden; background: linear-gradient(0deg, color-mix(in srgb, var(--primary) 7%, var(--surface-1)), var(--surface-1)); }
.map .road { position: absolute; background: var(--surface); box-shadow: 0 0 0 1px var(--outline-faint); }
.map .blob { position: absolute; border-radius: 40% 60% 55% 45%; background: color-mix(in srgb, var(--primary) 9%, var(--surface-1)); }
.map .park { position: absolute; border-radius: 24px; background: color-mix(in srgb, #2E7D32 22%, var(--surface-1)); }
.route { position: absolute; inset: 0; z-index: 2; }
.dest-pin { position: absolute; left: 62%; top: 30%; transform: translate(-50%,-100%); z-index: 4; animation: drop .8s cubic-bezier(.2,.9,.3,1) .3s both; }
.dest-pin svg { width: 42px; height: 42px; filter: drop-shadow(0 6px 8px rgba(28,27,31,.3)); }
.you { position: absolute; left: 28%; top: 70%; transform: translate(-50%,-50%); z-index: 3; width: 20px; height: 20px; }
.you .dot { position: absolute; inset: 0; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(28,27,31,.4); }
.you .ring { position: absolute; inset: -12px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 35%, transparent); animation: pulse 2.4s ease-out infinite; }
.geofence { position: absolute; left: 62%; top: 30%; width: 150px; height: 150px; transform: translate(-50%,-50%); border-radius: 50%; z-index: 1; border: 2px dashed color-mix(in srgb, var(--primary) 55%, transparent); background: color-mix(in srgb, var(--primary) 10%, transparent); }
@keyframes drop { from { opacity: 0; transform: translate(-50%,-160%); } to { opacity: 1; transform: translate(-50%,-100%); } }
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
.sheet { z-index: 5; background: var(--surface); border-radius: 24px 24px 0 0; box-shadow: 0 -8px 24px rgba(28,27,31,.14); padding: 8px 18px 20px; margin-top: -22px; }
.sheet .grab { width: 34px; height: 4px; border-radius: 4px; background: var(--outline); margin: 6px auto 14px; }
.alarm-row { display: flex; align-items: center; gap: 12px; }
.alarm-icn { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; background: var(--primary-container); color: var(--on-primary-container); display: grid; place-items: center; }
.alarm-icn svg { width: 24px; height: 24px; }
.alarm-meta { flex: 1; min-width: 0; }
.alarm-meta .t { font-weight: 800; font-size: .95rem; }
.alarm-meta .s { font-size: .78rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch { width: 44px; height: 26px; border-radius: 100px; background: var(--primary); position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.progress { margin-top: 16px; }
.progress .bar { height: 8px; border-radius: 100px; background: var(--surface-variant); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 74%; border-radius: 100px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); animation: fill 2.6s cubic-bezier(.4,0,.2,1) .6s both; }
.progress .lbls { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: var(--text-2); font-weight: 600; }
.progress .lbls b { color: var(--accent-dark); font-weight: 800; }
@keyframes fill { from { width: 0; } to { width: 74%; } }

/* ---------- Download section ---------- */
.download { background: var(--surface-1); }
@media (prefers-color-scheme: dark) { .download { background: var(--surface); } }
.dl-card {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--outline-faint); border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-2);
}
@media (prefers-color-scheme: dark) { .dl-card { background: var(--surface-1); } }
@media (min-width: 860px) { .dl-card { grid-template-columns: 1.2fr .8fr; } }
.dl-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.dl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--outline-faint); margin-top: 34px; padding-top: 28px; }
.dl-stats .stat b { display: block; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; color: var(--primary); }
.dl-stats .stat span { font-size: .84rem; color: var(--text-2); }
.dl-side { display: flex; flex-direction: column; gap: 14px; }
.dl-req { background: var(--surface-1); border-radius: var(--r-md); padding: 22px 24px; }
@media (prefers-color-scheme: dark) { .dl-req { background: var(--surface-2); } }
.dl-req h3 { font-size: 1rem; margin-bottom: 12px; }
.dl-req ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dl-req li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-2); }
.dl-req li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 34px 28px 30px; background: var(--surface); border: 1px solid var(--outline-faint); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step .num { counter-increment: step; position: absolute; top: 28px; right: 28px; font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--surface-variant); }
.step .num::before { content: "0" counter(step); }
.step .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(150deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: var(--shadow-1); margin-bottom: 22px; }
.step .ic svg { width: 30px; height: 30px; }
.step h3 { font-size: 1.3rem; }
.step p { margin-top: 10px; color: var(--text-2); }

/* ---------- Features ---------- */
.features { background: var(--surface-1); }
@media (prefers-color-scheme: dark) { .features { background: var(--surface); } }
.feature-grid { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.feature { flex: 1 1 280px; max-width: 372px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--outline-faint); border-radius: var(--r-md); box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
@media (prefers-color-scheme: dark) { .feature { background: var(--surface-1); } }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--primary) 35%, var(--outline-faint)); }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-container); color: var(--on-primary-container); margin-bottom: 18px; }
.feature .ic svg { width: 27px; height: 27px; }
.feature.hl .ic { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--accent-dark); }
.feature h3 { font-size: 1.18rem; }
.feature p { margin-top: 9px; color: var(--text-2); font-size: .98rem; text-wrap: pretty; }

/* ---------- Guides ---------- */
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .guides-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px; background: var(--surface); border: 1px solid var(--outline-faint);
  border-radius: var(--r-md); box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--primary) 35%, var(--outline-faint)); }
.guide-card .tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.guide-card h3 { font-size: 1.08rem; line-height: 1.3; }
.guide-card p { font-size: .9rem; color: var(--text-2); flex: 1; }
.guide-card .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--primary); }
.guide-card .go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.guide-card:hover .go svg { transform: translateX(3px); }
.guides-more { text-align: center; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: var(--maxw-article); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--outline-faint); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative;
  font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; flex-shrink: 0; color: var(--primary); transition: transform .25s ease;
}
.faq-item[open] summary .plus { transform: translateY(-50%) rotate(45deg); }
.faq-item .a { padding: 0 24px 26px; color: var(--text-2); }
.faq-item .a p { text-wrap: pretty; }
.faq-item .a .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--primary); }
.faq-item .a .learn-more svg { width: 16px; height: 16px; }
.faq-cta { text-align: center; margin-top: 40px; color: var(--text-2); }
.faq-cta a { font-weight: 700; color: var(--primary); }

/* ---------- Final CTA ---------- */
.final { padding: 0; }
.final-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--primary-dark), var(--primary) 60%, #7E57C2);
  border-radius: var(--r-xl);
  padding: clamp(48px, 8vw, 92px) clamp(28px, 6vw, 80px);
  text-align: center; color: #fff; box-shadow: var(--shadow-3);
}
.final-inner::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(40% 60% at 85% 15%, rgba(255,143,0,.35), transparent 60%), radial-gradient(40% 50% at 10% 100%, rgba(255,255,255,.16), transparent 60%); }
.final-inner > * { position: relative; z-index: 1; }
.final-inner .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.final-inner .eyebrow .dot { background: var(--accent); }
.final-inner h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
.final-inner p { margin: 18px auto 0; max-width: 520px; color: rgba(255,255,255,.86); font-size: 1.12rem; text-wrap: pretty; }
.final-inner .acts { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 48px; border-top: 1px solid var(--outline-faint); }
.foot { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; justify-content: space-between; }
@media (min-width: 720px) { .foot { flex-direction: row; align-items: flex-start; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 26px; color: var(--text-2); font-weight: 500; }
.foot-links a { transition: color .2s ease; }
.foot-links a:hover { color: var(--primary); }
.foot .copy { color: var(--text-2); font-size: .88rem; }
.foot-guides { display: flex; flex-direction: column; gap: 10px; }
.foot-guides .ttl { font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.foot-guides a { color: var(--text-2); font-size: .92rem; transition: color .2s ease; }
.foot-guides a:hover { color: var(--primary); }
.foot-cols { display: grid; grid-template-columns: 1fr; gap: 32px; width: 100%; }
@media (min-width: 720px) { .foot-cols { grid-template-columns: repeat(3, 1fr); width: auto; } }

/* ---------- Reveal animations ----------
   Content is visible by default. The hide-then-animate behaviour only kicks
   in when the inline <head> script has stamped html.js, so a JS failure,
   a blocked script, or a crawler without scripting still sees the full page. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .phone { transform: none; }
  .you .ring, .progress .bar i, .dest-pin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Guide article page
   ========================================================================== */
.guide-hero { padding: 40px 0 56px; }
.guide-hero .eyebrow { margin-bottom: 18px; }
.guide-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); max-width: var(--maxw-article); }
.guide-hero .dek { margin-top: 18px; font-size: 1.15rem; color: var(--text-2); max-width: var(--maxw-article); text-wrap: pretty; }
.guide-hero .meta { margin-top: 22px; display: flex; gap: 14px; align-items: center; color: var(--text-2); font-size: .88rem; }
.guide-hero .meta img { width: 28px; height: 28px; border-radius: 8px; }

.article { padding: 0 0 88px; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: var(--maxw-article); margin: 0 auto; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 44px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.18rem; margin: 30px 0 12px; }
.article-body p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 16px; text-wrap: pretty; }
.article-body p.lead { font-size: 1.15rem; color: var(--text); }
.article-body ul, .article-body ol { color: var(--text-2); font-size: 1.05rem; margin: 0 0 20px; padding-left: 1.4em; display: flex; flex-direction: column; gap: 10px; }
.article-body li::marker { color: var(--primary); font-weight: 700; }
.article-body strong { color: var(--text); }
.article-body a:not(.btn):not(.play-badge) { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--primary) 40%, transparent); }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--primary-container); color: var(--on-primary-container);
  border-radius: var(--r-md); padding: 22px 24px; margin: 28px 0;
}
.callout svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; color: inherit; opacity: .92; font-size: .98rem; }

.mini-steps { counter-reset: mstep; display: flex; flex-direction: column; gap: 4px; margin: 24px 0; }
.mini-step { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--outline-faint); }
.mini-step:last-child { border-bottom: none; }
.mini-step .n { counter-increment: mstep; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; display: grid; place-items: center; }
.mini-step .n::before { content: counter(mstep); }
.mini-step .c strong { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.mini-step .c p { margin: 0; color: var(--text-2); font-size: .96rem; }

.inline-cta {
  margin: 40px 0; padding: 30px 28px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--primary-dark), var(--primary) 70%);
  color: #fff; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-2);
}
.inline-cta .txt strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.inline-cta .txt span { color: rgba(255,255,255,.82); font-size: .94rem; }

.toc { background: var(--surface-1); border: 1px solid var(--outline-faint); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 8px; }
@media (prefers-color-scheme: dark) { .toc { background: var(--surface-2); } }
.toc .ttl { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; counter-reset: toc; }
.toc ol li { counter-increment: toc; font-size: .92rem; }
.toc ol li a { color: var(--text-2); display: flex; gap: 8px; }
.toc ol li a::before { content: counter(toc) "."; font-weight: 800; color: var(--primary); }
.toc ol li a:hover { color: var(--primary); }

.related { margin-top: 8px; }
.related .ttl { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-list a { display: block; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--outline-faint); font-weight: 700; font-size: .92rem; transition: border-color .2s ease, transform .2s ease; }
.related-list a:hover { border-color: var(--primary); transform: translateX(3px); }

.article-side { display: flex; flex-direction: column; gap: 24px; }

@media (min-width: 980px) {
  /* Keep the article inside the site's standard --maxw container (same as the
     hero above) so the body's left edge lines up with the breadcrumb/H1 and the
     sidebar's right edge lines up with the hero. Overrides the base 760px cap. */
  .article-grid { grid-template-columns: 1fr 300px; max-width: var(--maxw); }
  .article-body { max-width: var(--maxw-article); }
}
