/* Glyceral marketing site — Brand Guidelines v1.0 (17 Oct 2026).
   Palette: purple #7C3AED, lavender #A78BFA, midnight #0F172A, soft gray #D1D5DB, off-white #F8FAFC.
   Type: system sans. Logo is artwork (closed ring + smile arc + purple dot).
   App pages may set --h to tint product accents only; chrome stays on-brand. */
:root {
  --purple: #7C3AED;
  --lavender: #A78BFA;
  --midnight: #0F172A;
  --soft-gray: #D1D5DB;
  --off-white: #F8FAFC;
  --h: 291; /* product accent hue; suite default ≈ purple */
  --bg: var(--off-white);
  --bg-2: #eef2ff;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: var(--midnight);
  --text: #1e293b;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: var(--soft-gray);
  --acc: var(--purple);
  --acc-ink: #6d28d9; /* darker purple for text on light (brand purple kept for fills) */
  --acc-soft: #ddd6fe;
  --acc-bg: #ede9fe;
  --deep-1: var(--midnight);
  --deep-2: var(--purple);
  --on-deep: var(--off-white);
  --on-deep-2: var(--lavender);
  --ok: #1f7a4d; --ok-bg: #e2f6ea;
  --warn: #b55d00; --warn-bg: #fff2dd;
  --crit: #c8243c; --crit-bg: #fdebee;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 14px 34px -18px rgb(15 23 42 / .18);
  --r: 22px; --r-sm: 12px;
  --f-display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
/* Product pages: keep brand neutrals; shift accent toward the app hue */
html[style*="--h:"] {
  --acc: oklch(0.55 0.19 var(--h));
  --acc-ink: oklch(0.42 0.17 var(--h));
  --acc-soft: oklch(0.88 0.06 var(--h));
  --acc-bg: oklch(0.95 0.03 var(--h));
  --bg-2: oklch(0.97 0.02 var(--h));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--midnight);
    --bg-2: #1e293b;
    --surface: #1e293b;
    --surface-2: #334155;
    --ink: var(--off-white);
    --text: #e2e8f0;
    --muted: #cbd5e1;
    --faint: #94a3b8;
    --line: #334155;
    --acc: var(--purple);
    --acc-ink: var(--lavender); /* lavender on midnight passes 6.56:1; never purple text on midnight */
    --acc-soft: #4c1d95;
    --acc-bg: #2e1065;
    --deep-1: #020617;
    --deep-2: var(--purple);
    --on-deep: var(--off-white);
    --on-deep-2: var(--lavender);
    --ok: #6fd3a0; --ok-bg: #12382a; --warn: #f2b46a; --warn-bg: #3a2810; --crit: #ff8a9a; --crit-bg: #3d1820;
    --shadow: 0 1px 2px #0004, 0 14px 34px -18px #000a;
    color-scheme: dark;
  }
  html[style*="--h:"]:not([data-theme="light"]) {
    --acc: oklch(0.72 0.15 var(--h));
    --acc-ink: oklch(0.82 0.11 var(--h));
    --acc-soft: oklch(0.4 0.1 var(--h));
    --acc-bg: oklch(0.28 0.06 var(--h));
  }
}
html[style*="--h:"][data-theme="dark"] {
  --acc: oklch(0.72 0.15 var(--h));
  --acc-ink: oklch(0.82 0.11 var(--h));
  --acc-soft: oklch(0.4 0.1 var(--h));
  --acc-bg: oklch(0.28 0.06 var(--h));
}
:root[data-theme="dark"] {
  --bg: var(--midnight);
  --bg-2: #1e293b;
  --surface: #1e293b;
  --surface-2: #334155;
  --ink: var(--off-white);
  --text: #e2e8f0;
  --muted: #cbd5e1;
  --faint: #94a3b8;
  --line: #334155;
  --acc: var(--purple);
  --acc-ink: var(--lavender);
  --acc-soft: #4c1d95;
  --acc-bg: #2e1065;
  --deep-1: #020617;
  --deep-2: var(--purple);
  --on-deep: var(--off-white);
  --on-deep-2: var(--lavender);
  --ok: #6fd3a0; --ok-bg: #12382a; --warn: #f2b46a; --warn-bg: #3a2810; --crit: #ff8a9a; --crit-bg: #3d1820;
  --shadow: 0 1px 2px #0004, 0 14px 34px -18px #000a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 420px at 12% -10%, rgb(124 58 237 / .08), transparent 55%),
    radial-gradient(700px 380px at 92% 0%, rgb(167 139 250 / .12), transparent 50%),
    linear-gradient(180deg, var(--bg-2) 0, var(--bg) 560px);
  background-repeat: no-repeat;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 60ch; line-height: 1.65; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: 48px; }
.stack { display: grid; gap: 18px; }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.eyebrow { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc-ink); }
.mono { font-family: var(--f-mono); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 20px; font: 600 15px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--midnight); color: var(--off-white); }
.btn--acc { background: var(--acc); color: var(--off-white); box-shadow: 0 10px 24px -12px var(--acc); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--light { background: var(--off-white); color: var(--midnight); }
.btn--outline-light { color: var(--off-white); border-color: rgb(248 250 252 / .35); background: rgb(248 250 252 / .06); }
.btn svg { width: 16px; height: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 32px; height: auto; display: block; }
.brand__mark--on-dark, .brand__word--on-dark { display: none; }
.brand__word { height: 18px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__mark:not(.brand__mark--on-dark),
  :root:not([data-theme="light"]) .brand__word:not(.brand__word--on-dark) { display: none; }
  :root:not([data-theme="light"]) .brand__mark--on-dark,
  :root:not([data-theme="light"]) .brand__word--on-dark { display: block; }
}
:root[data-theme="dark"] .brand__mark:not(.brand__mark--on-dark),
:root[data-theme="dark"] .brand__word:not(.brand__word--on-dark) { display: none; }
:root[data-theme="dark"] .brand__mark--on-dark,
:root[data-theme="dark"] .brand__word--on-dark { display: block; }
:root[data-theme="light"] .brand__mark--on-dark,
:root[data-theme="light"] .brand__word--on-dark { display: none; }
:root[data-theme="light"] .brand__mark:not(.brand__mark--on-dark),
:root[data-theme="light"] .brand__word:not(.brand__word--on-dark) { display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 520; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--acc-bg); color: var(--acc-ink); }
.nav .btn { margin-left: 8px; padding: 10px 16px; font-size: 14px; }
.nav .btn:hover { background: var(--midnight); color: var(--off-white); }
.menu-btn { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { padding-block: 40px 24px; }
.hero__panel { position: relative; overflow: hidden; border-radius: 32px; color: var(--on-deep); background:
  radial-gradient(110% 80% at 8% 0%, rgb(167 139 250 / .45), transparent 55%),
  radial-gradient(80% 70% at 100% 100%, rgb(124 58 237 / .55), transparent 50%),
  linear-gradient(135deg, var(--midnight) 0%, #1e1b4b 48%, var(--purple) 100%);
  padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero__panel::before {
  content: ""; position: absolute; inset: -20% auto auto 55%; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgb(248 250 252 / .12); pointer-events: none;
}
.hero__panel::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--purple);
  top: 18%; right: 14%; box-shadow: 0 0 0 10px rgb(124 58 237 / .15); pointer-events: none;
}
.hero__panel h1 { color: var(--off-white); }
.hero__panel .lead { color: var(--lavender); }
.hero__panel .eyebrow { color: var(--lavender); }
.hero__copy { display: grid; gap: 22px; min-width: 0; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--on-deep-2); }
.hero__facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.85 0.14 150); }
@media (max-width: 900px) { .hero__panel { grid-template-columns: 1fr; } }

/* orbit of seven icons */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 440px); justify-self: center; max-width: 100%; }
.orbit__ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed oklch(1 0 0 / .22); }
.orbit__ring--2 { inset: 30%; border-style: solid; border-color: oklch(1 0 0 / .1); }
.orbit__core { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center; background: rgb(248 250 252 / .08); border: 1px solid rgb(248 250 252 / .16); text-align: center; }
.orbit__core b { display: block; font: 700 clamp(28px, 4vw, 40px)/1 var(--f-display); color: var(--off-white); }
.orbit__core span { font: 600 10px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.orbit__item { position: absolute; width: 21%; aspect-ratio: 1; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; text-decoration: none; transition: transform .25s; }
.orbit__item img { width: 100%; border-radius: 26%; box-shadow: 0 16px 30px -12px oklch(0.1 0.05 var(--h) / .7); }
.orbit__item span { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; color: #fff; background: oklch(0 0 0 / .25); padding: 4px 7px; border-radius: 999px; white-space: nowrap; }
.orbit__item:hover { transform: scale(1.07); }
@media (prefers-reduced-motion: no-preference) {
  .orbit__item { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.85s); }
  @keyframes bob { 50% { translate: -50% -56%; } }
}

/* ---------- app hero (product page) ---------- */
.apphero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.apphero__icon { width: 84px; height: 84px; border-radius: 24px; box-shadow: var(--shadow); }
.apphero__copy { display: grid; gap: 20px; min-width: 0; }
.apphero__id { display: flex; align-items: center; gap: 16px; }
.code { display: inline-flex; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; padding: 6px 9px; border-radius: 8px; background: var(--acc-bg); color: var(--acc-ink); }
@media (max-width: 900px) { .apphero { grid-template-columns: 1fr; } }

/* ---------- ticker of codes ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker__in { display: flex; gap: 0; width: max-content; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font: 600 13px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); white-space: nowrap; }
.ticker__item i { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.6 0.18 var(--hh)); }
.ticker__item small { font: 500 12px/1 var(--f-body); letter-spacing: 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .ticker__in { animation: tick 46s linear infinite; } .ticker:hover .ticker__in { animation-play-state: paused; } @keyframes tick { to { transform: translateX(-50%); } } }

/* ---------- app cards ---------- */
.apps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.appcard { --hh: var(--h); position: relative; display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; overflow: hidden; min-width: 0; }
.appcard::after { content: ""; position: absolute; inset: 0 0 auto; height: 120px; background: radial-gradient(80% 100% at 0 0, oklch(0.7 0.15 var(--hh) / .16), transparent 70%); pointer-events: none; }
.appcard:hover { transform: translateY(-3px); border-color: oklch(0.7 0.12 var(--hh) / .6); }
.appcard__top { display: flex; align-items: center; gap: 14px; }
.appcard__top img { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.appcard__code { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; color: oklch(0.5 0.17 var(--hh)); }
.appcard h3 { margin-top: 4px; }
.appcard p { color: var(--muted); font-size: 15px; }
.appcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); margin-top: auto; }
.appcard__foot b { color: var(--ink); font-weight: 600; }
.appcard__go { color: oklch(0.5 0.17 var(--hh)); font-weight: 600; }
:root[data-theme="dark"] .appcard__code, :root[data-theme="dark"] .appcard__go { color: oklch(0.8 0.12 var(--hh)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .appcard__code, :root:not([data-theme="light"]) .appcard__go { color: oklch(0.8 0.12 var(--hh)); } }

/* ---------- principles ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.pillar { padding: 28px 26px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.pillar__k { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc-ink); }
.pillar h3 { font-size: 1.15rem; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; gap: 32px; } .split--rev > :first-child { order: 0; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--acc-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

/* ---------- features grid ---------- */
.feats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.feat__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-bg); color: var(--acc-ink); }
.feat__ico svg { width: 20px; height: 20px; }
.feat p { color: var(--muted); font-size: 15px; }
.tag { display: inline-flex; align-self: start; justify-self: start; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; padding: 5px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- mock admin kit (matches the apps) ---------- */
.kit { --k-r: 20px; font-family: var(--f-body); font-size: 14px; color: var(--text); }
.kcard { background: var(--surface); border-radius: var(--k-r); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px 22px; display: grid; gap: 14px; min-width: 0; }
.kcard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.kcard__title { font: 620 15px/1.2 var(--f-body); color: var(--ink); letter-spacing: -.005em; margin: 0; }
.kcard__aside { font-size: 13px; color: var(--muted); }
.kstack { display: grid; gap: 14px; }
.kgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 640px) { .kgrid { grid-template-columns: 1fr; } }
.kbanner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--k-r); color: var(--off-white); background: radial-gradient(90% 140% at 0 0, rgb(167 139 250 / .45), transparent 60%), linear-gradient(120deg, var(--deep-1), var(--deep-2)); }
.kbanner__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: oklch(1 0 0 / .16); flex: none; }
.kbanner__ico svg { width: 18px; height: 18px; }
.kbanner__eb { font: 550 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: oklch(0.86 0.06 var(--h)); margin-bottom: 4px; }
.kbanner__tx { font-size: 14px; font-weight: 520; line-height: 1.35; }
.kbanner__cta { margin-left: auto; background: #fff; color: oklch(0.42 0.17 var(--h)); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.kpill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 520; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.kpill--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kpill--ok { background: var(--ok-bg); color: var(--ok); }
.kpill--warn { background: var(--warn-bg); color: var(--warn); }
.kpill--crit { background: var(--crit-bg); color: var(--crit); }
.kpill--info { background: var(--acc-bg); color: var(--acc-ink); }
.kbars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; align-items: end; height: 130px; }
.kbar { display: grid; gap: 8px; justify-items: center; }
.kbar__t { width: min(30px, 100%); height: 100px; border-radius: 999px; background: var(--surface-2); display: flex; align-items: flex-end; overflow: hidden; }
.kbar__t i { display: block; width: 100%; height: var(--v); border-radius: 999px; background: linear-gradient(180deg, var(--acc-soft), oklch(0.8 0.08 var(--h))); }
.kbar--now .kbar__t i { background: linear-gradient(180deg, oklch(0.62 0.19 var(--h)), oklch(0.47 0.2 calc(var(--h) + 8))); }
.kbar span { font-size: 11.5px; color: var(--faint); }
.kstat { display: grid; gap: 2px; }
.kstat b { font: 650 26px/1.1 var(--f-body); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kstat span { font-size: 12.5px; color: var(--muted); }
.kstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.krow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.krow:first-child { border-top: 0; }
.krow__main { flex: 1; min-width: 0; }
.krow__t { color: var(--ink); font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.krow__s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kav { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11.5px; font-weight: 650; color: var(--acc-ink); background: var(--acc-bg); }
.kmeter { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.kmeter i { display: block; height: 100%; width: var(--v); background: var(--acc); border-radius: inherit; }
.kchips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kchip { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); flex: none; position: relative; }
.kchip--on { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.kchip--sold::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top right, transparent calc(50% - 1px), #fff calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.kstars { color: oklch(0.72 0.17 70); letter-spacing: 1px; font-size: 14px; }
.kfield { display: grid; gap: 6px; }
.kfield label, .kfield .kl { font-size: 12.5px; font-weight: 560; color: var(--ink); }
.kinput { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--surface); color: var(--text); font-size: 13.5px; min-height: 38px; display: flex; align-items: center; gap: 8px; }
.kinput--focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-bg); }
.ktoggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ktoggle:first-child { border-top: 0; }
.ktoggle__sw { width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.ktoggle__sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0003; transition: transform .2s; }
.ktoggle.is-on .ktoggle__sw { background: var(--acc); }
.ktoggle.is-on .ktoggle__sw::after { transform: translateX(16px); }
.kbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; background: var(--ink); color: var(--bg); white-space: nowrap; }
.kbtn--soft { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.kbtn--acc { background: var(--acc); color: #fff; }
.ksteps { display: grid; gap: 0; }
.kstep { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.kstep:first-child { border-top: 0; }
.kstep__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed var(--faint); }
.kstep.is-done .kstep__dot { border: 0; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.kstep.is-done .kstep__t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.kstep__t { color: var(--ink); font-weight: 550; font-size: 13.5px; }
.ktabs { display: inline-flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; }
.ktabs span { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); font-weight: 550; }
.ktabs .is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #0001; }
.kdonut { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; }
.kdonut svg { width: 110px; height: 110px; rotate: -90deg; }
.ksmall { font-size: 12.5px; color: var(--muted); }

/* ---------- walkthrough player ---------- */
.wt { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.wt__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.wt__dots { display: flex; gap: 6px; flex: none; }
.wt__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.wt__url { flex: 1; min-width: 0; font: 500 12px/1 var(--f-mono); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt__body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 420px; position: relative; }
.wt__side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: 13px; }
.wt__app { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; font-weight: 650; color: var(--ink); font-size: 13px; }
.wt__app img { width: 22px; height: 22px; border-radius: 6px; }
.wt__side span { padding: 7px 10px; border-radius: 8px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt__side span.is-on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px #0001; }
.wt__main { position: relative; padding: 20px; background: linear-gradient(180deg, var(--bg-2), var(--bg) 300px); min-width: 0; overflow: hidden; }
.wt__screen { display: none; gap: 14px; }
.wt__screen.is-on { display: grid; animation: wtIn .35s ease both; }
@keyframes wtIn { from { opacity: .3; transform: translateY(6px); } }
.wt__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wt__h b { font: 650 18px/1.2 var(--f-body); color: var(--ink); letter-spacing: -.01em; }
.wt__cursor { position: absolute; left: 60%; top: 60%; width: 22px; height: 22px; z-index: 5; pointer-events: none; transition: left .9s cubic-bezier(.6,.05,.3,1), top .9s cubic-bezier(.6,.05,.3,1); filter: drop-shadow(0 2px 3px #0005); }
.wt__cursor::after { content: ""; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--acc); opacity: 0; }
.wt__cursor.is-click::after { animation: ripple .55s ease-out; }
@keyframes ripple { 0% { opacity: .55; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
[data-t].is-hit { outline: 2px solid var(--acc); outline-offset: 2px; }
.wt__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.wt__play { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.wt__play svg { width: 16px; height: 16px; }
.wt__cap { display: grid; gap: 8px; min-width: 0; }
.wt__capt { font-size: 14.5px; color: var(--ink); font-weight: 520; min-height: 2.6em; }
.wt__capt small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--acc-ink); text-transform: uppercase; margin-bottom: 5px; }
.wt__prog { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
.wt__prog button { height: 22px; border: 0; background: none; padding: 9px 0; cursor: pointer; }
.wt__prog button i { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.wt__prog button i b { display: block; height: 100%; width: 0; background: var(--acc); }
.wt__prog button.is-done i b { width: 100%; }
.wt__prog button.is-on i b { width: 100%; transition: width var(--dur, 4.8s) linear; }
.wt.is-paused .wt__prog button.is-on i b { transition: none; }
@media (max-width: 720px) { .wt__body { grid-template-columns: 1fr; } .wt__side { display: none; } .wt__main { padding: 14px; } }

/* theme editor mock */
.te { display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); min-height: 330px; }
.te__panel { border-right: 1px solid var(--line); padding: 12px; display: grid; gap: 4px; align-content: start; font-size: 12.5px; }
.te__panel .kl { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 6px 6px 8px; }
.te__item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text); }
.te__item--add { color: var(--acc-ink); font-weight: 600; }
.te__item--new { background: var(--acc-bg); color: var(--acc-ink); font-weight: 600; }
.te__item img { width: 18px; height: 18px; border-radius: 5px; }
.te__prev { padding: 16px; background: var(--surface-2); display: grid; gap: 10px; align-content: start; position: relative; }
.te__pop { position: absolute; left: 10px; top: 12px; width: min(240px, 90%); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; z-index: 2; font-size: 12.5px; }
.te__save { position: absolute; right: 12px; top: 12px; }
.pp { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
.pp__img { aspect-ratio: 4/5; border-radius: 10px; background: linear-gradient(160deg, var(--acc-soft), var(--acc-bg)); }
.pp__l { height: 9px; border-radius: 5px; background: var(--line); }
@media (max-width: 720px) { .te { grid-template-columns: 1fr; } .te__panel { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- video slot ---------- */
.video { display: grid; gap: 14px; }
.video__frame { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #000; max-width: 100%; }
.video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__note { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }

/* ---------- guide ---------- */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.guide__toc { position: sticky; top: 92px; display: grid; gap: 2px; font-size: 14px; }
.guide__toc a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 8px; border-left: 2px solid var(--line); border-radius: 0 8px 8px 0; }
.guide__toc a:hover { color: var(--ink); background: var(--acc-bg); border-left-color: var(--acc); }
.guide__toc .kl { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 0 12px 10px; }
.guide__body { display: grid; gap: 40px; min-width: 0; }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .guide__toc { position: static; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 32px; position: relative; counter-increment: s; }
.step::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--acc-ink); font: 650 16px/1 var(--f-mono); box-shadow: var(--shadow); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 21.5px; top: 48px; bottom: 4px; width: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step__b { display: grid; gap: 10px; padding-top: 8px; min-width: 0; }
.step__b h3 { font-size: 1.2rem; }
.step__b p, .step__b li { color: var(--text); max-width: 68ch; }
.step__b ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.path { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 500 13px/1.4 var(--f-mono); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.path i { font-style: normal; color: var(--faint); }
.note { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--acc-bg); color: var(--ink); font-size: 14.5px; max-width: 72ch; }
.note::before { content: "i"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font: 700 12px/1 var(--f-mono); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--f-mono); color: var(--acc-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--muted); max-width: 70ch; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; align-content: start; position: relative; }
.plan--pop { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), var(--shadow); }
.plan--pop::before { content: "Most popular"; position: absolute; top: -11px; left: 20px; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; padding: 5px 9px; border-radius: 999px; background: var(--acc); color: #fff; }
.plan__name { font: 600 13px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc-ink); }
.plan__price { font: 650 40px/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan__price small { font: 500 15px/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.plan__sub { font-size: 13.5px; color: var(--muted); min-height: 1.4em; }
.plan ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.plan li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.plan li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--acc-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan li.plus { font-weight: 600; color: var(--ink); }
.plan li.plus::before { background: none; }
.billing-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.ptable th, .ptable td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable th { font: 600 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ptable td.num { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 560; }
.ptable .appcell { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.ptable .appcell img { width: 34px; height: 34px; border-radius: 10px; }
.ptable .appcell small { display: block; font: 600 11px/1.3 var(--f-mono); letter-spacing: .08em; color: var(--muted); }

/* ---------- guides index ---------- */
.glist { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.gitem { --hh: var(--h); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.gitem:hover { border-color: oklch(0.7 0.12 var(--hh) / .6); transform: translateY(-2px); }
.gitem img { width: 52px; height: 52px; border-radius: 14px; }
.gitem b { color: var(--ink); display: block; font-size: 16px; }
.gitem span { font-size: 14px; color: var(--muted); }
.gitem ol { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); display: grid; gap: 2px; }

/* ---------- CTA band ---------- */
.cta { border-radius: 32px; padding: clamp(32px, 6vw, 64px); color: var(--off-white); background:
  radial-gradient(100% 120% at 100% 0, rgb(167 139 250 / .45), transparent 60%),
  linear-gradient(135deg, var(--midnight), var(--purple));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.cta h2 { color: var(--off-white); }
.cta p { color: var(--lavender); margin-top: 10px; max-width: 56ch; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- support ---------- */
.contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.copyline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copyline code { font: 500 15px/1 var(--f-mono); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; user-select: all; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 32px; }
.foot h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--acc-ink); }
.foot p { color: var(--muted); font-size: 14.5px; max-width: 38ch; margin-top: 12px; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.theme-toggle { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 500 12.5px/1 var(--f-body); cursor: pointer; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__in > :first-child { grid-column: 1 / -1; } }

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--faint); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--acc-ink); }

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

/* ---------- fixes ---------- */
[hidden] { display: none !important; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: var(--off-white); background: var(--midnight); }
.kinput svg, .kbanner__ico svg, .feat__ico svg { width: 20px; height: 20px; flex: none; }
.video__note svg { width: 16px; height: 16px; color: var(--acc); }
@media (min-width: 1100px) {
  .apps--suite { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .apps--suite > :nth-child(-n+4) { grid-column: span 3; }
  .apps--suite > :nth-child(n+5) { grid-column: span 4; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .apps--suite { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps--suite > :last-child { grid-column: 1 / -1; }
}
.feats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.path { justify-self: start; max-width: 100%; }
