/* Sarerin website. Colours, type and shapes are the app's (design/design-tokens.json): flat colours, no gradients. */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/Inter-400.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../fonts/Inter-500.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/Inter-600.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(../fonts/Inter-700.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(../fonts/Inter-800.ttf) format("truetype"); }
/* Armenian letters only: the browser fetches these when a page shows Armenian */
@font-face { font-family: Inter; font-weight: 400 500; font-display: swap; src: url(../fonts/NotoSansArmenian-400.ttf) format("truetype"); unicode-range: U+0530-058F, U+FB13-FB17; }
@font-face { font-family: Inter; font-weight: 600 700; font-display: swap; src: url(../fonts/NotoSansArmenian-600.ttf) format("truetype"); unicode-range: U+0530-058F, U+FB13-FB17; }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(../fonts/NotoSansArmenian-800.ttf) format("truetype"); unicode-range: U+0530-058F, U+FB13-FB17; }

:root {
  --bg: #FAF8F3;
  --bg-2: #F3F1EA;
  --card: #FFFFFF;
  --ink: #2B2B2B;
  --muted: #6B6B6B;
  --line: #E3E0D8;
  --navy: #0B2A4A;
  --navy-2: #123A63;
  --navy-3: #1B4C7E;
  --a600: #1E5AA8;
  --a500: #2B6FC7;
  --a400: #6FA3E3;
  --sun: #F5A524;
  --clay: #D9534F;
  --easy-bg: #E3F2E4; --easy-fg: #256B2B;
  --mod-bg: #FDEFD3; --mod-fg: #8A5A00;
  --hard-bg: #FADCDB; --hard-fg: #9E2A27;
  --shadow: 0 4px 16px rgba(15, 46, 31, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, .18);
  --r-card: 16px;
  --r-btn: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1160px;
  --gut: 24px;
  color-scheme: light;
}

/* one language at a time: every text is written in both, and <html class="hy"> shows the Armenian */
html:not(.hy) body [lang="hy"], html.hy body [lang="en"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--a600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
.hy h1, .hy h2, .hy h3 { letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); border: 0;
  font: 700 16px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 20px; height: 20px; }
.btn-sun { background: var(--sun); color: #0B2A4A; }
.btn-sun:hover { background: #FFB43D; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-primary { background: var(--a600); color: #fff; }
.btn-primary:hover { background: var(--a500); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.top.solid { background: var(--card); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
/* the logo and the name first on the left, then the menu, the buttons on the right (the user, 2026-10-15) */
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { color: inherit; font-weight: 600; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: none; }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12);
}
.top.solid .lang { background: var(--bg-2); }
.lang button {
  border: 0; background: none; color: inherit; font: 700 13px/1 Inter, sans-serif; letter-spacing: .02em;
  padding: 8px 11px; border-radius: 999px; cursor: pointer; opacity: .75;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); opacity: 1; }
.top.solid .lang button[aria-pressed="true"] { background: var(--a600); color: #fff; }
.menu-btn { display: none; border: 0; background: none; color: inherit; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn .i { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 128px 0 0; }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-sky .topo path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1.2; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 150px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sun);
}
.hy .eyebrow { text-transform: none; letter-spacing: 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.04em; margin: 18px 0 22px; }
.hy .hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .8); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .i { color: var(--a400); }
.hero-phone { position: relative; justify-self: center; }
.ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 190px; }

/* floating notes next to the hero phone */
.note {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--card); color: var(--ink); border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; width: max-content; max-width: 230px;
}
.note b { display: block; font-size: 14px; }
.note small { color: var(--muted); }
.note .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.note .dot .i { width: 18px; height: 18px; }
.note-1 { left: -150px; top: 40%; }
.note-2 { right: -96px; bottom: 18%; }
.dot-clay { background: var(--hard-bg); color: var(--clay); }
.dot-blue { background: rgba(43, 111, 199, .14); color: var(--a600); }
.dot-sun { background: var(--mod-bg); color: var(--mod-fg); }

/* the difficulty pill, as in the app */
.diff { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; line-height: 1.3; }
.diff.easy { background: var(--easy-bg); color: var(--easy-fg); }
.diff.moderate { background: var(--mod-bg); color: var(--mod-fg); }
.diff.hard { background: var(--hard-bg); color: var(--hard-fg); }

/* route art (trail cards) */
.trail-art .topo path { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.1; }
.trail-art .topo path.major { stroke-width: 1.8; }
.route-under { fill: none; stroke: var(--t2); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.route { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.start { fill: var(--a600); stroke: #fff; stroke-width: 3; }
.flag path { stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.flag .cloth { fill: var(--clay); stroke: none; }

/* ---------- sections ---------- */
section { padding: 110px 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--a600); }
.hy .kicker { text-transform: none; letter-spacing: 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); margin: 12px 0 16px; }
.hy .sec-head h2 { font-size: clamp(23px, 2.5vw, 31px); }
.sec-head p { font-size: 19px; color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

/* numbers under the hero */
.facts { padding: 0; background: var(--bg); }
.facts ul {
  list-style: none; margin: 0 auto; padding: 0; position: relative; z-index: 2; margin-top: -52px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg);
}
/* smaller than it was (the user, 2026-10-17: "lets use current but do they be small") */
.facts li { padding: 16px 22px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--a600); line-height: 1.1; }
.facts li > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }

/* ---------- trails ---------- */
.trails-top { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; margin-bottom: 52px; }
.trails-top .sec-head { margin: 0; }
/* the map of Armenia (tools/website-trails.js): the border, the mountains as contour rings, Lake Sevan, towns, pins */
.am { width: 100%; height: auto; overflow: visible; }
.am text { font-family: Inter, sans-serif; }
.am .land { fill: #EFEADF; stroke: #CDC4B1; stroke-width: 2; stroke-linejoin: round; }
.am .relief path { fill: none; stroke: #DDD4C1; stroke-width: 1.3; }
.am .relief path.major { stroke-width: 2.2; }
.am .lake { fill: #B9D4EE; stroke: #8DB6E0; stroke-width: 1; }
.am .lake-name { font-size: 13px; font-style: italic; font-weight: 600; fill: #3F74AC; }
.am .peak path { fill: var(--ink); }
.am .peak text { font-size: 12.5px; font-weight: 700; fill: var(--ink); }
.am .town circle { fill: var(--card); stroke: var(--ink); stroke-width: 1.8; }
.am .town text { font-size: 13px; font-weight: 600; fill: var(--muted); }
.am .town.big circle { fill: var(--ink); stroke: none; }
.am .town.big text { font-size: 15px; font-weight: 800; fill: var(--ink); }
.am .scale path { fill: none; stroke: var(--muted); stroke-width: 1.6; }
.am .scale text { font-size: 12px; font-weight: 600; fill: var(--muted); }
.am .lead { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.am .spot { fill: var(--ink); }
.am .pin circle:not(.spot) { fill: var(--t1); stroke: var(--card); stroke-width: 3.5; transition: r .15s var(--ease); }
.am .pin text { font-size: 14px; font-weight: 800; fill: #fff; text-anchor: middle; pointer-events: none; }
.am .pin:hover circle:not(.spot), .am .pin:focus-visible circle:not(.spot) { r: 16; }
.trail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trail {
  background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.trail:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trail:target { outline: 3px solid var(--sun); outline-offset: 3px; }
.trail-art { position: relative; background: var(--t1); aspect-ratio: 320 / 160; }
.trail-art svg { width: 100%; height: 100%; }
.trail-art .diff { position: absolute; left: 14px; top: 14px; }
.trail-art .num {
  position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--card); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.trail-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.trail h3 { font-size: 18px; }
.where { color: var(--muted); font-size: 15px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; margin: 10px 0 0; }
.stats div { margin: 0; }
.stats dt { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.hy .stats dt { text-transform: none; letter-spacing: 0; }
.stats dd { margin: 2px 0 0; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.stats small { font-size: 14px; font-weight: 700; }
.drive { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; }
.drive .i { color: var(--a600); }
.trails-more { margin-top: 36px; color: var(--muted); font-size: 15px; text-align: center; }

/* ---------- features ---------- */
.features { background: var(--card); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(22px, 2.3vw, 29px); margin: 12px 0 16px; }
.hy .feature-text h3 { font-size: clamp(20px, 2vw, 25px); }
.feature-text > p { font-size: 18px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks .tk { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); color: var(--a600); }
.ticks .tk .i { width: 16px; height: 16px; }
.ticks b { display: block; }
.ticks div > span { color: var(--muted); font-size: 15.5px; }
/* the phones stand on the page itself, no coloured panel behind them (the user, 2026-10-15) */
.stage { position: relative; display: grid; place-items: center; padding: 24px 0; }
.stage .phone { --s: .95; }

/* wide screens: the texts scroll on the left, the phone stays on the right and changes with them (option D, chosen
   2026-10-15; main.js marks the phone of the text in the middle of the screen .on). Phones keep one feature under another. */
@media (min-width: 901px) {
  #features > .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
  #features .sec-head { grid-column: 1 / -1; }
  #features .feature { display: contents; }
  #features .feature-text { grid-column: 1; order: 0; min-height: 76vh; display: flex; flex-direction: column; justify-content: center; }
  #features .stage {
    grid-column: 2; grid-row: 2 / span 4; align-self: start; position: sticky; top: max(90px, calc(50vh - 330px));
    opacity: 0; transform: none; transition: opacity .45s var(--ease); pointer-events: none;
  }
  #features .stage.on { opacity: 1; pointer-events: auto; }
}

/* the grid of everything else */
.more { padding-top: 0; }
.features + .more { background: var(--card); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--bg); border-radius: var(--r-card); padding: 24px 22px; }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card); color: var(--a600); box-shadow: var(--shadow); margin-bottom: 16px; }
.tile .ic .i { width: 22px; height: 22px; }
.tile h4 { font-size: 17.5px; letter-spacing: -.01em; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 15px; }
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--mod-bg); color: var(--mod-fg); font-size: 11.5px; font-weight: 700; vertical-align: 2px; letter-spacing: 0; }

/* ---------- download ---------- */
.get { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.get .topo path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1.2; }
.get-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.get h2 { font-size: clamp(27px, 3.2vw, 40px); margin: 12px 0 18px; }
.hy .get h2 { font-size: clamp(24px, 2.7vw, 33px); }
.get .kicker { color: var(--sun); }
.get .lead { font-size: 19px; color: rgba(255, 255, 255, .8); max-width: 32em; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(s); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: var(--sun); font-weight: 800; font-size: 17px;
}
.steps b { display: block; font-size: 17px; }
.steps div > span { color: rgba(255, 255, 255, .7); font-size: 15.5px; }
.get-card { background: var(--card); color: var(--ink); border-radius: 24px; padding: 30px; text-align: center; box-shadow: var(--shadow-lg); }
.get-card img.mark { width: 72px; height: 72px; border-radius: 17px; margin: 0 auto 14px; }
.get-card h3 { font-size: 24px; }
.get-card .ver { color: var(--muted); font-size: 14px; margin: 4px 0 20px; }
.get-card .btn { width: 100%; }
/* the App Store and Google Play buttons, one under the other, the same dark for both */
.btn-store { background: var(--ink); color: #fff; }
.btn-store:hover { background: #000; }
.get-card .btn + .btn { margin-top: 10px; }
.qr { margin: 22px auto 0; padding-top: 22px; border-top: 1px solid var(--line); }
.qr-box { width: 156px; height: 156px; margin: 0 auto 10px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px #E3E0D8; }
.qr-box svg, .qr-box img { width: 100%; height: 100%; }
.qr p { color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
/* each question a small white card (option A, chosen 2026-10-15, made smaller); opening one closes the others */
/* align-content: the room main.js keeps for the longest answer stays under the list (the grid shared it out over the
   cards, each one 21 px taller than its question) */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 8px; align-content: start; }
.faq-list details { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 0 18px; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 13px 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i {
  margin-left: auto; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--bg-2); color: var(--muted);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.faq-list details[open] summary .i { transform: rotate(180deg); background: var(--a600); color: #fff; }
.faq-list details > div { padding: 0 0 16px; color: var(--muted); font-size: 15px; max-width: 46em; overflow: hidden; }
.faq-list details > div p + p { margin-top: 10px; }

/* ---------- footer ---------- */
/* four columns (option F) in a white, compact footer with a line on top (option B's look), chosen 2026-10-15 */
footer { background: var(--card); border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 14px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot .brand { color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.foot h4 { color: var(--ink); font-size: 13.5px; margin-bottom: 10px; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot .brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-get li:last-child a { color: var(--a600); font-weight: 700; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
/* the download icon after "Download the app" (it was a ↓ typed in the text) */
.foot-dl { display: inline-flex; align-items: center; gap: 6px; }
.foot-dl .i { width: 15px; height: 15px; }
.legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .trail, .btn { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .note-1 { left: -70px; }
  .note-2 { right: -50px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .trail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --gut: 20px; }
  section { padding: 84px 0; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .top.open { background: var(--card); color: var(--ink); }
  .top.open .nav {
    display: grid; gap: 0; position: absolute; left: 0; right: 0; top: 72px; margin: 0;
    background: var(--card); box-shadow: 0 12px 24px rgba(0, 0, 0, .12); padding: 8px var(--gut) 16px;
  }
  .top.open .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); opacity: 1; }
  .top.open .lang { background: var(--bg-2); }
  .top.open .lang button[aria-pressed="true"] { background: var(--a600); color: #fff; }
  .hero { padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 130px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-phone .phone { --s: .92; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li { padding: 14px 18px; }
  .facts b { font-size: 23px; }
  .trails-top { grid-template-columns: 1fr; gap: 28px; }
  .trails-top .am { max-width: 420px; margin: 0 auto; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 88px; }
  .get-grid { grid-template-columns: 1fr; gap: 44px; }
  .get-card { max-width: 420px; width: 100%; margin: 0 auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .top .wrap { gap: 12px; height: 64px; }
  .top.open .nav { top: 64px; }
  .top-end .btn { display: none; }
  .brand { font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .hero { padding-top: 96px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .note { display: none; }
  .hero-phone .phone { --s: .86; }
  .ridges { height: 110px; }
  .facts ul { margin-top: -40px; border-radius: 14px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { font-size: 17px; }
  .trail-grid { grid-template-columns: 1fr; }
  .stage { padding: 8px 0; }
  .stage .phone { --s: .86; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 18px 16px; }
  .tile p { font-size: 14px; }
  .faq-list summary { font-size: 15.5px; }
  .faq-list details { padding: 0 14px; }
  .get-card { padding: 24px 20px; }
  .qr { display: none; }
  .foot { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: 1fr; }
  .stats { gap: 16px; }
}

/* phones: the tiles become rows, icon on the left, so long Armenian words have the whole width */
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; gap: 10px; }
  .tile { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: start; }
  .tile .ic { grid-row: span 2; margin: 0; }
  .tile h4 { margin: 2px 0 4px; }
}

/* phones: smaller text and smaller cards (the user, 2026-10-17: "my text be small in mobile", "my cards be small",
   "faqs cards be small") */
@media (max-width: 640px) {
  body { font-size: 15px; }
  section { padding: 56px 0; }
  .btn:not(.btn-sm) { min-height: 48px; font-size: 15px; }
  .eyebrow, .kicker { font-size: 12.5px; }
  .hero h1 { font-size: 32px; margin: 14px 0 16px; }
  .hero .lead { font-size: 16px; }
  .hero-meta { margin-top: 20px; font-size: 13px; }
  .facts li { padding: 10px 12px; }
  .facts b { font-size: 19px; }
  .facts li > span { font-size: 11.5px; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 23px; margin: 10px 0 12px; }
  .sec-head p { font-size: 15px; }
  .trails-top { gap: 20px; margin-bottom: 28px; }
  .trails-more { margin-top: 24px; font-size: 13.5px; }
  .feature + .feature { margin-top: 64px; }
  .feature-text h3 { font-size: 20px; margin: 10px 0 12px; }
  .feature-text > p { font-size: 15.5px; }
  .ticks { gap: 10px; margin-top: 18px; }
  .ticks div > span { font-size: 14px; }
  .get h2 { font-size: 23px; margin: 10px 0 12px; }
  .get .lead { font-size: 15.5px; }
  .get-card h3 { font-size: 20px; }
  .get-card img.mark { width: 60px; height: 60px; border-radius: 14px; }

  /* trail cards two a row, with the app's compact stats: 1.9 km  47 m ↗  40 min (the labels stay for screen readers;
     with labels the Armenian times were cut off at 360 px) */
  .trail-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trail { border-radius: 14px; }
  .trail-art .diff { left: 7px; top: 7px; font-size: 10px; padding: 1px 7px; }
  .trail-art .num { right: 7px; top: 7px; width: 20px; height: 20px; font-size: 11px; }
  .trail-body { padding: 8px 10px 10px; }
  .trail h3 { font-size: 13.5px; letter-spacing: -.01em; }
  .where { font-size: 11.5px; margin-top: 2px; }
  .stats { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 6px; }
  .stats dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .stats dd { font-size: 12.5px; white-space: nowrap; }
  .stats div:nth-child(2) dd::after { content: " ↗"; font-weight: 600; color: var(--muted); }
  .stats small { font-size: 10.5px; }
  .drive { font-size: 10.5px; gap: 4px; padding-top: 6px; }
  .drive .i { width: 13px; height: 13px; flex: none; }

  /* the tiles: smaller rows */
  .tiles { gap: 8px; }
  .tile { padding: 12px 14px; grid-template-columns: 36px 1fr; gap: 0 12px; }
  .tile .ic { width: 36px; height: 36px; border-radius: 10px; }
  .tile .ic .i { width: 18px; height: 18px; }
  .tile h4 { font-size: 15px; }
  .tile p { font-size: 13.5px; }

  /* the questions: smaller cards */
  .faq-list { gap: 6px; }
  .faq-list details { padding: 0 12px; border-radius: 12px; }
  .faq-list summary { padding: 10px 0; font-size: 14.5px; gap: 10px; }
  .faq-list summary .i { width: 22px; height: 22px; padding: 4px; }
  .faq-list details > div { padding-bottom: 12px; font-size: 14px; }
}
.tiles > *, .trail-grid > *, .feature > * { min-width: 0; }

/* ---------- dark or light: the sun / moon button in the header ----------
   Dark is the design as it is (dark blue hero and download section); light (html[data-look="light"]) makes those two
   light sand and pale blue with navy type. The rest of the page is light either way. */
.look {
  width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; transition: background-color .15s var(--ease);
}
.look:hover { background: rgba(255, 255, 255, .2); }
.top.solid .look, .top.open .look { background: var(--bg-2); }
.look .i { width: 19px; height: 19px; }
.look .i-moon, html[data-look="light"] .look .i-sun { display: none; }
html[data-look="light"] .look .i-moon { display: block; }

html[data-look="light"] .top:not(.solid):not(.open) { color: var(--ink); }
html[data-look="light"] .top:not(.solid) .lang, html[data-look="light"] .top:not(.solid) .look { background: rgba(11, 42, 74, .07); }
html[data-look="light"] .top:not(.solid) .lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
html[data-look="light"] .hero { background: #F1EEE5; color: var(--navy); }
html[data-look="light"] .hero-sky .topo path, html[data-look="light"] .get .topo path { stroke: rgba(11, 42, 74, .07); }
html[data-look="light"] .eyebrow { color: var(--mod-fg); }
html[data-look="light"] .hero h1 em { color: var(--a600); }
html[data-look="light"] .hero .lead, html[data-look="light"] .hero-meta { color: var(--muted); }
html[data-look="light"] .hero-meta .i { color: var(--a600); }
html[data-look="light"] .btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(11, 42, 74, .28); }
html[data-look="light"] .btn-ghost:hover { background: rgba(11, 42, 74, .05); }
html[data-look="light"] .ridges > path:nth-of-type(1) { fill: #CFE0F3; }
html[data-look="light"] .ridges > path:nth-of-type(2) { fill: #A3C4EA; }
html[data-look="light"] .ridges > path:nth-of-type(3) { stroke: var(--navy); }
html[data-look="light"] .get { background: #E8EFF8; color: var(--navy); }
html[data-look="light"] .get .kicker { color: var(--a600); }
html[data-look="light"] .get .lead { color: var(--muted); }
html[data-look="light"] .steps li::before { background: #fff; color: var(--a600); }
html[data-look="light"] .steps div > span { color: var(--muted); }

/* ---------- "coming soon": the box every download button and the QR code open (main.js) ---------- */
.soon-box {
  width: min(360px, calc(100% - 32px)); padding: 32px 28px 26px; border: 0; border-radius: 24px;
  background: var(--card); color: var(--ink); text-align: center; box-shadow: var(--shadow-lg);
}
.soon-box::backdrop { background: rgba(11, 42, 74, .55); }
.soon-box[open] { animation: soon-in .25s var(--ease); }
@keyframes soon-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.soon-box img { width: 60px; height: 60px; border-radius: 15px; margin: 0 auto 16px; }
.soon-box h3 { font-size: 22px; margin-bottom: 8px; }
.soon-box p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.soon-box .btn { width: 100%; min-height: 48px; }
