:root {
  --jungle-950: #08261b;
  --jungle-900: #0c3524;
  --jungle-800: #154c32;
  --jungle-700: #246c45;
  --leaf: #75a63c;
  --gold: #e7b758;
  --gold-soft: #ffe5a2;
  --clay: #8b461f;
  --paper: #fff8e5;
  --paper-2: #f7e7bb;
  --ink: #2b2117;
  --muted: #6d6255;
  --white: #fff;
  --line: rgba(94, 64, 31, .18);
  --shadow: 0 18px 55px rgba(8, 38, 27, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #f3eddc; font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--jungle-700); }
button, input { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 32px)); max-width: calc(100vw - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 99; padding: 10px 14px; color: #fff; background: var(--jungle-900); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.hero { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--jungle-900) url("assets/jungle-sunset.png") center 58% / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 29, 20, .94) 0%, rgba(7, 46, 30, .78) 48%, rgba(7, 38, 27, .28) 100%); }
.hero__content { position: relative; z-index: 1; padding-block: 84px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: .77rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 16px 0 18px; font: 800 clamp(3rem, 8vw, 6.2rem)/.92 Georgia, serif; letter-spacing: -.045em; text-shadow: 0 5px 25px rgba(0, 0, 0, .32); }
.hero h1 span { color: var(--gold-soft); }
.hero__content > p:not(.privacy-note) { max-width: 650px; margin: 0 0 26px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 2px solid transparent; border-radius: 999px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { color: #3f250f; background: linear-gradient(135deg, #ffe29a, var(--gold)); box-shadow: 0 10px 28px rgba(231, 183, 88, .25); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(7, 39, 27, .35); backdrop-filter: blur(8px); }
.privacy-note { margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: .87rem; }

.toolbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(8, 38, 27, .96); backdrop-filter: blur(14px); }
.toolbar__inner { min-height: 68px; display: flex; align-items: center; gap: 10px; }
.search { min-width: 260px; flex: 1; display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--gold-soft); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); }
.search input { width: 100%; color: #fff; border: 0; outline: 0; background: transparent; }
.search input::placeholder { color: rgba(255,255,255,.58); }
.tool-button { padding: 10px 14px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; font-size: .84rem; font-weight: 800; cursor: pointer; }
.tool-button:hover { background: rgba(255,255,255,.1); }

.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-block: 42px 80px; }
.sidebar { align-self: start; }
.sidebar__card { position: sticky; top: 92px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 250, 234, .86); box-shadow: var(--shadow); }
.sidebar__title { margin: 0 0 9px; color: var(--clay); font: 800 1.12rem Georgia, serif; }
.sidebar nav { display: grid; gap: 2px; }
.sidebar nav a { padding: 7px 10px; color: #4d4034; border-radius: 9px; font-size: .89rem; font-weight: 750; text-decoration: none; }
.sidebar nav a:hover, .sidebar nav a.is-active { color: var(--jungle-900); background: rgba(117, 166, 60, .14); }
.progress-card { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.progress-card__heading { display: flex; justify-content: space-between; font-size: .86rem; }
.progress-track { height: 8px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #e0d6bd; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--leaf), var(--jungle-700)); transition: width .25s ease; }
.progress-card p { margin: 8px 0; color: var(--muted); font-size: .76rem; }
.progress-card button { padding: 0; color: var(--clay); border: 0; background: none; font-size: .74rem; font-weight: 800; cursor: pointer; }

.content-column { min-width: 0; display: grid; gap: 28px; }
.guide, .tour-card, .final-card { min-width: 0; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 250, 234, .92); box-shadow: var(--shadow); }
.guide[hidden], .tour-card[hidden], .final-card[hidden] { display: none; }
.section-kicker { margin: 0 0 5px; color: var(--jungle-700); }
h2 { margin: 0; color: var(--jungle-950); font: 800 clamp(1.7rem, 4vw, 2.6rem)/1.05 Georgia, serif; }
h3 { color: var(--jungle-900); }
.guide__heading { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.step-badge { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; color: #fff6d8; border-radius: 17px; background: linear-gradient(145deg, var(--clay), #562411); font: 800 1.1rem Georgia, serif; box-shadow: 0 8px 20px rgba(91, 45, 17, .2); }
.guide__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: center; gap: clamp(24px, 5vw, 48px); }
.guide__grid--reverse > :first-child { order: 2; }
.visual-card { margin: 0; overflow: hidden; border: 1px solid rgba(70, 89, 51, .18); border-radius: 20px; background: #fff; box-shadow: 0 14px 32px rgba(16, 65, 43, .12); }
.visual-card img { width: 100%; }
.visual-card figcaption { padding: 10px 14px; color: var(--muted); border-top: 1px solid var(--line); background: #fffaf0; font-size: .75rem; text-align: center; }
.visual-card--wide { margin-bottom: 24px; }
.pass-figure img { max-height: 580px; object-fit: contain; background: var(--jungle-950); }
.steps { margin: 0; padding: 0; counter-reset: step; list-style: none; }
.steps li { position: relative; min-height: 42px; padding: 0 0 17px 46px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 31px; height: 31px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--jungle-700); font-size: .8rem; font-weight: 900; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; bottom: 2px; left: 15px; width: 1px; background: rgba(36, 108, 69, .25); }
.callout { margin: 18px 0; padding: 15px 17px; color: #31503e; border-left: 4px solid var(--leaf); border-radius: 0 14px 14px 0; background: rgba(117, 166, 60, .12); font-size: .9rem; }
.callout--warning { color: #68411e; border-color: #d89835; background: rgba(231, 183, 88, .18); }
.callout--tip { color: #2c4f3c; }
.task-check { margin-top: 18px; display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px dashed rgba(36, 108, 69, .35); border-radius: 14px; color: var(--jungle-900); background: rgba(255,255,255,.55); font-weight: 800; cursor: pointer; }
.task-check input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--jungle-700); }
details { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.5); }
summary { padding: 13px 15px; color: var(--jungle-900); font-weight: 850; cursor: pointer; }
details p { margin: 0; padding: 0 15px 15px; color: var(--muted); }
.example-box { display: grid; gap: 3px; margin: 18px 0; padding: 17px; color: var(--jungle-950); border: 1px solid rgba(231, 183, 88, .55); border-radius: 16px; background: linear-gradient(135deg, #fff4cf, #f3d58c); }
.example-box span { color: var(--clay); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.example-box small { color: #6a553a; }

.tour-card { background: linear-gradient(145deg, #fff8e6, #f3e1ad); }
.tour { margin-top: 22px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 20px; background: var(--jungle-950); box-shadow: 0 15px 36px rgba(8, 38, 27, .2); }
.tour__visual { position: relative; min-height: 340px; display: grid; place-items: center; padding: 24px; background: #dfe8d1; }
.tour__visual img { width: 100%; max-height: 360px; object-fit: contain; }
.tour__number { position: absolute; top: 18px; left: 18px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--jungle-950); border: 3px solid #fff; border-radius: 50%; background: var(--gold); font: 900 1.2rem Georgia, serif; box-shadow: 0 7px 18px rgba(0,0,0,.18); }
.tour__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(25px, 5vw, 48px); color: #fff; }
.tour__label { margin: 0 0 7px; color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.tour__copy h3 { margin: 0 0 12px; color: #fff8df; font: 800 1.65rem Georgia, serif; }
.tour__copy > p:not(.tour__label) { margin: 0; color: rgba(255,255,255,.78); }
.tour__controls { display: flex; gap: 8px; margin-top: 24px; }
.tour__controls button { padding: 9px 13px; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 800; cursor: pointer; }
.tour__controls button:disabled { opacity: .35; cursor: default; }

.action-list { display: grid; gap: 10px; }
.action-list > div { display: flex; gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
.action-list p { margin: 0; font-size: .9rem; }
.action-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--gold-soft); }
.columns-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.columns-3 article { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); }
.columns-3 span { color: var(--clay); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.columns-3 h3 { margin: 3px 0 6px; font: 800 1.12rem Georgia, serif; }
.columns-3 p { margin: 0; color: var(--muted); font-size: .84rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-grid details { margin: 0; }
.final-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; color: #fff; background: linear-gradient(135deg, var(--jungle-950), var(--jungle-700)); }
.final-card h2 { color: #fff8df; }
.final-card p { margin: 5px 0 0; color: rgba(255,255,255,.72); }
.final-card__icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--jungle-950); border-radius: 50%; background: var(--gold); font-size: 1.8rem; font-weight: 900; }
.no-results { padding: 30px; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.footer { color: rgba(255,255,255,.74); background: var(--jungle-950); }
.footer .shell { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .83rem; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .guide__grid, .tour { grid-template-columns: 1fr; }
  .guide__grid--reverse > :first-child { order: initial; }
  .columns-3 { grid-template-columns: 1fr; }
  .tour__visual { min-height: 250px; }
}

@media (max-width: 650px) {
  .hero { min-height: 620px; }
  .hero__shade { background: linear-gradient(180deg, rgba(4, 29, 20, .86), rgba(4, 29, 20, .93)); }
  .hero__content { padding-block: 65px; }
  .toolbar__inner { padding-block: 10px; flex-wrap: wrap; }
  .search { min-width: 100%; }
  .tool-button { flex: 1; padding-inline: 8px; font-size: .73rem; }
  .guide, .tour-card, .final-card { border-radius: 18px; }
  .guide__heading { align-items: flex-start; }
  .step-badge { width: 46px; height: 46px; border-radius: 13px; }
  .faq-grid { grid-template-columns: 1fr; }
  .final-card { grid-template-columns: 1fr; text-align: center; }
  .final-card__icon { margin-inline: auto; }
  .footer .shell { padding-block: 20px; flex-direction: column; justify-content: center; text-align: center; }
}

@media print {
  body { background: #fff; }
  .hero { min-height: auto; color: #111; background: #fff; }
  .hero__shade, .toolbar, .sidebar, .hero__actions, .privacy-note, .tour__controls, .task-check, .final-card .button { display: none !important; }
  .hero__content { padding-block: 25px; }
  .hero h1, .hero h1 span, .hero__content > p:not(.privacy-note) { color: #111; text-shadow: none; }
  .layout { display: block; padding-block: 0; }
  .content-column { display: block; }
  .guide, .tour-card, .final-card { break-inside: avoid; margin-bottom: 18px; box-shadow: none; }
  .guide[hidden], .tour-card[hidden], .final-card[hidden] { display: block; }
  .footer { color: #111; background: #fff; }
}
