/*
 * PRAESI Pharmacy OS public site.
 *
 * Visual language shared with PRAESI TECHNOLOGIES' other product site: the same palette tokens
 * (ink #0c0e14, soft #f4f6fa, teal #0bb89b/#08917e/#05635a, amber, blue, purple and green chapter
 * colours), the same type scale (display clamp(2.6rem, 7vw, 5.4rem), h2 clamp(2rem, 4.4vw, 3.4rem),
 * small-caps eyebrows) and system fonts only. Where a token is used for text it is darkened so
 * every pair passes WCAG 2.2 AA (teal text is #067566, button fills start at #077a6b). The page
 * uses no JavaScript: the pricing switch is two radio inputs and :checked, the questions are
 * <details>. Light and dark follow the OS; motion is off when the OS asks for less.
 */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --card: #ffffff;
  --ink: #0c0e14;
  --ink-dim: #4a4c52;
  --ink-faint: #5c5f66;
  --edge: rgb(12 14 20 / 10%);
  --edge-strong: rgb(12 14 20 / 18%);

  --live-core: #0bb89b;
  --live-glow: #08917e;
  --live-shade: #05635a;
  --live-text: #067566;
  --live-soft: #e3f6f1;
  --alerts-core: #d9821a;
  --alerts-glow: #b3630f;
  --alerts-text: #9a5410;
  --skills-core: #2f7fe8;
  --skills-glow: #1f5bc0;
  --skills-text: #1f5bc0;
  --health-core: #8b4fe0;
  --health-glow: #6c33bd;
  --health-text: #6c33bd;
  --updates-core: #21a84a;
  --updates-glow: #17853a;
  --updates-text: #136f30;

  --grad: linear-gradient(104deg, #08917e, #1f5bc0 58%, #6c33bd);
  --btn-bg: linear-gradient(160deg, #077a6b, #05635a);
  --btn-bg-hover: linear-gradient(160deg, #066a5d, #04544c);
  --btn-ink: #ffffff;
  --btn-shadow: 0 8px 24px rgb(8 145 126 / 30%);
  --ghost-bg: #ffffff;
  --frame: #0c0e14;
  --frame-shadow:
    inset 0 2px rgb(255 255 255 / 8%), 0 30px 70px rgb(12 14 20 / 22%),
    0 6px 18px rgb(12 14 20 / 12%);
  --card-shadow: 0 1px 2px rgb(12 14 20 / 4%), 0 8px 24px rgb(12 14 20 / 5%);
  --hero-wash:
    radial-gradient(42% 46% at 26% 18%, rgb(11 184 155 / 16%), transparent 68%),
    radial-gradient(40% 44% at 78% 8%, rgb(47 127 232 / 13%), transparent 66%),
    radial-gradient(50% 50% at 50% 60%, rgb(139 79 224 / 8%), transparent 70%),
    linear-gradient(180deg, #e3f5f0 0%, #eef8f5 62%, #f6fbfa 100%);
  --header-bg: rgb(255 255 255 / 82%);

  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter,
    "Segoe UI Variable Display", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1180px;
  --gutter: 24px;
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e14;
    --bg-soft: #11141c;
    --card: #141821;
    --ink: #f2f4f8;
    --ink-dim: #b9bec8;
    --ink-faint: #9aa0ab;
    --edge: rgb(255 255 255 / 10%);
    --edge-strong: rgb(255 255 255 / 20%);

    --live-text: #3fd6b9;
    --live-soft: #0f2e29;
    --alerts-text: #f0b45a;
    --skills-text: #7fb2ff;
    --health-text: #b99bff;
    --updates-text: #5fd98a;

    --grad: linear-gradient(104deg, #3fd6b9, #6aa8ff 58%, #b28cff);
    --btn-bg: linear-gradient(160deg, #2fd0b2, #0bb89b);
    --btn-bg-hover: linear-gradient(160deg, #4fdcc0, #16c4a5);
    --btn-ink: #04130f;
    --btn-shadow: 0 8px 24px rgb(11 184 155 / 22%);
    --ghost-bg: #141821;
    --frame: #05070b;
    --frame-shadow:
      inset 0 1px rgb(255 255 255 / 8%), 0 0 0 1px rgb(255 255 255 / 8%),
      0 30px 70px rgb(0 0 0 / 55%);
    --card-shadow: 0 0 0 1px rgb(255 255 255 / 2%), 0 12px 30px rgb(0 0 0 / 30%);
    --hero-wash:
      radial-gradient(42% 46% at 26% 18%, rgb(11 184 155 / 20%), transparent 68%),
      radial-gradient(40% 44% at 78% 8%, rgb(47 127 232 / 16%), transparent 66%),
      radial-gradient(50% 50% at 50% 60%, rgb(139 79 224 / 12%), transparent 70%),
      linear-gradient(180deg, #0d1a1b 0%, #0c1116 62%, #0c0e14 100%);
    --header-bg: rgb(12 14 20 / 80%);
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-faint: var(--ink-dim);
    --edge: var(--edge-strong);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.04;
  overflow-wrap: break-word;
  hyphens: manual;
}

h3 {
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--live-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--live-text);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  max-width: calc(860px + 2 * var(--gutter));
}

@media (max-width: 400px) {
  :root {
    --gutter: 16px;
  }
}

/* Skip link */
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--live-shade);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Header: sticky, translucent */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--edge);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-mark-bg {
  fill: #1d3f47;
}

.brand-mark-bar {
  fill: #e9f3ef;
}

.brand-mark-accent {
  fill: #8fd1b8;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-word {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-faint);
}

.nav-main {
  display: none;
  margin-inline-start: auto;
}

.nav-main ul {
  display: flex;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-main a,
.bar-end a:not(.nav-cta) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-dim);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-main a:hover,
.bar-end a:not(.nav-cta):hover,
.nav-main a[aria-current="page"] {
  color: var(--ink);
}

.nav-main a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-inline-start: auto;
}

.lang-switch {
  font-weight: 600;
}

.nav-cta {
  display: none;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--btn-bg-hover);
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}

@media (min-width: 1180px) {
  .nav-main {
    display: block;
  }

  .bar-end {
    margin-inline-start: 0;
  }

  .menu-link {
    display: none !important;
  }
}

/* Type */
.display {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  max-width: 17em;
}

.hero-staged .display {
  font-size: clamp(2.2rem, 8.6vw, 5.4rem);
  line-height: 0.98;
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 20em;
}

.eyebrow {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow .tag {
  text-transform: none;
  letter-spacing: 0;
}

.grad {
  color: var(--live-text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad,
  .stat-figure {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.lead,
.lede {
  max-width: 640px;
  margin: 0;
  color: var(--ink-dim);
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.5;
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: var(--btn-shadow);
}

.button-primary:hover {
  background: var(--btn-bg-hover);
}

.button-secondary {
  border-color: var(--edge-strong);
  background: var(--ghost-bg);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--bg-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .card,
  .nav-cta {
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background-color 0.18s ease,
      border-color 0.18s ease;
  }

  .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgb(8 145 126 / 42%);
  }
}

a.arrow {
  font-weight: 600;
  text-decoration: none;
}

a.arrow::after {
  content: " →";
  content: " →" / "";
}

a.arrow:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 88px);
  background: var(--hero-wash);
  text-align: center;
}

.hero-staged {
  padding-bottom: 0;
  background:
    linear-gradient(to bottom, transparent calc(100% - clamp(220px, 30vw, 460px)), var(--bg) 0),
    var(--hero-wash);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-copy > * {
  margin: 0;
}

.hero-meta {
  max-width: 60em;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

.hero-stage {
  margin-top: clamp(40px, 6vw, 66px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.hero-compact {
  text-align: start;
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px);
}

.hero-compact .hero-copy {
  align-items: flex-start;
  gap: 16px;
}

.hero-compact .display {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.app-icon,
.final-icon {
  display: inline-flex;
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 12px 26px rgb(8 145 126 / 26%));
}

.app-icon-mark {
  width: 100%;
  height: 100%;
}

.final-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
}

/* Product screenshots */
.frame {
  margin: 0;
}

.frame-window {
  position: relative;
  padding: 30px 8px 8px;
  border-radius: 18px;
  background: var(--frame);
  box-shadow: var(--frame-shadow);
}

.frame-window::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  width: 52px;
  height: 11px;
  background:
    radial-gradient(circle at 5px 5.5px, #ff5f57 4.5px, transparent 5px),
    radial-gradient(circle at 23px 5.5px, #febc2e 4.5px, transparent 5px),
    radial-gradient(circle at 41px 5.5px, #28c840 4.5px, transparent 5px);
}

.frame img {
  display: block;
  width: 100%;
  border-radius: 10px;
  background: #ffffff;
}

.frame figcaption,
.phone figcaption {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 0.86rem;
  text-align: center;
}

.practice {
  display: inline-block;
  margin-inline-end: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--live-soft);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.phone {
  max-width: 300px;
  margin: 0 auto;
}

.phone img {
  display: block;
  width: 100%;
  border: 10px solid var(--frame);
  border-radius: 44px;
  background: #ffffff;
  box-shadow: var(--frame-shadow);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-dim);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust li {
  position: relative;
  padding-inline-start: 22px;
}

.trust li::before,
.ticks li::before,
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--live-core);
  border-radius: 50%;
}

.trust li::after,
.ticks li::after,
.checks li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: calc(0.2em + 3.5px);
  width: 4px;
  height: 7px;
  border: solid var(--live-text);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Status band */
.status {
  padding-block: 22px;
  border-block: 1px solid var(--edge);
  background: var(--bg-soft);
  font-size: 0.9rem;
}

.status-title {
  margin: 0 0 8px;
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status ul {
  display: grid;
  gap: 6px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-dim);
}

.status li {
  position: relative;
  padding-inline-start: 18px;
}

.status li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live-core);
}

@media (min-width: 900px) {
  .status ul {
    grid-template-columns: 1fr 1.3fr 2fr;
  }
}

/* Sections */
.section {
  padding-block: clamp(80px, 10vw, 128px);
}

.section + .section,
.status + .section {
  border-top: 1px solid var(--edge);
}

.section-soft {
  background: var(--bg-soft);
}

.section .eyebrow {
  margin-bottom: 14px;
}

.section-lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--ink-dim);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.55;
}

.section h2 + ul,
.section h2 + .cards,
.section h2 + ol,
.section h2 + dl,
.section h2 + .billing,
.section h2 + .faq-list,
.section h2 + .split,
.section h2 + .facts {
  margin-top: 36px;
}

.section-lead + ul,
.section-lead + .cards,
.section-lead + ol {
  margin-top: 36px;
}

.fine {
  max-width: 60em;
  margin: 20px 0 0;
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.callout,
.note-card {
  max-width: 800px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--ink-dim);
  font-size: 0.97rem;
}

.section-soft .callout,
.section-soft .note-card {
  background: var(--card);
}

.note-card p:last-child,
.callout p:last-child {
  margin-bottom: 0;
}

.note-card strong,
.callout strong {
  color: var(--ink);
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 28px 0 0;
  font-size: 0.95rem;
}

/* Lists */
.checks,
.ticks,
.plain,
.dots {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks,
.plain {
  max-width: 46em;
}

.checks li,
.ticks li {
  position: relative;
  margin-bottom: 13px;
  padding-inline-start: 30px;
  color: var(--ink-dim);
  line-height: 1.45;
}

.plain li {
  margin-bottom: 14px;
  color: var(--ink-dim);
}

.plain strong {
  color: var(--ink);
}

.dots li {
  position: relative;
  margin-bottom: 10px;
  padding-inline-start: 18px;
  color: var(--ink-dim);
  font-size: 0.94rem;
  line-height: 1.5;
}

.dots li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
}

/* Availability tags: the words carry the meaning; the outline differs so colour is never the only cue */
.tag {
  display: inline-block;
  padding: 1px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 1px;
}

.tag-pilot {
  background: var(--live-soft);
  color: var(--live-text);
}

@media (prefers-color-scheme: light) {
  .tag-pilot {
    color: var(--live-shade);
  }
}

.tag-approval {
  border-color: var(--ink-faint);
  color: var(--ink-dim);
}

.tag-roadmap {
  border: 1px dashed var(--ink-faint);
  color: var(--ink-dim);
}

h2 .tag {
  margin-inline-start: 8px;
  font-size: 0.875rem;
  vertical-align: middle;
}

/* The problem: copy beside a dark mono panel */
.threat-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.threat-copy .h2 {
  margin-bottom: 20px;
}

.threat-copy p {
  max-width: 36em;
  color: var(--ink-dim);
  line-height: 1.62;
}

@media (min-width: 900px) {
  .threat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 68px;
  }
}

.mono {
  padding: 24px;
  border-radius: 16px;
  background: #0b0e16;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 6%),
    0 20px 48px rgb(12 14 20 / 18%);
  color: rgb(255 255 255 / 88%);
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.65;
}

.mono-head {
  margin: 0 0 14px;
  color: #a3a8b3;
}

.mono dl {
  margin: 0;
}

.mono dl div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding-block: 7px;
  border-bottom: 1px dashed rgb(255 255 255 / 10%);
}

.mono dt {
  color: rgb(255 255 255 / 86%);
}

.mono dd {
  margin: 0;
  font-weight: 600;
}

.mono-pilot {
  color: #3fd6b9;
}

.mono-approval {
  color: #f0b45a;
}

.mono-roadmap {
  color: #a3a8b3;
}

.mono-note {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid rgb(240 180 90 / 35%);
  border-radius: 8px;
  background: rgb(240 180 90 / 8%);
  color: #f5cf8e;
}

/* Numbered steps 01–04 */
.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.how-step {
  padding: 26px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.how-num {
  display: block;
  margin-bottom: 14px;
  color: var(--live-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.how-step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.how-step p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.94rem;
  line-height: 1.58;
}

/* Feature chapters */
.chapter {
  padding-block: clamp(88px, 10vw, 130px);
  border-top: 1px solid var(--edge);
}

.chapter-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.chapter-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.chapter-copy > p,
.chapter-copy > .ticks {
  margin: 0;
  color: var(--ink-dim);
  line-height: 1.6;
}

.chapter-copy .ticks li:last-child {
  margin-bottom: 0;
}

.chapter-status {
  color: var(--ink-dim);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .chapter-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 68px;
  }

  .chapter-grid.flip {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .chapter-grid.flip .chapter-copy {
    order: 2;
  }
}

.chapter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow:
    0 10px 22px rgb(12 14 20 / 16%),
    inset 0 1px rgb(255 255 255 / 35%);
}

.chapter-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chapter-icon-live {
  background: linear-gradient(160deg, var(--live-core), var(--live-shade));
}

.chapter-icon-alerts {
  background: linear-gradient(160deg, var(--alerts-core), var(--alerts-glow));
}

.chapter-icon-skills {
  background: linear-gradient(160deg, var(--skills-core), var(--skills-glow));
}

.chapter-icon-health {
  background: linear-gradient(160deg, var(--health-core), var(--health-glow));
}

.chapter-icon-updates {
  background: linear-gradient(160deg, var(--updates-core), var(--updates-glow));
}

.chapter-live .eyebrow,
.chapter-live .hl {
  color: var(--live-text);
}

.chapter-alerts .eyebrow,
.chapter-alerts .hl {
  color: var(--alerts-text);
}

.chapter-skills .eyebrow,
.chapter-skills .hl {
  color: var(--skills-text);
}

.chapter-health .eyebrow,
.chapter-health .hl {
  color: var(--health-text);
}

.chapter-updates .eyebrow,
.chapter-updates .hl {
  color: var(--updates-text);
}

.panel-card {
  padding: 28px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.panel-title {
  margin: 0 0 8px;
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--edge);
  font-size: 0.97rem;
}

.panel-rows li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Is this for you? */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-top: 44px;
}

.fit-card,
.card,
.plan {
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.fit-card {
  padding: 26px;
}

.section .fit-card .eyebrow {
  margin-bottom: 12px;
}

.fit-card h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* Pricing: Monthly/Yearly switch without JavaScript */
.billing {
  margin-top: 30px;
}

.billing-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
}

.period {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--bg-soft);
}

.section-soft .period {
  background: var(--card);
}

.period label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}

.period em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--live-soft);
  color: var(--live-text);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.billing-monthly:checked ~ .period .period-monthly,
.billing-yearly:checked ~ .period .period-yearly {
  background: var(--ghost-bg);
  color: var(--ink);
  box-shadow:
    0 0 0 1px var(--edge-strong),
    0 4px 12px rgb(12 14 20 / 8%);
}

.billing-monthly:focus-visible ~ .period .period-monthly,
.billing-yearly:focus-visible ~ .period .period-yearly {
  outline: 3px solid var(--live-text);
  outline-offset: 2px;
}

.price-yearly,
.billing-yearly:checked ~ .plans .price-monthly {
  display: none;
}

.billing-yearly:checked ~ .plans .price-yearly {
  display: block;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-top: 30px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
}

.plan-featured {
  border-color: rgb(11 184 155 / 45%);
  background: linear-gradient(170deg, rgb(11 184 155 / 7%), var(--card) 60%);
  box-shadow: 0 18px 50px rgb(8 145 126 / 16%);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--live-shade);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 1.16rem;
}

.price p {
  margin: 0;
}

.amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.amount span {
  color: var(--ink-faint);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-note {
  margin-top: 6px !important;
  color: var(--ink-faint);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.plan .ticks {
  flex: 1;
  padding-top: 16px;
  border-top: 1px solid var(--edge);
  font-size: 0.95rem;
}

.plan .button {
  width: 100%;
}

.founding-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 26px;
  border: 1px solid rgb(11 184 155 / 40%);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgb(11 184 155 / 9%), var(--card) 70%);
}

.founding-band p {
  max-width: 48em;
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.94rem;
}

.founding-band .founding-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

/* Grid of short cards */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.mini {
  padding: 18px 20px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.mini h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.mini p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Quiet, by design: stat tiles */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.stat {
  padding: 30px 26px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.stat-figure {
  display: inline-block;
  color: var(--live-text);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Questions: native <details> */
.faq-list {
  max-width: 800px;
  margin-top: 38px;
  border-top: 1px solid var(--edge);
}

.faq-list details {
  border-bottom: 1px solid var(--edge);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--live-text);
}

.chev {
  flex: none;
  color: var(--ink-faint);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] .chev {
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .chev {
    transition: transform 0.22s ease;
  }
}

.faq-answer p {
  max-width: 70ch;
  margin: 0;
  padding-bottom: 24px;
  color: var(--ink-dim);
  font-size: 0.97rem;
  line-height: 1.62;
}

/* Final call to action */
.final-cta {
  padding-block: clamp(80px, 10vw, 110px) clamp(90px, 10vw, 120px);
  border-top: 1px solid var(--edge);
  text-align: center;
}

.final-cta .final-icon {
  display: flex;
}

.final-cta .h2 {
  max-width: 16em;
  margin: 0 auto 14px;
}

.final-cta .lede {
  max-width: 34em;
  margin: 0 auto 30px;
}

.final-cta .hero-meta {
  margin: 22px auto 0;
}

/* Generic cards (offers, contact topics) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  color: var(--ink-dim);
  text-decoration: none;
}

.card:hover {
  border-color: var(--live-core);
}

.card-title {
  color: var(--live-text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-meta {
  color: var(--ink-faint);
  font-size: 0.86rem;
}

/* Older blocks kept for the offer and legal pages */
.steps {
  max-width: 48em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 2px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--edge);
}

.step-when {
  color: var(--live-text);
  font-weight: 600;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr auto;
    gap: 64px;
  }
}

.places {
  font-size: 1.05rem;
}

.places span {
  color: var(--ink-dim);
}

/* Features */
.legend {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 52em;
  margin: 18px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--card);
  text-align: start;
}

.legend div {
  display: grid;
  gap: 4px 20px;
}

.legend dd {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .legend div {
    grid-template-columns: 13rem 1fr;
    align-items: baseline;
  }
}

.plan-groups {
  padding-block: clamp(56px, 8vw, 96px);
}

.plan-group + .plan-group {
  margin-top: 64px;
}

.plan-group h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.features {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--edge);
}

.feature {
  display: grid;
  justify-items: start;
  gap: 6px 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--edge);
}

.feature-note {
  color: var(--ink-dim);
  font-size: 0.93rem;
}

@media (min-width: 720px) {
  .feature {
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }

  .feature .tag {
    justify-self: end;
  }

  .feature-note {
    grid-column: 1 / -1;
  }
}

/* Company facts */
.facts {
  max-width: 48em;
  margin: 0;
  border-top: 1px solid var(--edge);
}

.facts div {
  display: grid;
  gap: 2px 24px;
  padding-block: 14px;
  border-bottom: 1px solid var(--edge);
}

.facts dt {
  color: var(--ink-dim);
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .facts div {
    grid-template-columns: 14rem 1fr;
  }
}

/* Legal prose */
.prose {
  padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px);
}

.prose > * {
  max-width: 46em;
}

.prose section {
  margin-bottom: 40px;
}

.prose h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.prose p,
.prose li {
  color: var(--ink-dim);
}

.prose .facts {
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  padding-block: 64px 40px;
  border-top: 1px solid var(--edge);
  background: var(--bg-soft);
}

.site-footer > .wrap {
  display: grid;
  gap: 40px;
}

.foot-brand p {
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.foot-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-nav a {
  display: inline-block;
  padding-block: 4px;
  color: var(--ink-dim);
  font-size: 0.92rem;
  text-decoration: none;
}

.foot-nav a:hover,
.foot-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.foot-meta {
  padding-top: 22px;
  border-top: 1px solid var(--edge);
  color: var(--ink-faint);
  font-size: 0.84rem;
  line-height: 1.6;
}

.foot-meta p {
  max-width: 62em;
  overflow-wrap: anywhere;
}

@media (min-width: 900px) {
  .site-footer > .wrap {
    grid-template-columns: 1fr 3fr;
  }

  .foot-meta {
    grid-column: 1 / -1;
  }
}

/* Language chooser and 404 */
.chooser {
  background: var(--hero-wash);
  background-attachment: fixed;
}

.chooser-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: calc(760px + 2 * var(--gutter));
  min-height: 100vh;
  margin-inline: auto;
  padding: 48px var(--gutter);
  text-align: center;
}

.chooser-main h1 {
  margin-top: 40px;
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.chooser-main .lead {
  margin-top: 16px;
}

.chooser-main .actions {
  margin-top: 32px;
}

/* Windows High Contrast and other forced-colour modes */
@media (forced-colors: active) {
  .grad,
  .stat-figure {
    background: none;
    color: CanvasText;
  }

  .billing-monthly:checked ~ .period .period-monthly,
  .billing-yearly:checked ~ .period .period-yearly {
    outline: 2px solid Highlight;
  }

  .frame-window::before {
    display: none;
  }
}
