/* West Highland Way Companion: app page in the app's moor-and-loch palette. */
.whw {
  --moor-50: #f4f6f4;
  --moor-100: #e3e8e3;
  --moor-300: #a3b3a3;
  --moor-500: #617561;
  --moor-700: #404d40;
  --moor-900: #2f362f;
  --moor-950: #1a221a;
  --loch: #4a6e82;
  --loch-dark: #2d4552;
  --gorse: #e8b931;
  background: var(--moor-50);
}
.whw a { color: var(--loch); }

/* Hero */
.w-hero { position: relative; min-height: min(90vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.w-hero .bg { position: absolute; inset: 0; background: url("/images/west-highland-way/trail.jpg") center 60% / cover no-repeat; }
.w-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,34,26,.94) 0%, rgba(26,34,26,.7) 50%, rgba(26,34,26,.25) 78%, rgba(26,34,26,.45) 100%); }
.w-hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 140px 64px; }
.w-hero .kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gorse); margin: 0 0 14px; }
.w-hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(42px, 7.5vw, 84px); line-height: 1; letter-spacing: -.02em; margin: 0 0 14px; max-width: 14ch; text-wrap: balance; }
.w-hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: #e6ebe6; max-width: 54ch; margin: 0 0 28px; }
.w-hero .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.w-hero .icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.w-hero .note { width: 100%; font-size: 15px; color: #cfd8cf; margin: 12px 0 0; }

.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; color: #fff !important; border: 1px solid rgba(255,255,255,.35); text-decoration: none; line-height: 1.15; transition: transform .15s ease; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11px; opacity: .85; }
.store b { font-size: 18px; font-weight: 600; }

/* Sections */
.w-sec { padding-block: clamp(56px, 8vw, 100px); }
.w-sec .eyebrow { color: var(--moor-500); }
.w-sec h2 { color: var(--moor-950); }
.w-sec .sub { color: var(--moor-700); font-size: 18px; max-width: 60ch; margin: 0; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 36px; }
.point { background: #fff; border: 1px solid var(--moor-100); border-radius: 18px; padding: 26px; }
.point .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--moor-100); color: var(--moor-700); font-weight: 700; margin-bottom: 14px; }
.point h3 { font-family: var(--f-display); font-size: 22px; margin: 0 0 8px; color: var(--moor-950); }
.point p { margin: 0; color: var(--moor-700); }

/* Phones */
.phones-band { background: var(--moor-950); color: #e6ebe6; }
.phones-band h2 { color: #fff; }
.phones-band .eyebrow { color: var(--gorse); }
.phones-band .sub { color: var(--moor-300); }
.phones { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 236px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px var(--gutter) 24px; margin-top: 8px; }
@media (min-width: 1260px) { .phones { justify-content: center; } }
.phones figure { margin: 0; scroll-snap-align: center; }
.phone-frame { background: #0b0f0b; border-radius: 34px; padding: 8px; box-shadow: 0 0 0 1px #3a443a inset, 0 24px 48px -20px rgba(0,0,0,.8); }
.phone-frame img { border-radius: 27px; width: 100%; height: auto; aspect-ratio: 472 / 1024; object-fit: cover; }
.phone-frame.android { border-radius: 24px; }
.phone-frame.android img { border-radius: 17px; aspect-ratio: 370 / 592; }
.phones figcaption { font-size: 14px; color: var(--moor-300); text-align: center; margin-top: 12px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: #273027; margin-top: 24px; }
.tabs button { border: 0; background: transparent; color: var(--moor-300); font: 600 15px var(--f-body); padding: 9px 20px; border-radius: 99px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--moor-50); color: var(--moor-950); }
.phones[hidden] { display: none; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 32px; }
.platform { border-radius: 18px; padding: 28px; background: #fff; border: 1px solid var(--moor-100); display: grid; gap: 10px; align-content: start; }
.platform h3 { font-family: var(--f-display); font-size: 24px; margin: 0; color: var(--moor-950); }
.platform p { margin: 0; color: var(--moor-700); }
.platform ul { margin: 0; padding-left: 1.2em; color: var(--moor-700); display: grid; gap: 4px; }
.platform .store { justify-self: start; margin-top: 8px; }

/* Facts */
.w-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; margin: 32px 0 0; }
.w-facts div { border-top: 2px solid var(--moor-100); padding-top: 14px; }
.w-facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--moor-500); }
.w-facts dd { margin: 4px 0 0; font-size: 18px; color: var(--moor-950); }

.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 1.5px solid var(--moor-300); color: var(--moor-950) !important; text-decoration: none; font-weight: 600; font-size: 15.5px; background: #fff; }
.pill:hover { border-color: var(--moor-700); }
.pill.primary { background: var(--moor-700); border-color: var(--moor-700); color: #fff !important; }
.pill.primary:hover { background: var(--moor-900); }
.credit { font-size: 13px; color: var(--moor-500); margin-top: 28px; }

/* Keep the header readable over the photo */
.whw .site-header { background: linear-gradient(to bottom, rgba(26,34,26,.7), rgba(26,34,26,0)); }
.whw .site-header .brand, .whw .site-header .nav a { color: #fff; }
.whw .site-footer .brand { color: var(--moor-950); }
.w-hero .kicker, .w-hero h1, .w-hero .lede { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
