/* Roy marketing site — one stylesheet, the product's own tokens.
   Dark by default (the product is dark); light follows the OS or data-theme.
   The light token block appears twice on purpose (attribute override + OS
   preference) — CSS can't share a declaration list across a media query and a
   selector. Keep the two in sync. */

:root {
  --canvas: 8 9 13;
  --surface: 19 21 29;
  --panel: 28 31 41;
  --edge: 44 48 61;
  --ink: 233 234 240;
  --muted: 147 151 165;
  --accent: 124 108 255;
  --accent-strong: 151 137 255;
  --ok: 74 222 128;        /* fills, dots, tints */
  --ok-ink: 74 222 128;    /* text on a canvas/tint — ≥4.5:1 in both themes */
  --warn: 251 191 36;
  --warn-ink: 251 191 36;
  --danger: 248 113 113;
  --danger-ink: 252 165 165;
  --hair: 255 255 255;
  --hair-a: .06;
  --glow-a: .22;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgb(var(--hair) / var(--hair-a)) inset, 0 20px 60px -30px rgb(0 0 0 / .8);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
  --space-section: clamp(3rem, 7vw, 5.5rem);
  --space-block: clamp(1.6rem, 4vw, 2.6rem);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --canvas: 248 249 251; --surface: 255 255 255; --panel: 243 245 249; --edge: 224 227 234;
  --ink: 20 22 30; --muted: 104 109 123; --accent: 99 84 240; --accent-strong: 82 68 224;
  --ok: 22 163 74; --ok-ink: 21 128 61; --warn: 217 119 6; --warn-ink: 180 83 9;
  --danger: 220 38 38; --danger-ink: 185 28 28;
  --hair: 255 255 255; --hair-a: .7; --glow-a: .14;
  --shadow: 0 1px 0 rgb(var(--hair) / var(--hair-a)) inset, 0 20px 50px -30px rgb(20 22 30 / .25);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --canvas: 248 249 251; --surface: 255 255 255; --panel: 243 245 249; --edge: 224 227 234;
    --ink: 20 22 30; --muted: 104 109 123; --accent: 99 84 240; --accent-strong: 82 68 224;
    --ok: 22 163 74; --ok-ink: 21 128 61; --warn: 217 119 6; --warn-ink: 180 83 9;
    --danger: 220 38 38; --danger-ink: 185 28 28;
    --hair: 255 255 255; --hair-a: .7; --glow-a: .14;
    --shadow: 0 1px 0 rgb(var(--hair) / var(--hair-a)) inset, 0 20px 50px -30px rgb(20 22 30 / .25);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: rgb(var(--canvas));
  color: rgb(var(--ink));
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
:focus-visible { outline: 2px solid rgb(var(--accent-strong)); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgb(var(--accent) / .35); }
[hidden] { display: none !important; }   /* beats .btn's display so data-auth swaps work */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; padding: .6rem .9rem; border-radius: 8px; background: rgb(var(--accent)); color: #fff; font-weight: 600; }
.skip:focus { top: .6rem; }

/* Text links inside prose are identifiable by more than hue (WCAG 1.4.1). */
.accent { color: rgb(var(--accent-strong)); }
p .accent, li .accent, small .accent, .prose a, .faq a, .fine-print a, .pricing-notes a { text-decoration: underline; text-decoration-color: rgb(var(--accent-strong) / .5); text-underline-offset: 3px; }
p .accent:hover, .prose a:hover, .faq a:hover { text-decoration-color: currentColor; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: rgb(var(--muted)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgb(var(--accent-strong)); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(var(--muted)); max-width: 62ch; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.center .eyebrow::before { display: none; }
.fine-print { font-size: .85rem; color: rgb(var(--muted)); margin-top: .8rem; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--canvas) / .94);
  border-bottom: 1px solid rgb(var(--edge) / .6);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav { background: rgb(var(--canvas) / .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
}
.nav .wrap { display: flex; align-items: center; gap: 1.2rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: -0.01em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgb(var(--accent-strong)), rgb(var(--accent)));
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 18px -8px rgb(var(--accent) / .9);
}
.nav-links { display: flex; gap: .2rem; margin-left: .6rem; }
.nav-links a, .nav-cta a.link {
  padding: .45rem .7rem; border-radius: 8px; color: rgb(var(--muted)); font-size: .95rem; font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-cta a.link:hover { color: rgb(var(--ink)); background: rgb(var(--panel)); }
.nav-links .m-only { display: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; background: none; border: 1px solid rgb(var(--edge)); border-radius: 8px; padding: .4rem .55rem; min-width: 40px; min-height: 36px; cursor: pointer; }
.theme-btn { background: none; border: 1px solid rgb(var(--edge)); border-radius: 8px; width: 36px; height: 36px; display: grid; place-items: center; color: rgb(var(--muted)); cursor: pointer; }
.theme-btn:hover { color: rgb(var(--ink)); }
@media (max-width: 480px) {
  .nav .wrap { gap: .5rem; }
  .nav-cta .btn { padding: .5rem .75rem; font-size: .86rem; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { margin-left: auto; }
  .nav-cta .link { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: rgb(var(--surface)); border-bottom: 1px solid rgb(var(--edge)); padding: .6rem var(--gutter) 1rem; margin: 0;
    box-shadow: 0 20px 40px -20px rgb(0 0 0 / .5);
  }
  .nav.open .nav-links a { padding: .7rem .6rem; font-size: 1.05rem; }
  .nav.open .nav-links .m-only { display: block; border-top: 1px solid rgb(var(--edge)); margin-top: .4rem; padding-top: .9rem; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.15rem; border-radius: 10px; border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel)); color: rgb(var(--ink)); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap; min-height: 40px;
}
@media (hover: hover) {
  .btn:hover { background: rgb(var(--edge) / .7); transform: translateY(-1px); }
  .btn-primary:hover { filter: brightness(1.06); }
  .btn-ghost:hover { color: rgb(var(--ink)); background: rgb(var(--panel)); }
}
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, rgb(var(--accent-strong)), rgb(var(--accent)));
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -12px rgb(var(--accent) / .9), 0 1px 0 rgb(255 255 255 / .25) inset;
}
.btn-ghost { background: transparent; border-color: transparent; color: rgb(var(--muted)); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% -10%, rgb(var(--accent) / var(--glow-a)), transparent 70%),
    radial-gradient(30% 30% at 82% 15%, rgb(var(--accent-strong) / calc(var(--glow-a) * .5)), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin: 1.4rem 0 2rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.2rem; font-size: .88rem; color: rgb(var(--muted)); }
.hero-note span::before { content: "✓ "; color: rgb(var(--ok-ink)); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: none; } }

/* product frame (CSS-drawn mock of the Home queue) */
.frame {
  background: rgb(var(--surface)); border: 1px solid rgb(var(--edge)); border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 40px 80px -40px rgb(var(--accent) / .5);
  overflow: hidden; font-size: .84rem; min-height: 320px;
  transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg);
  backface-visibility: hidden; transform-style: preserve-3d;
}
@media (max-width: 900px) { .frame { transform: none; } }
.frame-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-bottom: 1px solid rgb(var(--edge)); color: rgb(var(--muted)); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--edge)); display: inline-block; }
.frame-bar b { margin-left: .4rem; font-weight: 500; color: rgb(var(--ink)); }
.frame-body { display: grid; grid-template-columns: 52px 1fr; }
.frame-rail { border-right: 1px solid rgb(var(--edge)); padding: .7rem .5rem; display: flex; flex-direction: column; gap: .5rem; }
.frame-rail i { display: block; height: 30px; border-radius: 8px; background: rgb(var(--panel)); }
.frame-rail i.on { background: rgb(var(--accent) / .25); box-shadow: inset 0 0 0 1px rgb(var(--accent) / .5); }
.frame-main { padding: .9rem 1rem 1rem; }
.frame-main h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgb(var(--muted)); font-weight: 600; margin-bottom: .6rem; }
.q { display: grid; gap: .5rem; }
.q-item { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .6rem .7rem; border: 1px solid rgb(var(--edge)); border-radius: 10px; background: rgb(var(--panel) / .6); }
.q-item .tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--accent-strong)); background: rgb(var(--accent) / .14); padding: .2rem .45rem; border-radius: 6px; }
.q-item .tag.warn { color: rgb(var(--warn-ink)); background: rgb(var(--warn) / .14); }
.q-item .tag.ok { color: rgb(var(--ok-ink)); background: rgb(var(--ok) / .14); }
.q-item strong { display: block; font-weight: 600; color: rgb(var(--ink)); }
.q-item small { color: rgb(var(--muted)); }
.q-item .act { display: flex; gap: .3rem; }
.q-item .act i { width: 26px; height: 22px; border-radius: 6px; border: 1px solid rgb(var(--edge)); display: block; }
.q-item .act i.go { background: rgb(var(--accent)); border-color: transparent; }
@media (max-width: 480px) { .q-item { grid-template-columns: auto 1fr; } .q-item .act { display: none; } }
.frame-now { margin-top: .9rem; display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; background: rgb(var(--accent) / .1); border: 1px solid rgb(var(--accent) / .3); }
.frame-now b { font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--ok)); box-shadow: 0 0 0 0 rgb(var(--ok) / .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(var(--ok) / .55); } 70% { box-shadow: 0 0 0 9px rgb(var(--ok) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--ok) / 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .btn, .card-link, .sticky-cta, .pw-meter i { transition: none; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: var(--space-section) 0; }
.section + .section { border-top: 1px solid rgb(var(--edge) / .5); }
.section-head { max-width: 62ch; margin-bottom: var(--space-block); }
.section-head.center { margin-inline: auto; }
.strip { border-block: 1px solid rgb(var(--edge) / .6); background: rgb(var(--surface) / .5); padding: 1rem 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; font-size: .9rem; color: rgb(var(--muted)); }
.strip span { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.strip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--accent-strong)); flex: none; }
.strip a { color: rgb(var(--muted)); padding: .2rem .1rem; border-bottom: 1px solid transparent; }
.strip a:hover { color: rgb(var(--ink)); border-bottom-color: rgb(var(--accent-strong)); }
.strip.jump { position: sticky; top: var(--nav-h); z-index: 40; background: rgb(var(--canvas) / .95); }
.strip.jump .wrap { justify-content: flex-start; gap: .4rem 1.4rem; }
@media (max-width: 860px) {
  .strip.jump .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; -webkit-overflow-scrolling: touch; }
  .strip.jump .wrap::-webkit-scrollbar { display: none; }
}

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: rgb(var(--surface)); border: 1px solid rgb(var(--edge)); border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem; box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: rgb(var(--muted)); margin: 0; font-size: .96rem; }
.card .icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 1rem;
  background: rgb(var(--accent) / .14); color: rgb(var(--accent-strong));
}
.card .icon svg { width: 20px; height: 20px; }
.card ul { margin: .7rem 0 0; padding-left: 1.1rem; color: rgb(var(--muted)); font-size: .93rem; }
.card ul li { margin: .25rem 0; }
.card .plan-tag { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--muted)); border: 1px solid rgb(var(--edge)); border-radius: 6px; padding: .15rem .45rem; }
.card .per { color: rgb(var(--muted)); font-size: .9rem; font-weight: 400; }
.card-link { display: block; transition: transform .12s ease, border-color .12s ease; }
.card-link .card-label { display: inline-block; margin-top: .9rem; font-size: .85rem; font-weight: 600; color: rgb(var(--accent-strong)); }
@media (hover: hover) { .card-link:hover { transform: translateY(-2px); border-color: rgb(var(--accent) / .55); } }
.card-link:focus-visible { outline: 2px solid rgb(var(--accent-strong)); outline-offset: 3px; }
.popular-edge { border-color: rgb(var(--accent) / .6); }

/* how it works */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.how li { position: relative; padding: 1.4rem 1.35rem 1.3rem 1.35rem; border: 1px solid rgb(var(--edge)); border-radius: var(--radius); background: rgb(var(--surface)); box-shadow: var(--shadow); }
.how .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(var(--accent) / .14); color: rgb(var(--accent-strong)); font-weight: 700; margin-bottom: 1rem; }
.how h3 { margin-bottom: .4rem; }
.how p { color: rgb(var(--muted)); margin: 0; font-size: .96rem; }
.how li:last-child { border-color: rgb(var(--accent) / .55); }
.how li:last-child .num { background: rgb(var(--accent)); color: #fff; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* requirements */
.reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.reqs li { display: grid; gap: .15rem; padding: .85rem 1rem; border: 1px solid rgb(var(--edge)); border-radius: 12px; background: rgb(var(--surface)); }
.reqs strong { font-weight: 600; }
.reqs span { color: rgb(var(--muted)); font-size: .92rem; }
.reqs.compact li { padding: .6rem .8rem; }

/* feature sections (features page) */
.features .feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; padding: clamp(2.2rem, 5vw, 3.6rem) 0; border-top: 1px solid rgb(var(--edge) / .5); }
.features .feature:first-child { border-top: 0; }
.feature.flip .feature-media { order: -1; }
.feature h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: .6rem; }
.feature p { color: rgb(var(--muted)); }
.feature ul { padding-left: 1.1rem; color: rgb(var(--muted)); margin: .8rem 0 0; }
.feature ul li { margin: .35rem 0; }
.feature ul li strong { color: rgb(var(--ink)); font-weight: 600; }
.feature-media { background: rgb(var(--surface)); border: 1px solid rgb(var(--edge)); border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: var(--shadow); font-size: .85rem; }
.feature-media h4 { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); font-weight: 600; margin-bottom: .7rem; }
.plan-pill { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--muted)); border: 1px solid rgb(var(--edge)); border-radius: 6px; padding: .18rem .5rem; margin-left: .5rem; vertical-align: middle; white-space: nowrap; }
@media (max-width: 860px) { .features .feature { grid-template-columns: 1fr; } .feature.flip .feature-media { order: 0; } }

/* small illustrative pieces used inside feature-media */
.rows { display: grid; gap: .45rem; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .5rem .65rem; border: 1px solid rgb(var(--edge)); border-radius: 9px; background: rgb(var(--panel) / .55); }
.row .dot { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--accent-strong)); }
.row .dot.ok { background: rgb(var(--ok)); }
.row .dot.warn { background: rgb(var(--warn)); }
.row strong { font-weight: 600; }
.row small, .row .meta { color: rgb(var(--muted)); }
.chat { display: grid; gap: .5rem; }
.bubble { max-width: 88%; padding: .55rem .75rem; border-radius: 12px; background: rgb(var(--panel)); border: 1px solid rgb(var(--edge)); }
.bubble.me { margin-left: auto; background: rgb(var(--accent) / .16); border-color: rgb(var(--accent) / .35); }
.bubble .who { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--muted)); margin-bottom: .2rem; }
.approve { display: flex; gap: .4rem; margin-top: .5rem; flex-wrap: wrap; }
.approve span { font-size: .75rem; font-weight: 600; padding: .3rem .6rem; border-radius: 7px; border: 1px solid rgb(var(--edge)); }
.approve span.go { background: rgb(var(--accent)); color: #fff; border-color: transparent; }
.cal { display: grid; grid-template-columns: 60px 1fr; gap: .35rem .6rem; }
.cal time { color: rgb(var(--muted)); font-size: .78rem; padding-top: .35rem; }
.cal .ev { padding: .45rem .6rem; border-radius: 8px; background: rgb(var(--panel)); border-left: 3px solid rgb(var(--muted)); }
.cal .ev.focus { border-left-color: rgb(var(--accent-strong)); background: rgb(var(--accent) / .12); }
.cal .ev.prep { border-left-color: rgb(var(--ok)); }
.tiers { display: grid; gap: .45rem; }
.tier { display: grid; grid-template-columns: 84px 1fr; gap: .6rem; align-items: start; padding: .5rem .65rem; border-radius: 9px; border: 1px solid rgb(var(--edge)); }
.tier b { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .15rem; }
.tier.t0 b { color: rgb(var(--ok-ink)); } .tier.t1 b { color: rgb(var(--warn-ink)); } .tier.t2 b { color: rgb(var(--danger-ink)); }
.tier span { color: rgb(var(--muted)); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 0; }
.kv dt { color: rgb(var(--muted)); } .kv dd { margin: 0; }

/* a day with Roy */
.day { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.day .t { position: relative; padding-top: 2.2rem; }
.day .t::before { content: ""; position: absolute; top: 12px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: rgb(var(--canvas)); border: 2px solid rgb(var(--accent-strong)); z-index: 1; }
.day .t:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 14px; right: -0.8rem; height: 1px; background: rgb(var(--edge)); }
.day time { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--accent-strong)); font-weight: 600; margin-bottom: .3rem; }
.day strong { display: block; font-weight: 600; margin-bottom: .25rem; }
.day strong .plan-pill { margin-left: .35rem; }
.day p { color: rgb(var(--muted)); font-size: .9rem; margin: 0; }
@media (max-width: 960px) {
  .day { grid-template-columns: 1fr; gap: .5rem; }
  .day .t { padding: .9rem 1rem .9rem 2.2rem; border: 1px solid rgb(var(--edge)); border-radius: 12px; background: rgb(var(--surface)); }
  .day .t::before { top: 1.1rem; left: .9rem; }
  .day .t::after { display: none; }
}

/* integrations */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid rgb(var(--edge)); border-radius: 999px; background: rgb(var(--surface)); font-size: .9rem; font-weight: 500; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--accent-strong)); }
.int-group { margin-top: 1.4rem; }
.int-group h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); margin-bottom: .6rem; }
.int-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.int-list div { padding: .8rem .95rem; border: 1px solid rgb(var(--edge)); border-radius: 10px; background: rgb(var(--surface)); }
.int-list strong { display: block; font-weight: 600; margin-bottom: .15rem; }
.int-list span { color: rgb(var(--muted)); font-size: .9rem; }
@media (max-width: 960px) { .int-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .int-list { grid-template-columns: 1fr; } }

/* workflows */
.flow { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgb(var(--edge) / .6); }
.flow:last-child { border-bottom: 1px solid rgb(var(--edge) / .6); }
.flow h3 { font-size: 1.02rem; }
.flow .steps { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: rgb(var(--muted)); font-size: .93rem; margin: 0; }
.flow .steps span { padding: .3rem .6rem; border: 1px solid rgb(var(--edge)); border-radius: 8px; background: rgb(var(--surface)); color: rgb(var(--ink)); }
.flow .steps em { font-style: normal; opacity: .6; }
.flow .steps .you { border-color: rgb(var(--accent) / .5); background: rgb(var(--accent) / .12); }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; gap: .4rem; } }

/* callout + stats */
.callout { background: rgb(var(--surface)); border: 1px solid rgb(var(--edge)); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.callout h2 { margin-bottom: .6rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.stat { border-top: 2px solid rgb(var(--accent) / .5); padding-top: .7rem; }
.stat b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.stat span { color: rgb(var(--muted)); font-size: .9rem; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.popular { border-color: rgb(var(--accent) / .6); box-shadow: var(--shadow), 0 0 0 4px rgb(var(--accent) / .12); }
.plan .badge { position: absolute; top: -12px; left: 1.35rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgb(var(--accent)); color: #fff; padding: .25rem .6rem; border-radius: 999px; }
.plan .name { font-size: 1.2rem; font-weight: 600; }
.plan .tagline { color: rgb(var(--muted)); font-size: .92rem; margin: .2rem 0 1rem; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .25rem; }
.price b { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; }
.price span { color: rgb(var(--muted)); }
.price-note { color: rgb(var(--ok-ink)); font-size: .82rem; font-weight: 600; margin-bottom: .9rem; }
.best-for { font-size: .9rem; color: rgb(var(--muted)); border-top: 1px solid rgb(var(--edge) / .7); padding-top: .8rem; margin: 0 0 .6rem; }
.best-for strong { color: rgb(var(--ink)); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; color: rgb(var(--muted)); font-size: .93rem; flex: 1; }
.plan ul li { padding: .3rem 0 .3rem 1.4rem; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: rgb(var(--ok-ink)); font-weight: 700; }
.plan ul li.head { padding-left: 0; color: rgb(var(--ink)); font-weight: 600; }
.plan ul li.head::before { display: none; }
.plan .fine-print { margin: -.6rem 0 1rem; }
.pricing-notes { max-width: 72ch; margin: 1.6rem auto 0; color: rgb(var(--muted)); font-size: .92rem; text-align: center; }
.pricing-notes p { margin: 0 0 .5rem; }
.pricing-notes strong { color: rgb(var(--ink)); font-weight: 600; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 1.4rem; }
  .plan.popular { margin-top: .4rem; }
}

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; margin-top: 1.4rem; }
.compare th, .compare td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid rgb(var(--edge) / .7); vertical-align: top; }
.compare th { font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--muted)); }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 15%; }
.compare tr.group td { padding-top: 1.4rem; font-weight: 600; color: rgb(var(--ink)); border-bottom-color: rgb(var(--edge)); }
.compare td .y { color: rgb(var(--ok-ink)); font-weight: 700; }
.compare td .n { color: rgb(var(--muted) / .55); }
.compare td small { display: block; color: rgb(var(--muted)); font-weight: 400; }

.faq { display: grid; gap: .6rem; max-width: 780px; margin-inline: auto; }
.faq details { border: 1px solid rgb(var(--edge)); border-radius: 12px; background: rgb(var(--surface)); padding: 0 1.1rem; }
.faq summary { cursor: pointer; padding: .95rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: rgb(var(--muted)); font-weight: 400; font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: rgb(var(--muted)); padding-bottom: 1rem; margin: 0; }

/* ---------------------------------------------------------------- forms */
.auth { min-height: calc(100dvh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { display: none; background: rgb(var(--surface)); border-right: 1px solid rgb(var(--edge)); padding: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, rgb(var(--accent) / var(--glow-a)), transparent 70%); pointer-events: none; }
.auth-side .inner { position: relative; max-width: 440px; }
.auth-side h2 { margin-bottom: .8rem; }
.auth-side ul { list-style: none; padding: 0; margin: 1.4rem 0 0; color: rgb(var(--muted)); }
.auth-side li { padding: .45rem 0 .45rem 1.5rem; position: relative; }
.auth-side li::before { content: "✓"; position: absolute; left: 0; color: rgb(var(--ok-ink)); font-weight: 700; }
@media (min-width: 900px) { .auth-side { display: block; } }
@media (max-width: 899px) { .auth { grid-template-columns: 1fr; } }
.auth-main { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.form { width: min(440px, 100%); }
.form h1 { font-size: 1.8rem; letter-spacing: -0.03em; margin-bottom: .4rem; }
.form > p { color: rgb(var(--muted)); margin-bottom: 1.6rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .inline-form input {
  width: 100%; padding: .72rem .85rem; border-radius: 10px; border: 1px solid rgb(var(--edge));
  background: rgb(var(--surface)); color: rgb(var(--ink)); font: inherit; min-height: 44px;
}
.field input:focus-visible, .field select:focus-visible, .inline-form input:focus-visible { outline: 2px solid rgb(var(--accent-strong)); outline-offset: 1px; border-color: rgb(var(--accent-strong)); }
.field input[aria-invalid="true"] { border-color: rgb(var(--danger)); }
.field small { color: rgb(var(--muted)); font-size: .82rem; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.4rem; }
.pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); background: rgb(var(--panel)); border: 1px solid rgb(var(--edge)); border-radius: 7px; padding: .3rem .6rem; font-size: .8rem; font-weight: 600; color: rgb(var(--muted)); cursor: pointer; min-height: 32px; }
.pw-toggle:hover { color: rgb(var(--ink)); }
.pw-meter { height: 4px; border-radius: 2px; background: rgb(var(--edge)); overflow: hidden; margin-top: .2rem; }
.pw-meter i { display: block; height: 100%; width: 0; background: rgb(var(--danger)); transition: width .2s ease, background .2s ease; }
.pw-meter[data-score="1"] i { width: 25%; background: rgb(var(--danger)); }
.pw-meter[data-score="2"] i { width: 50%; background: rgb(var(--warn)); }
.pw-meter[data-score="3"] i { width: 75%; background: rgb(var(--ok)); }
.pw-meter[data-score="4"] i { width: 100%; background: rgb(var(--ok)); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: rgb(var(--muted)); margin-bottom: 1.2rem; }
.check input { margin-top: .25rem; width: 18px; height: 18px; flex: none; }
.check a { color: rgb(var(--ink)); text-decoration: underline; text-decoration-color: rgb(var(--muted)); text-underline-offset: 3px; }
.plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.1rem; }
.plan-picker label { position: relative; border: 1px solid rgb(var(--edge)); border-radius: 10px; padding: .6rem .7rem; cursor: pointer; display: grid; gap: .1rem; align-content: start; }
.plan-picker label:has(input:checked) { border-color: rgb(var(--accent-strong)); background: rgb(var(--accent) / .1); }
.plan-picker label:has(input:focus-visible) { outline: 2px solid rgb(var(--accent-strong)); outline-offset: 2px; }
.plan-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.plan-picker b { font-weight: 600; }
.plan-picker span { font-size: .8rem; color: rgb(var(--muted)); }
.plan-picker small { font-size: .78rem; color: rgb(var(--muted)); line-height: 1.35; margin-top: .2rem; }
@media (max-width: 420px) { .plan-picker { grid-template-columns: 1fr; } }
.alert { display: none; padding: .7rem .9rem; border-radius: 10px; border: 1px solid; font-size: .9rem; margin-bottom: 1rem; }
.alert.show { display: block; }
.alert.error { color: rgb(var(--danger-ink)); border-color: rgb(var(--danger) / .4); background: rgb(var(--danger) / .1); }
.alert.ok { color: rgb(var(--ok-ink)); border-color: rgb(var(--ok) / .4); background: rgb(var(--ok) / .1); }
.form .alt { text-align: center; font-size: .9rem; color: rgb(var(--muted)); margin-top: 1.2rem; }
.form .alt a { color: rgb(var(--accent-strong)); font-weight: 600; }
.inline-form .alert { margin-top: .6rem; }

/* ---------------------------------------------------------------- account & download */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-head .lede { margin-top: .8rem; }
.page-head .alert.show { margin-bottom: 1.2rem; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.dl-list { display: grid; gap: .6rem; margin-top: 1rem; }
.dl { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: center; padding: .9rem 1rem; border: 1px solid rgb(var(--edge)); border-radius: 12px; background: rgb(var(--panel) / .5); }
.dl.detected { border-color: rgb(var(--accent) / .55); background: rgb(var(--accent) / .08); }
.dl strong { display: block; font-weight: 600; }
.dl small { color: rgb(var(--muted)); }
.dl .soon { font-size: .8rem; color: rgb(var(--muted)); border: 1px solid rgb(var(--edge)); border-radius: 6px; padding: .3rem .55rem; white-space: nowrap; }
.dl-more { margin-top: .6rem; }
.dl-more summary { cursor: pointer; color: rgb(var(--muted)); font-size: .9rem; padding: .3rem 0; }
.notice { padding: .9rem 1rem; border-radius: 12px; border: 1px solid rgb(var(--accent) / .4); background: rgb(var(--accent) / .08); font-size: .95rem; margin-top: 1rem; }
.notice strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.notice ul { margin: .5rem 0 0; padding-left: 1.1rem; color: rgb(var(--muted)); font-size: .9rem; }
.key { display: flex; gap: .5rem; align-items: center; margin-top: .6rem; }
.key code { flex: 1; padding: .65rem .8rem; border-radius: 10px; background: rgb(var(--canvas)); border: 1px solid rgb(var(--edge)); letter-spacing: .06em; font-size: .95rem; overflow: auto; }
.key input { flex: 1; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.steps li { position: relative; padding-left: 2.4rem; color: rgb(var(--muted)); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgb(var(--accent) / .16); color: rgb(var(--accent-strong)); }
.steps li strong { display: block; color: rgb(var(--ink)); font-weight: 600; }
.checklist li label { display: block; cursor: pointer; padding-left: 1.7rem; position: relative; }
.checklist li input { position: absolute; left: 0; top: .25rem; width: 18px; height: 18px; }
.checklist li:has(input:checked) { color: rgb(var(--muted) / .7); }
.checklist li:has(input:checked)::before { background: rgb(var(--ok) / .2); color: rgb(var(--ok-ink)); content: "✓"; }
.checklist li:has(input:checked) strong { color: rgb(var(--muted)); text-decoration: line-through; text-decoration-color: rgb(var(--muted) / .5); }
.status-line { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); font-size: .85rem; color: rgb(var(--muted)); }
.status-line .pulse { animation: none; }
.status-line.warn .pulse { background: rgb(var(--warn)); }
.status-line.warn { color: rgb(var(--warn-ink)); border-color: rgb(var(--warn) / .4); }
.dl-status { margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* ---------------------------------------------------------------- about */
.prose { max-width: 68ch; font-size: 1.05rem; }
.prose p { color: rgb(var(--ink) / .88); }
.prose h2 { margin: 2.2rem 0 .7rem; font-size: 1.6rem; }
.prose ul { color: rgb(var(--ink) / .88); padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.4rem; }
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.4rem; }
.member { padding: 1rem; border: 1px solid rgb(var(--edge)); border-radius: 12px; background: rgb(var(--surface)); }
.member .av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: rgb(var(--accent) / .14); color: rgb(var(--accent-strong)); margin-bottom: .7rem; }
.member strong { display: block; font-weight: 600; }
.member span { color: rgb(var(--muted)); font-size: .88rem; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- CTA, sticky bar, footer */
.cta { padding: var(--space-section) 0; }
.cta .callout { text-align: center; background: linear-gradient(180deg, rgb(var(--surface)), rgb(var(--panel) / .6)); }
.cta .callout .lede { margin: .6rem auto 1.4rem; }
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta {
    display: flex; align-items: center; gap: .8rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: rgb(var(--surface) / .96); border-top: 1px solid rgb(var(--edge));
    transform: translateY(110%); transition: transform .2s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { flex: 1; }
  .sticky-cta span { font-size: .85rem; color: rgb(var(--muted)); white-space: nowrap; }
  body.has-sticky { padding-bottom: 72px; }
}
.footer { border-top: 1px solid rgb(var(--edge) / .6); padding: 2.5rem 0 2rem; color: rgb(var(--muted)); font-size: .9rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; }
.footer h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--ink)); margin-bottom: .6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer a:hover { color: rgb(var(--ink)); }
.footer-blurb { margin-top: .8rem; max-width: 32ch; }
.footer .fine { grid-column: 1 / -1; border-top: 1px solid rgb(var(--edge) / .6); padding-top: 1.2rem; margin-top: .6rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- four tiers + enterprise */
.plans.plans-4 { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 1100px) { .plans.plans-4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 640px) { .plans.plans-4 { grid-template-columns: 1fr; max-width: 520px; } }
.plans-4 .plan .name { font-size: 1.1rem; }
.plans-4 .price b { font-size: 2.1rem; }
.plan.custom { background: linear-gradient(180deg, rgb(var(--surface)), rgb(var(--panel) / .55)); }
.plan.custom .price b { font-size: 1.7rem; letter-spacing: -0.02em; }
.plan.custom .price-note { color: rgb(var(--accent-strong)); }
.compare.compare-4 { min-width: 760px; }
.compare-4 th:not(:first-child), .compare-4 td:not(:first-child) { width: 13%; }
.grid.teaser .card h3 { font-size: 1.5rem; }
.flavours .flavour h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: .6rem; }
.flavours .flavour ul { margin-top: .9rem; padding-left: 1.1rem; }
.flavours .flavour ul li { margin: .4rem 0; }
.flavours .flavour ul li strong { color: rgb(var(--ink)); font-weight: 600; }
.form-wide { width: 100%; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .field-row-2 { grid-template-columns: 1fr; } }
.field textarea {
  width: 100%; padding: .72rem .85rem; border-radius: 10px; border: 1px solid rgb(var(--edge));
  background: rgb(var(--surface)); color: rgb(var(--ink)); font: inherit; resize: vertical; min-height: 44px;
}
.field textarea:focus-visible { outline: 2px solid rgb(var(--accent-strong)); outline-offset: 1px; border-color: rgb(var(--accent-strong)); }
.field.choice { border: 0; padding: 0; margin: 0 0 1rem; }
.field.choice legend { font-size: .88rem; font-weight: 600; padding: 0; margin-bottom: .5rem; }
.field.choice .check { margin-bottom: .5rem; padding: .6rem .75rem; border: 1px solid rgb(var(--edge)); border-radius: 10px; cursor: pointer; }
.field.choice .check:has(input:checked) { border-color: rgb(var(--accent-strong)); background: rgb(var(--accent) / .08); }
.field.choice .check input { width: 16px; height: 16px; }
.field.choice .check strong { color: rgb(var(--ink)); font-weight: 600; }

/* ---------------------------------------------------------------- verification + inline forms */
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.6rem; letter-spacing: .5em; text-align: center; padding: .6rem .5rem .6rem 1rem; }
.linklike { background: none; border: 0; padding: 0; color: rgb(var(--accent-strong)); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgb(var(--accent-strong) / .5); text-underline-offset: 3px; }
.linklike:hover { text-decoration-color: currentColor; }
.inline-form .field { margin-bottom: .8rem; }
.inline-form .field label { font-size: .85rem; }

/* ---------------------------------------------------------------- signup flow: steps, provider buttons, live rules */
.flow-steps { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; gap: .4rem; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--muted)); }
.flow-steps li { display: inline-flex; align-items: center; gap: .4rem; }
.flow-steps li + li::before { content: ""; width: 18px; height: 1px; background: rgb(var(--edge)); margin-right: .4rem; }
.flow-steps span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; border: 1px solid rgb(var(--edge)); }
.flow-steps .is-cur { color: rgb(var(--ink)); }
.flow-steps .is-cur span { background: rgb(var(--accent)); border-color: transparent; color: #fff; }
.flow-steps .is-done span { color: rgb(var(--ok-ink)); border-color: rgb(var(--ok) / .5); }
.page-head .flow-steps { margin-bottom: 1rem; }
.oidc { display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.oidc .btn { width: 100%; justify-content: center; }
.oidc .or { display: flex; align-items: center; gap: .8rem; color: rgb(var(--muted)); font-size: .8rem; margin-top: .3rem; }
.oidc .or::before, .oidc .or::after { content: ""; flex: 1; height: 1px; background: rgb(var(--edge)); }
.pw-rules { list-style: none; padding: 0; margin: .1rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .82rem; color: rgb(var(--muted)); }
.pw-rules li::before { content: "○ "; color: rgb(var(--muted)); }
.pw-rules li.ok { color: rgb(var(--ok-ink)); }
.pw-rules li.ok::before { content: "✓ "; }
.pw-rules li.bad { color: rgb(var(--danger-ink)); }
.pw-rules li.bad::before { content: "✕ "; }
.plan-line { font-size: .9rem; margin: -.8rem 0 1.2rem; }
.plan-line strong { color: rgb(var(--ink)); }
.grid.cards-8 .card h3 { font-size: 1.05rem; }
@media (max-width: 960px) { .grid.cards-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cards-8 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- changelog */
.changelog { display: grid; gap: 1rem; }
.release { display: grid; grid-template-columns: 140px 1fr; gap: 1.2rem; padding: 1.3rem 1.4rem; border: 1px solid rgb(var(--edge)); border-radius: var(--radius); background: rgb(var(--surface)); box-shadow: var(--shadow); }
.release time { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--accent-strong)); padding-top: .3rem; }
.release h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.release p { color: rgb(var(--muted)); margin: 0; font-size: .96rem; }
.release .plan-pill { margin-left: .4rem; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; gap: .4rem; } }

/* account: the installs list (the license server's seats) */
.installs { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.installs li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid rgb(var(--edge)); border-radius: .8rem; }
.installs li .btn { flex: none; }
