/* ============================================================
   Word Hunt Solver — product site
   Builds on styles.css. Light "Cohdoo brand" temperament with a
   green primary accent and the app's blue as a secondary accent.
   Two home-page directions share one DOM and flip via
   [data-dir="a" | "b"].
   ============================================================ */

body.whs {
  /* blues — app-style primary */
  --blue:        #2f7df6;   /* vivid primary blue — fills, tiles, CTA  */
  --blue-ink:    #1666d6;   /* readable blue for text / links        */
  --blue-soft:   #e9f1fe;   /* faint blue wash                       */

  /* Cohdoo cyan, used as a secondary accent pop */
  --blue-2:       #37bde9;
  --blue-2-soft:  #e6f7fd;

  --accent:       var(--blue-ink);  /* links, eyebrows, icon strokes  */
  --accent-bright:var(--blue);      /* solid fills                    */
  --accent-2:     var(--blue-2);

  --ink:    #14171b;
  --body:   #444b53;
  --muted:  #79828c;
  --faint:  #aab1b8;
  --line:   #e8eaee;
  --surface:#f5f7f4;          /* faint warm-neutral panel wash         */
  --card:   #ffffff;
  --card-line: #e8eaee;
  --card-shadow: 0 1px 2px rgba(20,23,27,.05), 0 24px 48px -34px rgba(20,23,27,.30);
  --bg:     #ffffff;

  --bezel:  #14171b;
  background: var(--bg);
}

/* App Store badge (official artwork) */
body.whs .appstore-badge {
  display: inline-block; width: 168px; height: 56px;
  background: url('assets/app-store-badge-black.svg') left center / contain no-repeat;
  transition: transform .25s var(--ease);
}
body.whs .appstore-badge:hover { transform: translateY(-2px); }
body.whs .dl-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
body.whs .dl-note {
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
body.whs .dl-note .pls { display: inline-flex; gap: 6px; }
body.whs .dl-note .pls b { color: var(--ink); font-weight: 700; }

/* eyebrow / link accents follow --accent from styles.css */

/* ============================================================
   GARAGE SUB-NAVIGATION
   Main header keeps the Cohdoo site nav; this bar sits directly
   beneath it on every Garage-project page and carries the
   project identity + its own pages.
   ============================================================ */
.whs-subnav {
  position: sticky; top: 76px; z-index: 40;
  background: color-mix(in srgb, var(--blue-soft) 60%, rgba(255,255,255,0.82));
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  height: 58px; display: flex; align-items: center; justify-content: flex-start; gap: 32px;
}
.subnav-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.subnav-brand .appicon {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  box-shadow: 0 1px 2px rgba(20,23,27,.16), 0 6px 14px -8px rgba(20,23,27,.45);
}
.subnav-brand .name { font-size: 16px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.subnav-brand .tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  border: 1px solid color-mix(in srgb, var(--accent-2) 42%, transparent); border-radius: 999px; padding: 3px 9px;
}
.subnav-links { display: flex; align-items: center; gap: 26px; min-width: 0; }
.subnav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--body); position: relative; padding: 4px 0;
  transition: color .2s var(--ease); white-space: nowrap;
}
.subnav-links a:hover { color: var(--accent); }
.subnav-links a.is-active { color: var(--ink); }
.subnav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px;
}
.subnav-links a.dl {
  background: var(--accent-bright); color: #fff; font-weight: 700; padding: 9px 17px; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(20,23,27,.12); transition: transform .25s var(--ease), filter .2s var(--ease);
}
.subnav-links a.dl:hover { color: #fff; transform: translateY(-1px); filter: saturate(108%); }
.subnav-links a.dl::after { display: none; }

@media (max-width: 760px) {
  .subnav-links { gap: 18px; }
  .subnav-links a.dl { display: none; }
}
@media (max-width: 520px) {
  .subnav-brand .tag { display: none; }
  .subnav-brand .name { font-size: 15px; }
  .subnav-links { gap: 15px; }
  .subnav-links a { font-size: 13.5px; }
}

/* embed (compare iframes): keep both bars in normal flow */
body.whs.embed .whs-subnav { position: relative; top: auto; }

/* anchor targets clear the stacked header + subnav */
.whs [id] { scroll-margin-top: 142px; }

/* ============================================================
   Shared section rhythm
   ============================================================ */
.whs .section { padding: 104px 0; }
.whs .section.band {
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.whs .wrap-narrow { max-width: 760px; }

/* ============================================================
   HERO
   ============================================================ */
.whs-hero { padding: 72px 0 88px; }
.whs-hero .grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 72px; align-items: center;
}
.whs-hero .id-row { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.whs-hero .id-row .appicon {
  width: 62px; height: 62px; border-radius: 15px; flex: none;
  box-shadow: 0 1px 2px rgba(20,23,27,.16), 0 14px 28px -12px rgba(20,23,27,.45);
}
.whs-hero .id-row .wordmark { font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.whs-hero .id-row .pill {
  margin-left: 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 999px; padding: 5px 11px;
}
.whs-hero h1 {
  font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.034em; line-height: 1.02;
  color: var(--ink); max-width: 13ch;
}
.whs-hero h1 .hl { color: var(--accent); }
.whs-hero .lead {
  margin-top: 26px; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.55; color: var(--body); max-width: 34ch;
}
.whs-hero .dl-row { margin-top: 38px; }
.whs-hero .media { display: flex; justify-content: center; position: relative; }

/* ---- Letter-grid motif (Direction A signature) ---- */
.lg-grid {
  position: relative; width: 340px; height: 340px; flex: none;
  display: grid; grid-template-columns: repeat(4, 76px); grid-auto-rows: 76px; gap: 12px;
}
.lg-tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border-radius: 16px; border: 1px solid var(--line);
  font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.01em;
  box-shadow: 0 1px 2px rgba(20,23,27,.05), 0 10px 22px -16px rgba(20,23,27,.5);
  transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.lg-tile.is-on {
  background: var(--accent-bright); color: #14171b;
  box-shadow: 0 1px 2px rgba(20,23,27,.10), 0 16px 30px -14px color-mix(in srgb, var(--accent-bright) 70%, transparent);
}
.lg-tile.is-head { background: var(--blue-ink); color: #fff; }
.lg-path { position: absolute; inset: 0; width: 340px; height: 340px; pointer-events: none; z-index: 3; overflow: visible; }
.lg-path polyline {
  fill: none; stroke: var(--blue-ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  opacity: .9; stroke-dasharray: 720; stroke-dashoffset: 720;
}
.lg-path .node { fill: #fff; stroke: var(--blue-ink); stroke-width: 3; }
.lg-path .node-txt { fill: var(--blue-ink); font: 800 15px var(--font); text-anchor: middle; }

/* draw the path + pop tiles once the hero is visible */
.whs-hero .media.in .lg-path polyline { animation: lgDraw 1.1s var(--ease) .35s forwards; }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }
.whs-hero .media .lg-path .node, .whs-hero .media .lg-path .node-txt { opacity: 0; }
.whs-hero .media.in .lg-path .node,
.whs-hero .media.in .lg-path .node-txt { animation: lgFade .4s var(--ease) forwards; }
.whs-hero .media.in .lg-path g:nth-child(2) .node, .whs-hero .media.in .lg-path g:nth-child(2) .node-txt { animation-delay: .45s; }
.whs-hero .media.in .lg-path g:nth-child(3) .node, .whs-hero .media.in .lg-path g:nth-child(3) .node-txt { animation-delay: .62s; }
.whs-hero .media.in .lg-path g:nth-child(4) .node, .whs-hero .media.in .lg-path g:nth-child(4) .node-txt { animation-delay: .79s; }
.whs-hero .media.in .lg-path g:nth-child(5) .node, .whs-hero .media.in .lg-path g:nth-child(5) .node-txt { animation-delay: .96s; }
.whs-hero .media.in .lg-path g:nth-child(6) .node, .whs-hero .media.in .lg-path g:nth-child(6) .node-txt { animation-delay: 1.13s; }
@keyframes lgFade { to { opacity: 1; } }
body.no-motion .lg-path polyline { stroke-dashoffset: 0 !important; animation: none !important; }
body.no-motion .lg-path .node, body.no-motion .lg-path .node-txt { opacity: 1 !important; animation: none !important; }

/* caption under the motif */
.lg-cap {
  margin-top: 26px; font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 10px;
  justify-content: center;
}
.lg-cap .tick { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); flex: none; }

/* ---- Phone cluster (Direction B signature) ---- */
.whs-phone {
  position: relative; width: 300px;
  background: var(--bezel); border-radius: 52px; padding: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 38px 70px -30px rgba(0,0,0,.42), inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.whs-phone .scr {
  position: relative; width: 100%; aspect-ratio: 1320 / 2868; border-radius: 42px; overflow: hidden; background: #0b0d10;
}
.whs-phone img, .whs-phone image-slot { display: block; width: 100%; height: 100%; object-fit: cover; }
.whs-cluster { position: relative; display: inline-block; }
.whs-cluster .whs-phone.back {
  position: absolute; top: -14px; right: -88px; z-index: 1;
  width: 244px; transform: rotate(6deg); transform-origin: top right;
}
.whs-cluster .whs-phone.front { position: relative; z-index: 2; }

/* show the right hero media per direction */
.whs-hero .media-grid  { display: none; }
.whs-hero .media-phone { display: none; }
body[data-dir="a"] .whs-hero .media-grid  { display: flex; }
body[data-dir="b"] .whs-hero .media-phone { display: flex; }

/* ============================================================
   INTRO — the story (Cohdoo voice)
   ============================================================ */
.whs-intro .statement {
  font-size: clamp(28px, 3.9vw, 46px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
  color: var(--ink); max-width: 20ch;
}
.whs-intro .statement .em { color: var(--accent); }
.whs-intro .body { margin-top: 30px; max-width: 620px; }
.whs-intro .body p { font-size: 19px; line-height: 1.72; color: var(--body); }
.whs-intro .body p + p { margin-top: 18px; }
.whs-intro .body p .nm { color: var(--ink); font-weight: 700; }

/* ============================================================
   FEATURES — Direction A: big alternating rows
   ============================================================ */
.whs-feat .head { max-width: 720px; }
.whs-feat h2 {
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: var(--ink);
}
.whs-feat h2 .seg { color: var(--accent); }
.whs-feat h2 .seg.two { color: var(--accent-2); }
.whs-feat .head .sub { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--body); max-width: 52ch; }

.whs-rows { margin-top: 76px; display: grid; gap: 96px; }
.whs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.whs-row.flip .col-text { order: 2; }
.whs-row .col-text { max-width: 460px; }
.whs-row .col-text .num {
  font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--accent); text-transform: uppercase;
}
.whs-row .col-text h3 {
  margin-top: 14px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; color: var(--ink);
}
.whs-row .col-text p { margin-top: 16px; font-size: 18.5px; line-height: 1.66; color: var(--body); }
.whs-row .col-text .tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.whs-row .col-text .tags span {
  font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--card); border: 1px solid var(--card-line); border-radius: 999px; padding: 8px 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.whs-row .col-text .tags span .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.whs-row .col-media { display: flex; justify-content: center; }

/* ============================================================
   FEATURES — Direction B: icon cards
   ============================================================ */
.whs-cards { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.whs-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 30px 28px 32px;
  box-shadow: var(--card-shadow); transition: transform .3s var(--ease);
}
.whs-card:hover { transform: translateY(-3px); }
.whs-card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); margin-bottom: 20px;
}
.whs-card .ic svg { width: 24px; height: 24px; stroke: var(--blue-ink); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.whs-card h4 { font-size: 20px; font-weight: 800; letter-spacing: -.012em; color: var(--ink); line-height: 1.2; }
.whs-card p { margin-top: 11px; font-size: 16px; line-height: 1.62; color: var(--body); }

/* toggle feature layouts by direction */
.whs-feat .whs-rows  { display: none; }
.whs-feat .whs-cards { display: none; }
body[data-dir="a"] .whs-feat .whs-rows  { display: grid; }
body[data-dir="b"] .whs-feat .whs-cards { display: grid; }
/* heading alignment */
body[data-dir="b"] .whs-feat .head { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
body[data-dir="b"] .whs-feat .head .sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   PLATFORMS — iPhone & Mac
   ============================================================ */
.whs-plat .head { max-width: 640px; }
.whs-plat h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.028em; line-height: 1.06; color: var(--ink); }
.whs-plat .head p { margin-top: 18px; font-size: 19px; line-height: 1.62; color: var(--body); max-width: 52ch; }
.whs-mac {
  margin-top: 56px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(20,23,27,.06), 0 40px 80px -44px rgba(20,23,27,.5);
}
.whs-mac img { display: block; width: 100%; }
.whs-plat .chips { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.whs-plat .chips .chip {
  font-size: 15px; font-weight: 700; color: var(--ink);
  background: var(--card); border: 1px solid var(--card-line); border-radius: 999px; padding: 10px 18px;
  display: inline-flex; align-items: center; gap: 9px;
}
.whs-plat .chips .chip .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }

/* ============================================================
   CUSTOM DICTIONARIES — download (macOS only)
   ============================================================ */
.whs-dicts .head { max-width: 680px; }
.whs-dicts h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.028em; line-height: 1.06; color: var(--ink); }
.whs-dicts .mac-tag {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
}
.whs-dicts .mac-tag .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.whs-dicts .head p { margin-top: 16px; font-size: 18.5px; line-height: 1.66; color: var(--body); max-width: 56ch; }
.whs-dicts .head p .nm { color: var(--ink); font-weight: 700; }
.whs-dl-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.whs-dl {
  display: flex; flex-direction: column; gap: 0;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 26px 24px 22px;
  box-shadow: var(--card-shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whs-dl:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(20,23,27,.07), 0 30px 56px -34px rgba(20,23,27,.4); }
.whs-dl .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.whs-dl .ic svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.whs-dl.c1 .ic { background: #5aa12a; } /* common */
.whs-dl.c2 .ic { background: #e08a2b; } /* animals */
.whs-dl.c3 .ic { background: #2f9bd6; } /* summer */
.whs-dl.c4 .ic { background: #7b6cd9; } /* winter */
.whs-dl h4 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.whs-dl p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--body); flex: 1; }
.whs-dl .get {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 800; color: var(--accent);
}
.whs-dl .get svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.whs-dl:hover .get svg { transform: translateY(2px); transition: transform .25s var(--ease); }
.whs-dicts .how {
  margin-top: 28px; font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 60ch;
}
.whs-dicts .how code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--ink);
}

/* ============================================================
   CONTACT / SUPPORT (rolled in from support + contact pages)
   ============================================================ */
.whs-contact .head { max-width: 640px; }
.whs-contact h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.028em; line-height: 1.06; color: var(--ink); }
.whs-contact .head p { margin-top: 16px; font-size: 18.5px; line-height: 1.62; color: var(--body); max-width: 52ch; }
.whs-contact .grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.whs-c-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 32px 30px;
  box-shadow: var(--card-shadow);
}
.whs-c-card .chead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.whs-c-card .ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--blue-soft); }
.whs-c-card .ic svg { width: 24px; height: 24px; stroke: var(--blue-ink); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.whs-c-card .lbl { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.whs-c-card h3 { font-size: 23px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.whs-c-card p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.whs-c-card .act { margin-top: 22px; }
.whs-c-card .act a.mail { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: var(--accent); }
.whs-c-card .act a.mail:hover { text-decoration: underline; }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.whs-cta { text-align: center; }
.whs-cta .inner { max-width: 680px; margin: 0 auto; }
.whs-cta h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: var(--ink); }
.whs-cta p { margin-top: 22px; font-size: 20px; line-height: 1.6; color: var(--body); max-width: 30ch; margin-left: auto; margin-right: auto; }
.whs-cta .dl-row { margin-top: 40px; justify-content: center; }
.whs-cta .dl-note { justify-content: center; }

/* ============================================================
   Direction B — centered calm overrides
   ============================================================ */
body[data-dir="b"] .whs-hero { padding-top: 122px; }
body[data-dir="b"] .whs-hero .grid { grid-template-columns: 1fr; gap: 56px; justify-items: center; text-align: center; }
body[data-dir="b"] .whs-hero .col-text { display: flex; flex-direction: column; align-items: center; }
body[data-dir="b"] .whs-hero h1 { max-width: 16ch; }
body[data-dir="b"] .whs-hero .lead { max-width: 44ch; }
body[data-dir="b"] .whs-hero .dl-row { justify-content: center; }
body[data-dir="b"] .whs-hero .media { order: -1; }

body[data-dir="b"] .whs-intro .container { text-align: center; }
body[data-dir="b"] .whs-intro .statement { max-width: 22ch; margin-left: auto; margin-right: auto; }
body[data-dir="b"] .whs-intro .body { margin-left: auto; margin-right: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .whs-hero .grid { grid-template-columns: 1fr; gap: 54px; }
  .whs-hero .media { justify-content: flex-start; }
  body[data-dir="b"] .whs-hero .media { justify-content: center; }
  .whs-cluster .whs-phone.back { right: -68px; }
  .whs-row { grid-template-columns: 1fr; gap: 38px; }
  .whs-row.flip .col-text { order: 0; }
  .whs-row .col-media { justify-content: flex-start; }
  .whs-cards { grid-template-columns: repeat(2, 1fr); }
  .whs-dl-grid { grid-template-columns: repeat(2, 1fr); }
  .whs-contact .grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .whs .section { padding: 76px 0; }
  .whs-hero { padding: 84px 0 64px; }
  .lg-grid { width: 280px; height: 280px; grid-template-columns: repeat(4, 62px); grid-auto-rows: 62px; gap: 10px; }
  .lg-tile { font-size: 25px; border-radius: 13px; }
  .lg-path, .lg-path { width: 280px; height: 280px; }
  .whs-cards { grid-template-columns: 1fr; }
  .whs-dl-grid { grid-template-columns: 1fr; }
  .whs-cluster .whs-phone.back { display: none; }
}

/* embed (compare iframes): non-sticky header so each frame reads as a page */
body.whs.embed .site-header { position: relative; }

/* ============================================================
   LEGAL / PRIVACY PAGE  (reading column)
   ============================================================ */
.whs-legal .wrap-narrow { max-width: 760px; margin-left: 0; margin-right: auto; }

.whs-legal-hero { padding: 72px 0 0; }
.whs-legal-hero .back { margin-bottom: 30px; }
.whs-legal-hero .back .link-arrow { color: var(--muted); }
.whs-legal-hero .back .link-arrow .arw { transform: rotate(180deg); }
.whs-legal-hero .back .link-arrow:hover { color: var(--accent); }
.whs-legal-hero .back .link-arrow:hover .arw { transform: rotate(180deg) translateX(5px); }
.whs-legal-hero h1 {
  font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -.032em; line-height: 1.02; color: var(--ink);
}
.whs-legal-hero .updated {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.whs-legal-hero .updated .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }
.whs-legal-hero .lead { margin-top: 30px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.5; color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
.whs-legal-hero .lead .em { color: var(--accent); }

/* the on-device promise callout */
.whs-callout {
  margin: 40px 0 8px; padding: 26px 30px; border-radius: 18px;
  background: var(--blue-soft);
  border: 1px solid color-mix(in srgb, var(--accent-bright) 38%, transparent);
  display: flex; gap: 18px; align-items: flex-start;
}
.whs-callout .lock {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent-bright) 24%, transparent);
}
.whs-callout .lock svg { width: 21px; height: 21px; stroke: var(--blue-ink); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.whs-callout p { font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 600; }
.whs-callout p .em { color: var(--blue-ink); font-weight: 800; }

.whs-legal-body { padding: 8px 0 104px; }
.whs-legal-sec { margin-top: 56px; scroll-margin-top: 100px; }
.whs-legal-sec h2 {
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; color: var(--ink);
  display: flex; align-items: baseline; gap: 15px; margin-bottom: 18px;
}
.whs-legal-sec h2 .idx { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .06em; transform: translateY(-2px); }
.whs-legal-sec p { font-size: 18px; line-height: 1.72; color: var(--body); }
.whs-legal-sec p + p { margin-top: 14px; }
.whs-legal-sec p .nm { color: var(--ink); font-weight: 700; }
.whs-legal-sec .big { font-size: clamp(19px, 2vw, 22px); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.whs-legal-sec ul { margin: 18px 0 4px; padding: 0; list-style: none; display: grid; gap: 11px; }
.whs-legal-sec ul li { position: relative; padding-left: 28px; font-size: 17.5px; line-height: 1.5; color: var(--body); }
.whs-legal-sec ul li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 13px; border-radius: 4px;
  background: var(--blue-soft); border: 1px solid color-mix(in srgb, var(--accent-bright) 45%, transparent);
}
.whs-legal-sec ul li::after {
  content: ""; position: absolute; left: 6px; top: 11px; width: 4px; height: 7px;
  border: solid var(--blue-ink); border-width: 0 2px 2px 0; transform: rotate(40deg);
}

/* contact card */
.whs-legal-contact {
  margin-top: 30px; padding: 28px 30px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}
.whs-legal-contact .lbl { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.whs-legal-contact a { display: inline-block; margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--accent); }
.whs-legal-contact a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .whs-legal-hero { padding: 84px 0 0; }
  .whs-callout { flex-direction: column; gap: 14px; }
}

/* ============================================================
   RELEASES PAGE  (two-column version history)
   ============================================================ */
.whs-rel-hero { padding: 72px 0 0; }
.whs-rel-hero .back { margin-bottom: 30px; }
.whs-rel-hero .back .link-arrow { color: var(--muted); }
.whs-rel-hero .back .link-arrow .arw { transform: rotate(180deg); }
.whs-rel-hero .back .link-arrow:hover { color: var(--accent); }
.whs-rel-hero .back .link-arrow:hover .arw { transform: rotate(180deg) translateX(5px); }
.whs-rel-hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -.032em; line-height: 1.02; color: var(--ink); }
.whs-rel-hero .lead { margin-top: 24px; font-size: clamp(19px, 2.1vw, 21px); line-height: 1.6; color: var(--body); max-width: 56ch; }

.whs-rel-body { padding: 56px 0 104px; }
.whs-rel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.whs-rel-col { scroll-margin-top: 96px; }
.whs-rel-col .col-head {
  display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.whs-rel-col .col-head .plat {
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.whs-rel-col[data-platform="ios"] .col-head .plat { text-transform: none; }
.whs-rel-col .col-head .ic {
  width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
}
.whs-rel-col .col-head .ic svg { width: 17px; height: 17px; stroke: var(--blue-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.whs-rel-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.whs-rel-item .top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.whs-rel-item .ver { font-size: 21px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.whs-rel-item.is-latest .ver { color: var(--blue-ink); }
.whs-rel-item .date { font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.whs-rel-item .tag {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink);
}
.whs-rel-item .tag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }
.whs-rel-item .note { margin-top: 10px; font-size: 16.5px; line-height: 1.62; color: var(--body); }
.whs-rel-item .note a { color: var(--accent); font-weight: 700; }
.whs-rel-item .note a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .whs-rel-cols { grid-template-columns: 1fr; gap: 14px; }
  .whs-rel-col + .whs-rel-col { margin-top: 28px; }
  .whs-rel-hero { padding: 84px 0 0; }
  .whs-rel-body { padding: 40px 0 80px; }
}
