/* ==============================================================
   WAYHOW.AI — DESIGN SYSTEM v3 (Freshworks-class)
   Type: Schibsted Grotesk (display) · Hanken Grotesk (body)
         Spline Sans Mono (micro-labels only)
   Palette: White / Midnight-navy ink / Ember (brand orange)
   ============================================================== */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f7fa;            /* cool section tint */
  --bg-warm: #fbf5f0;            /* ember-tinted band */
  --navy: #0e1f33;               /* dark band + headings */
  --navy-2: #16293f;             /* raised on dark */

  /* Ink */
  --ink: #0e1f33;
  --body: #42526b;
  --muted: #7a8699;
  --faint: #aeb8c6;
  --inv: #f4f7fb;
  --inv-body: #b9c4d3;
  --inv-muted: #7e8da0;

  /* Lines */
  --line: rgba(14, 31, 51, 0.10);
  --line-soft: rgba(14, 31, 51, 0.055);
  --line-inv: rgba(244, 247, 251, 0.13);

  /* Brand */
  --ember: #c2521f;
  --ember-bright: #d8641f;
  --ember-deep: #a8441c;
  --ember-tint: rgba(194, 82, 31, 0.08);
  --ember-tint-2: rgba(194, 82, 31, 0.05);
  --ember-on-dark: #f0955a;
  --grad: linear-gradient(96deg, #c2521f 0%, #e0761f 100%);

  /* Semantic */
  --ok: #1c7a43;
  --ok-tint: rgba(28, 122, 67, 0.1);

  /* Type */
  --font-display: 'Schibsted Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, monospace;

  /* Rhythm */
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sect: clamp(84px, 10vw, 152px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(14,31,51,0.05), 0 12px 32px -16px rgba(14,31,51,0.14);
  --shadow-pop: 0 24px 64px -24px rgba(14,31,51,0.28);
}

/* ------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
body {
  overscroll-behavior-x: none;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--ember); color: #fff; }
:focus-visible { outline: 2.5px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 40px); }
.container.narrow { max-width: 860px; }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); }

/* ------------------------------------------------ typography */
.display {
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.031em;
  text-wrap: balance;
}
.headline {
  font-weight: 700;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.title { font-weight: 700; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.22; letter-spacing: -0.015em; }
.accent { color: var(--ember); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--inv); }
.on-dark .accent { color: var(--ember-on-dark); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }
.on-dark .eyebrow { color: var(--ember-on-dark); }
.on-dark .eyebrow::before { background: var(--ember-on-dark); }

.lead { font-size: clamp(1.05rem, 1.55vw, 1.22rem); line-height: 1.65; color: var(--body); max-width: 640px; }
.on-dark .lead { color: var(--inv-body); }
.fine { font-size: 0.8rem; color: var(--muted); }

/* ------------------------------------------------ announcement bar */
.annc {
  background: var(--navy); color: var(--inv);
  font-size: 0.85rem; text-align: center;
  padding: 9px 16px;
}
.annc a { color: var(--ember-on-dark); font-weight: 600; margin-left: 8px; }
.annc a:hover { text-decoration: underline; }

/* ------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 6px 24px -18px rgba(14,31,51,0.25); }
.nav-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: 70px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.015em; color: var(--ink); }
.nav-brand img { width: 32px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); flex: 1; }
.nav-links > a, .nav-drop > button {
  font-size: 0.94rem; font-weight: 600; color: var(--body);
  padding: 8px 2px; transition: color 0.2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .nav-drop > button:hover { color: var(--ink); }
.nav-links > a.active { color: var(--ember); }
.nav-drop { position: relative; }
.nav-drop > button .chev { font-size: 0.7em; transition: transform 0.25s var(--ease); }
.nav-drop.open > button .chev { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: -14px;
  min-width: 300px; background: var(--bg);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: flex; gap: 14px; padding: 12px 14px; border-radius: 12px; transition: background 0.15s var(--ease); }
.nav-menu a:hover { background: var(--bg-soft); }
.nav-menu .mi { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--ember-tint); display: grid; place-items: center; color: var(--ember); font-weight: 700; font-family: var(--font-display); }
.nav-menu .mt { font-weight: 700; color: var(--ink); font-size: 0.94rem; }
.nav-menu .md { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.96rem; font-family: var(--font-body);
  padding: 13px 26px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn .arr { transition: transform 0.22s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:hover .arr.up { transform: translate(3px, -3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -10px rgba(194,82,31,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(194,82,31,0.6); }
.btn-navy { background: var(--navy); color: var(--inv); }
.btn-navy:hover { background: var(--ember); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost { border-color: var(--line-inv); color: var(--inv); background: transparent; }
.on-dark .btn-ghost:hover { border-color: var(--inv); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------ sections */
.section { padding: var(--sect) 0; position: relative; }
.section.tight { padding: calc(var(--sect) * 0.6) 0; }
.section.soft { background: var(--bg-soft); }
.section.warm { background: var(--bg-warm); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5.5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 18px; }
.hairline { border: 0; border-top: 1px solid var(--line); }

.band { background: var(--navy); color: var(--inv); position: relative; overflow: hidden; }
.band .glow { position: absolute; pointer-events: none; width: 780px; height: 780px; border-radius: 50%; background: radial-gradient(circle, rgba(224,118,31,0.14) 0%, transparent 60%); }

/* ------------------------------------------------ cards */
.card {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: rgba(194,82,31,0.25); }
.card h3 { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.card p { font-size: 0.96rem; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ember-tint); color: var(--ember); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 20px; }
.card .card-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; color: var(--ember); }
.card .card-link .arr { transition: transform 0.22s var(--ease); }
.card:hover .card-link .arr { transform: translateX(3px); }

/* ------------------------------------------------ marquee (capability strip) */
.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 22px 0; overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em;
  color: var(--body); border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 18px; white-space: nowrap; background: var(--bg);
}
.chip::before { content: "↗"; color: var(--ember); font-weight: 700; }

/* ------------------------------------------------ product frame */
.product-frame { border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-pop); }
.product-frame .frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.product-frame .frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.product-frame .frame-bar .url { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); margin-left: 10px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 6px; padding: 4px 14px; }
.product-frame img { width: 100%; }

/* ------------------------------------------------ tabs (Freshworks-style module) */
.tabs { border: 1px solid var(--line-soft); border-radius: var(--r-xl); background: var(--bg); box-shadow: var(--shadow-card); overflow: hidden; }
.tab-list { display: flex; border-bottom: 1px solid var(--line-soft); overflow-x: auto; }
.tab-btn {
  flex: 1; min-width: 150px; padding: 18px 20px; text-align: center;
  font-weight: 700; font-size: 0.94rem; color: var(--muted);
  border-bottom: 3px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--ink); background: var(--bg-soft); }
.tab-btn[aria-selected="true"] { color: var(--ember); border-bottom-color: var(--ember); }
.tab-panel { display: none; padding: clamp(26px, 4vw, 52px); }
.tab-panel.active { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tab-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.tab-panel .stat { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.tab-panel .stat .n { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--ink); letter-spacing: -0.02em; }
.tab-panel .stat .n .accent { font-size: 0.6em; }
.tab-panel .stat .s { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.tab-shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-card); aspect-ratio: 16/10; }
.tab-shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, top left); }
@media (max-width: 900px) { .tab-panel.active { grid-template-columns: 1fr; } }

/* ------------------------------------------------ metrics */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric { text-align: center; padding: clamp(26px, 3vw, 40px) 16px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.metric .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ink); letter-spacing: -0.025em; line-height: 1; }
.metric .num .accent { font-size: 0.58em; vertical-align: 0.28em; }
.metric .lbl { font-size: 0.86rem; color: var(--muted); margin-top: 10px; font-weight: 600; }
@media (max-width: 860px) { .metrics-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------ alternating feature rows */
.featrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.featrow:nth-child(even) .feat-copy { order: 2; }
.featrow h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.022em; margin-bottom: 14px; }
.featrow ul { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.featrow ul li { display: flex; gap: 12px; align-items: baseline; font-size: 0.98rem; }
.featrow ul li::before { content: "✓"; color: var(--ember); font-weight: 800; flex: none; }
@media (max-width: 880px) { .featrow { grid-template-columns: 1fr; } .featrow:nth-child(even) .feat-copy { order: 0; } }

/* ------------------------------------------------ forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: 0.96rem; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px var(--ember-tint); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { display: none; padding: 14px 18px; border-radius: 12px; font-size: 0.92rem; font-weight: 600; }
.form-status.ok { display: block; background: var(--ok-tint); color: var(--ok); }
.form-status.err { display: block; background: var(--ember-tint); color: var(--ember-deep); }

/* ------------------------------------------------ footer */
.footer { background: var(--navy); color: var(--inv-body); padding: clamp(56px, 7vw, 96px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(24px, 3.5vw, 52px); margin-bottom: 56px; }
.footer-brand img { width: 148px; height: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; color: var(--inv-body); }
.footer h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--inv-muted); margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 0.93rem; color: var(--inv-body); transition: color 0.2s var(--ease); }
.footer ul a:hover { color: var(--ember-on-dark); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 30px; border-top: 1px solid var(--line-inv); font-size: 0.82rem; color: var(--inv-muted); }
.footer-base .made { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ------------------------------------------------ page hero */
.page-hero { padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5.5vw, 80px); position: relative; overflow: hidden; }
.page-hero .display { max-width: 880px; }
.page-hero .lead { margin-top: 24px; }
.hero-wash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 55% at 78% -10%, rgba(224,118,31,0.09), transparent 62%); }

/* ------------------------------------------------ speclist */
.speclist { border-top: 1px solid var(--line); }
.specrow { display: grid; grid-template-columns: 210px 1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); }
.specrow .k { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.specrow .v h3 { font-size: 1.26rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.specrow .v p { max-width: 640px; }
@media (max-width: 760px) { .specrow { grid-template-columns: 1fr; gap: 10px; } }

/* ------------------------------------------------ responsive nav */
@media (max-width: 960px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 0 16px; display: none; box-shadow: var(--shadow-pop);
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-drop > button { padding: 14px clamp(20px, 5vw, 40px); font-size: 1.02rem; width: 100%; justify-content: space-between; }
  .nav-drop { width: 100%; }
  .nav-menu { position: static; opacity: 1; visibility: hidden; transform: none; box-shadow: none; border: 0; border-radius: 0; min-width: 0; display: none; padding: 0 clamp(12px, 4vw, 32px) 8px; }
  .nav-drop.open .nav-menu { display: block; visibility: visible; }
  .nav-actions { display: none; }
  .nav-links .nav-actions-m { display: flex; gap: 10px; padding: 12px clamp(20px, 5vw, 40px) 4px; }
  .nav-toggle { display: flex; }
}
@media (min-width: 961px) { .nav-links .nav-actions-m { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* footer logo lockup (mark + wordmark, correct on dark) */
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; color: var(--inv); }
.footer-logo em { font-style: normal; color: var(--ember-on-dark); }
.footer-logo img { width: 30px; height: auto; }

/* ---- Language switcher ---- */
.lang-drop { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 100px; background: #fff; color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; cursor: pointer; transition: border-color 0.18s ease; }
.lang-btn:hover { border-color: var(--ink); }
.lang-chev { font-size: 0.6rem; opacity: 0.55; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px -16px rgba(14, 31, 51, 0.28); padding: 6px; display: none; z-index: 60; }
.lang-drop.open .lang-btn { border-color: var(--ink); }
.lang-item { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 9px; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.lang-item:hover { background: var(--bg-soft); }
.lang-item[aria-current="true"] { color: var(--ember); font-weight: 600; }
.lang-drop-m { margin-top: 4px; }
.lang-drop-m .lang-menu { right: auto; left: 0; top: auto; bottom: calc(100% + 8px); }
@media (max-width: 920px) { .nav-actions .lang-drop { display: none; } }
@media (min-width: 921px) { .lang-drop-m { display: none; } }

/* ---- Script-specific typography ---- */
html[lang="zh"] body, html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] .display, html[lang="zh"] .headline, html[lang="zh"] .btn { font-family: "Noto Sans SC", "Hanken Grotesk", system-ui, sans-serif; }
html[lang="hi"] body, html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .display, html[lang="hi"] .headline, html[lang="hi"] .btn { font-family: "Noto Sans Devanagari", "Hanken Grotesk", system-ui, sans-serif; }
html[lang="zh"] .display, html[lang="zh"] .headline { letter-spacing: 0; }
html[lang="hi"] .display, html[lang="hi"] .headline { letter-spacing: 0; line-height: 1.22; }
html[lang="zh"] .k, html[lang="zh"] .eyebrow, html[lang="zh"] .lbl, html[lang="hi"] .k, html[lang="hi"] .eyebrow, html[lang="hi"] .lbl { letter-spacing: 0.04em; }
