/* ============================================================
   Flavor — warm-professional landing system
   Base: Direction 2 (Modern Conversion SaaS)
   + culinary warmth from Direction 3
   Two themes via [data-theme]: "warm" (default) and "dark"
   ============================================================ */

/* ---- Fonts (locally hosted — no Google request, GDPR) ---- */
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:400 700; font-display:swap; src:url('fonts/hanken.woff2') format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:italic; font-weight:400 700; font-display:swap; src:url('fonts/hanken-italic.woff2') format('woff2'); }
@font-face { font-family:'Schibsted Grotesk'; font-style:normal; font-weight:400 900; font-display:swap; src:url('fonts/schibsted.woff2') format('woff2'); }
@font-face { font-family:'Space Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/spacemono-400.woff2') format('woff2'); }
@font-face { font-family:'Space Mono'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/spacemono-700.woff2') format('woff2'); }

/* ---- Tokens : WARM (default / light) ---- */
:root, [data-theme="warm"] {
  --bg:        #FAF6EF;
  --bg-alt:    #F3ECE0;
  --bg-tint:   #F0E9DB;
  --olive-tint:#EAEFD8;
  --surface:   #FFFFFF;
  --heading:   #1E1A13;
  --text:      #4B4334;
  --sub:       #837A69;
  --accent:    #B44E27;   /* warm terracotta */
  --accent-2:  #C7613A;   /* lighter terracotta for gradient */
  --accent-deep:#963E1D;
  --olive:     #5C6A33;
  --olive-soft:#6E7D41;
  --brass:     #A9854B;
  --border:    rgba(30,24,16,0.11);
  --border-2:  rgba(30,24,16,0.07);
  --on-accent: #FFF7F0;
  --shadow-sm: 0 1px 3px rgba(50,34,18,.06);
  --shadow-md: 0 18px 46px -20px rgba(70,44,22,.30);
  --shadow-cta:0 14px 30px -12px rgba(180,78,39,.55);
  --ph-shell:  #241C14;
  --grain:     .035;
}

/* ---- Tokens : DARK ---- */
[data-theme="dark"] {
  --bg:        #14100B;
  --bg-alt:    #1A150E;
  --bg-tint:   #2A2016;
  --olive-tint:#212717;
  --surface:   #221B12;
  --heading:   #F4EBDC;
  --text:      #C9BEAB;
  --sub:       #948A78;
  --accent:    #C96B43;   /* desaturated, warmer terracotta for dark */
  --accent-2:  #D8835C;
  --accent-deep:#A85230;
  --olive:     #93A35E;
  --olive-soft:#A0B069;
  --brass:     #CBA96C;
  --border:    rgba(245,235,215,0.12);
  --border-2:  rgba(245,235,215,0.055);
  --on-accent: #FFF7F0;
  /* shadows replaced by a faint top edge-highlight + a soft deep shadow so cards lift on dark */
  --shadow-sm: inset 0 1px 0 rgba(255,244,228,.05), 0 2px 8px rgba(0,0,0,.45);
  --shadow-md: inset 0 1px 0 rgba(255,244,228,.06), 0 26px 60px -30px rgba(0,0,0,.9);
  --shadow-cta:inset 0 1px 0 rgba(255,244,228,.12), 0 16px 38px -16px rgba(201,107,67,.5);
  --ph-shell:  #0C0A06;
  --grain:     .05;
}
/* dark polish: gently dim photography so it doesn't glare against the dark UI */
[data-theme="dark"] .dish__img img,
[data-theme="dark"] .csv__cell img { filter: brightness(.86) saturate(.92); }
/* dark polish: warm accent glow on interactive card hover instead of an invisible shadow */
[data-theme="dark"] .fcard:hover,
[data-theme="dark"] .lg-card:hover { box-shadow: inset 0 1px 0 rgba(255,244,228,.06), 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 18px 40px -24px rgba(0,0,0,.9); }

/* ---- Reset / base ---- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: 'Schibsted Grotesk', system-ui, sans-serif; color: var(--heading); letter-spacing: -0.02em; line-height: 1.08; font-weight: 800; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }

/* ---- Mono / eyebrow ---- */
.mono { font-family: 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent);
  background: var(--bg-tint);
  border: 1px solid var(--border-2);
  padding: 7px 14px; border-radius: 100px;
}
.eyebrow--olive { color: var(--olive); }

.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head.left { margin-left: 0; text-align: left; }
.section__title { font-size: clamp(2.05rem, 3.6vw, 2.85rem); margin: 18px 0 0; }
.section__desc { font-size: 1.12rem; color: var(--sub); margin-top: 16px; }

/* ---- Icons ---- */
.ic { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ic--fill { fill: currentColor; stroke: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 13px; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease;
}
.btn .ic { width: 1.05em; height: 1.05em; stroke-width: 2.4; }
.btn--primary {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%, var(--accent-deep));
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(180,78,39,.6); }
.btn--ghost { background: var(--surface); color: var(--heading); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }

/* ---- WP pill / trust chips ---- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 15px; border-radius: 100px;
}
.chip .ic { width: 1.15em; height: 1.15em; }
.stars { display: inline-flex; gap: 2px; color: var(--brass); }
.stars .ic { width: 1em; height: 1em; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--heading); letter-spacing: -0.03em; }
.brand b { color: var(--accent); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: .95rem; font-weight: 600; color: var(--sub); white-space: nowrap; transition: color .2s; }
.nav__links a:hover { color: var(--heading); }
/* mid widths (above the mobile breakpoint, no hamburger menu exists): tighten the
   link row so all seven entries fit on one line instead of wrapping */
@media (min-width: 981px) and (max-width: 1180px) {
  .nav__links { gap: 14px; }
  .nav__links a { font-size: .9rem; }
}
.nav__right { display: flex; align-items: center; gap: 14px; }

/* theme switch */
.themes { display: inline-flex; background: var(--bg-tint); border: 1px solid var(--border-2); border-radius: 100px; padding: 3px; }
.themes button {
  border: none; background: transparent; cursor: pointer;
  font-family: 'Space Mono', monospace; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sub); padding: 6px 12px; border-radius: 100px; transition: all .2s; display: flex; align-items: center; gap: 5px;
}
.themes button .ic { width: 13px; height: 13px; }
.themes button.active { background: var(--surface); color: var(--heading); box-shadow: var(--shadow-sm); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 38% at 78% 18%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, color-mix(in srgb, var(--olive) 13%, transparent), transparent 70%);
}
.hero .wrap { max-width: 1500px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 660px; gap: 56px; align-items: center; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  font-family: 'Space Mono', monospace; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border);
  color: var(--sub); background: var(--surface);
}
.pill--olive { background: var(--olive); color: var(--on-accent); border-color: transparent; }
.hero h1 { font-size: clamp(2.3rem, 3.5vw, 3.25rem); font-weight: 900; line-height: 1.06; }
.hero h1 .accent { color: var(--accent); }
.hero__sub { font-size: 1.18rem; color: var(--sub); max-width: 600px; margin-top: 18px; }
.hero__points { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 8px; max-width: 600px; }
.hero__points li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; color: var(--text); }
.hero__points .ic { width: 17px; height: 17px; color: var(--olive); stroke-width: 2.6; flex-shrink: 0; margin-top: 4px; }
.hero__points b { color: var(--heading); }
.hero__cta { display: flex; gap: 13px; margin-top: 24px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.hero__trust .sep { width: 1px; height: 26px; background: var(--border); }
.hero__trust .t { font-size: .92rem; color: var(--sub); }
.hero__trust .t b { color: var(--heading); }

/* device cluster column */
.hero__art { position: relative; display: flex; justify-content: center; align-items: center; }
.devices { position: relative; width: 660px; height: 555px; flex-shrink: 0; transform-origin: bottom center; }
.devices .float {
  position: absolute; z-index: 7; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 11px 14px; box-shadow: var(--shadow-md); white-space: nowrap;
}
.float__ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--on-accent); flex-shrink: 0; }
.float__ic .ic { width: 20px; height: 20px; }
.float .tt { font-size: .8rem; font-weight: 700; color: var(--heading); line-height: 1.2; }
.float .ss { font-size: .72rem; color: var(--sub); }
.float--a { top: -14px; right: -22px; }
.float--b { bottom: -18px; right: -22px; }

/* ============================================================
   Phone mockup (CSS)
   ============================================================ */
.phone { width: 300px; flex-shrink: 0; border-radius: 40px; padding: 11px; background: var(--ph-shell); box-shadow: 0 50px 90px -34px rgba(40,24,10,.6), 0 12px 30px -16px rgba(40,24,10,.4); }
/* fixed screen height keeps a realistic phone aspect ratio; overflowing list is
   clipped behind the pinned QR strip, reading as a scrollable menu */
.phone__screen { position: relative; height: 610px; border-radius: 30px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); }
.phone__bar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 11px; font-weight: 700; color: var(--heading); }
.phone__bar .bat { width: 16px; height: 9px; border: 1.5px solid var(--heading); border-radius: 2px; opacity: .7; }
.menu__head { padding: 10px 18px 14px; border-bottom: 1px solid var(--border); }
.menu__name { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 22px; color: var(--heading); letter-spacing: -0.02em; }
.menu__cats { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.cat { font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 100px; color: var(--sub); border: 1px solid var(--border); }
.cat.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.menu__list { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.dish { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.dish__img { position: relative; }
.dish__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dish__badge { position: absolute; top: 8px; left: 8px; font-family: 'Space Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: var(--olive); color: #fff; }
.dish__body { padding: 10px 12px 12px; }
.dish__name { font-size: 13px; font-weight: 700; color: var(--heading); line-height: 1.2; }
.dish__price { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
/* subtitle in accent italic + dotted price leaders — mirrors the plugin's card grid */
.dish__desc { font-size: 11px; color: var(--accent); font-style: italic; margin-top: 3px; line-height: 1.3; }
.dish__prices { margin-top: 6px; }
.dish__price-row { display: flex; align-items: baseline; gap: 5px; }
.dish__price-row + .dish__price-row { margin-top: 2px; }
.dish__plabel { font-size: 10px; color: var(--sub); }
.dish__dots { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--heading) 28%, transparent); margin-bottom: 3px; }
.dish__hint {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); color: var(--heading);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.dish__hint svg { width: 12px; height: 12px; display: block; }
.dish__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; }
.alg { display: inline-flex; gap: 4px; }
.alg span { width: 18px; height: 18px; border-radius: 50%; font-size: 9.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--sub); }
.menu__qr { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface); }
.menu__qr .q { width: 34px; height: 34px; color: var(--heading); }
.menu__qr .tt { font-size: 11px; font-weight: 700; color: var(--heading); }
.menu__qr .ss { font-size: 10px; color: var(--sub); }

/* ============================================================
   Laptop mockup (CSS) + device cluster overlap
   ============================================================ */
.laptop { position: absolute; right: 0; bottom: 0; width: 520px; z-index: 2; }
.laptop__screen { width: 500px; margin: 0 auto; background: var(--ph-shell); border-radius: 16px 16px 5px 5px; padding: 12px 12px 0; box-shadow: var(--shadow-md); }
.laptop__inner { background: var(--bg); border-radius: 7px 7px 0 0; overflow: hidden; border: 1px solid var(--border); border-bottom: none; }
.laptop__base { position: relative; width: 560px; margin-left: -20px; height: 15px; background: linear-gradient(180deg, color-mix(in srgb, var(--ph-shell) 88%, #000), var(--ph-shell)); border-radius: 0 0 13px 13px; box-shadow: 0 14px 26px -12px rgba(40,24,10,.5); }
.laptop__base::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 6px; background: color-mix(in srgb, var(--ph-shell) 60%, #000); border-radius: 0 0 7px 7px; }
/* browser chrome */
.lt-chrome { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.lt-dots { display: flex; gap: 5px; flex-shrink: 0; }
.lt-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.lt-dots i:nth-child(1){ background:#E0654E; } .lt-dots i:nth-child(2){ background:#E0AA4E; } .lt-dots i:nth-child(3){ background:#5C9E5C; }
.lt-url { flex: 1; text-align: center; font-family: 'Space Mono', monospace; font-size: 10px; color: var(--sub); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 4px 12px; }
/* site content */
.lt-site { padding: 13px 15px 15px; }
.lt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lt-brand { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 18px; color: var(--heading); letter-spacing: -0.02em; }
.lt-nav { display: flex; gap: 14px; font-size: 10.5px; font-weight: 600; }
.lt-nav b { color: var(--accent); } .lt-nav span { color: var(--sub); }
.lt-cats { display: flex; gap: 7px; margin-bottom: 11px; }
.lt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lt-dish { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.lt-dish > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lt-dish .b { padding: 6px 8px 8px; }
.lt-dish .n { display: block; font-size: 10.5px; font-weight: 700; color: var(--heading); line-height: 1.2; }
.lt-dish .sub { display: block; font-size: 8.5px; font-style: italic; color: var(--accent); line-height: 1.3; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-dish .pr { display: flex; align-items: baseline; gap: 4px; margin-top: 3px; }
.lt-dish .pr .dots { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--heading) 28%, transparent); margin-bottom: 2px; }
.lt-dish .p { font-size: 10.5px; font-weight: 700; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.lt-dish .tags { display: flex; gap: 3px; margin-top: 5px; }
.lt-dish .tags span { width: 14px; height: 14px; border-radius: 50%; font-size: 7.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--sub); }
[data-theme="dark"] .lt-dish > img { filter: brightness(.86) saturate(.92); }
/* phone overlaps the laptop, front-left — scaled to preserve its proportions */
.devices .phone { position: absolute; left: 0; bottom: -8px; z-index: 6; transform: scale(.7); transform-origin: bottom left; box-shadow: 0 46px 80px -28px rgba(40,24,10,.72), 14px 18px 44px -20px rgba(40,24,10,.42); }

/* ============================================================
   Stat band
   ============================================================ */
.stats { background: var(--heading); }
[data-theme="dark"] .stats { background: #0E0B07; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { text-align: center; padding: 34px 16px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat__n { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 2.5rem; color: var(--bg); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 6px; }
[data-theme="dark"] .stat__n { color: var(--heading); }
.stat__n .ic { width: 1.6rem; height: 1.6rem; color: var(--brass); }
.stat__l { font-family: 'Space Mono', monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-top: 6px; }
[data-theme="dark"] .stat__l { color: var(--sub); }

/* ============================================================
   Outcome cards
   ============================================================ */
.cards3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ocard { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.ocard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ocard__ic { width: 50px; height: 50px; border-radius: 13px; background: var(--bg-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ocard__ic .ic { width: 24px; height: 24px; }
.ocard h3 { font-size: 1.3rem; margin-bottom: 9px; }
.ocard p { font-size: .98rem; color: var(--sub); }

/* ============================================================
   Core: allergens + QR
   ============================================================ */
.core { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.core__card { border-radius: 24px; padding: 36px 38px; }
.core__card--light { background: var(--surface); border: 1px solid var(--border); }
.core__card--dark { background: var(--heading); color: var(--bg); position: relative; overflow: hidden; }
[data-theme="dark"] .core__card--dark { background: #0E0B07; }
.core__ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.core__ic .ic { width: 26px; height: 26px; }
.core__card--light .core__ic { background: var(--olive-tint); color: var(--olive); }
.core__card--dark .core__ic { background: rgba(255,255,255,.1); color: var(--brass); }
.core__card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.core__card--dark h3 { color: #fff; }
.core__card p { font-size: 1rem; color: var(--sub); margin-bottom: 22px; max-width: 380px; }
.core__card--dark p { color: rgba(255,255,255,.72); }
.alg-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.alg-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 6px 13px 6px 6px; font-size: .85rem; color: var(--heading); }
.alg-chip b { width: 22px; height: 22px; border-radius: 50%; background: var(--olive); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; }
.qr-row { display: flex; gap: 16px; align-items: flex-end; }
.qr-box { background: #fff; border-radius: 14px; padding: 14px; width: 124px; text-align: center; }
.qr-box .q { width: 92px; height: 92px; color: #1E1A13; margin: 0 auto; }
.qr-box .lbl { font-family: 'Space Mono', monospace; font-size: 8.5px; color: #837A69; margin-top: 6px; letter-spacing: .05em; }
.qr-feats { display: flex; flex-direction: column; gap: 9px; }
.qr-feats span { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: rgba(255,255,255,.9); }
.qr-feats .ic { width: 16px; height: 16px; color: var(--brass); }

/* Free vs Pro check list — adapts to light and dark core cards */
.vs-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.vs-list span { display: inline-flex; align-items: center; gap: 10px; font-size: .96rem; }
.vs-list .ic { width: 16px; height: 16px; flex-shrink: 0; }
.core__card--light .vs-list span { color: var(--text); }
.core__card--light .vs-list .ic { color: var(--olive); }
.core__card--dark .vs-list span { color: rgba(255,255,255,.9); }
.core__card--dark .vs-list .ic { color: var(--brass); }

/* ============================================================
   Agency split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin: 16px 0 14px; }
.split__lead { font-size: 1.08rem; color: var(--sub); margin-bottom: 22px; }
.flist { display: flex; flex-direction: column; }
.flist__item { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--border); }
.flist__item:first-child { border-top: none; }
.flist__item .ic { width: 22px; height: 22px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }
.flist__item .t { font-weight: 700; color: var(--heading); }
.flist__item .d { font-size: .92rem; color: var(--sub); margin-top: 2px; }
.csv { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-md); }
.csv__hd { font-family: 'Space Mono', monospace; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sub); margin-bottom: 12px; }
.csv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* CSV cells = miniature plugin cards: image (badge + allergen hint) → title → subtitle → dotted price → chips + stars */
.csv__cell { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.csv__img { position: relative; }
.csv__cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.csv__badge {
  position: absolute; top: 6px; left: 6px;
  font-family: 'Space Mono', monospace; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 100px; background: var(--olive); color: #fff;
}
.csv__badge--accent { background: var(--accent); }
.csv__hint {
  position: absolute; top: 6px; right: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); color: var(--heading);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.csv__hint svg { width: 10px; height: 10px; display: block; }
.csv__cell .b { padding: 9px 11px 11px; }
.csv__cell .n { display: block; font-size: 12.5px; font-weight: 700; color: var(--heading); line-height: 1.2; }
.csv__cell .sub { display: block; font-size: 10px; font-style: italic; color: var(--accent); line-height: 1.3; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csv__cell .r { display: flex; align-items: baseline; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--heading); margin-top: 5px; }
.csv__cell .r .dots { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--heading) 28%, transparent); margin-bottom: 2px; }
.csv__cell .r .p { color: var(--accent); white-space: nowrap; }
.csv__cell .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.csv__cell .tags { display: flex; gap: 4px; }
.csv__cell .tags span {
  width: 16px; height: 16px; border-radius: 50%;
  font-size: 8.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-tint); color: var(--sub);
}
.csv__cell .stars { font-size: 10px; gap: 1px; }

/* ============================================================
   Feature grid
   ============================================================ */
.fgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.fcard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.fcard__ic { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.fcard__ic .ic { width: 22px; height: 22px; }
.fcard h3 { font-size: 1.15rem; margin-bottom: 7px; }
.fcard p { font-size: .94rem; color: var(--sub); }
/* Center a lone trailing card on the 3-column grid (e.g. the 7th feature). */
.fgrid > .fcard:last-child:nth-child(3n+1) { grid-column: 2 / 3; }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step__num { font-family: 'Space Mono', monospace; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.step__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.step__ic .ic { width: 23px; height: 23px; }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { font-size: .96rem; color: var(--sub); }
.step p code { font-family: 'Space Mono', monospace; font-size: .85em; background: var(--bg-tint); padding: 2px 7px; border-radius: 5px; color: var(--accent); }

/* ============================================================
   Layout gallery
   ============================================================ */
.lg-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.lg-grid .lg-card:first-child { grid-column: span 2; }
.lg-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.lg-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.lg-thumb { background: var(--bg-tint); border: 1px solid var(--border-2); border-radius: 11px; height: 132px; padding: 12px; overflow: hidden; display: flex; }
.lg-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 13px 6px 4px; }
.lg-name { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 1rem; color: var(--heading); }
.lg-desc { font-size: .8rem; color: var(--sub); text-align: right; }
/* greeked primitives */
.gk-img { background: linear-gradient(135deg, color-mix(in srgb,var(--accent) 38%,transparent), color-mix(in srgb,var(--olive) 38%,transparent)); border-radius: 4px; }
.gk-line { height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 26%, transparent); }
.gk-line.sm { height: 4px; background: color-mix(in srgb, var(--heading) 14%, transparent); }
.gk-price { height: 5px; width: 24px; border-radius: 3px; background: var(--accent); flex-shrink: 0; }
.gk-lead { flex: 1; border-bottom: 1.5px dotted color-mix(in srgb, var(--heading) 22%, transparent); margin: 0 6px 2px; }
.gk-col { display: flex; flex-direction: column; gap: 6px; }
.gk-row { display: flex; align-items: center; gap: 8px; }
/* per-layout compositions */
.gk-cardgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.gk-cardgrid .c { background: var(--surface); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.gk-cardgrid .gk-img { height: 26px; }
.gk-pricelist { width: 100%; display: flex; flex-direction: column; gap: 11px; justify-content: center; }
.gk-table { width: 100%; display: flex; flex-direction: column; gap: 0; }
.gk-table .tr { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border-2); align-items: center; }
.gk-table .tr:first-child .gk-line { background: color-mix(in srgb, var(--heading) 40%, transparent); }
.gk-horizontal { width: 100%; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.gk-horizontal .h { display: flex; gap: 8px; align-items: center; }
.gk-horizontal .gk-img { width: 34px; height: 26px; flex-shrink: 0; }
.gk-featured { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.gk-featured .big { flex: 1; border-radius: 6px; min-height: 52px; }
.gk-featured .small-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.gk-featured .small-row .gk-img { height: 20px; }
.gk-compact { width: 100%; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.gk-sectioned { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.gk-sectioned .hd { width: 38%; }

/* ============================================================
   Live demo
   ============================================================ */
.demo-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-md); max-width: 980px; margin: 0 auto; }
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.demo-dots { display: flex; gap: 7px; }
.demo-dots span { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--heading) 22%, transparent); }
.demo-dots span:nth-child(1){ background:#E0654E; } .demo-dots span:nth-child(2){ background:#E0AA4E; } .demo-dots span:nth-child(3){ background:#5C9E5C; }
.demo-url { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px; font-family: 'Space Mono', monospace; font-size: .8rem; color: var(--sub); }
.demo-url .ic { width: 13px; height: 13px; color: var(--olive); }
.demo-tag { font-family: 'Space Mono', monospace; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); white-space: nowrap; }
.demo-stage { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--bg-tint), var(--bg-alt)); display: flex; align-items: center; justify-content: center; }
.demo-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 35%, color-mix(in srgb,var(--accent) 11%,transparent), transparent 70%); }
.demo-stage.live::after { display: none; }
.demo-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #fff; z-index: 2; }
.demo-ph { position: relative; z-index: 1; text-align: center; padding: 30px; max-width: 440px; }
.demo-ph__play { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--on-accent); box-shadow: var(--shadow-cta); cursor: pointer; transition: transform .15s; border: none; }
.demo-ph__play:hover { transform: scale(1.06); }
.demo-ph__play .ic { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 4px; }
.demo-ph h3 { font-size: 1.4rem; margin-bottom: 8px; }
.demo-ph p { font-size: .98rem; color: var(--sub); }
.demo-note { text-align: center; font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: .06em; color: var(--sub); margin-top: 18px; }
.demo-note code { color: var(--accent); }
.demo-note a { color: var(--accent); }
/* boot overlay while Playground spins up */
.demo-loading { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(160deg, var(--bg-tint), var(--bg-alt)); color: var(--sub); font-size: .95rem; text-align: center; padding: 24px; pointer-events: none; }
.demo-loading.show { display: flex; }
.demo-spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: demo-spin .9s linear infinite; }
@keyframes demo-spin { to { transform: rotate(360deg); } }

/* ============================================================
   Pricing
   ============================================================ */
.toggle { display: inline-flex; align-items: center; gap: 5px; background: var(--bg-tint); border: 1px solid var(--border-2); border-radius: 100px; padding: 4px; margin: 8px auto 0; }
.toggle button { border: none; background: transparent; cursor: pointer; font-family: 'Hanken Grotesk',sans-serif; font-size: .9rem; font-weight: 700; color: var(--sub); padding: 8px 20px; border-radius: 100px; transition: all .2s; }
.toggle button.active { background: var(--surface); color: var(--heading); box-shadow: var(--shadow-sm); }
.toggle .save { font-family: 'Space Mono', monospace; font-size: .6rem; color: var(--olive); margin-left: 5px; letter-spacing: .05em; }
.pgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; text-align: left; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px 32px; position: relative; box-shadow: var(--shadow-sm); }
.pcard--feat { border: 2px solid var(--accent); box-shadow: var(--shadow-cta); }
.pcard__pop { position: absolute; top: -13px; left: 32px; background: linear-gradient(135deg,var(--accent-2),var(--accent)); color: var(--on-accent); font-family: 'Space Mono',monospace; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 13px; border-radius: 100px; }
.pcard__tier { font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.pcard--feat .pcard__tier { color: var(--accent); }
.pcard__sites { font-size: .9rem; color: var(--sub); margin-bottom: 18px; }
.pcard__price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.pcard__price .amt { font-family: 'Schibsted Grotesk',sans-serif; font-weight: 800; font-size: 3rem; color: var(--heading); letter-spacing: -0.02em; }
.pcard__price .per { font-size: .92rem; color: var(--sub); }
.pcard__note { font-size: .8rem; color: var(--sub); margin-bottom: 22px; min-height: 18px; }
.pcard__feats { list-style: none; margin: 0 0 24px; }
.pcard__feats li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: .94rem; color: var(--text); }
.pcard__feats .ic { width: 16px; height: 16px; color: var(--olive); stroke-width: 2.6; flex-shrink: 0; }
.pcard .btn { width: 100%; }
.price-foot { margin-top: 30px; font-size: .9rem; color: var(--sub); }
.price-foot a { color: var(--accent); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 22px 0; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h4 { font-family: 'Schibsted Grotesk',sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.faq__q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: transform .3s; }
.faq__q .pm::before, .faq__q .pm::after { content: ''; position: absolute; background: var(--accent); border-radius: 2px; }
.faq__q .pm::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq__q .pm::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity .3s; }
.faq__item[open] .pm::after { opacity: 0; }
.faq__a { padding: 0 0 24px; color: var(--sub); font-size: 1rem; line-height: 1.7; max-width: 660px; }
.faq__a code { font-family: 'Space Mono', monospace; font-size: .85em; background: var(--bg-tint); padding: 2px 7px; border-radius: 5px; color: var(--accent); }

/* ============================================================
   CTA band + Footer
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-deep)); color: var(--on-accent); border-radius: 28px; padding: 64px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem,3.4vw,2.7rem); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin: 14px auto 30px; max-width: 540px; }
.cta-band .btn--ghost { background: #fff; color: var(--accent-deep); border-color: transparent; }
.cta-band .btn--wp { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.footer { padding: 56px 0 48px; border-top: 1px solid var(--border); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h5 { font-family: 'Space Mono',monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sub); margin-bottom: 14px; }
.footer__col a { display: block; font-size: .94rem; color: var(--text); margin-bottom: 9px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--sub); flex-wrap: wrap; }
.footer__bottom a { color: var(--text); }
.footer__bottom a:hover { color: var(--accent); }

/* ============================================================
   Discount popup (GET20)
   ============================================================ */
#discount-popup-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,14,8,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
#discount-popup-overlay.active { opacity: 1; visibility: visible; }
#discount-popup {
  position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 22px;
  max-width: 420px; width: 100%; padding: 44px 38px 36px; text-align: center;
  box-shadow: var(--shadow-md); transform: translateY(16px); transition: transform .3s;
}
#discount-popup-overlay.active #discount-popup { transform: none; }
#discount-popup__close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--sub); cursor: pointer; }
#discount-popup__badge {
  display: inline-block; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--on-accent);
  font-family: 'Space Mono', monospace; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
#discount-popup h2 { font-size: 1.7rem; margin-bottom: 12px; }
#discount-popup p { font-size: .93rem; color: var(--sub); margin-bottom: 22px; }
#discount-popup__code-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
#discount-popup__code {
  background: var(--surface); border: 2px dashed var(--accent); border-radius: 10px;
  font-family: 'Space Mono', monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: .2em;
  color: var(--accent); padding: 10px 22px;
}
#discount-popup__copy {
  font-family: 'Hanken Grotesk', sans-serif; font-size: .82rem; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); padding: 9px 16px; cursor: pointer;
}
#discount-popup__copy:hover { color: var(--accent); border-color: var(--accent); }
#discount-popup__fine { font-size: .76rem; color: var(--sub); margin-bottom: 0 !important; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
/* between full-width hero and the stacked layout: narrower art column, scaled cluster */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0,1fr) 530px; }
  .devices { transform: scale(.8); height: 444px; }
}
/* short desktop/laptop viewports: compact the hero so it stays single-screen.
   scoped to side-by-side layout (min-width 981) so the stacked mobile hero is untouched */
@media (min-width: 981px) and (max-height: 860px) {
  .hero { padding: 22px 0; }
  .hero h1 { font-size: clamp(2rem, 2.9vw, 2.7rem); }
  .hero__sub { margin-top: 13px; font-size: 1.08rem; }
  .hero__points { margin-top: 13px; gap: 7px; }
  .hero__cta { margin-top: 17px; }
  .hero__trust { margin-top: 15px; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .hero__art { order: -1; }
  .devices { transform: none; height: 555px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .core { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(2,1fr); }
  .fgrid > .fcard:last-child:nth-child(3n+1) { grid-column: auto; }
  .nav__links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .lg-grid { grid-template-columns: repeat(2,1fr); }
  .lg-grid .lg-card:first-child { grid-column: span 2; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .section { padding: 72px 0; }
  .cards3 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .fgrid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .footer__top { flex-direction: column; }
  .lg-grid { grid-template-columns: 1fr; }
  .lg-grid .lg-card:first-child { grid-column: span 1; }
  .demo-stage { aspect-ratio: 4 / 3; }
}
/* compact nav on small screens — icon-only theme toggle, tighter CTA */
@media (max-width: 540px) {
  .nav__right { gap: 8px; }
  .themes button { padding: 6px 9px; }
  .themes button .lbl { display: none; }
  .nav__right .btn { padding: 10px 16px; font-size: .9rem; }
}

/* device cluster scales down so it never overflows small screens */
@media (max-width: 700px) {
  .devices { transform: scale(.78); height: 433px; }
}
@media (max-width: 560px) {
  .devices { transform: scale(.62); height: 344px; }
}
@media (max-width: 470px) {
  .devices { transform: scale(.5); height: 278px; }
  .devices .float { display: none; }
}
