/* Germosen Web Studio: shared styles.
   Concept: charcoal and yellow on a warm light gray background, with a dark mode. Bold borders, offset shadows, one big expanded headline face.
   Tokens: --ink is the main charcoal (light cream in dark mode) used for lines and fills, --on-ink the text on it, --accent the yellow highlight (--on-accent the text on yellow),
   --fg / --fg-strong / --muted the gray text colors. Demo sites keep their own colors. */
:root {
  --bg: #F1EFE9;
  --surface: #FBFAF6;
  --soft: #E4E1D8;
  --input: #FFFFFF;
  --ink: #25262B;
  --on-ink: #F7F5EE;
  --accent: #FFC61A;
  --on-accent: #1E1F24;
  --fg: #44464F;
  --fg-strong: #1E1F24;
  --muted: #62646E;
  --line: #CFCBBF;
  --shadow: #1E1F24;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 8px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17181C; --surface: #202228; --soft: #2A2C34; --input: #121316; --ink: #EDEBE3; --on-ink: #1E1F24;
    --fg: #CBCDD6; --fg-strong: #F6F4EC; --muted: #9EA1AD; --line: #34363F; --shadow: #000000; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17181C; --surface: #202228; --soft: #2A2C34; --input: #121316; --ink: #EDEBE3; --on-ink: #1E1F24;
  --fg: #CBCDD6; --fg-strong: #F6F4EC; --muted: #9EA1AD; --line: #34363F; --shadow: #000000; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.015em; color: var(--fg-strong); }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(40px, 7vw, 96px); }
.label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.inv { background: var(--ink); color: var(--on-ink); }
.inv h1, .inv h2, .inv h3 { color: inherit; }
.inv .muted, .inv .label { color: color-mix(in srgb, var(--on-ink) 72%, var(--ink)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius); border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--muted); }
.btn-primary:active { transform: translate(0, 0); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--fg-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.08rem; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.inv .btn, .total-strip .btn { background: var(--bg); color: var(--fg-strong); border-color: var(--bg); }
.inv .btn:hover, .total-strip .btn:hover { box-shadow: 4px 4px 0 var(--muted); }
.inv .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.ctrl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; min-width: 42px; padding: 0 12px;
  border: 2px solid var(--ink); background: transparent; color: var(--fg-strong); border-radius: var(--radius);
  font: 600 0.9rem var(--font-display); cursor: pointer; white-space: nowrap;
}
.ctrl:hover, .ctrl[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.ctrl svg { width: 18px; height: 18px; display: block; flex: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); border-bottom: 2px solid var(--ink); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 1.05rem; letter-spacing: 0.02em; word-spacing: 0.12em; white-space: nowrap; color: var(--fg-strong); flex: none; margin-right: 10px; }
.brand-mark { width: 34px; height: 34px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; border-radius: 4px; font-weight: 800; font-size: 0.95rem; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 8px; white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 0.92rem; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--fg-strong); }
.nav ul a[aria-current="page"] { font-weight: 700; }
.controls { display: flex; gap: 8px; }
.menu-toggle { display: none; padding: 0; width: 44px; height: 44px; margin-left: auto; }
.bar .cta { min-height: 42px; padding: 0 16px; }
.cta-mobile { display: none; }
@media (max-width: 1210px) {
  .menu-toggle { display: inline-flex; }
  .bar .cta { display: none; }
  .cta-mobile { display: inline-flex; width: 100%; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; display: none; flex-direction: column; align-items: stretch; gap: 16px; background: var(--bg); border-bottom: 2px solid var(--ink); padding: 4px var(--gutter) 20px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-header.open .nav { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--ink); }
  .controls .ctrl { flex: 1; min-height: 46px; }
}
@media (max-width: 400px) { .brand { font-size: 0.98rem; gap: 8px; } .brand-mark { width: 28px; height: 28px; } .bar { min-height: 62px; } }

/* Hero (home) */
.hero { padding-block: clamp(32px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 5.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; line-height: 0.98; overflow-wrap: break-word; }
.hero-line { margin-top: 22px; font: 600 clamp(1.05rem, 2.3vw, 1.45rem)/1.3 var(--font-display); max-width: 30rem; text-wrap: balance; padding-left: 14px; border-left: 5px solid var(--accent); color: var(--fg-strong); }
.hero-copy { margin-top: 16px; color: var(--muted); max-width: 32rem; font-size: 1.05rem; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.sample-tag { margin-top: 18px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero-actions .btn { flex: 1 1 100%; } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); }
.tile { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 3vw, 32px); text-decoration: none; border-right: 2px solid var(--ink); transition: background-color .12s ease, color .12s ease; }
.tile:last-child { border-right: 0; }
.tile h3 { font-size: 1.55rem; font-weight: 800; font-stretch: 106%; }
.tile p { color: var(--muted); }
.tile .go { font-family: var(--font-display); font-weight: 700; margin-top: 6px; color: var(--fg-strong); }
.tile:hover { background: var(--ink); color: var(--on-ink); }
.tile:hover h3, .tile:hover .go { color: var(--on-ink); }
.tile:hover p, .tile:hover .label { color: color-mix(in srgb, var(--on-ink) 78%, var(--ink)); }
@media (max-width: 800px) { .tiles { grid-template-columns: 1fr; } .tile { border-right: 0; border-bottom: 2px solid var(--ink); } .tile:last-child { border-bottom: 0; } }
.band { padding-block: clamp(40px, 6vw, 72px); }
.band-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; font-stretch: 108%; }
@media (max-width: 520px) { .band-grid .btn { width: 100%; } }

/* Sub-page header */
.page-head { padding-block: clamp(36px, 5.5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); font-weight: 800; font-stretch: 110%; letter-spacing: -0.025em; overflow-wrap: break-word; }
.page-head p { color: var(--muted); max-width: 40rem; font-size: 1.08rem; }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; font-stretch: 106%; margin-bottom: 22px; }

/* Services */
.services-list { border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 8px 40px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.service h3 { font-size: 1.4rem; font-weight: 700; font-stretch: 105%; }
.service p { color: var(--muted); max-width: 38rem; }
@media (max-width: 720px) { .service { grid-template-columns: 1fr; padding-block: 20px; } }
.process { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process li { counter-increment: step; padding-top: 16px; border-top: 4px solid var(--ink); }
.process li::before { content: counter(step); display: block; font: 800 2.2rem/1 var(--font-display); font-stretch: 110%; margin-bottom: 10px; color: var(--fg-strong); }
.process h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.process p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; gap: 16px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 920px; }
.plan { border: 2px solid var(--ink); padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; background: var(--surface); }
.plan:first-child { box-shadow: 8px 8px 0 var(--shadow); }
.plan.inv { background: var(--ink); color: var(--on-ink); }
.plan h3 { font-size: 1.5rem; font-weight: 800; font-stretch: 106%; }
.plan .price { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); font-stretch: 108%; font-variant-numeric: tabular-nums; color: var(--fg-strong); }
.plan .price-sm { font: 800 clamp(1.7rem, 3.4vw, 2.2rem)/1.05 var(--font-display); font-stretch: 106%; color: inherit; }
.plan .for { color: var(--muted); }
.plan.inv .for { color: color-mix(in srgb, var(--on-ink) 78%, var(--ink)); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.98rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 6px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.callout { border: 2px dashed currentColor; border-radius: var(--radius); padding: 14px 16px; font-size: 0.95rem; }
.pay-line { margin-top: 28px; max-width: 46rem; color: var(--muted); }
.pay-line a { color: var(--fg-strong); font-weight: 600; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.pl-group { margin-top: 28px; }
.pl-group h3 { font: 600 0.78rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.price-table { width: 100%; max-width: 760px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.price-table th { font-weight: 600; color: var(--fg-strong); padding-right: 12px; }
.price-table td:last-child { text-align: right; font-family: var(--font-mono); white-space: nowrap; padding-left: 8px; color: var(--fg-strong); }
.price-table small { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 400; margin-top: 2px; }

/* Portfolio and demos */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.demo-card { display: grid; gap: 16px; align-content: start; min-width: 0; }
.demo-meta { display: grid; gap: 6px; justify-items: start; }
.demo-meta strong { font: 700 1.2rem var(--font-display); color: var(--fg-strong); }
.demo-meta span:not(.label) { color: var(--muted); font-size: 0.97rem; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.demo-actions .btn { min-height: 42px; }
.thumb { display: block; width: 100%; padding: 0; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; cursor: pointer; background: none; text-align: left; font: inherit; position: relative; transition: transform .12s ease, box-shadow .12s ease; }
.thumb:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--shadow); }
.thumb-zoom { position: absolute; right: 12px; bottom: 12px; background: var(--accent); color: var(--on-accent); font: 700 0.78rem var(--font-display); padding: 7px 12px; border-radius: 99px; border: 1.5px solid var(--on-accent); }
.shot { background: var(--s-bg); color: var(--s-ink); aspect-ratio: 4 / 3.1; display: flex; flex-direction: column; }
.shot-img { background: var(--soft); overflow: hidden; }
.shot-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 0.7rem; font-weight: 500; border-bottom: 1px solid color-mix(in srgb, var(--s-ink) 22%, transparent); }
.shot-bar b { font: 800 0.85rem var(--font-display); margin-right: auto; }
.shot-body { padding: 22px 16px 10px; flex: 1; }
.shot-h { font: 800 clamp(1.3rem, 2.4vw, 1.7rem)/1.02 var(--font-display); font-stretch: 108%; max-width: 11ch; }
.shot-btn { display: inline-block; margin-top: 14px; background: var(--s-accent); color: var(--s-on); padding: 8px 14px; border-radius: 4px; font-size: 0.74rem; font-weight: 600; }
.shot-chips { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }
.shot-chips span { border: 1.5px solid var(--s-ink); border-radius: 99px; padding: 4px 10px; font-size: 0.68rem; font-weight: 500; }
.hero-demo .thumb { box-shadow: 8px 8px 0 var(--shadow); }
.hero-demo .thumb:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--shadow); }
.note-box { margin-top: 36px; padding: 16px 18px; border: 2px dashed var(--muted); border-radius: var(--radius); color: var(--muted); max-width: 44rem; font-size: 0.97rem; }
.empty-box { padding: 28px; border: 2px dashed var(--muted); border-radius: var(--radius); color: var(--muted); }
@media (max-width: 960px) { .demos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .demos { grid-template-columns: 1fr; gap: 28px; } .thumb:hover { transform: none; box-shadow: none; } }

/* Demo pop-up */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(14, 15, 18, 0.8); padding: max(16px, env(safe-area-inset-top, 0px)) var(--gutter) max(16px, env(safe-area-inset-bottom, 0px)); }
.modal.open { display: flex; }
.modal-box { width: min(1120px, 100%); height: min(880px, 100%); background: var(--bg); color: var(--fg); border: 2px solid var(--ink); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; }
.modal-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 2px solid var(--ink); background: var(--soft); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); display: block; }
.modal-url { flex: 1; min-width: 0; background: var(--bg); border: 1.5px solid var(--line); border-radius: 4px; padding: 5px 10px; font: 0.78rem var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--fg-strong); font: 600 0.85rem var(--font-display); padding: 8px 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.modal-scroll { flex: 1; overflow: auto; background: var(--soft); -webkit-overflow-scrolling: touch; }
.modal-scroll.phone { padding: 24px 0; }
.modal-scroll.phone .dm, .modal-scroll.phone .dm-img { max-width: 390px; margin-inline: auto; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; }
.dm-img { display: block; width: 100%; }
.dm-img img { display: block; width: 100%; height: auto; }
@media (max-width: 620px) {
  .modal { padding: 0; }
  .modal-box { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .modal-bar { padding-top: max(10px, env(safe-area-inset-top, 0px)); }
  .seg, .dots { display: none; }
}

.dm { container-type: inline-size; width: 100%; background: var(--d-bg); color: var(--d-ink); font-family: var(--font-body); line-height: 1.5; }
.dm-nav { display: flex; align-items: center; gap: 8px 22px; padding: 18px clamp(16px, 4cqi, 48px); flex-wrap: wrap; font-weight: 500; font-size: 0.95rem; }
.dm-nav b { font: 800 1.2rem var(--font-display); margin-right: auto; color: inherit; }
.dm-hero { background: var(--d-soft); padding: clamp(40px, 10cqi, 112px) clamp(16px, 4cqi, 48px); }
.dm-hero h2 { font: 800 clamp(2rem, 8cqi, 4.4rem)/1 var(--font-display); font-stretch: 108%; max-width: 14ch; letter-spacing: -0.02em; color: inherit; overflow-wrap: break-word; }
.dm-hero p { margin: 18px 0 0; max-width: 34rem; font-size: 1.1rem; }
.dm-btn { display: inline-block; margin-top: 26px; background: var(--d-accent); color: var(--d-on); padding: 14px 24px; border-radius: 4px; font-weight: 700; }
.dm-sec { padding: clamp(32px, 7cqi, 72px) clamp(16px, 4cqi, 48px); }
.dm-sec h3 { font: 800 clamp(1.4rem, 4cqi, 2rem)/1.1 var(--font-display); margin: 0 0 22px; color: inherit; }
.dm-sec > p { max-width: 40rem; }
.dm-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.dm-item { background: var(--d-soft); padding: 18px; border-radius: 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; }
.dm-item span:last-child { font-weight: 700; white-space: nowrap; }
.dm-info { background: var(--d-ink); color: var(--d-bg); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.dm-info h4 { margin: 0 0 8px; font: 700 0.8rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.dm-info p { margin: 0; }
.dm-foot { padding: 20px clamp(16px, 4cqi, 48px); font-size: 0.85rem; opacity: 0.8; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.about-text { display: grid; gap: 16px; color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.about-text strong { color: var(--fg-strong); font-weight: 600; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 0.74rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; color: var(--fg-strong); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.sign { background: var(--ink); color: var(--on-ink); border-radius: 12px; padding: 8px; }
.sign-inner { border: 3px solid var(--on-ink); border-radius: 8px; padding: clamp(20px, 4vw, 44px); display: grid; gap: 24px; }
.sign h2 { font: 700 clamp(1.6rem, 4vw, 2.6rem)/1.05 var(--font-display); color: inherit; }
.sign-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 40px; }
.sign-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; color: inherit; }
.shield { background: var(--on-ink); color: var(--ink); font: 800 0.85rem var(--font-display); padding: 2px 9px; border-radius: 4px; letter-spacing: 0.03em; }
.sign-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 500 1.15rem var(--font-display); }
.sign-foot { border-top: 2px solid color-mix(in srgb, var(--on-ink) 55%, var(--ink)); padding-top: 18px; }

/* Forms (shared) */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.93rem; color: var(--fg-strong); }
.field .opt-tag { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--fg-strong); background: var(--input); border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 46px; }
.field input[type="color"] { padding: 4px; cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.check a { font-weight: 600; color: var(--fg-strong); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.result { display: grid; gap: 16px; }
.result h2 { font-size: 1.8rem; font-weight: 800; }
.result textarea { width: 100%; min-height: 260px; font: 0.85rem/1.5 var(--font-mono); color: var(--fg-strong); background: var(--input); border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px; resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.copy-status { font-size: 0.92rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 14px; }
.contact-list li span:last-child { font-weight: 500; font-size: 1.1rem; overflow-wrap: anywhere; color: var(--fg-strong); }
.form-card { border: 2px solid var(--ink); padding: clamp(18px, 4vw, 36px); background: var(--surface); box-shadow: 8px 8px 0 var(--shadow); min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Quote builder */
.qb { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.qb-group { border: 0; border-top: 2px solid var(--ink); padding: 18px 0 8px; margin: 0 0 14px; min-width: 0; }
.qb-group legend { padding: 0 12px 0 0; font: 800 1.3rem var(--font-display); font-stretch: 105%; color: var(--fg-strong); }
.qb-group .lead { color: var(--muted); margin-bottom: 4px; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius); margin-top: 10px; cursor: pointer; background: var(--surface); }
.opt:hover { border-color: var(--muted); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.opt input { width: 22px; height: 22px; accent-color: var(--ink); margin: 2px 0 0; }
.opt .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt .name { font-weight: 600; color: var(--fg-strong); }
.opt .hint { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.45; margin-top: 2px; }
.opt .amt { font: 500 0.98rem var(--font-mono); white-space: nowrap; color: var(--fg-strong); }
.summary { position: sticky; top: 92px; border: 2px solid var(--ink); background: var(--surface); padding: 22px; box-shadow: 8px 8px 0 var(--shadow); display: grid; gap: 14px; min-width: 0; scroll-margin-top: 80px; }
.summary h2 { font-size: 1.5rem; font-weight: 800; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.97rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 14px; }
.sum-lines .amt, .sum-split dd { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--fg-strong); white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 14px; font: 800 1.7rem var(--font-display); color: var(--fg-strong); }
.sum-split { margin: 0; display: grid; gap: 6px; font-size: 0.95rem; }
.sum-split div { display: flex; justify-content: space-between; gap: 12px; }
.sum-split dt { color: var(--muted); }
.sum-split dd { margin: 0; font-weight: 500; }
.sum-note { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.total-strip { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--ink); color: var(--on-ink); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; gap: 14px; }
.total-strip .btn { min-height: 42px; }
.total-strip strong { font: 800 1.45rem var(--font-display); font-variant-numeric: tabular-nums; color: inherit; }
.total-strip .label { color: inherit; opacity: 0.7; }
@media (max-width: 920px) {
  .qb { grid-template-columns: 1fr; }
  .summary { position: static; }
  .total-strip { display: flex; }
  .has-strip { padding-bottom: 84px; }
}

/* Contract */
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); margin-bottom: clamp(28px, 5vw, 56px); }
.key { padding: clamp(20px, 3vw, 30px); border-right: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.key:last-child { border-right: 0; }
.key strong { font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); font-stretch: 108%; color: var(--fg-strong); }
.key span { color: var(--muted); }
@media (max-width: 800px) { .keys { grid-template-columns: 1fr; } .key { border-right: 0; border-bottom: 2px solid var(--ink); } .key:last-child { border-bottom: 0; } }
.terms { max-width: 46rem; }
.term { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.term h2 { font-size: 1.35rem; font-weight: 700; font-stretch: 104%; }
.term p { color: var(--muted); }

/* Admin */
.adm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.adm-card { border: 2px solid var(--ink); padding: clamp(16px, 3vw, 24px); background: var(--surface); display: grid; gap: 14px; min-width: 0; }
.adm-card h2 { font-size: 1.4rem; font-weight: 800; }
.adm-list { display: grid; gap: 14px; }
.adm-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; border: 2px solid var(--line); padding: 12px; border-radius: var(--radius); background: var(--surface); }
.adm-item strong { color: var(--fg-strong); display: block; overflow-wrap: anywhere; }
.adm-mini { width: 96px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; display: grid; place-items: center; font: 800 1.6rem var(--font-display); border: 1px solid var(--line); }
.adm-mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.adm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adm-sub { font: 600 0.78rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.adm-extra { border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 14px; background: var(--surface); }
.adm-hint { color: var(--muted); font-size: 0.95rem; }
.adm-preview { max-width: 320px; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; }
.adm-preview img { display: block; width: 100%; height: auto; }
.savebar { position: sticky; bottom: 0; z-index: 20; margin-top: 28px; background: var(--ink); color: var(--on-ink); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.savebar .btn { background: var(--bg); color: var(--fg-strong); border-color: var(--bg); min-height: 42px; }
.savebar .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.savebar span { font-size: 0.95rem; }
.warn { border: 2px solid var(--ink); padding: 14px 16px; border-radius: var(--radius); background: var(--soft); }
@media (max-width: 620px) { .adm-two { grid-template-columns: 1fr; } .adm-item { grid-template-columns: 72px minmax(0, 1fr); } .adm-mini { width: 72px; } }

/* Footer */
footer { border-top: 2px solid var(--ink); padding-block: 32px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; color: var(--muted); font-size: 0.95rem; }
.foot-name { font: 800 1.1rem var(--font-display); color: var(--fg-strong); margin-bottom: 4px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; max-width: 28rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--fg-strong); }
.foot-copy { width: 100%; font-family: var(--font-mono); font-size: 0.76rem; }

/* Phones: bigger, easier-to-press controls */
@media (max-width: 620px) {
  .btn { min-height: 50px; }
  .btn-sm { min-height: 46px; padding: 0 16px; }
  .ctrl { min-height: 46px; min-width: 46px; }
  .menu-toggle { width: 48px; height: 48px; }
  .foot ul { gap: 0 22px; }
  .foot a { display: inline-block; padding: 12px 0; }
  .field input, .field select, .field textarea { min-height: 52px; font-size: 16px; }
  .opt { padding-block: 16px; }
}

/* WhatsApp, small print, admin extras */
.btn-wa { background: #1FA855; color: #fff; border-color: #1FA855; }
.btn-wa:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--muted); }
.btn-wa svg { width: 22px; height: 22px; display: block; }
.btn-wa span:first-child { display: inline-flex; }
.fine { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 8px; border-radius: 10px; background: var(--ink); color: var(--on-ink); font-size: 0.75rem; line-height: 20px; text-align: center; }
.ctrl:hover .badge, .ctrl[aria-selected="true"] .badge { background: var(--on-ink); color: var(--ink); }
.pill { display: inline-block; padding: 0 8px; border: 1px solid var(--ink); border-radius: 10px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; }
.pill.new { background: var(--ink); color: var(--on-ink); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.stat { border: 2px solid var(--ink); padding: 14px; display: grid; gap: 2px; background: var(--bg); }
.stat strong { font: 800 2rem var(--font-display); color: var(--fg-strong); }
.stat span { color: var(--muted); font-size: .9rem; }

/* ===== Vivid blue and yellow layer ===== */
.btn-quote { background: var(--accent); color: var(--on-accent); border-color: var(--on-accent); }
.bar .cta, .cta-mobile { background: var(--accent); color: var(--on-accent); border-color: var(--on-accent); }
.inv .btn-quote { background: var(--accent); color: var(--on-accent); border-color: var(--on-accent); }
.btn-quote:hover, .bar .cta:hover { box-shadow: 4px 4px 0 var(--shadow); }
.tile .go { color: var(--ink); }
.tile:hover .go { color: var(--accent); }
.page-head .label, .tile .label { color: var(--ink); }
.label::before { content: ""; }
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.blob.b1 { width: min(46vw, 520px); aspect-ratio: 1; right: -10vw; top: -14%; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 68%); }
.blob.b2 { width: min(22vw, 240px); aspect-ratio: 1; left: -6vw; bottom: 4%; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--ink) 16%, transparent), transparent 70%); }

/* Language switch: EN / ES, theme switch: icon only */
.lang-btn { gap: 6px; padding: 0 12px; letter-spacing: .04em; }
.lang-btn .on { color: var(--on-ink); background: var(--ink); border-radius: 4px; padding: 2px 6px; }
.lang-btn .off { opacity: .7; padding: 2px 2px; }
.lang-btn .sep { opacity: .35; }
.lang-btn:hover .on { background: var(--on-ink); color: var(--ink); }
.theme-btn { padding: 0; width: 44px; }
.theme-btn svg { width: 22px; height: 22px; }

/* Showcase (rotating demos on the home page) */
.showcase { position: relative; }
.sc-stage { position: relative; }
.sc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(28px) scale(.98); transition: opacity .55s ease, transform .55s ease, visibility 0s .55s; }
.sc-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease; }
.sc-slide.is-prev { transform: translateX(-28px) scale(.98); }
.showcase .thumb { box-shadow: 8px 8px 0 var(--shadow); }
.sc-bar { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.sc-cap { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sc-cap strong { font: 700 1.05rem var(--font-display); color: var(--fg-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-cap span { font: 0.74rem var(--font-mono); color: var(--muted); letter-spacing: .04em; }
.sc-btn { width: 44px; height: 44px; border: 2px solid var(--ink); background: transparent; color: var(--fg-strong); border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.sc-btn:hover { background: var(--ink); color: var(--on-ink); transform: scale(1.06); }
.sc-btn:active { transform: scale(.94); }
.sc-btn svg { width: 20px; height: 20px; }
.sc-dots { display: flex; gap: 8px; margin-top: 14px; }
.sc-dot { position: relative; flex: 1; max-width: 56px; height: 10px; padding: 0; border: 0; background: none; cursor: pointer; }
.sc-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 4px; border-radius: 4px; background: var(--line); }
.sc-dot i { position: absolute; left: 0; top: 3px; height: 4px; border-radius: 4px; background: var(--accent); width: 0; }
.sc-dot.is-done i { width: 100%; }
.sc-dot.is-active i { width: 100%; animation: sc-fill var(--sc-ms, 5000ms) linear; }
.showcase.is-paused .sc-dot.is-active i { animation-play-state: paused; }
.showcase.no-auto .sc-dot.is-active i { animation: none; }
@keyframes sc-fill { from { width: 0; } to { width: 100%; } }

/* ===== Motion ===== */
.btn, .ctrl, .tile, .thumb, .plan, .demo-card, .opt, .sc-btn { -webkit-tap-highlight-color: transparent; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); transform: translateX(-120%); }
.theme-btn svg { transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.theme-btn:hover svg { transform: rotate(35deg) scale(1.12); }
.theme-btn.spin svg { animation: spin-in .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes pop { 0% { transform: scale(.9); opacity: 0; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), box-shadow .18s ease, background-color .18s ease, color .18s ease; }
  .btn:hover::after { transform: translateX(120%); transition: transform .7s ease; }
  .btn:hover { transform: translateY(-3px); }
  .btn:active { transform: translateY(1px) scale(.97); box-shadow: none; transition-duration: .06s; }
  .btn-primary:hover { transform: translate(-2px, -3px); }
  .btn-quote { animation: nudge 3.6s ease-in-out 2s infinite; }
  @keyframes nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-3px) rotate(-1.2deg); } 96% { transform: translateY(-1px) rotate(1deg); } }
  .btn-quote:hover { animation: none; transform: translateY(-3px); }
  .ctrl { transition: background-color .15s ease, color .15s ease, transform .15s cubic-bezier(.3, 1.5, .5, 1); }
  .ctrl:hover { transform: translateY(-2px); }
  .ctrl:active { transform: scale(.94); }
  .brand-mark { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
  .brand:hover .brand-mark { transform: rotate(-10deg) scale(1.1); }
  .nav ul a { position: relative; border-bottom: 0; transition: color .15s ease; }
  .nav ul a::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .tile { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
  .tile .go { display: inline-block; transition: transform .2s ease; }
  .tile:hover .go { transform: translateX(6px); }
  .thumb { transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s ease; }
  .thumb-zoom { transition: transform .2s ease; }
  .thumb:hover .thumb-zoom { transform: scale(1.08); }
  .plan { transition: transform .25s ease, box-shadow .25s ease; }
  .plan:hover { transform: translateY(-6px); }
  .opt { transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
  .opt:hover { transform: translateX(3px); }
  .opt:has(input:checked) { animation: pop .3s ease; }
  .blob.b1 { animation: float 9s ease-in-out infinite; }
  .blob.b2 { animation: float 7s ease-in-out -2s infinite; }
  .hero h1, .hero-line, .hero-copy, .hero-actions, .hero .showcase { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
  .hero-line { animation-delay: .12s; } .hero-copy { animation-delay: .22s; } .hero-actions { animation-delay: .32s; } .hero .showcase { animation-delay: .25s; }
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  .page-head h1, .page-head p, .page-head .label { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .page-head p { animation-delay: .1s; }
  .modal.open .modal-box { animation: pop .3s ease; }
  .result:not([hidden]) { animation: rise .5s ease; }
  .sum-total span:last-child { display: inline-block; }
  .tick { animation: pop .25s ease; }
  .wa-wiggle:hover svg { animation: wiggle .5s ease; }
  .btn-wa:hover svg { animation: wiggle .5s ease; }
}
@media (prefers-reduced-motion: reduce) { .sc-slide { transition: none; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 1210px) {
  .nav ul a { border-bottom: 1px solid var(--line); }
  .nav ul a::after { left: 0; right: 0; bottom: -1px; }
}

/* Highlighted words: yellow marker in light mode, yellow text in dark mode */
.hl { color: var(--fg-strong); background: linear-gradient(transparent 52%, var(--accent) 52%, var(--accent) 94%, transparent 94%); padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-theme="dark"] .hl { color: var(--accent); background: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { color: var(--accent); background: none; } }
.inv .hl { color: var(--accent); background: none; }
:root[data-theme="dark"] .inv .hl { color: #8A6400; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .inv .hl { color: #8A6400; } }

/* Space between the business name and the menu */
.nav { margin-left: auto; padding-left: clamp(12px, 2.4vw, 40px); }
.brand { margin-right: 0; }
@media (max-width: 1210px) { .nav { padding-left: 0; } }

/* Home headline slides in from the left, the demo from the right */
@keyframes in-left { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes in-right { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-line, .hero-copy, .hero-actions { animation: in-left .9s cubic-bezier(.2, .75, .2, 1) forwards; }
  .hero h1 { animation-delay: .05s; } .hero-line { animation-delay: .2s; } .hero-copy { animation-delay: .32s; } .hero-actions { animation-delay: .44s; }
  .hero .showcase { animation: in-right .9s cubic-bezier(.2, .75, .2, 1) .25s forwards; }
}

/* Top bar: buttons never shrink, so Spanish text always fits; titles get equal space above and below */
.bar .cta, .controls, .controls .ctrl, .brand { flex: none; }
.bar .cta { white-space: nowrap; padding-inline: 18px; }
.nav ul { flex: none; }
.page-head .wrap { gap: 14px; }

/* =====================================================================
   Motion and polish v2
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* scroll progress bar + header state */
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 60; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); pointer-events: none; }
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--shadow) 70%, transparent); }



/* sections that follow the hero */
.tiles-sec { padding-top: clamp(40px, 6vw, 72px); }
.sec-title { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 800; font-stretch: 108%; margin-top: 10px; max-width: 18ch; }

/* ticker */
.marquee { overflow: hidden; background: var(--accent); color: var(--on-accent); border-block: 2px solid var(--on-accent); padding: 14px 0; transform: rotate(-1deg) scale(1.02); margin-block: 8px 12px; }
.mq-track { display: flex; width: max-content; }
.mq-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; font: 800 1.05rem var(--font-display); font-stretch: 108%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.mq-group i { font-style: normal; font-size: .85rem; }
.marquee:hover .mq-track { animation-play-state: paused; }

/* floating chips by the demo */
.showcase-wrap { position: relative; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--fg-strong); border: 2px solid var(--ink); border-radius: 99px; padding: 6px 14px 6px 8px; font: 700 .82rem var(--font-display); box-shadow: 4px 4px 0 var(--shadow); }
.float-chip i { font-style: normal; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 800; }
.float-chip.c1 { left: -22px; top: 22px; }
.float-chip.c2 { right: -14px; bottom: 96px; padding-right: 8px; }
@media (max-width: 900px) { .float-chip.c1 { left: 8px; top: -14px; } .float-chip.c2 { right: 8px; bottom: 112px; } }

/* tile icons */
.tile .ico { width: 44px; height: 44px; color: var(--ink); margin-bottom: 6px; }
.tile:hover .ico { color: var(--accent); }

/* facts */
.facts-sec { padding-block: clamp(20px, 4vw, 48px); }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 6px; position: relative; overflow: hidden; }
.fact::before { content: ""; position: absolute; left: 0; top: 0; height: 6px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out) .2s; }
.fact.in::before { transform: scaleX(1); }
.fact strong { font: 800 clamp(2.2rem, 4.4vw, 3.2rem)/1 var(--font-display); font-stretch: 108%; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.fact strong small { font-size: .6em; padding: 0 .08em; color: var(--muted); }
.fact > span { color: var(--muted); font-size: .95rem; line-height: 1.35; }
@media (max-width: 900px) { .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* steps */
.steps-sec { padding-block: clamp(36px, 6vw, 80px); }
.steps3 { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); position: relative; counter-reset: s; }
.steps3::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 4px; border-radius: 4px; background: var(--line); }
.steps3::after { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 4px; border-radius: 4px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out) .3s; }
.steps3.in::after { transform: scaleX(1); }
.steps3 li { position: relative; display: grid; gap: 8px; align-content: start; }
.steps3 b { position: relative; z-index: 1; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--on-ink); font: 800 1.25rem var(--font-display); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--ink); transition: transform .5s var(--ease-spring); }
.steps3 li:hover b { transform: scale(1.15) rotate(-8deg); background: var(--accent); color: var(--on-accent); }
.steps3 h3 { font-size: 1.35rem; font-weight: 800; margin-top: 8px; }
.steps3 p { color: var(--muted); }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; gap: 28px; } .steps3::before, .steps3::after { left: 24px; right: auto; top: 24px; bottom: 24px; width: 4px; height: auto; } .steps3::after { transform-origin: top; transform: scaleY(0); } .steps3.in::after { transform: scaleY(1); } .steps3 li { padding-left: 72px; } .steps3 b { position: absolute; left: 0; top: 0; } .steps3 h3 { margin-top: 0; } }

/* headline words and highlighter draw */
.w { display: inline-block; white-space: pre; }
.hl { background-repeat: no-repeat; background-size: 100% 100%; }
.ripple { position: absolute; border-radius: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: currentColor; opacity: .28; pointer-events: none; transform: scale(0); animation: ripple .65s ease-out forwards; z-index: -1; }
@keyframes ripple { to { transform: scale(28); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes word-in { from { opacity: 0; transform: translateX(-36px) skewX(-8deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hl-draw { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes check-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* smooth theme change */
.theming, .theming *, .theming *::before, .theming *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease, fill .5s ease !important; }
main.lang-swap { animation: swap .4s var(--ease-out); }

/* page-to-page transitions (browsers that support them) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: 0s; }
::view-transition-old(root) { animation: .28s ease both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
@supports not selector(::view-transition) { main, footer { animation: page-in .5s var(--ease-out) both; } }

@media (prefers-reduced-motion: no-preference) {
  .mq-track { animation: marquee 32s linear infinite; }
  .hero h1 { animation: none; opacity: 1; }
  .hero h1:not(.split) { opacity: 0; animation: in-left .9s var(--ease-out) .05s forwards; }
  .hero h1.split .w > span { display: inline-block; opacity: 0; animation: word-in .8s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
  .hl { background-size: 0% 100%; animation: hl-draw .9s var(--ease-out) forwards; animation-delay: .9s; }
  .reveal .hl, .page-head .hl { animation-delay: .5s; }
  .hl.paused { animation-play-state: paused; }
  .float-chip.c1 { animation: bob 5s ease-in-out infinite; --r: -3deg; }
  .float-chip.c2 { animation: bob 6s ease-in-out -2s infinite; --r: 3deg; }
  .blob { translate: calc(var(--mx, 0) * 40px) calc(var(--my, 0) * 40px); transition: translate .6s var(--ease-out); }
  .showcase .sc-stage { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease-out); transform-style: preserve-3d; }
  .btn-lg, .bar .cta { translate: var(--tx, 0) var(--ty, 0); }
  .band { background-image: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--accent) 18%, transparent) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
  .band .btn-quote { animation: nudge 3.6s ease-in-out 1s infinite, pulse-ring 2.4s ease-out infinite; }
  .tile .ico * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) .25s; }
  .tile.in .ico * { stroke-dashoffset: 0; }
  .tile:hover .ico { animation: wiggle .6s ease; }
  .plan.in li { animation: check-in .5s var(--ease-out) both; }
  .plan.in li:nth-child(1) { animation-delay: .15s; } .plan.in li:nth-child(2) { animation-delay: .22s; } .plan.in li:nth-child(3) { animation-delay: .29s; } .plan.in li:nth-child(4) { animation-delay: .36s; } .plan.in li:nth-child(5) { animation-delay: .43s; } .plan.in li:nth-child(6) { animation-delay: .5s; } .plan.in li:nth-child(n+7) { animation-delay: .57s; }
  .service.reveal:nth-child(odd) { transform: translateX(-46px); }
  .service.reveal:nth-child(even) { transform: translateX(46px); }
  .service.reveal.in { transform: none; }
  .plan.reveal:nth-child(1) { transform: translate(-40px, 20px); } .plan.reveal:nth-child(2) { transform: translate(40px, 20px); } .plan.reveal.in { transform: none; }
  .reveal { transition-duration: .9s, .9s; transition-timing-function: var(--ease-out); }
  .page-head { background-image: radial-gradient(60% 120% at 100% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
  .fact { transition: transform .35s var(--ease-spring), box-shadow .3s ease; }
  .fact:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--shadow); }
  .btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .35s var(--ease-out); }
  .btn-primary:hover::before { transform: none; }
  .btn-primary:hover { color: var(--on-accent); }
}

/* people who asked their device for less motion still get soft fades, the marker drawing and counters, but no travel, tilt or looping */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 0; transform: none !important; transition: opacity .7s ease; transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; }
  .hero h1:not(.split), .hero-line, .hero-copy, .hero-actions, .hero .showcase { animation: fade-in .8s ease both; }
  .hero-line { animation-delay: .2s; } .hero-copy { animation-delay: .3s; } .hero-actions { animation-delay: .4s; } .hero .showcase { animation-delay: .35s; }
  .hero h1.split .w > span { display: inline-block; opacity: 0; animation: fade-in .7s ease forwards; animation-delay: calc(var(--i) * 90ms + 100ms); }
  .hl { background-size: 0% 100%; animation: hl-draw .9s ease forwards; animation-delay: .9s; }
  .reveal .hl, .page-head .hl { animation-delay: .5s; }
  .hl.paused { animation-play-state: paused; }
  .mq-track { animation: none; overflow-x: auto; }
  .marquee { transform: none; overflow-x: auto; }
  .fact::before, .steps3::after { transition: transform 1.2s ease .2s; }
}

/* spotlight that follows the pointer on cards, soft dotted texture behind the hero */
.tile, .plan, .fact, .demo-card, .how-step { --px: 50%; --py: 50%; }
.tile::before, .fact::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--px) var(--py), color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%); }
.tile { position: relative; overflow: hidden; }
.tile:hover::before, .fact:hover::after { opacity: 1; }
.tile > * { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, transparent 38%, #000 100%); mask-image: linear-gradient(115deg, transparent 38%, #000 100%); }

/* nothing may push the page wider than the screen (phones would zoom out or pan sideways) */
html { overflow-x: clip; max-width: 100%; }
main { overflow-x: clip; }

/* =====================================================================
   v3: no flash on load, section tones, packs, moving color
   ===================================================================== */
@property --hlc { syntax: "<color>"; inherits: true; initial-value: #FFC61A; }
:root { --a2: #FF9B3D; --a3: #FFE27A; --a4: #B9BCC6; }

/* the page body stays hidden for a few milliseconds while the language is applied; the top menu is already there */
html.booting main, html.booting footer { visibility: hidden; }
#site-header:empty { min-height: 68px; }

/* the Send message button sits inside the form box and never animates on its own */
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions.side { margin-top: 28px; }
@media (max-width: 520px) { .form-actions .btn { flex: 1 1 100%; } }
.form-card .form-actions .btn { max-width: 100%; }

/* ---- section tones ---- */
.tone-sand, .tone-mint, .tone-peach { background: var(--bg); }
.tone-sand  { --bg: #E6E4DF; --surface: #F4F3EF; --soft: #D6D3CC; --line: #C3BFB6; }
.tone-mint  { --bg: #D9DBDF; --surface: #ECEDF0; --soft: #C6C9CF; --line: #B0B4BC; }
.tone-peach { --bg: #EDEBE6; --surface: #F8F7F3; --soft: #DDDAD2; --line: #CBC7BD; }
:root[data-theme="dark"] .tone-sand  { --bg: #1C1C1F; --surface: #26262A; --soft: #303035; --line: #3F3F45; }
:root[data-theme="dark"] .tone-mint  { --bg: #121214; --surface: #1B1B1E; --soft: #242428; --line: #323237; }
:root[data-theme="dark"] .tone-peach { --bg: #222226; --surface: #2C2C31; --soft: #36363C; --line: #46464D; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tone-sand  { --bg: #1C1C1F; --surface: #26262A; --soft: #303035; --line: #3F3F45; }
  :root:not([data-theme="light"]) .tone-mint  { --bg: #121214; --surface: #1B1B1E; --soft: #242428; --line: #323237; }
  :root:not([data-theme="light"]) .tone-peach { --bg: #222226; --surface: #2C2C31; --soft: #36363C; --line: #46464D; }
}
.tone-slate, .tone-pine, .tone-plum, .tone-espresso {
  --ink: #F2EFE6; --on-ink: #1B1D22; --input: #14161A; --fg: #D6D8DF; --fg-strong: #FFFFFF; --muted: #AEB3C0; --shadow: #000000;
  color-scheme: dark; background: var(--bg); color: var(--fg);
}
.tone-slate    { --bg: #2B2D33; --surface: #363940; --soft: #41444C; --line: #4D515A; --g1: #FFC61A; --g2: #FF9B3D; --g3: #B9BCC6; }
.tone-pine     { --bg: #131316; --surface: #1D1D21; --soft: #27272C; --line: #34343A; --g1: #FFC61A; --g2: #FFE27A; --g3: #8C8F99; }
.tone-plum     { --bg: #3A3C43; --surface: #464952; --soft: #52565F; --line: #60646E; --g1: #FFC61A; --g2: #FFFFFF; --g3: #FF9B3D; }
.tone-espresso { --bg: #0C0C0E; --surface: #17171A; --soft: #212125; --line: #2E2E33; --g1: #FFC61A; --g2: #FF9B3D; --g3: #8C8F99; }
.tone-sand  { --g1: #FFC61A; --g2: #FF9B3D; --g3: #B9BCC6; }
.tone-mint  { --g1: #B9BCC6; --g2: #FFC61A; --g3: #8C8F99; }
.tone-peach { --g1: #FFC61A; --g2: #D0D2D8; --g3: #FF9B3D; }
.tone-slate .btn-ghost:hover, .tone-pine .btn-ghost:hover, .tone-plum .btn-ghost:hover { color: var(--on-ink); }
.tone-slate .btn-primary, .tone-pine .btn-primary, .tone-plum .btn-primary { background: var(--ink); color: var(--on-ink); }
.tone-slate .btn-primary:hover, .tone-pine .btn-primary:hover { box-shadow: 4px 4px 0 var(--accent); }
.tone-slate .total-strip, .tone-pine .total-strip { background: var(--ink); }
.tone-slate section, .tone-sand section { background: none; }
.band.tone-plum { padding-block: clamp(44px, 7vw, 84px); }
.band.tone-plum h2 { color: #fff; }

/* colored glow behind every tone section, page header and hero */
.tone-slate, .tone-pine, .tone-plum, .tone-sand, .tone-mint, .tone-peach, .page-head, .hero { position: relative; isolation: isolate; overflow: hidden; }
.tone-slate::before, .tone-pine::before, .tone-plum::before, .tone-sand::before, .tone-mint::before, .tone-peach::before, .page-head::before, .hero::before {
  content: ""; position: absolute; inset: -25%; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(38% 42% at 18% 30%, color-mix(in srgb, var(--g1, var(--accent)) 38%, transparent), transparent 70%),
    radial-gradient(34% 40% at 82% 22%, color-mix(in srgb, var(--g2, var(--a2)) 30%, transparent), transparent 70%),
    radial-gradient(40% 44% at 60% 92%, color-mix(in srgb, var(--g3, var(--a4)) 26%, transparent), transparent 70%);
}
.tone-sand::before, .tone-mint::before, .tone-peach::before { opacity: .55; }
.page-head, .hero { --g1: #FFC61A; --g2: #FF9B3D; --g3: #B9BCC6; }
.page-head { background-image: none !important; }
:root[data-theme="dark"] .page-head, :root[data-theme="dark"] .hero { --g2: #FF9B3D; }
.page-head:nth-of-type(n)::after { content: none; }
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

footer { background: #0C0C0E; color: #CFCFD4; border-top: 0; position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--a2), var(--a3), var(--a4), var(--accent)); background-size: 300% 100%; }
footer .foot, footer .foot-name, footer .foot a:hover { color: #F3EEE4; }
footer .foot { color: #BDB5A8; }
footer .foot-name { color: #fff; }
footer .foot a:hover { color: var(--accent); }

/* ---- highlighter: tighter marker that follows the text, and shimmering yellow text on dark ---- */
.hl {
  padding: 0 .05em; margin: 0 -.05em;
  background-image: linear-gradient(var(--hlc), var(--hlc));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 100% .4em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root[data-theme="dark"] .hl, .tone-slate .hl, .tone-pine .hl, .tone-plum .hl, .tone-espresso .hl, .inv .hl {
  background-image: none;
  color: #FFC61A; -webkit-text-fill-color: currentColor;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hl {
    background-image: none;
    color: #FFC61A; -webkit-text-fill-color: currentColor;
  }
}
/* light theme inside a light tone: dark text on a yellow marker */
.tone-sand .hl, .tone-mint .hl, .tone-peach .hl { color: var(--fg-strong); }
@keyframes hl-draw { from { background-size: 0% .4em; } to { background-size: 100% .4em; } }
@keyframes hl-hue { 0% { --hlc: #FFC61A; } 50% { --hlc: #FF9B4A; } 100% { --hlc: #FFD84D; } }
@keyframes hl-shine { from { color: #FFC61A; } 50% { color: #FFE27A; } to { color: #FF9B4A; } }
@media (prefers-reduced-motion: no-preference) {
  .hl { background-size: 0% .4em; animation: hl-draw .9s var(--ease-out) forwards, hl-hue 3.6s ease-in-out 1.4s infinite alternate; animation-delay: .5s, 1.4s; }
  .page-head .hl { animation-delay: .35s, 1.3s; }
  .hl.paused { animation-play-state: paused; }
  :root[data-theme="dark"] .hl, .tone-slate .hl, .tone-pine .hl, .tone-plum .hl, .tone-espresso .hl, .inv .hl { background-size: 0 0; animation: hl-shine 3s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: no-preference) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hl { background-size: 0 0; animation: hl-shine 3s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) { .hl { animation: none; background-size: 100% .4em; } :root[data-theme="dark"] .hl, .tone-slate .hl, .tone-pine .hl, .tone-plum .hl { background-size: 0 0; } }
/* the light-theme marker is lit again when a tone-dark section appears inside a light page */
:root[data-theme="light"] .tone-sand .hl, :root[data-theme="light"] .tone-mint .hl, :root[data-theme="light"] .tone-peach .hl { color: var(--fg-strong); -webkit-text-fill-color: currentColor; }

/* ---- steps: the line stays behind the numbers ---- */
.steps3::before, .steps3::after { z-index: 0; }
.steps3 li { z-index: 1; }
.steps3 b { background: var(--ink); color: var(--on-ink); border-color: var(--bg); }
.steps3 li:nth-child(1) b { background: var(--a3); color: #2A2200; box-shadow: 0 0 0 2px var(--a3); }
.steps3 li:nth-child(2) b { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 2px var(--accent); }
.steps3 li:nth-child(3) b { background: var(--a2); color: #2B1700; box-shadow: 0 0 0 2px var(--a2); }
.steps3::after { background: linear-gradient(90deg, var(--a3), var(--accent), var(--a2)); }
.steps3 h3 { color: var(--fg-strong); }
@media (max-width: 760px) { .steps3::after { background: linear-gradient(180deg, var(--a3), var(--accent), var(--a2)); } }

/* ---- colors on the home tiles and stats ---- */
.tile:nth-child(1) .ico { color: var(--accent); } .tile:nth-child(2) .ico { color: var(--a2); } .tile:nth-child(3) .ico { color: var(--a3); }
.tile:nth-child(1) .go { color: var(--accent); } .tile:nth-child(2) .go { color: var(--a2); } .tile:nth-child(3) .go { color: var(--a3); }
.tile:hover .ico, .tile:hover .go { color: var(--on-ink); }
.tone-slate .tiles { border-color: color-mix(in srgb, var(--ink) 60%, transparent); }
.tone-slate .tile { border-right-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.tone-slate .tile:hover { background: color-mix(in srgb, var(--soft) 80%, var(--bg)); color: var(--fg-strong); }
.tone-slate .tile:hover h3, .tone-slate .tile:hover .go { color: var(--accent); }
.tone-slate .tile:hover p, .tone-slate .tile:hover .label { color: var(--muted); }
.tone-slate .tile:hover .ico { color: var(--accent); }
.fact:nth-child(1)::before { background: var(--accent); } .fact:nth-child(2)::before { background: var(--a2); } .fact:nth-child(3)::before { background: var(--a3); } .fact:nth-child(4)::before { background: var(--a4); }
.fact { border-color: var(--fg-strong); }
.fact:nth-child(1) strong { color: color-mix(in srgb, var(--accent) 55%, var(--fg-strong)); } 
.marquee { background: linear-gradient(90deg, #FFC61A, #FFDD6B, #FF9F43, #FFC61A); background-size: 300% 100%; }

/* ---- packs ---- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan.pack { position: relative; padding-top: 30px; box-shadow: 6px 6px 0 var(--shadow); background: var(--surface); }
.plan.pack:first-child { box-shadow: 6px 6px 0 var(--shadow); }
.plan.pack::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 10px; background: var(--pc, var(--accent)); }
.plan.pack.c-yellow { --pc: var(--accent); } .plan.pack.c-coral { --pc: var(--a2); } .plan.pack.c-mint { --pc: var(--a3); } .plan.pack.c-violet { --pc: var(--a4); }
.plan.pack h3 { font-size: 1.35rem; }
.plan.pack .price { font-size: clamp(2.2rem, 3.4vw, 2.9rem); }
.plan.pack .save { font: 600 .82rem var(--font-mono); color: var(--muted); min-height: 1.3em; margin-top: -10px; }
.plan.pack .for { font-size: .95rem; }
.plan.pack ul { font-size: .93rem; gap: 8px; }
.plan.pack li::before { border-color: var(--pc, var(--accent)); filter: brightness(.82) saturate(1.3); }
.plan.pack.featured { outline: 3px solid var(--accent); outline-offset: 3px; }
.plan .pop { position: absolute; top: 18px; right: 14px; background: var(--accent); color: var(--on-accent); font: 800 .7rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; border: 2px solid var(--on-accent); }
.plan.custom { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; background: var(--ink); color: var(--on-ink); box-shadow: none; }
.plan.custom h3 { color: inherit; font-size: 1.9rem; margin: 6px 0 8px; }
.plan.custom .label { color: var(--accent); }
.plan.custom .for { color: color-mix(in srgb, var(--on-ink) 80%, var(--ink)); }
.plan.custom .callout { margin-top: 14px; }
.plan.custom .btn { margin-top: 0; }
.plan.custom li::before { border-color: var(--accent); }
@media (max-width: 1100px) { .plan.custom { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .packs { grid-template-columns: 1fr; } }
.plans { display: none; }

/* ---- moving color ---- */
@keyframes drift-a { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(5%, 4%, 0) rotate(8deg) scale(1.08); } 100% { transform: translate3d(-2%, 6%, 0) rotate(-6deg) scale(1.03); } }
@keyframes bar-slide { to { background-position: -300% 0; } }
@keyframes mq-color { to { background-position: -300% 0; } }
@keyframes tile-hue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: no-preference) {
  .tone-slate::before, .tone-pine::before, .tone-plum::before, .tone-sand::before, .tone-mint::before, .tone-peach::before, .page-head::before, .hero::before { animation: drift-a 14s ease-in-out infinite alternate; }
  .tone-pine::before { animation-duration: 17s; } .tone-plum::before { animation-duration: 12s; animation-direction: alternate-reverse; } .tone-mint::before { animation-duration: 19s; } .tone-peach::before { animation-duration: 16s; animation-direction: alternate-reverse; }
  footer::before { animation: bar-slide 7s linear infinite; }
  .marquee { animation: mq-color 9s linear infinite; }
  .steps3.in .b, .steps3.in li:nth-child(odd) b { }
  .steps3.in b { animation: pulse-ring 2.8s ease-out 1.8s infinite; }
  .steps3.in li:nth-child(1) b { --pr: var(--a3); } 
  .tile:nth-child(2) .ico { animation: tile-hue 5s ease-in-out infinite; }
  .tile:nth-child(3) .ico { animation: tile-hue 6s ease-in-out -2s infinite; }
  .tile:nth-child(1) .ico { animation: tile-hue 7s ease-in-out -4s infinite; }
  .plan.pack::before { background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); background-size: 60% 100%; background-repeat: no-repeat; background-color: var(--pc, var(--accent)); animation: pack-shine 3.6s ease-in-out infinite; }
  .plan.pack:nth-child(2)::before { animation-delay: -.9s; } .plan.pack:nth-child(3)::before { animation-delay: -1.8s; } .plan.pack:nth-child(4)::before { animation-delay: -2.7s; }
  .btn-quote { background-image: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); background-size: 200% 100%; background-repeat: no-repeat; background-position: 150% 0; animation: btn-sweep 4.5s ease-in-out infinite; }
  .tone-plum .btn-quote { animation: btn-sweep 3.6s ease-in-out infinite, pulse-ring 2.4s ease-out infinite; }
  .fact:nth-child(2) { transition-delay: .06s; } .fact:nth-child(3) { transition-delay: .12s; } .fact:nth-child(4) { transition-delay: .18s; }
  .tile .ico * { stroke-dasharray: 1; }
}
@keyframes pack-shine { 0% { background-position: -80% 0; } 60%, 100% { background-position: 200% 0; } }
@keyframes btn-sweep { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

/* ---- phones: hide the floating "mobile ready" chips and keep things clean ---- */
@media (max-width: 700px) {
  .float-chip { display: none !important; }
}

/* ===== v4: two dark tones (gray, black) and light grays; yellow is the only color ===== */
:root { --a2: #FFB400; --a3: #D9D5C8; --a4: #8C8F98; }
.tone-slate, .tone-plum { --bg: #2B2D33; --surface: #353840; --soft: #40434C; --line: #484C56; --g1: #FFC61A; --g2: #8C8F98; --g3: #FFC61A; }
.tone-pine, .tone-espresso { --bg: #131417; --surface: #1D1F24; --soft: #272A30; --line: #30343B; --g1: #FFC61A; --g2: #5A5E68; --g3: #FFC61A; }
.tone-sand  { --bg: #E4E3DF; --surface: #F3F2EE; --soft: #D4D3CE; --line: #C2C1BB; --g1: #FFC61A; --g2: #B8BAC2; --g3: #FFC61A; }
.tone-mint  { --bg: #D8D9DC; --surface: #EBECEE; --soft: #C7C8CC; --line: #B4B6BB; --g1: #FFC61A; --g2: #9EA1AA; --g3: #FFC61A; }
.tone-peach { --bg: #ECEBE7; --surface: #F8F7F4; --soft: #DDDCD6; --line: #CBCAC3; --g1: #FFC61A; --g2: #C9CBD2; --g3: #FFC61A; }
:root[data-theme="dark"] .tone-sand  { --bg: #1D1E22; --surface: #282A30; --soft: #32353C; --line: #3C4048; }
:root[data-theme="dark"] .tone-mint  { --bg: #26282D; --surface: #31343A; --soft: #3B3E46; --line: #464A53; }
:root[data-theme="dark"] .tone-peach { --bg: #191A1E; --surface: #24262B; --soft: #2E3036; --line: #383B43; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tone-sand  { --bg: #1D1E22; --surface: #282A30; --soft: #32353C; --line: #3C4048; }
  :root:not([data-theme="light"]) .tone-mint  { --bg: #26282D; --surface: #31343A; --soft: #3B3E46; --line: #464A53; }
  :root:not([data-theme="light"]) .tone-peach { --bg: #191A1E; --surface: #24262B; --soft: #2E3036; --line: #383B43; }
}
.page-head, .hero { --g2: #A9ACB5; --g3: #FFC61A; }
:root[data-theme="dark"] .page-head, :root[data-theme="dark"] .hero { --g2: #6A6E78; }
.steps3 li:nth-child(1) b { background: #D9D5C8; color: #1B1C20; box-shadow: 0 0 0 2px #D9D5C8; }
.steps3 li:nth-child(3) b { background: #FFB400; color: #1B1C20; box-shadow: 0 0 0 2px #FFB400; }
.steps3::after { background: linear-gradient(90deg, #D9D5C8, var(--accent), #FFB400); }
@media (max-width: 760px) { .steps3::after { background: linear-gradient(180deg, #D9D5C8, var(--accent), #FFB400); } }
.tile:nth-child(2) .ico, .tile:nth-child(2) .go { color: #FFB400; } .tile:nth-child(3) .ico, .tile:nth-child(3) .go { color: #D9D5C8; }
.tone-slate .tile:nth-child(3) .go { color: #E9E6DB; }
.fact:nth-child(2)::before { background: #FFB400; } .fact:nth-child(3)::before { background: #8C8F98; } .fact:nth-child(4)::before { background: #2B2D33; }
:root[data-theme="dark"] .fact:nth-child(4)::before { background: #D9D5C8; }
footer { background: #0F1012; }
footer::before { background: linear-gradient(90deg, var(--accent), #8C8F98, #FFB400, #D9D5C8, var(--accent)); background-size: 300% 100%; }
.marquee { background: linear-gradient(90deg, #FFC61A, #FFDD6B, #FFB400, #FFC61A); background-size: 300% 100%; }
.packs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
.plan.pack.c-violet, .plan.pack.c-coral, .plan.pack.c-mint, .plan.pack.c-yellow { --pc: var(--accent); }
.plan.pack:nth-child(2) { --pc: #8C8F98; } .plan.pack:nth-child(3) { --pc: #FFB400; }
.pay-line.own { margin-top: 30px; font-size: 1.05rem; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; max-width: 520px; } }

/* no height change when scrolling: it moved the page under the finger and made the top flicker */
html { overflow-anchor: none; }
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
body::before { will-change: background-position; transform: translateZ(0); }

/* ===== v6: three colors for the whole site: dark blue, light stone and yellow ===== */
.hero::before, .page-head::before { content: none !important; }
body { background: var(--bg); overflow-x: visible; }
.site-header { position: sticky; top: 0; top: env(safe-area-inset-top, 0px); z-index: 40; }
.progress { display: none !important; }
html { background: var(--bg); }

/* sections alternate light stone / dark blue, each with a slow color flow */
main > section { position: relative; }
main > section:first-of-type { background: linear-gradient(120deg, #EFEDE6, #F7F0D8, #E9E7E0, #F3EEDD, #EFEDE6); background-size: 300% 300%; }
:root[data-theme="dark"] main > section:first-of-type { background: linear-gradient(120deg, #14161A, #1C1F25, #16181C, #20232A, #14161A); background-size: 300% 300%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) main > section:first-of-type { background: linear-gradient(120deg, #14161A, #1C1F25, #16181C, #20232A, #14161A); background-size: 300% 300%; } }
main > section.dk {
  --bg: #0F1A2B; --surface: #19273D; --soft: #223450; --line: #2C4263; --input: #0A121E;
  --ink: #F2EFE6; --on-ink: #0F1A2B; --fg: #D4D9E2; --fg-strong: #FFFFFF; --muted: #A8B3C4; --shadow: #04080F;
  color-scheme: dark; color: var(--fg);
  background: linear-gradient(120deg, #0C1624, #16243A, #0E192A, #1B2D48, #0C1624); background-size: 300% 300%;
}
@keyframes sec-flow { 0% { background-position: 0% 40%; } 50% { background-position: 100% 60%; } 100% { background-position: 0% 40%; } }
@media (prefers-reduced-motion: no-preference) {
  main > section:first-of-type { animation: sec-flow 24s ease-in-out infinite; }
  main > section.dk { animation: sec-flow 18s ease-in-out infinite; }
}
/* yellow highlight words on dark blue */
main > section.dk .hl {
  background-image: none; background-size: 0 0; color: #FFC61A; -webkit-text-fill-color: currentColor; animation: none;
}
@media (prefers-reduced-motion: no-preference) { main > section.dk .hl { animation: hl-shine 3s ease-in-out infinite alternate; } }
main > section.dk .btn-primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
main > section.dk .btn-ghost { color: var(--fg-strong); border-color: var(--ink); }
main > section.dk .btn-ghost:hover { color: var(--on-ink); }
.page-head { border-bottom: 0; }
.tile:nth-child(n) .ico, .tile:nth-child(n) .go { color: var(--ink); }
main > section.dk .tile:nth-child(1) .ico, main > section.dk .tile:nth-child(1) .go { color: #FFC61A; }
main > section.dk .tile:nth-child(2) .ico, main > section.dk .tile:nth-child(2) .go { color: #E8E4D8; }
main > section.dk .tile:nth-child(3) .ico, main > section.dk .tile:nth-child(3) .go { color: #7FB0FF; }
main > section.dk .tile:hover .ico, main > section.dk .tile:hover .go { color: #FFC61A; }
main > section.dk .tile:hover { background: color-mix(in srgb, var(--soft) 70%, transparent); color: var(--fg-strong); }
main > section.dk .tile:hover h3 { color: #fff; }
main > section.dk .tile:hover p, main > section.dk .tile:hover .label { color: var(--muted); }
main > section.dk .tiles { border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
main > section.dk .tile { border-right-color: color-mix(in srgb, var(--ink) 30%, transparent); }
main > section.dk .steps3 li:nth-child(1) b { background: #E8E4D8; color: #1B2533; box-shadow: 0 0 0 2px #E8E4D8; }
main > section.dk .steps3 li:nth-child(2) b { background: #FFC61A; color: #1B2533; box-shadow: 0 0 0 2px #FFC61A; }
main > section.dk .steps3 li:nth-child(3) b { background: #7FB0FF; color: #10213A; box-shadow: 0 0 0 2px #7FB0FF; }
main > section.dk .steps3::after { background: linear-gradient(90deg, #E8E4D8, #FFC61A, #7FB0FF); }
@media (max-width: 760px) { main > section.dk .steps3::after { background: linear-gradient(180deg, #E8E4D8, #FFC61A, #7FB0FF); } }
.fact:nth-child(1)::before { background: #FFC61A; } .fact:nth-child(2)::before { background: #7FB0FF; } .fact:nth-child(3)::before { background: #E8E4D8; } .fact:nth-child(4)::before { background: #FFC61A; }
.fact:nth-child(3)::before { background: #8D96A6; }
.band h2 { color: var(--fg-strong); }
.band .btn-quote { background: var(--accent); color: var(--on-accent); }

/* packs: same card color, different top color */
.plan.pack { background: var(--surface); color: var(--fg); }
.plan.pack.p1 { --pc: #FFC61A; } .plan.pack.p2 { --pc: #E8E4D8; } .plan.pack.p3 { --pc: #7FB0FF; }
.plan.pack::before { background-color: var(--pc); height: 12px; }
.plan.pack li::before { border-color: var(--pc); filter: none; }
.plan.pack .pop { background: #FFC61A; color: #1B2533; border-color: #1B2533; }
.plan.pack.featured { outline: 3px solid #FFC61A; outline-offset: 3px; }
.plan.pack .price, .plan.pack h3 { color: var(--fg-strong); }
.plan.pack .for, .plan.pack .save { color: var(--muted); }

/* about page box: no more white */
.sign { background: linear-gradient(115deg, #FFC61A, #FFD84D 50%, #FFB400); color: #1B2533; box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.sign-inner { border-color: #1B2533; }
.sign h2, .sign h3, .sign li { color: #1B2533; }
.shield { background: #1B2533; color: #FFC61A; }
.sign-foot { border-top-color: rgba(27,37,51,.45); color: #1B2533; }

/* footer matches the dark blue family */
footer { background: #0F1620; }

/* ===== offers pop-up ===== */
.sub-back { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8,12,18,.62); opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
.sub-back.show { opacity: 1; }
.sub-card {
  position: relative; width: min(480px, 100%); display: grid; gap: 14px; padding: clamp(22px, 5vw, 34px);
  background: #0F1A2B; color: #D4D9E2; border: 2px solid #F2EFE6; border-radius: 12px; box-shadow: 10px 10px 0 rgba(0,0,0,.45);
  --ink: #F2EFE6; --on-ink: #1B2533; --fg: #D4D9E2; --fg-strong: #fff; --muted: #A8B3C4; --line: #2C4263; --input: #0A121E; --surface: #19273D; --bg: #0F1A2B; color-scheme: dark;
  transform: translateY(24px) scale(.97); transition: transform .35s cubic-bezier(.34, 1.4, .64, 1);
}
.sub-back.show .sub-card { transform: none; }
.sub-card h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); color: #fff; }
.sub-card .hl { background-image: none; background-size: 0 0; color: #FFC61A; -webkit-text-fill-color: currentColor; animation: none; }
.sub-card .label { color: #A8B3C4; }
.sub-p { color: #C3CBD8; }
.sub-card a { color: #FFC61A; }
.sub-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #F2EFE6; border-radius: 8px; cursor: pointer; }
.sub-x:hover { background: rgba(255,255,255,.1); }
.sub-x svg { width: 22px; height: 22px; }
.sub-card .form-actions { margin-top: 6px; }
.sub-card .btn-ghost { color: #F2EFE6; border-color: #F2EFE6; }
.sub-card .btn-ghost:hover { background: #F2EFE6; color: #1B2533; }
.sub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 520px) { .sub-card .form-actions .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .sub-back, .sub-card { transition: opacity .2s ease; transform: none; } }

/* three dark tones that take turns down the page: navy, charcoal, espresso */
main > section.dk.d1 {
  --bg: #25272D; --surface: #30333B; --soft: #3B3E47; --line: #444852; --input: #15171B; --on-ink: #25272D; --shadow: #0A0B0D;
  background: linear-gradient(120deg, #1F2126, #2E3138, #222428, #353840, #1F2126); background-size: 300% 300%;
}
main > section.dk.d2 {
  --bg: #241C16; --surface: #33281F; --soft: #403227; --line: #54432F; --input: #17110D; --on-ink: #241C16; --shadow: #0B0705;
  background: linear-gradient(120deg, #1D1612, #2D2219, #1F1813, #36291D, #1D1612); background-size: 300% 300%;
}
main > section.dk.d1 .steps3 li:nth-child(n) b, main > section.dk.d2 .steps3 li:nth-child(n) b { border-color: var(--bg); }
footer { background: #080D16; }

/* the two floating bubbles on the home page */
.hero { overflow: hidden; }
.blob.b1 { background: radial-gradient(circle at 30% 30%, color-mix(in srgb, #FFC61A 70%, transparent), color-mix(in srgb, #FFB400 25%, transparent) 55%, transparent 70%); }
.blob.b2 { background: radial-gradient(circle at 40% 40%, color-mix(in srgb, #7FB0FF 60%, transparent), color-mix(in srgb, #4A7BD8 22%, transparent) 55%, transparent 72%); width: min(26vw, 280px); }
@media (prefers-reduced-motion: no-preference) {
  .blob.b1 { animation: float 9s ease-in-out infinite, bubble-drift 17s ease-in-out infinite alternate; }
  .blob.b2 { animation: float 7s ease-in-out -2s infinite, bubble-drift 13s ease-in-out -4s infinite alternate-reverse; }
}
@keyframes bubble-drift { from { margin-left: 0; } to { margin-left: -4vw; } }

/* v7: darker blue, then plum and pine green instead of gray and brown */
main > section.dk.d1 {
  --bg: #24173A; --surface: #31204D; --soft: #3E2A60; --line: #4A3472; --input: #150D24; --on-ink: #24173A; --shadow: #0A0512;
  background: linear-gradient(120deg, #1B112D, #2B1B46, #1E1331, #33224F, #1B112D); background-size: 300% 300%;
}
main > section.dk.d2 {
  --bg: #0F2E28; --surface: #174039; --soft: #1F5047; --line: #2A6155; --input: #091D19; --on-ink: #0F2E28; --shadow: #030D0B;
  background: linear-gradient(120deg, #0B231F, #14382F, #0D2824, #194438, #0B231F); background-size: 300% 300%;
}
:root[data-theme="dark"] main > section:first-of-type { background: linear-gradient(120deg, #0E1015, #161922, #10131A, #1B1F2A, #0E1015); background-size: 300% 300%; }

/* ===== v7: deeper darks that sit together ===== */
main > section.dk {
  --bg: #0F1722; --surface: #172233; --soft: #1F2D44; --line: #2A3B57; --input: #0A1019; --on-ink: #0F1722; --shadow: #04070C;
  background: linear-gradient(120deg, #0C131D, #142033, #0E1621, #182640, #0C131D); background-size: 300% 300%;
}
main > section.dk.d1 {
  --bg: #1B1D22; --surface: #25282E; --soft: #2F333A; --line: #3A3E47; --input: #0F1114; --on-ink: #1B1D22; --shadow: #050607;
  background: linear-gradient(120deg, #16181C, #212429, #181A1E, #272A31, #16181C); background-size: 300% 300%;
}
main > section.dk.d2 {
  --bg: #17110D; --surface: #221913; --soft: #2C2119; --line: #3C2D21; --input: #0D0907; --on-ink: #17110D; --shadow: #050302;
  background: linear-gradient(120deg, #120D0A, #1D1510, #140F0B, #241A13, #120D0A); background-size: 300% 300%;
}
:root[data-theme="dark"] main > section:first-of-type { background: linear-gradient(120deg, #0E1013, #15181D, #101216, #1A1D23, #0E1013); background-size: 300% 300%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) main > section:first-of-type { background: linear-gradient(120deg, #0E1013, #15181D, #101216, #1A1D23, #0E1013); background-size: 300% 300%; } }
footer { background: #07090D; }
.sub-card { background: #0F1722; }
.phone-row { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-row a { text-decoration: none; }
.wa-mini { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #25D366; color: #0B3D1F; border: 2px solid #0B3D1F; }
.wa-mini svg { width: 22px; height: 22px; }
.wa-mini:hover { transform: scale(1.1); }
.wa-mini { transition: transform .2s ease; }

/* ===== v8: the gray is now a blue-gray (slate) that sits next to the navy ===== */
main > section.dk.d1 {
  --bg: #19202A; --surface: #232C39; --soft: #2D3847; --line: #384659; --input: #0E131A; --on-ink: #19202A; --shadow: #05080C;
  background: linear-gradient(120deg, #141A22, #1F2834, #161C25, #263140, #141A22); background-size: 300% 300%;
}
:root[data-theme="dark"] main > section:first-of-type { background: linear-gradient(120deg, #0D1117, #141A23, #0F141B, #19212C, #0D1117); background-size: 300% 300%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) main > section:first-of-type { background: linear-gradient(120deg, #0D1117, #141A23, #0F141B, #19212C, #0D1117); background-size: 300% 300%; } }
