/* Wai Sense — public home page (v4.24.0). Same ground, blaze orange and Archivo as the app (sense-v2.css). */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../fonts/archivo/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../fonts/archivo/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #0b1422; --panel: #111d30; --raised: #16243a; --line: rgba(159, 195, 232, .14);
  --text: #eaf0f7; --muted: #a3b1c4; --blaze: #ff9a3c; --blaze-ink: #1a0d00; --glacier: #8fd3f0; --moss: #4cc38a; --rose: #ff6b6b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sh { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.55 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.sh-wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.feather { width: 18px; height: 18px; }

/* nav */
.sh-nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 20, 34, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sh-nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.sh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 20px; letter-spacing: -.01em; }
.sh-brand img { border-radius: 9px; }
.sh-links { display: flex; gap: 6px; margin-left: 12px; }
.sh-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.sh-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.sh-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sh-signin { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); }
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--blaze); color: var(--blaze-ink);
  font: 700 16px/1 'Archivo', system-ui, sans-serif; padding: 15px 24px; border-radius: 12px; transition: transform .12s, filter .12s; white-space: nowrap; }
.sh-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.sh-btn.sm { font-size: 14px; padding: 10px 16px; border-radius: 10px; }
.sh-btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(234, 240, 247, .35); }
.sh-btn:focus-visible, .sh-links a:focus-visible, .sh-card:focus-visible, .sh-quick a:focus-visible { outline: 3px solid var(--glacier); outline-offset: 2px; }

/* hero */
.sh-hero { position: relative; overflow: hidden; min-height: min(700px, 88vh); display: flex; align-items: center; }
.sh-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--ground)); }
.sh-hero-in { position: relative; z-index: 1; padding: 72px 0 150px; text-align: center; }
.sh-hero h1 { margin: 0 auto; max-width: 14ch; font-size: clamp(44px, 7.4vw, 88px); line-height: .98; font-weight: 800; font-stretch: 115%; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 2px 30px rgba(11, 20, 34, .5); }
.sh-lead { margin: 22px auto 0; max-width: 40rem; font-size: clamp(17px, 2vw, 20px); color: #dbe4ef; text-wrap: pretty; text-shadow: 0 1px 14px rgba(11, 20, 34, .6); }
.sh-search { margin: 34px auto 0; max-width: 640px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 7px 7px 7px 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.sh-search .feather { color: #5b6b80; flex-shrink: 0; }
.sh-search input[type=search] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #0b1422; font: 500 17px 'Archivo', system-ui, sans-serif; padding: 12px 4px; }
.sh-search input::placeholder { color: #6c7a8c; }
.sh-quick { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sh-quick a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  background: rgba(11, 20, 34, .55); border: 1px solid rgba(234, 240, 247, .22); backdrop-filter: blur(6px); }
.sh-quick a:hover { border-color: var(--blaze); color: #fff; }
.sh-quick .feather { width: 14px; height: 14px; color: var(--blaze); }

/* stats */
.sh-stats { border-block: 1px solid var(--line); background: var(--panel); }
.sh-stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.sh-stats-in div { padding: 22px 12px; text-align: center; border-left: 1px solid var(--line); }
.sh-stats-in div:first-child { border-left: 0; }
.sh-stats b { display: block; font-size: 26px; font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.sh-stats span { color: var(--muted); font-size: 14px; }

/* sections */
.sh-sec { padding: 76px 0; }
.sh-alt { background: var(--panel); border-block: 1px solid var(--line); }
.sh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sh-head h2, .sh-cta h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; font-stretch: 110%; letter-spacing: -.015em; line-height: 1.1; }
.sh-head a { color: var(--blaze); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sh-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }

/* trail cards */
.sh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sh-card { display: flex; flex-direction: column; text-decoration: none; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .15s, border-color .15s; }
.sh-card:hover { transform: translateY(-3px); border-color: rgba(255, 154, 60, .55); }
.sh-card-map { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #1a2a43 url('../img/topo.svg') center / 420px; }
.sh-card-body { padding: 16px 18px 18px; }
.sh-card h3 { margin: 8px 0 6px; font-size: 19px; line-height: 1.25; font-weight: 700; }
.sh-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.sh-diff { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.sh-diff.easy { background: rgba(76, 195, 138, .16); color: var(--moss); }
.sh-diff.moderate { background: rgba(255, 154, 60, .16); color: var(--blaze); }
.sh-diff.hard { background: rgba(255, 107, 107, .16); color: var(--rose); }
.sh-diff.very_hard { background: rgba(167, 139, 250, .18); color: #b9a6ff; }

/* features */
.sh-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sh-feat { padding: 24px; border-radius: 18px; background: var(--ground); border: 1px solid var(--line); }
.sh-feat .feather { width: 26px; height: 26px; color: var(--blaze); }
.sh-feat h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 700; }
.sh-feat p, .sh-steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* steps */
.sh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sh-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 154, 60, .14); color: var(--blaze); font-weight: 800; font-size: 18px; }
.sh-steps h3 { margin: 14px 0 6px; font-size: 21px; font-weight: 700; }

/* cta + footer */
.sh-cta { padding: 0 0 76px; }
.sh-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 40px; border-radius: 24px;
  background: linear-gradient(120deg, #1b2c4a, #2a2c45 60%, #4a3340); border: 1px solid var(--line); }
.sh-cta p { margin: 8px 0 0; color: #cdd7e3; }
.sh-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sh-foot { border-top: 1px solid var(--line); padding: 34px 0 40px; }
.sh-foot-in { display: grid; gap: 14px; }
.sh-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sh-foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.sh-foot nav a:hover { color: var(--text); }
.sh-foot small { color: #7d8ca0; font-size: 13px; }

@media (max-width: 980px) {
  .sh-cards { grid-template-columns: repeat(2, 1fr); }
  .sh-feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .sh-links, .sh-signin { display: none; }
  .sh-nav-in { height: 60px; }
  .sh-hero { min-height: 0; }
  .sh-hero-in { padding: 54px 0 120px; }
  .sh-search { padding-left: 14px; }
  .sh-search .sh-btn { padding: 13px 16px; }
  .sh-stats-in { grid-template-columns: repeat(2, 1fr); }
  .sh-stats-in div:nth-child(3) { border-left: 0; }
  .sh-stats-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sh-sec { padding: 54px 0; }
  .sh-cards, .sh-feats, .sh-steps { grid-template-columns: 1fr; }
  .sh-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sh-cta-in { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
