/* The app's theme (guidehunter-android core/designsystem Color.kt): BetterHunter's "field guide" palette, forest
   greens, blaze orange for the one main action, green for links, and the map pins (orange hunt, teal fish, gold both).
   Fonts: Barlow, and Barlow Condensed for titles. Light and dark follow the system; the toggle overrides it. */

@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(fonts/barlow_regular.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(fonts/barlow_medium.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(fonts/barlow_semibold.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(fonts/barlow_condensed_bold.woff2) format('woff2'); }

:root {
  --bg: #F5F2EA; --text: #17201A; --muted: #5B6659;
  --card: #FFFFFF; --card-2: #EDE8DC; --line: #E6E1D5; --line-2: #DDD7C8;
  --primary: #E8691E; --on-primary: #1A0E05; --primary-tint: #FDEBDD; --orange-text: #B4500F;
  --green: #2F6B3E; --green-tint: #E3EFE4; --deep: #1F4229;
  --hunt: #E8691E; --fish: #1F7A6A; --both: #C99A12; --pin-outline: #FFFFFF;
  --map-land: #E4E9DA; --map-water: #B9D3CF; --map-river: #A3C4C0;
  --shadow: 0 1px 2px rgb(23 32 26 / .06), 0 8px 24px rgb(23 32 26 / .08);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1611; --text: #EEF1EA; --muted: #A9B5AB;
    --card: #17221A; --card-2: #1C2920; --line: #24352A; --line-2: #2C3B30;
    --primary: #F27B2B; --primary-tint: #2A1C11; --orange-text: #F7A06A;
    --green: #8FD19E; --green-tint: #22382A; --deep: #17331F;
    --hunt: #F27B2B; --fish: #4FB3A0; --both: #E9C25A; --pin-outline: #0E1611;
    --map-land: #1A2A1F; --map-water: #1E3A3A; --map-river: #24474A;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1611; --text: #EEF1EA; --muted: #A9B5AB;
  --card: #17221A; --card-2: #1C2920; --line: #24352A; --line-2: #2C3B30;
  --primary: #F27B2B; --primary-tint: #2A1C11; --orange-text: #F7A06A;
  --green: #8FD19E; --green-tint: #22382A; --deep: #17331F;
  --hunt: #F27B2B; --fish: #4FB3A0; --both: #E9C25A; --pin-outline: #0E1611;
  --map-land: #1A2A1F; --map-water: #1E3A3A; --map-river: #24474A;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 Barlow, system-ui, sans-serif; transition: background-color .25s, color .25s; }
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: 'Barlow Condensed', Barlow, sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: .2px; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 640px; margin: 0 auto 1.6em; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.eyebrow { font-weight: 600; color: var(--orange-text); text-transform: uppercase; letter-spacing: 1.2px; font-size: .85rem; display: flex; align-items: center; gap: 8px; margin-bottom: .8em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font: 600 1rem/1.2 Barlow, sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px rgb(232 105 30 / .28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgb(232 105 30 / .38); }
.btn-primary small { display: block; font-weight: 500; font-size: .75rem; opacity: .8; }
.btn-ghost { color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: .95rem; box-shadow: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1em; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--card-2); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font: 700 1.6rem/1 'Barlow Condensed', sans-serif; }
.logo-pin { width: 26px; height: 36px; flex: none; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: var(--card-2); }
.nav a[aria-current] { background: var(--primary-tint); color: var(--orange-text); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lang { font-weight: 600; font-size: .9rem; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.lang:hover { background: var(--card-2); }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: inline-flex; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .i-sun { display: inline-flex; }
  :root:not([data-theme="light"]) .theme .i-moon { display: none; }
}
.menu { display: none; }
@media (max-width: 960px) {
  .menu { display: inline-flex; }
  .get { display: none; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 14px; font-size: 1.1rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--fish) 14%, transparent), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* The phone mockup */
.phone { position: relative; justify-self: center; width: min(330px, 100%); }
.screen { aspect-ratio: 390 / 760; border-radius: 40px; border: 10px solid #0A0F0C; background: var(--bg); box-shadow: 0 30px 60px rgb(0 0 0 / .3), 0 0 0 1px var(--line-2); overflow: hidden; display: flex; flex-direction: column; animation: rise .8s ease-out both; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 6px; font: 700 1.2rem 'Barlow Condensed', sans-serif; }
.ph-loc { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--green); }
.ph-plus { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font: 600 1rem Barlow; }
.ph-chips { display: flex; gap: 6px; padding: 4px 12px 8px; }
.ph-chips span { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.ph-chips .on { background: var(--primary-tint); border-color: var(--primary); color: var(--orange-text); }
.ph-map { position: relative; flex: 1; }
.ph-land { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-land .land { fill: var(--map-land); }
.ph-land .water { fill: var(--map-water); }
.ph-land .river { fill: none; stroke: var(--map-river); stroke-width: 1.4; }
.ph-pin { position: absolute; width: 22px; height: 30px; transform: translate(-50%, -100%); animation: drop .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.ph-pin::before { content: ''; position: absolute; inset: 0; background: currentColor; -webkit-mask: url(pin-shape.svg) center / contain no-repeat; mask: url(pin-shape.svg) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .3)); }
.ph-pin::after { content: ''; position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--pin-outline); }
.pin-hunt { color: var(--hunt); } .pin-fish { color: var(--fish); } .pin-both { color: var(--both); }
.ph-pin:nth-child(3) { animation-delay: .15s; } .ph-pin:nth-child(4) { animation-delay: .25s; } .ph-pin:nth-child(5) { animation-delay: .35s; }
.ph-pin:nth-child(6) { animation-delay: .45s; } .ph-pin:nth-child(7) { animation-delay: .55s; }
.ph-count { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); background: var(--card); padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; box-shadow: var(--shadow); }
.ph-cards { display: grid; gap: 8px; padding: 10px 12px; background: var(--bg); }
.ph-card { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 11px; }
.ph-card b { display: block; font-size: .85rem; line-height: 1.25; }
.ph-card small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; }
.ph-card em { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--orange-text); }
.ph-card .dot { margin-top: 4px; }
.ph-cta { margin: 0 12px 14px; text-align: center; background: var(--primary); color: var(--on-primary); border-radius: 999px; font-size: .78rem; font-weight: 600; padding: 9px; }
.ph-note { display: block; text-align: center; font-size: .78rem; color: var(--muted); margin-top: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -160%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Pins as dots */
.dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); vertical-align: middle; }
.dot-hunt { background: var(--hunt); } .dot-fish { background: var(--fish); } .dot-both { background: var(--both); }
.legend { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.legend .dot { margin-left: 10px; }

/* Sections */
.block { padding: 64px 16px; }
@media (min-width: 720px) { .block { padding: 80px 28px; } }
.band { background: var(--card-2); padding: 64px 0; border-block: 1px solid var(--line); }
.band h2:first-child, .block > h2:first-child { margin-top: 0; }
.grid3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.6em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.how { list-style: none; padding: 0; margin: 2em 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: none; }
.how li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.how p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-tint); color: var(--orange-text); font: 700 1.3rem 'Barlow Condensed', sans-serif; margin-bottom: 12px; }
.two { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.two h3 a { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .15s; }
.chip:hover { border-color: var(--primary); transform: translateY(-1px); }

.guides-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--deep); color: #EEF1EA; }
.guides-band h2 { margin-top: 0; color: #fff; }
.guides-band p { color: #C9D3CA; }
.guides-band .ticks li::before { background-color: #8FD19E; }
@media (max-width: 760px) { .guides-band { grid-template-columns: 1fr; padding: 28px 22px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
:root[data-theme="dark"] .ticks li::before { background-color: #2F6B3E; }

.art-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.art-title { font: 700 1.35rem/1.15 'Barlow Condensed', sans-serif; }
.art-lead { color: var(--muted); font-size: .98rem; flex: 1; }
.more, .link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font: 400 1.7rem/1.2 Barlow; color: var(--orange-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

.end { text-align: center; }
.end .logo-pin { width: 48px; height: 66px; }
.end p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.end .ctas { justify-content: center; }

/* Content pages */
.page { padding-top: 24px; padding-bottom: 72px; }
.page-head { margin: 8px 0 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } }
.prose { max-width: 720px; }
.prose section h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.aside { position: sticky; top: 92px; }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.app-card-head { display: flex; gap: 12px; align-items: center; font: 700 1.3rem/1.15 'Barlow Condensed', sans-serif; margin-bottom: 12px; }
.app-card p { color: var(--muted); font-size: 1rem; }
.app-card .ctas { margin-bottom: 0; }
.app-card .btn { width: 100%; justify-content: center; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-tint); color: var(--orange-text); display: grid; place-items: center; font: 700 1.15rem 'Barlow Condensed', sans-serif; }
.steps strong { display: block; }
.steps span { color: var(--muted); }
.sp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-bottom: 32px; }
.sp-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.sp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sp-name { font: 700 1.3rem 'Barlow Condensed', sans-serif; }
.sp-lead { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.nf { padding-top: 72px; }
.nf .logo-pin { width: 56px; height: 76px; }

/* Footer */
.foot { background: var(--card-2); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot h2 { font-size: 1.1rem; margin: 0 0 10px; }
.foot h2 a { color: var(--text); text-decoration: none; }
.foot ul { list-style: none; padding: 0; margin: 0 0 20px; }
.foot li { margin-bottom: 6px; }
.foot li a { color: var(--muted); text-decoration: none; }
.foot li a:hover { color: var(--green); }
.foot-brand p { color: var(--muted); }
.fine { color: var(--muted); font-size: .85rem; margin-top: 16px; }
