/*
 * Grovance marketing site.
 * Layout: mobile-first single column; on wide screens the hero splits copy | live demo,
 * and the five levels sit side by side as a rising "level meter" row.
 */
:root {
  /* colour: from the official Grovance logo (brand/grovance-logo-transparent.png) - glossy black, polished chrome, steel-silver accent ("sun") */
  --paper: #e7e9ec;   /* clear matte silver instead of white (2026-10-26) */
  /* fine grain on the page background, so it reads as a matte finish (both themes) */
  --matte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .44 0 0 0 0 .48 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --surface: #ffffff;
  --bar: rgb(212 216 222 / 84%);   /* top and bottom bars: frosted matte silver, not white (2026-10-26) */
  --bar-solid: #d4d8de;   /* the same silver, solid: behind the iPhone status bar and home bar */
  --ink: #050506;     /* darker letters (2026-10-26) */
  --muted: #33373e;
  --line: #d8dbe0;
  --brand: #1b1c1f;
  --brand-strong: #000000;
  --on-brand: #ffffff;
  --brand-soft: #e8eaed;
  --sun: #7c838d;
  --ok: #1d7a46;
  --bad: #b4321f;
  --shadow: 0 1px 2px rgb(18 19 22 / 6%), 0 0.625rem 1.875rem rgb(18 19 22 / 9%);
  /* chrome finishes, as in the logo: a glossy black panel, polished silver, chrome letters */
  --btn-face: linear-gradient(180deg, #4b4e54 0%, #222327 46%, #0b0b0d 54%, #2a2c30 100%);
  --btn-face-hover: linear-gradient(180deg, #5d6067 0%, #2d2f33 46%, #141417 54%, #383a3f 100%);
  --btn-edge: #000000;
  --btn-shine: inset 0 1px 0 rgb(255 255 255 / 28%), 0 1px 2px rgb(0 0 0 / 25%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e9ebee 48%, #d3d7dc 52%, #f1f2f4 100%);
  --chrome-text: linear-gradient(180deg, #3a3d42 0%, #8e949d 44%, #15161a 56%, #5a5e66 100%);
  --logo-plate: transparent;
  --logo-plate-pad: 0px;
  /* moving backgrounds (assets/js/motion.js), r, g, b: lines / glow / bright centre - golden light like the city lights */
  --motion-ink: 196, 118, 18;
  --motion-glow: 255, 166, 38;
  --motion-core: 255, 244, 214;

  /* type */
  --font-display: "Schibsted Grotesk", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 1rem;
  --gutter: 1rem;
  --header-h: 7.25rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c0d0f;
    --surface: #16171a;
    --bar: rgb(20 21 24 / 84%);
    --bar-solid: #141518;
    --ink: #ecedef;
    --muted: #a2a7af;
    --line: #2b2d32;
    --brand: #dfe2e6;
    --brand-strong: #ffffff;
    --on-brand: #111214;
    --brand-soft: #26282c;
    --sun: #aab1ba;
    --ok: #5fcf8d;
    --bad: #f08a76;
    --shadow: 0 1px 2px rgb(0 0 0 / 35%), 0 0.625rem 1.875rem rgb(0 0 0 / 30%);
    --btn-face: linear-gradient(180deg, #ffffff 0%, #dcdfe3 46%, #b8bdc4 54%, #e8eaed 100%);
    --btn-face-hover: linear-gradient(180deg, #ffffff 0%, #e9ebee 46%, #c9cdd2 54%, #f3f4f6 100%);
    --btn-edge: #8d939b;
    --btn-shine: inset 0 1px 0 rgb(255 255 255 / 70%), 0 1px 2px rgb(0 0 0 / 40%);
    --chrome: linear-gradient(180deg, #34363b 0%, #23252a 48%, #18191c 52%, #2a2c31 100%);
    --chrome-text: linear-gradient(180deg, #ffffff 0%, #bfc4ca 44%, #7a8088 56%, #e3e6e9 100%);
    /* the logo is made for light backgrounds: in dark mode it sits on a small light plate */
    --logo-plate: linear-gradient(180deg, #ffffff 0%, #e4e7ea 100%);
    --logo-plate-pad: 0.25rem;
    --motion-ink: 232, 156, 52;
    --motion-glow: 255, 186, 80;
    --motion-core: 255, 248, 230;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c0d0f;
    --surface: #16171a;
    --bar: rgb(20 21 24 / 84%);
    --bar-solid: #141518;
    --ink: #ecedef;
    --muted: #a2a7af;
    --line: #2b2d32;
    --brand: #dfe2e6;
    --brand-strong: #ffffff;
    --on-brand: #111214;
    --brand-soft: #26282c;
    --sun: #aab1ba;
    --ok: #5fcf8d;
    --bad: #f08a76;
    --shadow: 0 1px 2px rgb(0 0 0 / 35%), 0 0.625rem 1.875rem rgb(0 0 0 / 30%);
    --btn-face: linear-gradient(180deg, #ffffff 0%, #dcdfe3 46%, #b8bdc4 54%, #e8eaed 100%);
    --btn-face-hover: linear-gradient(180deg, #ffffff 0%, #e9ebee 46%, #c9cdd2 54%, #f3f4f6 100%);
    --btn-edge: #8d939b;
    --btn-shine: inset 0 1px 0 rgb(255 255 255 / 70%), 0 1px 2px rgb(0 0 0 / 40%);
    --chrome: linear-gradient(180deg, #34363b 0%, #23252a 48%, #18191c 52%, #2a2c31 100%);
    --chrome-text: linear-gradient(180deg, #ffffff 0%, #bfc4ca 44%, #7a8088 56%, #e3e6e9 100%);
    /* the logo is made for light backgrounds: in dark mode it sits on a small light plate */
    --logo-plate: linear-gradient(180deg, #ffffff 0%, #e4e7ea 100%);
    --logo-plate-pad: 0.25rem;
    --motion-ink: 232, 156, 52;
    --motion-glow: 255, 186, 80;
    --motion-core: 255, 248, 230;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  /* iPhone: the strips behind the status bar and the home bar, and the bounce when you scroll past the
     top or bottom, show this colour - matte silver like the header and footer, never white (2026-10-26) */
  background-color: var(--bar-solid);
  background-image: var(--matte);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--matte);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
/* paints the phone status-bar area above the sticky header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background-color: var(--bar);
  background-image: var(--matte);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0; }

:focus-visible { outline: 0.1875rem solid var(--sun); outline-offset: 0.1875rem; border-radius: 0.375rem; }

.wrap {
  width: 100%;
  max-width: 73.75rem;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -10rem;
  z-index: 100;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: calc(0.75rem + env(safe-area-inset-top, 0px)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  text-align: center;
  padding: 0.75rem 1.375rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-brand { border-color: var(--btn-edge); background: var(--btn-face); color: var(--on-brand); box-shadow: var(--btn-shine); }
.btn-brand:hover { background: var(--btn-face-hover); }
.btn-ghost { border-color: var(--line); background: var(--chrome); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background-color: var(--bar);
  background-image: var(--matte);
  -webkit-backdrop-filter: blur(0.875rem) saturate(1.15);
  backdrop-filter: blur(0.875rem) saturate(1.15);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
  margin-left: 1rem;   /* the logo sits a little in from the left edge (2026-10-26) */
  color: var(--ink);
  text-decoration: none;
}
/* the official logo, never redrawn or recoloured (STRUCTURE.md "Grovance brand"); larger so the GROVANCE name
   under the mark can be read (2026-10-28); 20% smaller on every screen (2026-10-29: "reduce 20% the size") */
.logo-img { width: auto; height: 5rem; flex: none; padding: var(--logo-plate-pad); border-radius: 0.625rem; background: var(--logo-plate); box-sizing: content-box; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--surface);
  cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block;
  position: relative;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, background-color .2s ease;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -0.375rem; }
.menu-bars::after { top: 0.375rem; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(0.375rem) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-0.375rem) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.125rem max(var(--gutter), env(safe-area-inset-left, 0px));
  background-color: var(--bar);
  background-image: var(--matte);
  -webkit-backdrop-filter: blur(0.875rem) saturate(1.15);
  backdrop-filter: blur(0.875rem) saturate(1.15);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.main-nav.open { display: block; }
.nav-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
/* each menu item in its own chrome box; text 30% bigger than before (2026-10-26) */
.nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--chrome);
  box-shadow: var(--btn-shine);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { border-color: var(--brand); }
.nav-actions { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1rem; }

.lang-switch {
  display: inline-flex;
  padding: 0.1875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.lang-switch button {
  min-width: 2.75rem;
  min-height: 2.125rem;
  padding: 0.25rem 0.625rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 .85rem/1 var(--font-body);
  letter-spacing: .05em;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--btn-face); color: var(--on-brand); box-shadow: var(--btn-shine); }

/* ---------- hero ---------- */
.hero { padding-block: 2.5rem 3.5rem; }
/* the hero message sits in the centre, over the Earth picture (2026-10-26) */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; justify-items: center; text-align: center; }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; justify-items: center; max-width: 52rem; }
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.4rem, 8.5vw, 4.3rem);
  font-weight: 700;   /* a bit slimmer than the other headings (2026-10-26) */
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero-lead { max-width: 36rem; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hero .ticks { text-align: left; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ticks li, .features li {
  position: relative;
  padding-left: 1.75rem;
}
.ticks li::before, .features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 0.875rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}


/* level meter: five bars, filled up to the level number */
.meter { display: inline-flex; align-items: flex-end; gap: 0.1875rem; height: 1.125rem; flex: none; }
.meter i { display: block; width: 0.3125rem; border-radius: 2px; background: var(--line); }
.meter i:nth-child(1) { height: 0.375rem; }
.meter i:nth-child(2) { height: 0.5625rem; }
.meter i:nth-child(3) { height: 0.75rem; }
.meter i:nth-child(4) { height: 0.9375rem; }
.meter i:nth-child(5) { height: 1.125rem; }
.meter i.on { background: var(--chrome-text); }
.meter i.on:last-child { background: var(--sun); }

/* ---------- sections ---------- */
.section { padding-block: 4rem; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.site-header { box-shadow: inset 0 -1px 0 var(--line), 0 1px 0 rgb(255 255 255 / 4%); }
.section-head { display: grid; gap: 0.625rem; max-width: 42rem; margin-bottom: 2rem; }
.section-head h2, .section-head h1 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.step { display: grid; gap: 0.5rem; padding-top: 1.125rem; border-top: 2px solid var(--ink); border-image: var(--chrome-text) 1; }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  background: var(--chrome-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); }

/* levels */
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.level {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.375rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.level-top { display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; }
.level-no {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.level-name { font-size: 1.6rem; font-weight: 800; }
.level-sum { color: var(--muted); }
.plus { font-weight: 700; font-size: .95rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: .98rem; }
.level-foot { display: grid; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; color: var(--muted); font-size: .9rem; }
.price strong { color: var(--ink); font-size: 1rem; }

/* add-ons */
.price { flex-wrap: wrap; }
.price .price-note { flex-basis: 100%; font-size: .82rem; }
.price-rent { color: var(--muted); font-size: .88rem; }

/* one metal colour per level, the same on every page (2026-10-27; 3 levels 2026-10-28). Any element with
   data-level="N" gets the colours (cards, price tables, demo buttons). */
/* 3 levels (PROMPT-MASTER.md, 2026-10-28), each keeps the colour of its name: Starter silver, Business dark grey, Pro gold (2026-10-28: "L1 silver, L2 gray, L3 gold") */
[data-level="1"] { --lv-face: linear-gradient(180deg, #ffffff 0%, #e4e7ea 46%, #c3c8ce 54%, #eef0f2 100%); --lv-edge: #959ba3; --lv-text: #eef0f2; }
[data-level="3"] { --lv-face: linear-gradient(180deg, #fcefc0 0%, #e2bd5a 46%, #c9972c 54%, #f0d27e 100%); --lv-edge: #8f6a17; --lv-text: #e4c065; }
/* the level name in its metal (price tables, demo buttons) */
.lv-name { font-weight: 800; color: var(--lv-text); background: var(--lv-face); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.example-level .btn { border-color: var(--lv-edge); background: var(--lv-face); color: #111214; }
.example-level .btn:hover { background: var(--lv-face); filter: brightness(1.07); }
.level .level-name { text-align: center; color: var(--lv-text); background: var(--lv-face); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.level .price strong { color: var(--lv-text); font-size: 1.05rem; }
.price-rent .nowrap { white-space: nowrap; }
.price strong { white-space: nowrap; }
.price-from { font-size: .75em; font-weight: 600; }
/* all text in the home level cards is centred (2026-10-26; 2026-10-29: "in small cards it's ok all in the center").
   "Buy" sits above the price in every card, so long prices never push one card's lines out of step with the others */
.level { text-align: center; }
.level .level-top { justify-content: center; }
.level .price { justify-content: center; }
.level .price > span:first-child { flex-basis: 100%; }
.level .price strong { font-size: 1.2rem; }
/* side by side, every card's price block is the same height, so the prices line up across the row */
@media (min-width: 640px) { .level .price-rent { min-height: 3.2em; } .level .price-rent[hidden] { display: block !important; visibility: hidden; } }
.level .btn-brand { border-color: var(--lv-edge); background: var(--lv-face); color: #111214; padding-inline: 0.625rem; white-space: nowrap; }
.level .btn-brand:hover { background: var(--lv-face); filter: brightness(1.07); }
.pay-ways { display: grid; gap: 1rem; margin-top: 2rem; }
.pay-way { display: grid; gap: 0.625rem; align-content: start; padding: 1.375rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pay-way.pay-buy { border: 2px solid var(--brand); }
.pay-way h3 { font-size: 1.15rem; font-weight: 800; }
.pay-way ul { display: grid; gap: 0.5rem; margin: 0; padding-left: 1.15em; color: var(--muted); font-size: .95rem; }
/* the buyers' hosting choice (PROMPT-PRICES-2026-11-14 section 5): a plain numbered list, left-aligned like the text around it */
ol.hb-opts { display: grid; gap: 0.75rem; margin: 0; padding-left: 1.4em; list-style: decimal; text-align: left; justify-items: start; }
ol.hb-opts li { display: list-item; text-align: left; margin: 0; padding: 0; }
.pay-tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.addon-price { margin-top: 0.25rem; color: var(--ink) !important; font-weight: 700; font-size: .9rem !important; }
@media (min-width: 900px) { .pay-ways { grid-template-columns: 1.2fr 1fr 1fr; } .pay-ways:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* 4 boxes: 2 x 2, no box alone */
/* add-ons: one dark "tech" card each (2026-10-26): dot grid, chrome-to-gold edge, glowing icon.
   The cards are dark in light and dark mode, like the level cards on the wallpaper. */
.addons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.875rem; }
.addons li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;                                  /* everything centred (2026-10-26) */
  gap: 0.5rem;
  min-width: 0;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0.875rem;
  background:
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / 7%) 1px, transparent 1.5px) 0 0 / 0.875rem 0.875rem padding-box,
    linear-gradient(160deg, #1c1d21, #0c0d0f 70%) padding-box,
    linear-gradient(135deg, #dfe2e6, #5b6068 38%, #26282c 62%, #e8b84a) border-box;
  box-shadow: 0 0.625rem 1.5rem rgb(0 0 0 / 18%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.addons li::before {                                    /* a line of light along the top edge */
  content: "";
  position: absolute;
  inset: -1px 1.375rem auto;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ffcf6a, transparent);
}
.addons li:hover { transform: translateY(-0.1875rem); box-shadow: 0 0.875rem 1.875rem rgb(0 0 0 / 26%), 0 0 1.625rem rgb(255 166 38 / 20%); }
.addon-ico {
  display: grid;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  flex: none;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 0.6875rem;
  background: linear-gradient(180deg, #2b2d32, #131417);
  color: #ffc65a;
}
.addon-ico svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 0.3125rem rgb(255 166 38 / 55%)); }
.addon-head { display: flex; align-items: center; justify-content: center; gap: 0.75rem; max-width: 100%; }   /* icon beside the title */
.addons h3 { min-width: 0; text-align: left; font-size: 1.05rem; font-weight: 700; color: #f4f5f7; }
.addons p { color: #b4b9c0; font-size: .95rem; }
.addons .addon-price { margin-top: auto; padding-top: 0.25rem; color: #f2c457 !important; }   /* prices line up at the bottom */
@media (prefers-reduced-motion: reduce) { .addons li, .addons li:hover { transition: none; transform: none; } }

/* examples page: the 5 template models, each with a Level 1 and a Level 2 demo */
.examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.example {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.example img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.example-body { display: grid; align-content: start; gap: 0.375rem; padding: 1.125rem 1.25rem 1.25rem; }
.example-kind { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.example-name { margin: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.example-biz { color: var(--muted); font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.example-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.875rem 0.75rem; margin-top: 0.5rem; }
.example-links .btn { width: 100%; padding-inline: 0.75rem; white-space: nowrap; }
/* what each level adds, 3 short lines under its demo button (PROMPT-REDESIGN-3.md) */
.example-level { display: grid; align-content: start; gap: 0.375rem; min-width: 0; }
.example-adds { margin: 0; padding: 0 0 0 1.1em; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.example-adds li + li { margin-top: 0.125rem; }
.example-note { margin: 0; color: var(--muted); font-size: .9rem; }
/* Questions page: a still picture, no motion (2026-10-26, chose "Digital Earth") - a frame of the Pexels
   clip "Digital Earth in blue lights", under the same silver see-through cover as the home page (2026-11-05:
   "use the filter for all pages"). The cover is a layer over the picture that takes the page's veil (.vid-light). */
.wp-faq {
  position: relative;
  isolation: isolate;
  background-image: url("../../images/wallpaper/digital-earth.jpg");
  background-size: cover;
  background-position: center;
}
.wp-faq::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--vid-veil, linear-gradient(180deg, rgb(3 3 4 / 62%), rgb(3 3 4 / 48%))); }
/* Examples, Questions and Contact each have their own page (2026-10-26): fill the screen */
.page-solo { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }

/* faq */
.faq-grid, .contact-grid { display: grid; gap: 0.5rem; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 0;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 1.125rem; color: var(--muted); }

/* contact */
.contact-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.field { display: grid; gap: 0.375rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--surface);
  color: var(--ink);
  font: 1rem/1.5 var(--font-body);
}
.field textarea { min-height: 8.75rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-bad { color: var(--bad); }

/* footer */
.site-footer { padding-block: 2.5rem; background-color: var(--bar); background-image: var(--matte); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.375rem; }
.footer-logo .logo-img { height: 6rem; }
.footer-line, .footer-copy { color: var(--muted); font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--brand); }

/* builder placeholder page */
.soon { padding-block: 4rem 6rem; }
.soon-card {
  display: grid;
  gap: 1.125rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.soon-card h1 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; }
.soon-card p { color: var(--muted); }
.chosen { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 0.875rem; border-radius: 0.75rem; background: var(--brand-soft); color: var(--ink); font-weight: 700; }

/* ---------- moving technology backgrounds in the light sections (assets/js/motion.js) ---------- */
.has-motion { position: relative; isolation: isolate; overflow: hidden; }
.has-motion > canvas.motion { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- wallpaper bands (the owner's pictures, 2026-10-26: images/wallpaper/) ----------
   Always dark, in both themes: inside a band the colour tokens switch to the dark set, so every
   card, button and text in it follows. The pictures have black backgrounds, so they blend into
   the band colour. The header stays light (the logo is made for light backgrounds). */
.wallpaper {
  --paper: #0c0d0f;
  --surface: #16171a;
  --ink: #f1f2f4;
  --muted: #c2c7ce;
  --line: rgb(255 255 255 / 16%);
  --brand: #dfe2e6;
  --brand-strong: #ffffff;
  --on-brand: #111214;
  --brand-soft: #26282c;
  --sun: #aab1ba;
  --ok: #5fcf8d;
  --bad: #f08a76;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 0.875rem 2.25rem rgb(0 0 0 / 45%);
  --btn-face: linear-gradient(180deg, #ffffff 0%, #dcdfe3 46%, #b8bdc4 54%, #e8eaed 100%);
  --btn-face-hover: linear-gradient(180deg, #ffffff 0%, #e9ebee 46%, #c9cdd2 54%, #f3f4f6 100%);
  --btn-edge: #8d939b;
  --btn-shine: inset 0 1px 0 rgb(255 255 255 / 70%), 0 1px 2px rgb(0 0 0 / 40%);
  --chrome: linear-gradient(180deg, #34363b 0%, #23252a 48%, #18191c 52%, #2a2c31 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #bfc4ca 44%, #7a8088 56%, #e3e6e9 100%);
  color-scheme: dark;
  color: var(--ink);
  background-color: #000000;   /* the pictures' own black, so their edges never show */
  background-repeat: no-repeat;
}
.section.wallpaper { border-block: 0; }
/* the add-on and example cards (and "Every plan includes") keep the dark colour set they had on the dark pages, now that every page has the
   home page's silver cover (2026-11-05: "use the filter for all pages") */
.vid-light .addon-full, .vid-light .ex-main, .lv-every-card {
  --paper: #0c0d0f;
  --surface: #16171a;
  --ink: #f1f2f4;
  --muted: #c2c7ce;
  --line: rgb(255 255 255 / 16%);
  --brand: #dfe2e6;
  --brand-strong: #ffffff;
  --on-brand: #111214;
  --brand-soft: #26282c;
  --sun: #aab1ba;
  --ok: #5fcf8d;
  --bad: #f08a76;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 0.875rem 2.25rem rgb(0 0 0 / 45%);
  --btn-face: linear-gradient(180deg, #ffffff 0%, #dcdfe3 46%, #b8bdc4 54%, #e8eaed 100%);
  --btn-face-hover: linear-gradient(180deg, #ffffff 0%, #e9ebee 46%, #c9cdd2 54%, #f3f4f6 100%);
  --btn-edge: #8d939b;
  --btn-shine: inset 0 1px 0 rgb(255 255 255 / 70%), 0 1px 2px rgb(0 0 0 / 40%);
  --chrome: linear-gradient(180deg, #34363b 0%, #23252a 48%, #18191c 52%, #2a2c31 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #bfc4ca 44%, #7a8088 56%, #e3e6e9 100%);
  color-scheme: dark;
  color: var(--ink);
}
.wallpaper .section-head, .wallpaper .hero-copy { text-shadow: 0 1px 0.875rem rgb(0 0 0 / 60%); }
/* phones first: the picture fills the band, with a darker veil so the text stays readable */
.wp-earth { background-image: linear-gradient(180deg, rgb(3 3 4 / 55%) 0%, rgb(3 3 4 / 80%) 100%), url("../../images/wallpaper/earth-night-phone.jpg"); background-size: cover; background-position: 60% 70%; }
.wp-blue { background-image: linear-gradient(180deg, rgb(3 3 4 / 72%), rgb(3 3 4 / 72%)), url("../../images/wallpaper/blue-dots-phone.jpg"); background-size: cover; background-position: center; }
.wp-cyan { background-image: linear-gradient(180deg, rgb(3 3 4 / 55%), rgb(3 3 4 / 55%)), url("../../images/wallpaper/cyan-lines.jpg"); background-size: cover; background-position: center; }
.wp-gold { background-image: linear-gradient(180deg, rgb(3 3 4 / 45%), rgb(3 3 4 / 45%)), url("../../images/wallpaper/gold-dots.jpg"); background-size: cover; background-position: center; }
/* the contact form is frosted glass, so the gold dots show through */
.wallpaper .contact-form { background: rgb(12 13 15 / 70%); -webkit-backdrop-filter: blur(0.375rem); backdrop-filter: blur(0.375rem); }
@media (min-width: 960px) {
  .wp-earth { background-image: radial-gradient(ellipse 60% 70% at 50% 45%, rgb(3 3 4 / 72%) 0%, rgb(3 3 4 / 30%) 100%), url("../../images/wallpaper/earth-night.jpg"); background-position: center 75%; }
  .wp-blue { background-image: linear-gradient(180deg, rgb(3 3 4 / 55%), rgb(3 3 4 / 35%)), url("../../images/wallpaper/blue-dots.jpg"); }
  .wp-cyan { background-image: linear-gradient(90deg, rgb(3 3 4 / 40%), rgb(3 3 4 / 10%)), url("../../images/wallpaper/cyan-lines.jpg"); background-size: cover; background-position: center 38%; }
  /* the dots sit behind the short text on the left; the form on the right stays clear */
  .wp-gold { background-image: url("../../images/wallpaper/gold-dots.jpg"); background-size: auto 135%; background-position: -2% 60%; }
}

/* ---------- How it works page (how-it-works.html, the owner 2026-10-26: the full description lives on its own page) ---------- */
.page-hero { padding-block: 2.5rem 3rem; }
.page-hero .hero-title { font-size: clamp(2rem, 6.5vw, 3.4rem); }
.jump { list-style: none; margin: 0.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.jump a { display: inline-block; padding: 0.4375rem 0.875rem; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / 6%); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; text-shadow: none; }
.jump a:hover { border-color: #ffc65a; color: #ffc65a; }
.how-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.ready { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ready li { display: grid; gap: 0.5rem; align-content: start; padding: 1.375rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.ready h3 { font-size: 1.12rem; }
.ready p { color: var(--muted); font-size: .97rem; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.flow li { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0.75rem; align-items: start; padding: 1.125rem 1.25rem; border: 1px solid var(--line); border-radius: 0.875rem; background: rgb(12 13 15 / 72%); -webkit-backdrop-filter: blur(0.25rem); backdrop-filter: blur(0.25rem); }
.flow li > div { display: grid; gap: 0.25rem; min-width: 0; }
.flow h3 { font-size: 1.12rem; }
.flow p { color: var(--muted); font-size: .97rem; }
.flow-num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auto { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.375rem; position: relative; max-width: 46rem; }
.auto::before { content: ""; position: absolute; left: 0.5625rem; top: 0.625rem; bottom: 0.625rem; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #e8b84a, var(--line)); }
.auto li { position: relative; display: grid; gap: 0.25rem; padding-left: 2.625rem; }
.auto li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 1rem; height: 1rem; border-radius: 50%; background: radial-gradient(circle, #fff4d6 0 30%, #ffa626 70%); box-shadow: 0 0 0.625rem rgb(255 166 38 / 65%); }
.auto h3 { font-size: 1.12rem; }
.auto p, .auto-note { color: var(--muted); }
.auto-note { max-width: 46rem; margin-top: 1.75rem; font-size: .95rem; }
.guide-cta .section-head { margin-inline: auto; text-align: center; justify-items: center; }
@media (min-width: 640px) {
  .ready { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
}
@media (min-width: 1160px) {
  .ready { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .levels .level:last-child { grid-column: auto; }   /* 2 plans side by side (PROMPT-MASTER section 29) */
  .addons { grid-template-columns: repeat(2, 1fr); }
  /* 5 models: 2 per row, the last one centred */
  .examples { grid-template-columns: repeat(4, 1fr); }
  .examples .example { grid-column: span 2; }
  .examples .example:last-child { grid-column: 2 / span 2; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; }
  .soon-card { padding: 2.75rem 2.5rem; }
}
@media (min-width: 960px) {   /* 3 + 2, the last row centred */
  .examples { grid-template-columns: repeat(6, 1fr); }
  .examples .example:nth-child(4) { grid-column: 2 / span 2; }
  .examples .example:last-child { grid-column: 4 / span 2; }
}

/* an extra closing brace here switched this whole block off until 2026-10-29 (the owner: "fix the style error") */
@media (min-width: 960px) {
  :root { --header-h: 8.25rem; }
  /* the logo keeps the 5rem the owner approved on 2026-10-29 (no larger size on computers) */
  .hero { padding-block: 4.5rem 6rem; }
  .section { padding-block: 6rem; }
  .addons { grid-template-columns: repeat(3, 1fr); }
  .faq-grid, .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
}

@media (min-width: 1180px) {
  /* the menu boxes need this much width side by side; narrower screens use the menu button */
  .menu-btn { display: none; }
  .main-nav {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-links { display: flex; gap: 0.5rem; }
  .nav-links a { padding: 0.5rem 0.875rem; font-size: 1.235rem; }
  .nav-actions { justify-content: flex-start; margin-top: 0; }
}

@media (min-width: 1160px) {
  .levels { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }   /* the 2 plans across the full page width (2026-10-28; 2 plans: section 29) */
  .level { padding: 1.25rem 1.125rem; }
  /* full rows only on a computer (2026-10-28): 10 home add-ons = 2 rows of 5, 9 on the Add-ons page = 3 rows of 3 */
  .addons { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* every button: text centred, also when it wraps onto two lines (2026-10-26) */
button, .btn, input[type="submit"], input[type="button"], input[type="reset"], .jump a, .lang-switch button { text-align: center; justify-content: center; }

/* ---------- technology cards (2026-10-26: "change all white plain cards to technology cards") ----------
   Dark in both themes, like the add-on cards: chrome-to-gold edge, fine dot grid, thin circuit lines and a
   line of light on top. All drawn in CSS / SVG (vector), so they stay sharp on every screen. Inside a card
   the colour tokens switch to the dark set, so text, fields and buttons in it follow.
   The level cards use it too, on Home and the Levels page (2026-10-29: "use the card wallpaper of the right photo for the levels"). */
.ready li, .pay-way, .soon-card, .level, .lvl-card {
  --paper: #0c0d0f;
  --surface: #16171a;
  --ink: #f1f2f4;
  --muted: #c2c7ce;
  --line: rgb(255 255 255 / 16%);
  --brand: #dfe2e6;
  --brand-strong: #ffffff;
  --on-brand: #111214;
  --brand-soft: #26282c;
  --sun: #e8b84a;
  --ok: #5fcf8d;
  --bad: #f08a76;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 0.875rem 2.25rem rgb(0 0 0 / 45%);
  --btn-face: linear-gradient(180deg, #ffffff 0%, #dcdfe3 46%, #b8bdc4 54%, #e8eaed 100%);
  --btn-face-hover: linear-gradient(180deg, #ffffff 0%, #e9ebee 46%, #c9cdd2 54%, #f3f4f6 100%);
  --btn-edge: #8d939b;
  --btn-shine: inset 0 1px 0 rgb(255 255 255 / 70%), 0 1px 2px rgb(0 0 0 / 40%);
  --chrome: linear-gradient(180deg, #34363b 0%, #23252a 48%, #18191c 52%, #2a2c31 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #bfc4ca 44%, #7a8088 56%, #e3e6e9 100%);
  --tech-edge: linear-gradient(135deg, #dfe2e6, #5b6068 38%, #26282c 62%, #e8b84a);
  --tech-circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M0 40h46l14 14h40M100 54l14-14h46M30 160v-38l12-12v-30M120 0v28l-12 12M80 160v-30l16-16h64M0 100h22l10 10'/%3E%3Cg fill='%23e8b84a' fill-opacity='.22' stroke='none'%3E%3Ccircle cx='100' cy='54' r='2.2'/%3E%3Ccircle cx='42' cy='80' r='2.2'/%3E%3Ccircle cx='108' cy='40' r='2.2'/%3E%3Ccircle cx='96' cy='114' r='2.2'/%3E%3Ccircle cx='32' cy='110' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  color-scheme: dark;
  color: var(--ink);
  border: 1px solid transparent;
  background:
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / 7%) 1px, transparent 1.5px) 0 0 / 0.875rem 0.875rem padding-box,
    var(--tech-circuit) 0 0 / 10rem 10rem padding-box,
    linear-gradient(160deg, #1c1d21, #0c0d0f 70%) padding-box,
    var(--tech-edge) border-box;
  box-shadow: 0 0.625rem 1.5rem rgb(0 0 0 / 18%);
}
.ready li::before, .pay-way::before, .soon-card::before, .level::before, .lvl-card::before {
  content: "";
  position: absolute;
  inset: -1px 1.375rem auto;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ffcf6a, transparent);
  pointer-events: none;
}
.pay-way.pay-buy { border: 2px solid transparent; --tech-edge: linear-gradient(135deg, #ffe08a, #e8b84a 45%, #5b6068 70%, #dfe2e6); }

/* ---------- background videos (PROMPT-VIDEOS.md, the owner 2026-10-26; assets/js/videos.js) ----------
   Free Mixkit clips as small silent loops (videos/). The poster (still picture) shows while the video
   loads, and instead of it on small phones, slow connections and with "reduce motion". A veil over each
   video keeps the text readable: dark in the dark bands, the page colour in the light "How it works". */
.has-video { position: relative; isolation: isolate; overflow: hidden; background-color: #000000; }
.bg-video { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bg-video::after { content: ""; position: absolute; inset: 0; background: var(--vid-veil, rgb(3 3 4 / 65%)); }
.vid-hero { --vid-veil: radial-gradient(ellipse 75% 75% at 50% 45%, rgb(3 3 4 / 76%) 0%, rgb(3 3 4 / 48%) 100%); }
.vid-levels { --vid-veil: linear-gradient(180deg, rgb(3 3 4 / 84%), rgb(3 3 4 / 74%)); }
.vid-contact { --vid-veil: linear-gradient(180deg, rgb(3 3 4 / 70%), rgb(3 3 4 / 58%)); }
.vid-light { background-color: var(--paper); --vid-veil: linear-gradient(180deg, color-mix(in srgb, var(--paper) 90%, transparent), color-mix(in srgb, var(--paper) 86%, transparent)); }
.vid-hero .bg-video video { object-position: 60% 50%; }
/* phones and tablets: the sphere is in the middle of the clip, so crop around the middle (2026-10-26, iPhone) */
@media (max-width: 959px) { .vid-hero .bg-video video { object-position: 48.5% 50%; } }
@media (min-width: 960px) {
  .vid-contact { --vid-veil: linear-gradient(90deg, rgb(3 3 4 / 76%) 0%, rgb(3 3 4 / 45%) 100%); }
}

/* ---------- prices page (prices.html, PROMPT-NEXT.md task 3: Buying first, then Renting, every price) ---------- */
.price-table-wrap { overflow-x: auto; margin-top: 1.5rem; border-radius: 0.875rem; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums;
  border: 1px solid transparent; border-radius: 0.875rem; color: #f1f2f4;
  background: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 7%) 1px, transparent 1.5px) 0 0 / 0.875rem 0.875rem padding-box,
    linear-gradient(160deg, #1c1d21, #0c0d0f 70%) padding-box,
    linear-gradient(135deg, #dfe2e6, #5b6068 38%, #26282c 62%, #e8b84a) border-box; }
.price-table th, .price-table td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid rgb(255 255 255 / 10%); }
.price-table thead th { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #c2c7ce; }
.price-table tbody th { font-weight: 700; }
.price-table tbody td:nth-child(2) { color: #f2c457; font-weight: 700; font-size: 1.08rem; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-rules { display: grid; gap: 0.5rem; margin: 1.375rem 0 0; padding-left: 1.15em; color: var(--muted); max-width: 70ch; }
.price-market { margin-top: 0.375rem; padding: 0.5rem 0.875rem; border-radius: 0.625rem; background: rgb(255 255 255 / 8%); }
.price-markets { margin-top: 2.25rem; }
@media (max-width: 520px) { .price-table th, .price-table td { padding: 0.75rem 0.625rem; font-size: .95rem; } }

/* ---------- more video spots (PROMPT-VIDEOS.md, Pexels clips) ---------- */
.vid-levels .bg-video video { object-position: 50% 40%; }
.addons-block { margin-top: 5rem; }   /* Add-ons: same section and clip as Levels */
.vid-examples { --vid-veil: linear-gradient(180deg, rgb(3 3 4 / 78%), rgb(3 3 4 / 66%)); }
.vid-contact { --vid-veil: linear-gradient(180deg, rgb(3 3 4 / 66%), rgb(3 3 4 / 56%)); }
/* the light sections keep dark text: the video shows through the page colour like a watermark */
.vid-light { --vid-veil: linear-gradient(180deg, color-mix(in srgb, var(--paper) 84%, transparent), color-mix(in srgb, var(--paper) 80%, transparent)); }
/* "How it works" step tiles: a small 16:9 video on top of each step */
.step-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; margin-bottom: 0.875rem; border-radius: 0.75rem;
  background: #0c0d0f; border: 1px solid transparent;
  background: linear-gradient(#0c0d0f, #0c0d0f) padding-box, linear-gradient(135deg, #dfe2e6, #5b6068 38%, #26282c 62%, #e8b84a) border-box; }
.step-video video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0.6875rem; }



/* ---------- background videos never stretch (2026-10-26: "fix the full screen desktop site") ----------
   A tall section (e.g. Levels, about 1900 px on a laptop) used to stretch its video to the whole section height:
   blown up about 1.8x, zoomed past the sides and blurry. Now each video is only as tall as the screen and stays in
   view (sticky) while you scroll through its section, so it is shown at about its real size. "clip" instead of
   "hidden" keeps the edges trimmed without breaking the sticky video. */
.has-video, .bg-video { overflow: clip; }
.bg-video video { position: sticky; top: 0; height: 100vh; height: 100lvh; max-height: 100%; z-index: 0; }
/* iPhone Safari draws a playing video on its own layer, above the veil, unless the veil is explicitly on top
   (the owner's iPhone 2026-10-27: dark "How it works" text sat straight on the dark code video) */
.bg-video::after { z-index: 1; -webkit-transform: translateZ(0); transform: translateZ(0); }

/* ---------- big screens: the whole site grows in proportion (2026-10-26, iMac 27" 5K in Safari) ----------
   Every size in this file is in rem (1rem = the base text size), so changing the base size scales EVERYTHING
   together - text, menu, logo, cards, spacing - in every browser (no "zoom", which Safari draws differently).
   Up to 1440 px wide the base is 16 px; wider screens grow it with the width: 21.3 px at 1920, 28.4 px at 2560.
   Backgrounds (videos, pictures) are sized by the screen, so they always keep their true shape. */
@media (min-width: 1441px) { html { font-size: calc(100vw / 90); } }

/* ---------- How it works page: the Earth picture at the top keeps one shape (2026-10-26) ----------
   Before, the section kept the same height while the window got wider, so the picture zoomed in and showed a
   closer, different part of the Earth at every width. Now the section is always 1.9 x as wide as it is tall:
   the same view of the Earth at any window size, just bigger on a bigger screen (fills the width). On big
   screens a sharper 2880 px version of the photo is used. */
@media (min-width: 960px) {
  .page-hero.wp-earth { aspect-ratio: 1.9; display: grid; align-content: center; }
}
@media (min-width: 1600px) {
  .page-hero.wp-earth { background-image: radial-gradient(ellipse 60% 70% at 50% 45%, rgb(3 3 4 / 72%) 0%, rgb(3 3 4 / 30%) 100%), url("../../images/wallpaper/earth-night-xl.jpg"); }
}

/* ---------- Prices page: ONE moving background for the whole page (2026-10-26) ----------
   The data-dashboard video sits behind every section. The light sections show it through the page-colour veil;
   the "Ready to start?" band puts a dark tint over the same video, so its white text stays readable. The top keeps
   the Earth picture (2026-10-26), like the How it works page. */
.price-page .wallpaper.price-dark { background-color: rgb(3 3 4 / 80%); background-image: none; }
.price-page > .section, .price-page > section { position: relative; }
/* How it works: ONE after-you-pay clip from "Before you start" to the end, the same clear look everywhere
   (2026-10-26: no grey filter; the Earth intro at the top stays). The whole part uses the dark wallpaper
   colours (white text, dark glass cards) with only a light shadow over the clip so the text stays readable. */
.vid-clear { --vid-veil: linear-gradient(180deg, rgb(3 3 4 / 38%), rgb(3 3 4 / 22%)); }
.clip-page > .section { position: relative; }
.clip-page .section-head p { color: var(--ink); }

/* "Prices under review" note (prices.json underReview, the owner 2026-10-26) */
.price-review { display: inline-block; margin-top: 0.5rem; padding: 0.375rem 0.75rem; border: 1px solid currentColor; border-radius: 0.5rem; font-size: 0.9rem; font-weight: 700; opacity: 0.92; text-wrap: balance; }
/* the whole sentence on one line on a computer, never "pay." alone on a second line (2026-10-28) */
@media (min-width: 960px) { .section-head .price-review { width: max-content; max-width: calc(100vw - 4rem); } }

/* ---------- App format on smartphones (2026-10-26: "make it an app format for smartphones";
   computers and tablets do not change). A fixed tab bar at the bottom, like a phone app, in the same frosted
   matte silver as the header; a more compact header. Also used when Grovance is installed from the home screen
   (manifest.webmanifest + sw.js), and later for the App Store / Google Play versions. ---------- */
.app-tabs { display: none; }
@media (max-width: 767px) {
  :root { --header-h: 7.05rem; --tabs-h: 4rem; }
  .logo-img { height: 5.04rem; }   /* GROVANCE readable on phones (2026-10-28); 10% smaller, then 20% smaller (2026-10-29) */
  .app-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.375rem max(0.5rem, env(safe-area-inset-right, 0px)) calc(0.375rem + env(safe-area-inset-bottom, 0px)) max(0.5rem, env(safe-area-inset-left, 0px));
    background-color: var(--bar);
    background-image: var(--matte);
    -webkit-backdrop-filter: blur(0.875rem) saturate(1.15);
    backdrop-filter: blur(0.875rem) saturate(1.15);
    border-top: 1px solid var(--line);
    box-shadow: 0 -0.25rem 1rem rgb(0 0 0 / 12%);
  }
  .app-tabs a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.1875rem;
    min-height: calc(var(--tabs-h) - 0.75rem);
    padding: 0.25rem 0.125rem;
    border-radius: 0.75rem;
    color: var(--muted);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .app-tabs svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .app-tabs a[aria-current="page"] { color: var(--ink); background: var(--chrome); box-shadow: var(--btn-shine); }
  .app-tabs a:active { transform: scale(.96); }
  /* the page ends above the tab bar */
  .site-footer { padding-bottom: calc(2.5rem + var(--tabs-h) + env(safe-area-inset-bottom, 0px)); }
}

/* Older phones and browsers (iOS before 16.2, older Android Chrome) do not know color-mix(): they then drop the
   pale veil of "How it works" completely and the dark text sits on the dark code video (a second phone, the owner
   2026-10-27). The same veil in plain colours for them. */
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .vid-light { --vid-veil: linear-gradient(180deg, rgb(231 233 236 / 84%), rgb(231 233 236 / 80%)); }
  :root[data-theme="dark"] .vid-light { --vid-veil: linear-gradient(180deg, rgb(12 13 15 / 84%), rgb(12 13 15 / 80%)); }
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .vid-light { --vid-veil: linear-gradient(180deg, rgb(12 13 15 / 84%), rgb(12 13 15 / 80%)); }
  }
}

/* ---------- Levels page (levels.html, the owner 2026-10-27): every level in full; the home page keeps the short cards ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lv-page > .section { position: relative; }
.lv-intro { padding-bottom: 1rem; }
.lv-jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lv-jump a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.875rem; border: 1px solid var(--line);
  border-radius: 999px; background: rgb(12 13 15 / 60%); color: var(--ink); font-weight: 700; text-decoration: none; }
.lv-jump a:hover { border-color: var(--brand); }
.lv-list { padding-top: 1rem; }
.lv-cards { display: grid; gap: 1.25rem; }
.lvl-card { display: grid; gap: 1.25rem; min-width: 0; padding: 1.375rem; border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 1rem); }
.lvl-head, .lvl-body, .lvl-foot { display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.lvl-card .level-top { justify-content: flex-start; flex-wrap: wrap; }
.lvl-status { margin-left: auto; padding: 0.125rem 0.625rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.lvl-status.is-ready { color: var(--ok); border-color: currentColor; }
.lvl-name { font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 800; color: var(--lv-text); background: var(--lv-face);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lvl-sum { color: var(--muted); font-size: 1.05rem; }
.lvl-pages { font-weight: 700; color: var(--lv-text); }
.lvl-body h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lvl-good { color: var(--muted); }
.lvl-good strong { color: var(--ink); }
.lvl-foot { margin-top: 0.25rem; }
.lvl-foot .btn { justify-self: start; }
.lvl-card .btn-brand { border-color: var(--lv-edge); background: var(--lv-face); color: #111214; }
.lvl-card .btn-brand:hover { background: var(--lv-face); filter: brightness(1.07); }
.lv-table th, .lv-table td { text-align: center; }
.lv-table tbody th { text-align: left; }
.lv-table tbody td:nth-child(2) { color: inherit; font-weight: 400; font-size: inherit; }
.lv-table thead th { white-space: nowrap; }
.lv-note { margin-top: 1rem; color: var(--muted); }
.lv-every { max-width: 52rem; }
@media (min-width: 760px) {
  .lv-every { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (min-width: 960px) {
  .lvl-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; padding: 2rem; }
}
.lvl-card .price { justify-content: flex-start; }
.lvl-card .price strong { color: var(--lv-text); font-size: 1.25rem; }

/* Add-ons page (addons.html, the owner 2026-10-27): every add-on explained on its own dark card */
.addons-page { grid-template-columns: 1fr; }
@media (min-width: 760px) { .addons-page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.addon-full h2 { margin: 0; font-size: 1.25rem; }
.addon-facts { display: grid; gap: 0.5rem; margin: 0.75rem 0 0; }
.addon-facts div { display: grid; gap: 0.125rem; }
.addon-facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .72; }
.addon-facts dd { margin: 0; }
.addons-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.text-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.addons-page li { text-align: left; align-items: stretch; }
.addons-page .addon-head { justify-content: flex-start; }

/* Download page (download.html, PROMPT-APP-INSTALL.md Stage 1) */
.dl-wrap { max-width: 56rem; }
.dl-main { margin: 1.5rem 0 2.5rem; }
.dl-card { padding: 1.5rem; border-radius: 1.25rem; background: rgb(12 13 15 / 82%); color: #f2f3f5; box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 30%); }
.dl-card h2 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.dl-card p { margin: 0 0 1rem; }
.dl-card .btn svg, .dl-ico svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.25rem; }
.dl-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.875rem; counter-reset: dl; }
.dl-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; align-items: center; }
.dl-ico { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgb(255 255 255 / 10%); color: #f2c457; }
.dl-note { opacity: .8; font-size: .9rem; }
.dl-all-title { margin: 0 0 1rem; }
.dl-all { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.875rem; }
.dl-all li { padding: 1rem 1.25rem; border-radius: 1rem; background: rgb(255 255 255 / 72%); color: #111214; }
.dl-all h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.dl-all p { margin: 0; }
@media (min-width: 700px) { .dl-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nav-download { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.375rem; }
.nav-download svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-download { display: inline-block; margin-top: 0.75rem; }
/* "A new version is available" (sw.js update) */
.update-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; gap: 0.75rem; align-items: center; padding: 0.625rem 0.75rem 0.625rem 1rem; border-radius: 999px; background: #111214; color: #fff; box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 35%); }
.update-bar button { border: 0; border-radius: 999px; padding: 0.5rem 0.875rem; background: #f2c457; color: #111214; font: inherit; font-weight: 700; cursor: pointer; }


/* the owner 2026-10-27: "What each add-on does" on the home page in yellow; Levels page jump tabs in the level colours;
   "Every level includes" in a card; Examples level buttons exactly as wide as their columns */
.addons-block .text-link { color: #f2c457; }
.lv-jump a[data-level] { border-color: var(--lv-edge); background: var(--lv-face); color: #111214; }
.lv-jump a[data-level]:hover { border-color: var(--lv-edge); filter: brightness(1.07); }
.lv-jump a[data-level] .meter i { background: rgb(17 18 20 / 22%); }
.lv-jump a[data-level] .meter i.on { background: #111214; }
/* the same card as "Compare the plans" (.price-table), readable on the silver cover (2026-11-05) */
.lv-every-card { padding: 1.375rem; border: 1px solid transparent; border-radius: 0.875rem; color: #f1f2f4;
  background: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 7%) 1px, transparent 1.5px) 0 0 / 0.875rem 0.875rem padding-box,
    linear-gradient(160deg, #1c1d21, #0c0d0f 70%) padding-box,
    linear-gradient(135deg, #dfe2e6, #5b6068 38%, #26282c 62%, #e8b84a) border-box; }
.lv-every-card .section-head { margin-bottom: 1rem; }
.lv-every-card .lv-every { max-width: none; }
@media (min-width: 760px) { .lv-every-card { padding: 2rem 2.25rem; } }
.example-level { grid-template-columns: minmax(0, 1fr); }
.example-links .btn { min-width: 0; padding-inline: 0.5rem; }
/* the level buttons start at the same height in every card of a row, also when a card has a note (Modern, Serene) */
@supports (grid-template-rows: subgrid) {
  .example { grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .example-body { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.375rem; }
  .example-kind { grid-row: 1; }
  .example-name { grid-row: 2; }
  .example-note { grid-row: 3; }
  .example-links { grid-row: 4; align-self: start; }
}

/* Examples page (PROMPT-MASTER.md section 12, 2026-10-28): the 3 main examples, one per level, large; side by side
   on a computer, stacked on a phone. The level name in its colour (L1 silver, L2 dark grey, L3 gold). */
.ex-main-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .ex-main-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.ex-main { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); scroll-margin-top: calc(var(--header-h) + 1rem); }
.ex-main-shot { display: block; overflow: hidden; }
.ex-main-shot img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; transition: transform .5s ease; }
.ex-main-shot:hover img { transform: scale(1.02); }
.ex-main-body { display: flex; flex-direction: column; align-items: stretch; gap: 0.625rem; padding: 1.25rem 1.375rem 1.5rem; }   /* flex, so the button can sit at the bottom */
.ex-main-level { margin: 0; display: flex; align-items: baseline; gap: 0.625rem; font-size: 1.35rem; }
.ex-main-name { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.ex-main-price .price { margin: 0; }
.ex-main-price .price-rent { margin: 0.125rem 0 0; color: var(--muted); font-size: .92rem; }
.ex-main-adds { margin: 0.25rem 0 0.5rem; padding: 0 0 0 1.1em; display: grid; gap: 0.375rem; color: var(--muted); line-height: 1.45; }
.ex-main-open { align-self: flex-start; margin-top: auto; border-color: var(--lv-edge); background: var(--lv-face); color: #111214; }
/* the two buttons: the example website and its admin (PROMPT-MASTER section 23) */
.ex-main-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ex-main-actions .ex-main-open { margin-top: 0; }
.ex-main-open:hover { background: var(--lv-face); filter: brightness(1.07); }

/* Grovance's own social accounts (PROMPT-MASTER.md section 13): icons in every footer */
/* PROMPT-MASTER section 24: each company's official icon exactly as published (images/social/README.md):
   full colour on the light theme, the brand's own white version on the dark theme; no ring, recolouring or effects;
   26 px tall inside a 44 px tap area (the space around each icon is its clear space). */
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.footer-social a { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; }
.footer-social a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 0.5rem; }
.footer-social img { display: block; width: auto; height: 26px; }
.footer-social .social-youtube img { height: 24px; }
.footer-social .ico-w { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-social .ico-c { display: none; }
  :root:not([data-theme="light"]) .footer-social .ico-w { display: block; }
}
:root[data-theme="dark"] .footer-social .ico-c { display: none; }
:root[data-theme="dark"] .footer-social .ico-w { display: block; }
.ex-main .lv-name { background: none; -webkit-text-fill-color: currentColor; color: var(--lv-text); }   /* readable on the dark card (Business grey too) */

/* Grovance sells first (PROMPT-STRIPE-SANDBOX.md): "Pays for itself", the comparison line and the honest note */
.price-pays { margin: 0; font-size: .86rem; font-weight: 600; color: var(--ink, inherit); }
.price-table .price-pays { font-weight: 500; color: inherit; opacity: .82; }
.price-compare { display: grid; gap: 2px; margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--accent, currentColor); border-radius: 4px; background: color-mix(in srgb, currentColor 5%, transparent); }
.price-compare p { margin: 0; }
.price-compare-line { font-weight: 600; }
.price-compare .small { color: var(--muted); font-size: .8rem; }
.price-after { margin-top: 10px; color: var(--muted); font-size: .9rem; max-width: 62ch; }

/* text on the left fills each line; no early breaks (2026-10-29: "when you intentionally broke the sentence and
   moved to the next line in the left"). Only centred text evens out its lines (see "where text is centred" below). */
@media (min-width: 1160px) { .addons-page { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* after the 2-column rule above */

/* Computer screens: text uses the same width as the cards and tables (2026-10-28: "the same pattern" on every
   page - intros, notes, lists and the "Prices coming soon" boxes stopped at half or two thirds of the page) */
@media (min-width: 960px) {
  .section-head, .auto, .auto-note, .price-rules, .price-after, .lv-every, .dl-wrap, .faq details p { max-width: none; }
}

/* PROMPT-MASTER section 22: the business system preview (Pro). On the Mac only until the owner approves:
   deploy/build.mjs removes everything between <!-- mac-only --> and <!-- /mac-only --> */
.biz-box { display: grid; gap: 0.75rem; margin: 0.25rem 0 0.5rem; }
.biz-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.biz-shots li { display: grid; gap: 0.25rem; min-width: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.biz-shots a { display: block; overflow: hidden; border-radius: 0.5rem; border: 1px solid var(--line); background: #e7e9ec; }
.biz-shots img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; transition: transform .4s ease; }
.biz-shots a:hover img { transform: scale(1.04); }
.biz-shots-big { gap: 1rem; margin: 0 0 1.25rem; }
.biz-shots-big li { font-size: .95rem; font-weight: 700; color: inherit; }
@media (max-width: 559px) { .biz-shots-big { grid-template-columns: minmax(0, 1fr); } }
.ex-main .biz-shots li { color: inherit; opacity: .85; }
.ex-main-biz { justify-self: start; width: fit-content; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.biz-preview { display: inline-block; padding: 0 0.5rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; color: #111214;
  background: linear-gradient(180deg, #f6dc8c 0%, #e2b64a 48%, #c99a2e 52%, #ecc86a 100%); border: 1px solid #8a6a1c; vertical-align: 1px; }
.biz-clip { margin: 0.25rem 0 0.75rem; display: grid; gap: 0.5rem; }
.biz-clip .step-video { aspect-ratio: 16 / 10; margin: 0; }
.biz-clip figcaption { font-size: .9rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }

/* Pro is not built yet: the card's button says "Coming soon" and does nothing */
.btn.is-soon { opacity: .6; cursor: default; pointer-events: none; }

/* ---------- the 3 example sites on a phone (home page, the owner 2026-10-28) ---------- */
/* same moving background as How it works (2026-10-29) */
.phone-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); align-items: end; }
/* the 3 phones at the same height, whatever the length of the words under them (2026-10-30: "must be align", "ONLY THE HEIGHT") */
.phone-row { align-items: start; }
.phone-mock { display: flex; flex-direction: column; align-items: center; gap: 0.875rem; min-width: 0; }
.phone-frame { display: block; width: 100%; max-width: 17rem; aspect-ratio: 560 / 1212; padding: 0.35rem; border-radius: 2.4rem; background: linear-gradient(145deg, #3a3d42, #101114 55%, #2b2e33); box-shadow: 0 1.5rem 3rem -1rem rgba(10, 14, 20, .45), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .25s ease; }
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 2.05rem; }   /* thinner border, bigger screen (2026-10-30) */
.phone-frame:hover, .phone-frame:focus-visible { transform: translateY(-0.375rem); }
.phone-cap { margin: 0; text-align: center; font-size: 0.95rem; }
.phone-level { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.phone-biz { opacity: 0.75; }
@media (max-width: 767px) {
  /* swipe sideways through the 3 phones; each phone fills most of the screen */
  .phone-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; margin-inline: -1rem; padding-inline: 1rem; }
  /* smaller, so a whole phone and the words under it fit on the screen (2026-10-30) */
  .phone-row { grid-auto-columns: 56%; }
  .phone-mock { scroll-snap-align: center; }
}
.addon-lv { margin: 0.5rem 0 0; font-size: 0.82rem; font-weight: 700; opacity: 0.75; }

/* ---------- legal pages and About (2026-10-28): one block per language, shown by the language switch ---------- */
.lang-block[lang="es"] { display: none; }
html[lang="es"] .lang-block[lang="en"] { display: none; }
html[lang="es"] .lang-block[lang="es"] { display: block; }
.legal-wrap { max-width: 46rem; }
.legal-page h1 { margin-bottom: 0.5rem; text-wrap: balance; }
.legal-page h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.legal-page p, .legal-page li { line-height: 1.65; }
.legal-page ul { padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.legal-date { font-size: 0.85rem; opacity: 0.7; }
.legal-lead { font-size: 1.2rem; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 0.875rem 0.75rem; border-bottom: 1px solid var(--line); line-height: 1.6; }
.legal-table th { width: 34%; font-weight: 700; }
.legal-en { display: block; font-size: 0.75rem; font-weight: 400; opacity: 0.65; }
.fill { background: #ffe58a; color: #3b2f00; padding: 0 0.25rem; border-radius: 0.25rem; }
@media (max-width: 767px) { .legal-table th, .legal-table td { display: block; width: auto; border: 0; padding: 0.25rem 0; } .legal-table tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); } }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; grid-column: 1 / -1; }
.footer-legal a { color: inherit; opacity: 0.8; }



.price-review.price-soon { display: block; width: fit-content; max-width: 100%; margin: 0 auto 2rem; text-align: center; }
.hero-copy > .price-review.price-soon { margin-bottom: 0; }
/* Examples page: the buttons in the centre of each card (2026-10-28) */
.ex-main-actions { justify-content: center; }
.ex-main-actions .ex-main-open { align-self: auto; }
.ex-main-biz { align-self: center; }

/* after you pay: each step in its own box, the light on top (2026-10-29: "put it back in boxes") */
.auto { max-width: none; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 760px) { .auto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .auto { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.auto::before { display: none; }
.auto li { padding: 1.375rem 1.25rem; align-content: start; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgb(12 13 15 / 72%); -webkit-backdrop-filter: blur(0.25rem); backdrop-filter: blur(0.25rem); box-shadow: var(--shadow); }
.auto li::before { position: static; display: block; margin-bottom: 0.375rem; }
/* home page: one line instead of the buy/rent boxes, which are on Prices (2026-10-29) */
.buy-rent-line { margin: 2.25rem 0 0; text-align: center; font-size: clamp(1.2rem, 3.2vw, 1.5rem); font-weight: 700; text-wrap: balance; }
/* home page: the level cards stay dark on the shared light background (2026-10-29) — same colour set as .wallpaper.
   How it works has the same silver cover (2026-11-05), so its step and after-you-pay boxes stay dark too. */
.clip-page .level, .page-how .clip-page .flow li, .page-how .clip-page .auto li {
  --paper: #0c0d0f; --surface: #16171a; --ink: #f1f2f4; --muted: #c2c7ce; --line: rgb(255 255 255 / 16%);
  --brand: #dfe2e6; --brand-strong: #ffffff; --on-brand: #111214; --brand-soft: #26282c; --sun: #aab1ba;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 0.875rem 2.25rem rgb(0 0 0 / 45%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #bfc4ca 44%, #7a8088 56%, #e3e6e9 100%);
  color-scheme: dark; color: var(--ink);
}
/* ---------- where text is centred (2026-10-29: "in small cards it's ok all in the center", "how it works page
   it's ok"). Small cards and the whole How it works page are centred, with even lines; everywhere else sentences
   start on the left and fill the line. ---------- */
.ready li, .pay-way, .soon-card, .auto li, .step, .addon-full, .level, .hero-copy { text-wrap: balance; }
.ready li, .pay-way, .soon-card, .step, .addon-full { text-align: center; justify-items: center; }
/* lists inside centred cards: the list sits on the left so every bullet or tick starts in line (2026-10-29:
   "bullet points must start align"); titles and short texts stay centred */
.pay-way ul, .level .features { justify-self: stretch; text-align: left; justify-items: stretch; text-wrap: wrap; }
.soon-card > * { margin-inline: auto; }
.addon-head, .addons-actions { justify-content: center; }
.addon-facts { text-align: center; }
.addon-facts > div { justify-items: center; }

.page-how .section-head { margin-inline: auto; text-align: center; justify-items: center; text-wrap: balance; }
.page-how .section-head .pay-tag { justify-self: center; }
.page-how .guide-cta { text-align: center; justify-items: center; text-wrap: balance; }
.page-how .jump { justify-content: center; }
.page-how .flow { max-width: 48rem; margin-inline: auto; text-wrap: balance; }
.page-how .flow li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-how .flow-num { text-align: center; }
.page-how .auto { margin-inline: auto; text-align: center; }
.page-how .auto li { justify-items: center; }
.page-how .auto-note { margin-inline: auto; text-align: center; text-wrap: balance; }

/* one card alone (the "Buy once — it's yours" block, PROMPT-MASTER section 27b): full width, not a third (2026-10-29) */
@media (min-width: 900px) { .pay-ways.pay-ways-one { grid-template-columns: minmax(0, 1fr); } }

/* computer: About, Terms, Privacy, Refund policy on the right, on the same line as the social icons (2026-10-29) */
@media (min-width: 900px) { .footer-legal { grid-column: 2; justify-content: flex-end; } }

/* ---------- Prices: on computers each add-on sits in its own card (2026-10-29: "each add was inside a card");
   phones keep the table. The cards' prices are filled by site.js like the Add-ons page (data-addon). ---------- */
.price-addons { display: none; margin-top: 1.5rem; }
@media (min-width: 760px) {
  .price-addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-table-wrap.addons-table { display: none; }
}
@media (min-width: 1160px) { .price-addons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.addon-tag { align-self: flex-start; margin: 0; padding: 0 0.5rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .03em;
  background: rgb(242 196 87 / 16%); color: #f2c457 !important; }

/* ---------- sentences start on the left everywhere (2026-10-29: "All text start from left" - "All sentences" -
   "Not titles, not slogan"). Titles, slogans, buttons, prices and short labels keep their place. This replaces the
   earlier "small cards and How it works centred" rule for sentences. ---------- */
.section-head p, .guide-cta p, .ready li p, .pay-way p, .soon-card p, .step p, .addon-full p, .addon-facts, .addons li p:not(.addon-price):not(.addon-tag),
.level .level-sum, .level .plus, .lvl-sum, .page-how .flow li p, .page-how .auto li, .page-how .auto-note, .price-review, .lv-note {
  text-align: left; justify-self: stretch; align-self: stretch; text-wrap: wrap; }
.addon-facts > div { justify-items: start; }
.soon-card > p { margin-inline: 0; }
.page-how .auto li { justify-items: start; }
/* How it works only (2026-10-30: "center the sentences below the title" - "only that page") */
.page-how .section-head p { text-align: center; justify-self: center; text-wrap: balance; }
/* home page How it works block on phones: all centred (2026-11-01: "Phone view homepage how it works center it") */
@media (max-width: 639px) {
  #how .section-head { margin-inline: auto; text-align: center; justify-items: center; text-wrap: balance; }
  #how .section-head p, #how .step p { text-align: center; justify-self: center; text-wrap: balance; }
}


/* ---------- footer lines (2026-10-29: "align How it works, Plans etc. to the Grovance logo name"; "About, Terms etc.
   to © 2026 Grovance"). Computers and tablets: the menu links sit on the line of the GROVANCE name (the lowest 12% of the
   logo picture), the legal links on the line of the copyright. Phones keep one column. ---------- */
@media (min-width: 640px) {
  .footer-grid { grid-template-areas: "logo links" "line ." "social ." "copy legal"; }
  .footer-grid > div:first-child { display: contents; }
  .footer-logo { grid-area: logo; }
  .footer-line { grid-area: line; margin-top: -1.125rem; }   /* keeps the slogan as close under the logo as before */
  .footer-social { grid-area: social; }
  /* bottom of the links = bottom of the logo row: the centre of a link line (1.7rem) then meets the centre of the name */
  .footer-links { grid-area: links; align-self: end; }
  .footer-copy { grid-area: copy; align-self: baseline; }
  .footer-line, .footer-copy { white-space: nowrap; }   /* tablets: the menu wraps, these short lines never do */
  .footer-legal { grid-area: legal; align-self: baseline; justify-content: flex-end; }
}

/* Grovance Japan: Japanese text uses Noto Sans JP (Japanese glyphs, not Chinese ones), breaks lines between phrases,
   never before small kana or closing brackets, and gets a little more line height */
:lang(ja) { --font-display: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
/* text-spacing-trim: no half-empty full-width bracket at the start of a line; text-autospace: a thin gap between Japanese
   and Latin letters or numbers. Both are newer CSS: browsers that do not know them simply skip them. */
html:lang(ja) body { line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; line-height: 1.75; letter-spacing: 0.02em;
  text-spacing-trim: trim-start; text-autospace: normal; }
/* headings: never the negative tracking of the English design (Japanese characters would touch); "palt" packs the punctuation */
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { line-height: 1.4; letter-spacing: 0.03em; font-feature-settings: "palt"; }
/* "ch" is half a Japanese character: 13ch would be six characters a line */
html:lang(ja) .hero-title { max-width: 16em; letter-spacing: 0.02em; }
/* form controls do not take the page font by themselves (zero specificity: any font a rule already sets still wins) */
:where(button, input, select, textarea, optgroup):where(:lang(ja)) { font-family: inherit; }
/* buttons, menus and short labels: keep a phrase together (keep-all where the browser cannot find phrases, auto-phrase
   where it can); overflow-wrap still breaks a label that would not fit at all */
html:lang(ja) :is(button, .btn, .nav-links a, .lang-switch button, .eyebrow, .level-no, .example-kind, .pay-tag, .phone-level, th) {
  word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
/* no fake italic for Japanese (there is no Japanese italic, browsers slant the letters): emphasis is bold instead */
:is(em, i, cite, dfn, var, address):lang(ja) { font-style: normal; }
em:lang(ja) { font-weight: 700; }
/* small capitals labels: uppercase means nothing in Japanese and wide tracking spreads the characters apart */
html:lang(ja) :is(.eyebrow, .level-no, .example-kind, .lang-switch button,
  .pay-tag, .price-table thead th, .lvl-body h3, .addon-facts dt, .phone-level, .biz-preview, .addon-tag) { text-transform: none; letter-spacing: 0.02em; }
