/*
 * The page's styles. Colour tokens come from brand.json: the build writes them where the marker below is,
 * for light, dark and high contrast (each following the system in Auto, or chosen by hand).
 */
:root{--bg:#f6f5f1;--surface:#ffffff;--sunken:#efede7;--ink:#15161a;--muted:#53565f;--line:#dedbd3;--accent:#2f4bc4;--on-accent:#ffffff;--accent-soft:#e8ebf9;--focus:#2f4bc4;--bw:1px;--deco:1;--shadow-sm:0 1px 2px rgb(20 22 30/.06),0 2px 8px rgb(20 22 30/.05);--shadow-lg:0 2px 4px rgb(20 22 30/.05),0 18px 48px rgb(20 22 30/.12);--sel-bg:var(--surface);--sel-ink:var(--ink);color-scheme:light}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]):not([data-theme=contrast]){--bg:#0e0f12;--surface:#16181d;--sunken:#121318;--ink:#ecedf0;--muted:#a6aab3;--line:#2c3038;--accent:#a3b4ff;--on-accent:#0e0f12;--accent-soft:#1c2340;--focus:#a3b4ff;--bw:1px;--deco:1;--shadow-sm:0 1px 2px rgb(0 0 0/.5),0 2px 8px rgb(0 0 0/.3);--shadow-lg:0 2px 4px rgb(0 0 0/.4),0 22px 56px rgb(0 0 0/.55);--sel-bg:var(--surface);--sel-ink:var(--ink);color-scheme:dark}:root:not([data-theme=light]):not([data-theme=dark]) .v-dark{display:block!important}:root:not([data-theme=light]):not([data-theme=dark]) .v-light{display:none!important}}
:root[data-theme=dark]{--bg:#0e0f12;--surface:#16181d;--sunken:#121318;--ink:#ecedf0;--muted:#a6aab3;--line:#2c3038;--accent:#a3b4ff;--on-accent:#0e0f12;--accent-soft:#1c2340;--focus:#a3b4ff;--bw:1px;--deco:1;--shadow-sm:0 1px 2px rgb(0 0 0/.5),0 2px 8px rgb(0 0 0/.3);--shadow-lg:0 2px 4px rgb(0 0 0/.4),0 22px 56px rgb(0 0 0/.55);--sel-bg:var(--surface);--sel-ink:var(--ink);color-scheme:dark}
:root[data-theme=dark] .v-dark{display:block!important}:root[data-theme=dark] .v-light{display:none!important}
@media (prefers-contrast:more){:root:not([data-theme=light]):not([data-theme=dark]):not([data-theme=contrast]){--bg:#ffffff;--surface:#ffffff;--sunken:#ffffff;--ink:#000000;--muted:#1f1f1f;--line:#000000;--accent:#0a1a99;--on-accent:#ffffff;--accent-soft:#ffffff;--focus:#000000;--bw:2px;--deco:0;--shadow-sm:none;--shadow-lg:none;--sel-bg:var(--ink);--sel-ink:var(--bg);color-scheme:light}}
@media (prefers-contrast:more) and (prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]):not([data-theme=contrast]){--bg:#000000;--surface:#000000;--sunken:#000000;--ink:#ffffff;--muted:#ededed;--line:#ffffff;--accent:#ffe14d;--on-accent:#000000;--accent-soft:#000000;--focus:#ffe14d;--bw:2px;--deco:0;--shadow-sm:none;--shadow-lg:none;--sel-bg:var(--ink);--sel-ink:var(--bg);color-scheme:dark}}
:root[data-theme=contrast]{--bg:#ffffff;--surface:#ffffff;--sunken:#ffffff;--ink:#000000;--muted:#1f1f1f;--line:#000000;--accent:#0a1a99;--on-accent:#ffffff;--accent-soft:#ffffff;--focus:#000000;--bw:2px;--deco:0;--shadow-sm:none;--shadow-lg:none;--sel-bg:var(--ink);--sel-ink:var(--bg);color-scheme:light}
@media (prefers-color-scheme:dark){:root[data-theme=contrast]{--bg:#000000;--surface:#000000;--sunken:#000000;--ink:#ffffff;--muted:#ededed;--line:#ffffff;--accent:#ffe14d;--on-accent:#000000;--accent-soft:#000000;--focus:#ffe14d;--bw:2px;--deco:0;--shadow-sm:none;--shadow-lg:none;--sel-bg:var(--ink);--sel-ink:var(--bg);color-scheme:dark}}

:root {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", system-ui, sans-serif;
  --display: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Heading", Cambria, Georgia, serif;
  --display-weight: 500;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html:lang(ja) {
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo,
    "Noto Sans JP", "Noto Sans CJK JP", "IPAPGothic", "WenQuanYi Zen Hei", system-ui, sans-serif;
}
html:lang(zh-Hans) {
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Zen Hei", system-ui, sans-serif;
}
html:lang(th) {
  --sans: -apple-system, BlinkMacSystemFont, Thonburi, "Leelawadee UI", "Noto Sans Thai", "Segoe UI", Tahoma, Loma,
    system-ui, sans-serif;
}
html:lang(ja),
html:lang(zh-Hans),
html:lang(th),
html:lang(vi) {
  --display: var(--sans);
  --display-weight: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.18vw, 1.0625rem) / 1.6 var(--sans);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html:lang(th) body {
  line-height: 1.75;
}
/* A visitor whose language isn't English sees the page once it is translated (at most 1.5 s later). */
.i18n-wait body {
  visibility: hidden;
  animation: reveal 0s 1.5s forwards;
}
@keyframes reveal {
  to {
    visibility: visible;
  }
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  hyphens: auto;
  text-wrap: balance;
}
html:lang(ja) body {
  word-break: auto-phrase;
}
p {
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--accent);
  text-decoration-thickness: max(1px, 0.06em);
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ico,
.fi,
.tile-art svg,
.modules svg,
.orbit use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}

/* ---------- Audience ---------- */
:root:not([data-for="agency"]) .for-agency,
:root[data-for="agency"] .for-biz {
  display: none !important;
}

/* ---------- Header ---------- */
.top {
  position: relative;
  z-index: 20;
  border-bottom: var(--bw) solid var(--line);
  background: var(--bg);
}
.top-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "mark prefs" "aud aud";
  align-items: center;
  gap: 12px 16px;
  padding-block: 12px;
}
.top .mark {
  grid-area: mark;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.mark-glyph {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.prefs {
  grid-area: prefs;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aud {
  grid-area: aud;
  justify-self: stretch;
}
.aud label {
  flex: 1;
}
@media (min-width: 820px) {
  .top {
    position: sticky;
    top: 0;
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
  .top-in {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "mark aud prefs";
    min-height: var(--header-h);
    padding-block: 0;
  }
  .prefs {
    justify-self: end;
  }
  .aud {
    justify-self: center;
  }
  .seg label {
    white-space: nowrap;
  }
}

/* Segmented controls: native radio groups (arrow keys move between options). */
.seg {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  margin: 0;
  padding: 3px;
  min-width: 0;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  background: var(--sunken);
}
.seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.seg label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.seg label:hover {
  color: var(--ink);
}
.seg input:checked + label {
  background: var(--sel-bg);
  color: var(--sel-ink);
  box-shadow: var(--shadow-sm);
}
.seg input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.theme label {
  padding: 0;
  width: 34px;
}
.theme .ico {
  width: 18px;
  height: 18px;
}

.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.lang .ico {
  position: absolute;
  left: 11px;
  width: 17px;
  height: 17px;
  pointer-events: none;
}
.lang::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}
.lang select {
  appearance: none;
  min-height: 42px;
  max-width: 11.5rem;
  padding: 0 32px 0 34px;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink);
  font: 600 0.875rem/1 var(--sans);
  cursor: pointer;
  text-overflow: ellipsis;
}
.lang select:hover {
  border-color: var(--muted);
}
.lang option {
  background: var(--surface);
  color: var(--ink);
}
/* Narrow screens: the header's language picker shows its globe only (the footer has the full one). */
@media (max-width: 480px) {
  .top .lang select {
    width: 42px;
    padding: 0;
    color: transparent;
  }
  .top .lang .ico {
    left: 12px;
    color: var(--ink);
  }
  .top .lang::after {
    display: none;
  }
  .theme label {
    width: 32px;
    min-width: 32px;
  }
}
@media (max-width: 360px) {
  .top-in {
    gap: 10px 10px;
  }
  .prefs {
    gap: 6px;
  }
  .mark {
    gap: 8px;
    font-size: 0.95rem;
  }
  .mark-glyph {
    width: 24px;
    height: 24px;
  }
  .top .lang select {
    width: 40px;
  }
  .top .lang .ico {
    left: 11px;
  }
  .theme {
    padding: 2px;
  }
  .theme label {
    width: 28px;
    min-width: 28px;
  }
  .aud label {
    min-width: 0;
    padding: 0 8px;
    font-size: 0.8125rem;
  }
}

/* ---------- Buttons and small parts ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: var(--bw) solid transparent;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn.primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--sunken);
}
.btn.big {
  min-height: 58px;
  padding: 0 32px;
  font-size: 1.0625rem;
}
.btn .ico {
  width: 18px;
  height: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 2px 11px;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}
.pill.soft {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: var(--accent-soft);
  color: var(--accent);
}
.eyebrow,
.kicker {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html:lang(ja) :is(.eyebrow, .kicker),
html:lang(zh-Hans) :is(.eyebrow, .kicker),
html:lang(th) :is(.eyebrow, .kicker) {
  letter-spacing: 0.04em;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}
.fine {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border: var(--bw) solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.95rem;
}
.callout .ico {
  margin-top: 0.15em;
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(40px, 8vw, 112px) clamp(48px, 8vw, 104px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -1px 0 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  opacity: calc(0.55 * var(--deco));
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-text {
  max-width: 44rem;
}
.hero h1 {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(2.35rem, 1.45rem + 4.3vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}
html:lang(ja) .hero h1,
html:lang(zh-Hans) .hero h1,
html:lang(th) .hero h1 {
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.9rem);
  line-height: 1.18;
  letter-spacing: 0;
}
.hero .lead {
  margin-top: 22px;
  max-width: 36rem;
}
.hero .note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-art {
  justify-self: center;
  width: min(100%, 300px);
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .hero-art {
    width: min(100%, 470px);
  }
}
.orbit {
  width: 100%;
  height: auto;
  overflow: visible;
}
.orbit .ring {
  fill: none;
  stroke: var(--line);
  stroke-width: var(--bw);
}
.orbit .faint {
  stroke-dasharray: 2 7;
}
.orbit .dash {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.45;
  stroke-width: 1.2;
  stroke-dasharray: 1 11;
  stroke-linecap: round;
}
.orbit .spark {
  fill: var(--accent);
}
.orbit .spark.soft {
  fill: var(--muted);
}
.orbit .spin {
  transform-origin: 240px 240px;
  animation: spin 50s linear infinite;
}
.orbit .rev {
  animation-duration: 70s;
  animation-direction: reverse;
}
.orbit .spoke {
  fill: none;
  stroke: var(--line);
  stroke-width: var(--bw);
  stroke-dasharray: 3 6;
}
.orbit .core-disc {
  fill: var(--accent);
}
.orbit .pulse {
  fill: var(--accent);
  opacity: 0;
  transform-origin: 240px 240px;
  animation: pulse 4s var(--ease) infinite;
}
.orbit .core-mark {
  color: var(--on-accent);
  stroke-width: 1.5;
}
.orbit .node rect {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: var(--bw);
}
.orbit .node use {
  color: var(--ink);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: calc(0.22 * var(--deco));
  }
  100% {
    transform: scale(2.7);
    opacity: 0;
  }
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 46rem;
}
.section-head h2,
.product h2,
.how h2,
.faq h2,
.end h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
html:lang(ja) :is(.section-head h2, .product h2, .how h2, .faq h2, .end h2),
html:lang(zh-Hans) :is(.section-head h2, .product h2, .how h2, .faq h2, .end h2),
html:lang(th) :is(.section-head h2, .product h2, .how h2, .faq h2, .end h2) {
  font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0;
}
.section-head .kicker + h2 {
  margin-top: 14px;
}
.section-head .lead {
  margin-top: 16px;
}
section[id] {
  scroll-margin-top: 24px;
}
@media (min-width: 820px) {
  section[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
  }
}

/* ---------- The four apps ---------- */
.suite {
  padding-bottom: clamp(48px, 7vw, 88px);
}
.bento {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}
@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .t-sub,
  .t-ch {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .t-sub {
    grid-column: span 4;
  }
  .t-pg {
    grid-column: span 2;
  }
  .t-pay {
    grid-column: span 2;
  }
  .t-ch {
    grid-column: span 4;
  }
}
.tile a {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  min-height: 236px;
  padding: 26px;
  overflow: hidden;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tile a:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--line));
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.tile a:focus-visible {
  outline-offset: 4px;
}
.tile-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tile-ico .ico {
  width: 22px;
  height: 22px;
}
.tile-name {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.tile-line {
  max-width: 26rem;
  color: var(--muted);
}
.tile .pill {
  margin-top: auto;
}
.tile-go {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 22px;
  height: 22px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.tile a:hover .tile-go {
  color: var(--ink);
  transform: translateX(4px);
}
.tile-art {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: var(--deco);
}
.mods {
  right: 26px;
  bottom: 26px;
  display: none;
  grid-template-columns: repeat(4, 46px);
  gap: 10px;
  color: var(--muted);
}
.mods svg {
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.mods svg:nth-child(3n + 1) {
  color: var(--accent);
}
@media (min-width: 760px) {
  .mods {
    display: grid;
  }
}
.bubbles {
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 7px;
  width: 104px;
}
.bubbles i {
  display: block;
  height: 18px;
  border-radius: 12px 12px 12px 4px;
  background: var(--sunken);
  border: 1px solid var(--line);
}
.bubbles i:nth-child(1) {
  width: 78%;
}
.bubbles i:nth-child(2) {
  width: 64%;
  justify-self: end;
  border-radius: 12px 12px 4px 12px;
  border-color: transparent;
  background: var(--accent-soft);
}
.bubbles i:nth-child(3) {
  width: 90%;
}
.t-pg .tile-line,
.t-pay .tile-line {
  max-width: 15rem;
}
@media (max-width: 419px) {
  .bubbles,
  .qr {
    display: none;
  }
}
@media (min-width: 420px) {
  .t-pg .tile-line,
  .t-pay .tile-line {
    max-width: min(15rem, calc(100% - 112px));
  }
}
.qr {
  right: 20px;
  bottom: 20px;
  color: var(--muted);
  opacity: calc(0.45 * var(--deco));
}
.qr svg {
  width: 92px;
  height: 92px;
  stroke-width: 0.9;
}
.route {
  right: 34px;
  bottom: 40px;
  display: none;
  width: 250px;
  height: 120px;
}
.route::before {
  content: "";
  position: absolute;
  inset: 12px 10px;
  border: 1.5px dashed var(--line);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 60px 0 0;
}
.route i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 1px var(--line);
}
.route i:nth-child(1) {
  left: 3px;
  top: 5px;
}
.route i:nth-child(2) {
  left: 45%;
  top: 5px;
}
.route i:nth-child(3) {
  right: 3px;
  top: 52%;
}
.route i:nth-child(4) {
  right: 3px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  margin-right: -4px;
  background: var(--accent);
}
@media (min-width: 760px) {
  .route {
    display: block;
  }
}

/* ---------- Agencies ---------- */
.agency {
  padding-block: clamp(56px, 9vw, 120px);
  border-block: var(--bw) solid var(--line);
  background: var(--sunken);
}
.cards {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .cards.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.cards li {
  padding: 24px;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.cards h3 {
  margin-top: 18px;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.3;
}
.cards p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.fi {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------- Product sections ---------- */
.product {
  display: grid;
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(56px, 8vw, 112px);
  border-top: var(--bw) solid var(--line);
}
.p-text {
  max-width: 36rem;
}
.product h2 {
  margin-top: 14px;
}
.app-name {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: 0;
}
.product h2 [data-i18n] {
  display: block;
}
.product .lead {
  margin-top: 18px;
}
.feats {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.feats li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.feats h3 {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}
.feats p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (min-width: 960px) {
  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .product.flip .p-text {
    order: 2;
  }
  .p-media {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

/* Device and window frames around the screenshots. */
.device {
  margin: 0;
  padding: 3.2%;
  border-radius: 13% / 6%;
  background: #0b0c0f;
  box-shadow: var(--shadow-lg), 0 0 0 var(--bw) var(--line);
}
.device img {
  width: 100%;
  height: auto;
  border-radius: 10.5% / 4.8%;
}
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4%;
  padding-block: 6% 2%;
}
.phones .device {
  width: 31.5%;
  max-width: 236px;
}
.phones .lift {
  transform: translateY(-7%);
}
.window {
  margin: 0;
  overflow: hidden;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: var(--bw) solid var(--line);
  background: var(--sunken);
}
.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.window img {
  width: 100%;
  height: auto;
}
.v-dark {
  display: none !important;
}
.stage {
  position: relative;
  padding-bottom: 12%;
}
.stage .device.mini {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 34%;
  max-width: 230px;
  padding: 2.4%;
  border-radius: 9% / 6%;
}
.stage .device.mini img {
  border-radius: 7% / 4.6%;
}
.stage.stack {
  display: grid;
  padding-bottom: 0;
}
.stage.stack .window {
  grid-area: 1 / 1;
  width: 84%;
}
.stage.stack .back {
  position: relative;
  z-index: 1;
  justify-self: end;
}
.stage.stack .front {
  position: relative;
  z-index: 2;
  margin-top: 22%;
}
@media (max-width: 520px) {
  .stage .device.mini {
    right: 0;
    width: 38%;
  }
}

.tour {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 980px);
  margin: 0;
}
.tour-frame {
  position: relative;
  overflow: hidden;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  background: #0b0c0f;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.tour-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-play {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 4%, 32px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 22px 6px 6px;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 650 0.95rem/1.2 var(--sans);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transform: translateX(-50%);
  transition: transform 0.2s var(--ease);
  white-space: nowrap;
}
.tour-play:hover {
  transform: translateX(-50%) translateY(-2px);
}
.tour-play-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.tour-play-ico .ico {
  width: 18px;
  height: 18px;
  stroke: none;
}
@media (max-width: 520px) {
  .tour-play {
    min-height: 44px;
    gap: 10px;
    padding: 4px 16px 4px 4px;
    font-size: 0.875rem;
  }
  .tour-play-ico {
    width: 34px;
    height: 34px;
  }
}
.tour figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* GoHighLevel sub-accounts: the tools as an icon system (no third-party logos or screenshots). */
.modules {
  position: relative;
  display: grid;
  grid-auto-flow: row dense;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.modules::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: -1;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  opacity: var(--deco);
}
.modules li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.modules svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--sunken);
  color: var(--accent);
}
.modules .wide,
.modules .wide-sm {
  grid-column: 1 / -1;
}
.modules span {
  min-width: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}
@media (max-width: 359px) {
  .modules {
    grid-template-columns: minmax(0, 1fr);
  }
  .modules li {
    min-height: 54px;
  }
}
@media (min-width: 560px) {
  .modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .modules .wide {
    grid-column: span 2;
  }
  .modules .wide-sm {
    grid-column: auto;
  }
}
@media (min-width: 960px) {
  .p-sub {
    align-items: center;
  }
  .p-sub .p-media {
    position: static;
  }
}

/* ---------- How it works ---------- */
.how {
  padding-block: clamp(56px, 9vw, 120px);
  border-top: var(--bw) solid var(--line);
}
.steps {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.steps li {
  position: relative;
  padding: 28px 26px 30px;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: var(--display-weight);
  line-height: 1;
}
.steps h3 {
  font-size: 1.12rem;
  font-weight: 650;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Questions ---------- */
.faq {
  display: grid;
  gap: 28px;
  padding-block: clamp(56px, 9vw, 120px);
  border-top: var(--bw) solid var(--line);
}
@media (min-width: 960px) {
  .faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
.qa details {
  border-bottom: var(--bw) solid var(--line);
}
.qa details:first-of-type,
:root:not([data-for="agency"]) .qa details.for-agency + details {
  border-top: var(--bw) solid var(--line);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary .ico {
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}
.qa details[open] summary .ico {
  transform: rotate(180deg);
}
.qa p {
  max-width: 44rem;
  padding: 0 0 22px;
  color: var(--muted);
}

/* ---------- Closing call to action ---------- */
.end {
  position: relative;
  overflow: hidden;
  border-top: var(--bw) solid var(--line);
  background: var(--sunken);
}
.end::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1100px, 160vw);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 70px color-mix(in srgb, var(--line) 25%, transparent),
    0 0 0 140px color-mix(in srgb, var(--line) 12%, transparent);
  transform: translate(-50%, -38%);
  opacity: var(--deco);
  pointer-events: none;
}
.end-in {
  position: relative;
  display: grid;
  justify-items: center;
  padding-block: clamp(72px, 12vw, 160px);
  text-align: center;
}
.end h2 {
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 4rem);
}
.end .lead {
  max-width: 34rem;
  margin-top: 18px;
}
.end .actions {
  justify-content: center;
  margin-top: 34px;
}

/* ---------- Footer ---------- */
.foot {
  border-top: var(--bw) solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-in {
  display: grid;
  gap: 36px;
  padding-block: 48px 112px;
}
@media (min-width: 820px) {
  .foot-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .tm {
    grid-column: 1 / -1;
  }
}
.foot-brand {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.foot-prefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.foot-prefs .foot-h {
  flex-basis: 100%;
}
.foot-h {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 650;
}
.foot-legal ul {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.foot-legal li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.foot-legal .app-name {
  display: inline;
  min-width: 8.5rem;
  margin: 0;
  color: var(--ink);
  font-size: inherit;
  font-weight: 600;
}
.foot-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
}
.foot-legal a:hover {
  color: var(--ink);
}
.tm {
  padding-top: 24px;
  border-top: var(--bw) solid var(--line);
  font-size: 0.85rem;
}

/* ---------- Windows high contrast and other forced colours ---------- */
@media (forced-colors: active) {
  :root {
    --bw: 2px;
  }
  .btn,
  .seg,
  .lang select,
  .tile a,
  .cards li,
  .steps li,
  .modules li,
  .window,
  .device,
  .tour-play {
    border: 2px solid CanvasText;
  }
  .btn.primary {
    border-color: ButtonText;
  }
  .seg input:checked + label {
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }
  .orbit .pulse,
  .orbit .spin,
  .tile-art,
  .hero::before,
  .end::before,
  .modules::before {
    display: none;
  }
  .orbit .core-disc {
    fill: Canvas;
    stroke: CanvasText;
    stroke-width: 2;
  }
  .orbit .core-mark {
    color: CanvasText;
  }
  .orbit .ring,
  .orbit .spoke,
  .orbit .node rect {
    stroke: CanvasText;
  }
  .fi,
  .tile-ico,
  .modules svg {
    border: 1px solid CanvasText;
  }
}

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .orbit .pulse {
    display: none;
  }
}

@media print {
  .top,
  .tour,
  .foot-prefs,
  .hero-art {
    display: none !important;
  }
}
