/* ==========================================================================
   Appointment monitoring software — site stylesheet
   Premium, calm, transparent. One restrained accent colour, generous
   whitespace, subtle shadows, rounded cards, no neon, no casino styling.
   ========================================================================== */

/* ------------------------------- tokens --------------------------------- */
:root {
  --ink:          #0e1626;
  --ink-soft:     #1b2537;
  --ink-line:     #d8dee9;
  --ink-line-dim: #e7ebf2;

  --paper:        #ffffff;
  --paper-tint:   #f6f8fb;
  --paper-tint-2: #eef2f7;

  --text:         #1a2233;
  --text-muted:   #5b6779;
  --text-invert:  #eef2f7;
  --text-invert-muted: #a9b5c7;

  --accent:       #1f5fd0;         /* the single restrained accent */
  --accent-dark:  #17479c;
  --accent-tint:  #eaf1fd;

  --accent-ivac:      #1f5fd0;
  --accent-ivac-tint: #eaf1fd;
  --accent-ivac-line: #c3d7f7;

  --accent-vfs:       #0d6f68;
  --accent-vfs-tint:  #e6f4f2;
  --accent-vfs-line:  #b6ddd8;

  --positive:     #15734a;
  --positive-tint:#e7f5ee;
  --warning:      #8a5400;
  --warning-tint: #fdf3e3;
  --danger:       #a92a20;
  --danger-tint:  #fdecea;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(14, 22, 38, .06), 0 1px 3px rgba(14, 22, 38, .05);
  --shadow:    0 10px 28px -18px rgba(14, 22, 38, .35), 0 2px 6px rgba(14, 22, 38, .05);
  --shadow-lg: 0 30px 60px -34px rgba(14, 22, 38, .45), 0 4px 14px rgba(14, 22, 38, .06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .55em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.09rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .3rem; }

code, pre, .mono { font-family: var(--mono); font-size: .9em; }

.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-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid rgba(31, 95, 208, .45); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------ layout ---------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 800px; }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--paper-tint); }
.section--note { background: var(--paper-tint-2); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: #bcd2f8; }
.section--dark .lede { color: var(--text-invert-muted); }
.section--boundary { background: linear-gradient(180deg, var(--paper-tint) 0%, #fff 100%); }

.section-head { max-width: 780px; margin-bottom: clamp(28px, 3.6vw, 46px); }
.section-head--split {
  max-width: none; display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end;
}
.section-head-side { display: grid; gap: 12px; justify-items: start; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  font-weight: 650; color: var(--text-muted); margin-bottom: .7rem;
}
.section--dark .eyebrow { color: var(--text-invert-muted); }

.lede { font-size: 1.06rem; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.section--dark .muted { color: var(--text-invert-muted); }
.small { font-size: .87rem; }

/* ------------------------------ buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .82rem 1.25rem; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease,
              transform .16s ease, box-shadow .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink-line); }
.btn-outline:hover { border-color: var(--ink); background: rgba(14, 22, 38, .03); }

.btn-ghost { background: transparent; color: var(--accent); border-color: transparent; }
.btn-ghost:hover { background: var(--accent-tint); }

.btn-quiet { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-quiet:hover { color: var(--ink); background: var(--paper-tint-2); }

.btn-vfs { background: var(--accent-vfs); color: #fff; box-shadow: var(--shadow-sm); }
.btn-vfs:hover { background: #0a5852; }

.section--dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.section--dark .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-sm { padding: .58rem .9rem; font-size: .88rem; border-radius: 9px; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

.inline-form { display: inline; margin: 0; }

/* ------------------------------- header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--ink-line-dim);
}
.header-inner {
  display: flex; align-items: center; gap: 18px; min-height: var(--header-h);
  min-width: 0;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink); text-decoration: none; flex: 0 1 auto; min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--ink); color: #fff; flex: 0 0 auto;
}
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-text strong {
  font-size: .98rem; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand-text small {
  color: var(--text-muted); font-size: .74rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul li { margin: 0; }
.primary-nav ul a {
  display: block; padding: .5rem .62rem; border-radius: 8px;
  color: var(--text); font-size: .9rem; font-weight: 500;
}
.primary-nav ul a:hover { background: var(--paper-tint-2); color: var(--ink); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; border-radius: 10px;
  border: 1px solid var(--ink-line); background: #fff; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; margin: 0 auto;
  position: relative; transition: transform .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* -------------------------------- hero ---------------------------------- */
.hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px);
  background:
    radial-gradient(1100px 480px at 12% -10%, #eef4ff 0%, rgba(238, 244, 255, 0) 62%),
    linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
  border-bottom: 1px solid var(--ink-line-dim);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 56px); align-items: center; }
.hero-copy h1 { margin-bottom: .5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.5rem; }

.assurance { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; }
.assurance li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: .93rem; color: var(--text-muted); font-weight: 500; }

.tick { color: var(--positive); font-weight: 700; }
.tick--vfs { color: var(--accent-vfs); }

.hero-visual-note { margin-top: .9rem; max-width: 46ch; }

/* ----------------------------- trust bar -------------------------------- */
.trust-bar { background: var(--ink); color: var(--text-invert); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.trust-item { display: grid; gap: .2rem; padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .18); }
.trust-item strong { font-size: .95rem; color: #fff; }
.trust-item span { font-size: .83rem; color: var(--text-invert-muted); }

/* -------------------------------- cards --------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--ink-line-dim);
  border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
}
.section--tint .card { background: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; gap: 18px; border-top-width: 4px; border-top-style: solid; }
.product-card--ivac { border-top-color: var(--accent-ivac); }
.product-card--vfs  { border-top-color: var(--accent-vfs); }
.product-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.product-head p { color: var(--text-muted); }
.product-price { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.product-foot { font-size: .87rem; color: var(--text-muted); }
.product-card .btn-block { margin-top: auto; }

.separation-note {
  margin-top: 26px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--paper-tint-2); border: 1px dashed var(--ink-line);
  font-size: .92rem; color: var(--text-muted);
}

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.feature-list li { margin: 0; display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; }
.feature-list .tick { line-height: 1.5; }
.feature-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.plain-list li { margin: 0; display: flex; gap: .6rem; font-size: .95rem; }
.plain-list li::before { content: "•"; color: var(--accent); font-weight: 700; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.feature-card p { color: var(--text-muted); font-size: .95rem; }

/* -------------------------------- steps --------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step {
  background: #fff; border: 1px solid var(--ink-line-dim); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow-sm);
}
.step-num { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.step h3 { font-size: 1rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--text-muted); }

.flow-chain {
  margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: #fff; border: 1px solid var(--ink-line-dim); border-radius: var(--radius);
  padding: 16px 18px;
}
.flow-chain-label { font-size: .88rem; font-weight: 600; color: var(--text-muted); margin-right: .4rem; }
.flow-node { background: var(--paper-tint-2); border-radius: 999px; padding: .38rem .85rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.flow-arrow { color: var(--text-muted); font-weight: 700; }

/* ------------------------------- split ---------------------------------- */
.product-section--ivac { background: #fff; }
.product-section--vfs { background: var(--paper-tint); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 52px); align-items: start; }
.split--reverse .split-visual { order: 2; }
.split-body h3 { margin-top: 1.6rem; }
.split-body h3:first-child { margin-top: 0; }

.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: .5rem; }
.numbered li { counter-increment: n; display: flex; gap: .75rem; font-size: .95rem; margin: 0; }
.numbered li::before {
  content: counter(n); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--accent-tint); color: var(--accent-dark);
}
.product-section--vfs .numbered li::before { background: var(--accent-vfs-tint); color: var(--accent-vfs); }

.inline-note {
  margin-top: 1.3rem; padding: 14px 16px; border-radius: var(--radius);
  background: var(--paper-tint-2); border-left: 3px solid var(--ink-line);
  font-size: .91rem; color: var(--text-muted);
}
.section--tint .inline-note, .section--dark .inline-note { background: rgba(255, 255, 255, .06); }
.section--dark .inline-note { border-left-color: rgba(255, 255, 255, .25); color: var(--text-invert-muted); }

/* ------------------------------- badges --------------------------------- */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px;
  background: var(--paper-tint-2); color: var(--text-muted);
}
.badge--ivac { background: var(--accent-ivac-tint); color: var(--accent-dark); border: 1px solid var(--accent-ivac-line); }
.badge--vfs  { background: var(--accent-vfs-tint); color: var(--accent-vfs); border: 1px solid var(--accent-vfs-line); }
.badge--value { background: var(--ink); color: #fff; }
.section--dark .badge { background: rgba(255, 255, 255, .12); color: #fff; }

.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 600; }
.status--available { color: var(--positive); }
.status--unavailable { color: var(--text-muted); }

.pill {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  padding: .26rem .6rem; border-radius: 999px; text-transform: uppercase;
}
.tone-neutral  { background: var(--paper-tint-2); color: var(--text-muted); }
.tone-positive { background: var(--positive-tint); color: var(--positive); }
.tone-warning  { background: var(--warning-tint); color: var(--warning); }
.tone-danger   { background: var(--danger-tint); color: var(--danger); }
.tone-accent   { background: var(--accent-tint); color: var(--accent-dark); }
.tone-vfs      { background: var(--accent-vfs-tint); color: var(--accent-vfs); }

/* ------------------------------- mockups -------------------------------- */
.mock {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--ink-line); box-shadow: var(--shadow-lg);
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: var(--paper-tint-2); border-bottom: 1px solid var(--ink-line-dim);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #c7cfdb; }
.mock-title { margin-left: 8px; font-size: .8rem; font-weight: 650; color: var(--ink); }
.mock-chip { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: .18rem .5rem; border-radius: 999px; }
.mock-chip--ivac { background: var(--accent-ivac-tint); color: var(--accent-dark); }
.mock-chip--vfs  { background: var(--accent-vfs-tint); color: var(--accent-vfs); }

.mock-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); background: #fdfefe; }
.mock-side { background: var(--ink); padding: 12px 8px; display: grid; gap: 4px; align-content: start; }
.mock-side-item { font-size: .78rem; color: rgba(255, 255, 255, .62); padding: .42rem .6rem; border-radius: 7px; }
.mock-side-item.is-active { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; }
.mock--ivac .mock-side-item.is-active { box-shadow: inset 3px 0 0 var(--accent-ivac); }
.mock--vfs .mock-side-item.is-active { box-shadow: inset 3px 0 0 var(--accent-vfs); }

.mock-main { padding: 14px; display: grid; gap: 12px; }
.mock-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mock-field { background: #fff; border: 1px solid var(--ink-line-dim); border-radius: 10px; padding: 9px 11px; display: grid; gap: 2px; }
.mock-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 650; }
.mock-value { font-size: .88rem; font-weight: 650; color: var(--ink); }
.mock-value--on { color: var(--positive); }
.mock-value--on::before { content: "● "; }

.mock-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-card { background: #fff; border: 1px solid var(--ink-line-dim); border-radius: 10px; padding: 10px 11px; display: grid; gap: 2px; }
.mock-card strong { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.mock-log { background: #fff; border: 1px solid var(--ink-line-dim); border-radius: 10px; padding: 11px; }
.mock-log-head { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 650; margin-bottom: .5rem; }
.mock-log-line { font-family: var(--mono); font-size: .76rem; color: #46536a; margin-bottom: .3rem; }
.mock-log-line--note { color: var(--text-muted); font-style: italic; }
.mock-time { color: #8b96a8; margin-right: .5rem; }
.mock--ivac .mock-log-line--note { border-left: 2px solid var(--accent-ivac-line); padding-left: .55rem; }
.mock--vfs  .mock-log-line--note { border-left: 2px solid var(--accent-vfs-line); padding-left: .55rem; }

.mock-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mock-btn { font-size: .78rem; font-weight: 600; padding: .42rem .75rem; border-radius: 8px; border: 1px solid var(--ink-line); color: var(--text-muted); background: #fff; }
.mock-btn--primary { color: #fff; border-color: transparent; }
.mock--ivac .mock-btn--primary { background: var(--accent-ivac); }
.mock--vfs  .mock-btn--primary { background: var(--accent-vfs); }

.mock-caption { padding: 10px 14px; font-size: .78rem; color: var(--text-muted); background: var(--paper-tint); border-top: 1px solid var(--ink-line-dim); }

/* -------------------------- video / instruction ------------------------- */
.video-block { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .16); }
.video-frame iframe, .video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-placeholder {
  aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: .5rem;
  text-align: center; padding: 26px; background: rgba(255, 255, 255, .05); color: var(--text-invert);
}
.video-placeholder-icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-size: 1.3rem; margin-bottom: .4rem;
}
.video-side h3 { font-size: 1.02rem; letter-spacing: .04em; }
.video-side .plain-list li::before { color: #bcd2f8; }
.video-side .btn-block { margin: 1.1rem 0 .7rem; }

.quote {
  margin: clamp(26px, 3vw, 40px) 0 0; padding: 22px 26px;
  border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.04rem; color: var(--text-invert); font-style: italic;
}

/* ------------------------------- pricing -------------------------------- */
.pricing-group + .pricing-group { margin-top: clamp(34px, 4vw, 54px); }
.pricing-group-head { display: grid; gap: .35rem; justify-items: start; margin-bottom: 20px; }
.pricing-group-head h3 { margin: 0; font-size: 1.22rem; }
.pricing-group-head--ivac { border-left: 4px solid var(--accent-ivac); padding-left: 14px; }
.pricing-group-head--vfs  { border-left: 4px solid var(--accent-vfs);  padding-left: 14px; }

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.price-grid--single { grid-template-columns: minmax(0, 520px); }

.price-card { display: flex; flex-direction: column; gap: 16px; }
.price-card--vfs { border-color: var(--accent-vfs-line); }
.price-card--ivac { border-color: var(--accent-ivac-line); }
.price-head { display: grid; gap: .35rem; justify-items: start; }
.price-head h3 { margin: 0; font-size: 1.14rem; }
.price-tag { display: flex; align-items: baseline; gap: .5rem; margin: .3rem 0 0; }
.price-amount { font-size: 2.1rem; font-weight: 750; color: var(--ink); letter-spacing: -.03em; }
.price-duration { color: var(--text-muted); font-size: .95rem; font-weight: 600; }
.price-includes { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 700; margin-top: .8rem; }
.price-note { font-size: .88rem; color: var(--text-muted); background: var(--paper-tint); padding: 10px 12px; border-radius: 10px; }
.price-foot { font-size: .86rem; color: var(--text-muted); }
.price-card .btn-block { margin-top: auto; }

.trust-strip {
  margin-top: clamp(30px, 3.5vw, 44px); padding: 20px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--ink-line-dim); box-shadow: var(--shadow-sm);
  display: grid; gap: .5rem;
}
.trust-strip-line { font-size: .96rem; margin: 0; font-weight: 550; color: var(--ink); }
.trust-strip-line + .trust-strip-line { font-weight: 450; color: var(--text-muted); }

/* ------------------------------- refund --------------------------------- */
.refund-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.refund-main h3 { margin-top: 1.9rem; }
.refund-main h3:first-child { margin-top: 0; }
.callout { padding: 18px 20px; border-radius: var(--radius); margin: 1.4rem 0; }
.callout--exclusions { background: #fff; border: 1px solid var(--ink-line); border-left: 4px solid var(--warning); }
.callout--exclusions h4 { margin-bottom: .4rem; }
.callout--exclusions p { color: var(--text-muted); font-size: .94rem; }

.refund-card { display: grid; gap: .9rem; justify-items: start; border: 1px solid var(--accent-ivac-line); }
.refund-card-tag {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--accent-dark);
  background: var(--accent-tint); padding: .3rem .62rem; border-radius: 999px;
}
.refund-aside { position: sticky; top: calc(var(--header-h) + 18px); }

/* ------------------------------ boundary -------------------------------- */
.boundary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 1.4rem 0; }
.boundary-box { background: #fff; border: 1px solid var(--ink-line-dim); border-radius: var(--radius); padding: 20px; }
.boundary-box h3 { font-size: 1rem; }
.boundary-box--not { border-color: var(--ink-line); background: var(--paper-tint); }
.boundary-box--not .plain-list li::before { content: "✕"; color: var(--danger); font-size: .85em; }

/* --------------------------------- faq ---------------------------------- */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--ink-line-dim); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: .75rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.1rem; width: 1ch; }
.faq-item[open] summary::before { content: "−"; }
.faq-item summary:hover { background: var(--paper-tint); }
.faq-answer { padding: 0 20px 18px 46px; color: var(--text-muted); }
.faq-answer p { margin: 0; }

/* --------------------------- notes & final cta -------------------------- */
.section--note h2 { max-width: 20ch; }
.note-signature { margin-top: 1.4rem; }

.final-note {
  padding: 26px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); max-width: 880px; margin-bottom: clamp(30px, 4vw, 48px);
  font-size: 1.03rem;
}
.final-cta { display: grid; gap: 1rem; justify-items: start; }
.final-cta h2 { margin: 0; }
.final-cta > p { max-width: 62ch; color: var(--text-invert-muted); }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .4rem; }
.final-cta-links { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .92rem; }
.final-cta-links span { color: rgba(255, 255, 255, .35); }

/* ------------------------------- workflows ------------------------------ */
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 1.2rem; }
.workflow-card { display: grid; gap: .5rem; justify-items: start; border-top: 3px solid var(--ink-line); }
.workflow-card--ivac { border-top-color: var(--accent-ivac); }
.workflow-card--vfs  { border-top-color: var(--accent-vfs); }
.workflow-route { font-size: 1.05rem; font-weight: 650; color: var(--ink); margin: 0; }

/* ------------------------------ spacing utilities -----------------------
   Used instead of inline styles, because the site ships a strict
   Content-Security-Policy that does not allow inline CSS. */
.mt-8  { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mb-16 { margin-bottom: 16px; }
.m-0   { margin: 0; }
.w-90  { width: 90px; }
.w-100 { width: 100px; }
.w-200 { width: 200px; }
.w-220 { width: 220px; }
.w-260 { width: 260px; }
.mw-220 { max-width: 220px; }
.mw-240 { max-width: 240px; }

/* Sign-out button inside the dark application header. */
.btn-on-dark { color: #c9d3e2; }
.btn-on-dark:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* A light-on-light blockquote, for admin views. */
.quote--light {
  border-left-color: var(--accent);
  background: var(--paper-tint);
  color: var(--text);
  font-style: normal;
}

/* The support transcript inside the administrator console. */
.support-log--console {
  border: 1px solid var(--ink-line-dim);
  border-radius: var(--radius);
  max-height: 420px;
  background: var(--paper-tint);
}

/* ------------------------------- notices -------------------------------- */
.flash-wrap { padding-top: 18px; }
.notice { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .94rem; margin-bottom: 10px; border: 1px solid transparent; }
.notice--info    { background: var(--accent-tint); color: var(--accent-dark); border-color: var(--accent-ivac-line); }
.notice--success { background: var(--positive-tint); color: var(--positive); border-color: #bfe3cf; }
.notice--warning { background: var(--warning-tint); color: var(--warning); border-color: #f0d8a8; }
.notice--danger  { background: var(--danger-tint); color: var(--danger); border-color: #f3c4be; }

/* -------------------------------- footer -------------------------------- */
.site-footer { background: var(--ink); color: var(--text-invert-muted); padding: clamp(40px, 5vw, 64px) 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-block h3, .footer-block h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-block p { color: var(--text-invert-muted); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links li { margin: 0; }
.site-footer a { color: var(--text-invert); }
.site-footer a:hover { color: #fff; }
.footer-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.disclaimer { font-size: .84rem; color: var(--text-invert-muted); max-width: 96ch; }

/* ------------------------------ support chat ---------------------------- */
.support-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.support-button {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .95rem; color: #fff;
  background: var(--ink); border: none; border-radius: 999px;
  padding: .8rem 1.15rem; cursor: pointer; box-shadow: var(--shadow);
}
.support-button:hover { background: var(--ink-soft); }

.support-panel {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(370px, calc(100vw - 44px)); max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: #fff; color: var(--text);
  border: 1px solid var(--ink-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}

/* The panel stays closed until the Support button opens it. `hidden` is set by
   the server on first render and toggled from app.js, so this rule must win over
   the flex display above. */
.support-panel[hidden] { display: none; }
.support-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem;
  padding: 14px 16px; background: var(--ink); color: #fff;
}
.support-panel-head strong { display: block; font-size: .98rem; }
.support-panel-head small { display: block; color: var(--text-invert-muted); font-size: .78rem; }
.support-close { background: transparent; border: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }

.support-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; }
.support-quick button {
  font: inherit; font-size: .82rem; font-weight: 550; cursor: pointer;
  background: var(--paper-tint); border: 1px solid var(--ink-line-dim);
  border-radius: 999px; padding: .34rem .72rem; color: var(--text-muted);
}
.support-quick button:hover { background: var(--accent-tint); color: var(--accent-dark); border-color: var(--accent-ivac-line); }

.support-log { flex: 1 1 auto; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 160px; }
.support-msg { max-width: 86%; border-radius: 14px; padding: .6rem .85rem; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.support-msg--us { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.support-msg--them { justify-self: start; background: var(--paper-tint-2); color: var(--text); border-bottom-left-radius: 4px; }
.support-msg--system { justify-self: center; background: transparent; color: var(--text-muted); font-size: .8rem; text-align: center; }
.support-msg-meta { display: block; font-size: .7rem; opacity: .7; margin-top: .3rem; }

.support-form { border-top: 1px solid var(--ink-line-dim); padding: 12px 14px 14px; display: grid; gap: 8px; background: var(--paper-tint); }
.support-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.support-form textarea, .support-form input {
  font: inherit; font-size: .9rem; width: 100%; padding: .55rem .7rem;
  border: 1px solid var(--ink-line); border-radius: 9px; background: #fff; color: var(--text); resize: vertical;
}
.support-form textarea:focus, .support-form input:focus { border-color: var(--accent); }
.support-form-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }

/* ------------------------- forms, tables, panels ------------------------ */
.panel {
  background: #fff; border: 1px solid var(--ink-line-dim); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 20px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin: 0; }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-row .hint { font-size: .82rem; color: var(--text-muted); }
.form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="search"], input[type="tel"], select, textarea {
  font: inherit; font-size: .95rem; color: var(--text); background: #fff;
  border: 1px solid var(--ink-line); border-radius: 10px; padding: .68rem .8rem; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(31, 95, 208, .14); }
textarea { resize: vertical; min-height: 96px; }
input[readonly] { background: var(--paper-tint); color: var(--text-muted); }

.checkline { display: flex; align-items: flex-start; gap: .55rem; font-size: .93rem; }
.checkline input { margin-top: .3rem; width: auto; }

.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex; align-items: flex-start; gap: .7rem; padding: 14px 16px;
  border: 1px solid var(--ink-line); border-radius: var(--radius); cursor: pointer; background: #fff;
}
.radio-card:hover { border-color: var(--accent-ivac-line); }
.radio-card input { margin-top: .25rem; width: auto; }
.radio-card strong { display: block; font-size: .95rem; color: var(--ink); }
.radio-card span.muted { font-size: .85rem; }

.wallet-box {
  display: grid; gap: .5rem; padding: 16px; border-radius: var(--radius);
  background: var(--paper-tint); border: 1px dashed var(--ink-line);
}
.wallet-value {
  font-family: var(--mono); font-size: .86rem; word-break: break-all;
  background: #fff; border: 1px solid var(--ink-line-dim); border-radius: 9px; padding: .7rem .8rem;
}

.order-summary { display: grid; gap: .5rem; }
.order-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.order-line strong { color: var(--ink); }
.order-total { border-top: 1px solid var(--ink-line-dim); padding-top: .6rem; margin-top: .3rem; font-size: 1.05rem; }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .68rem .7rem; border-bottom: 1px solid var(--ink-line-dim); vertical-align: top; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 700; }
tbody tr:hover { background: var(--paper-tint); }
.table-wrap { overflow-x: auto; }
td .mono { word-break: break-all; }

.data-list { display: grid; gap: .45rem; margin: 0; }
.data-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0; border-bottom: 1px solid var(--ink-line-dim);
  font-size: .92rem; min-width: 0;
}
.data-row:last-child { border-bottom: none; }
.data-row dt { color: var(--text-muted); margin: 0; flex: 0 1 auto; min-width: 0; }
.data-row dd {
  margin: 0; font-weight: 600; color: var(--ink); text-align: right;
  min-width: 0; overflow-wrap: anywhere;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--ink-line-dim); border-radius: var(--radius); padding: 18px; }
.stat span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 650; }
.stat strong { display: block; font-size: 1.7rem; color: var(--ink); margin-top: .3rem; letter-spacing: -.02em; }

/* ---------------------------- account area ------------------------------ */
.app-body { background: var(--paper-tint); min-height: 100vh; }
.app-header { background: var(--ink); color: #fff; }
.app-header .brand, .app-header .brand-text strong { color: #fff; }
.app-header .brand-text small { color: var(--text-invert-muted); }
.app-header .brand-mark { background: rgba(255, 255, 255, .14); }
.app-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.app-nav a {
  display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--text-invert-muted);
  font-size: .9rem; font-weight: 550;
}
.app-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.app-nav a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }

/* Primary actions in the dark application header sit in their own group so the
   navigation can shrink without pushing them onto another line. */
.app-header-actions {
  margin-left: auto; display: flex; align-items: center; gap: 14px; flex: 0 0 auto;
}
.app-header-actions > a {
  color: var(--text-invert-muted); font-size: .9rem; font-weight: 550;
}
.app-header-actions > a:hover { color: #fff; text-decoration: none; }
.app-header .nav-toggle { margin-left: auto; }
.app-header .nav-toggle { display: none; border-color: rgba(255, 255, 255, .3); background: transparent; }
.app-header .nav-toggle-bars, .app-header .nav-toggle-bars::before, .app-header .nav-toggle-bars::after { background: #fff; }

.app-main { padding: clamp(24px, 3vw, 44px) 0 70px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .3rem; }
.page-head p { color: var(--text-muted); }

.product-panel { display: grid; gap: 18px; }
.product-panel--ivac { border-left: 4px solid var(--accent-ivac); }
.product-panel--vfs  { border-left: 4px solid var(--accent-vfs); }
.product-panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-panel-head h3 { margin: 0; flex: 1 1 auto; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }

.empty-state { text-align: center; padding: 34px 20px; color: var(--text-muted); }
.empty-state h3 { color: var(--ink); }

/* ---------------------------- admin area -------------------------------- */
.admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-aside { position: sticky; top: 20px; }
.admin-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.admin-menu a { display: block; padding: .5rem .75rem; border-radius: 9px; color: var(--text); font-size: .9rem; font-weight: 550; }
.admin-menu a:hover { background: var(--paper-tint-2); text-decoration: none; }
.admin-menu a.is-active { background: var(--ink); color: #fff; }
.admin-menu .menu-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 700; padding: .8rem .75rem .2rem; }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

.actions-cell { display: flex; flex-wrap: wrap; gap: 6px; }

/* ------------------------------ standalone ------------------------------ */
.standalone { background: var(--paper-tint); min-height: 100vh; display: grid; align-content: start; padding: 48px 0; }
.standalone .shell { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 22px; }
.standalone .shell.wide { max-width: 900px; }
.auth-card .brand { margin-bottom: 20px; }
.auth-alt { margin-top: 18px; font-size: .92rem; color: var(--text-muted); text-align: center; }

.copy-row { display: flex; gap: 8px; align-items: flex-start; }
.copy-row .wallet-value { flex: 1 1 auto; }
.copy-done { color: var(--positive); font-size: .84rem; font-weight: 600; }

/* ----------------------------- responsive ------------------------------- */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-aside { position: static; }
  .admin-menu { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); display: grid; }
}

@media (max-width: 1080px) {
  .app-header .nav-toggle { display: grid; place-items: center; }
  .app-nav {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 70;
    background: var(--ink); padding: 10px 16px 18px; box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .app-nav.is-open { display: flex; }
  .app-nav a { padding: .7rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .app-header-actions { gap: 10px; }
  .app-header .header-inner { position: relative; }

  /* The public navigation has too many sections to sit beside the brand below
     this width, so it collapses into the same menu button on tablets as well. */
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--ink-line);
    padding: 10px 16px 18px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .primary-nav ul a { padding: .7rem .5rem; border-bottom: 1px solid var(--ink-line-dim); border-radius: 0; font-size: .96rem; }
  .primary-nav .nav-actions { flex-wrap: wrap; margin-top: 12px; }
  .site-header .nav-toggle { display: grid; place-items: center; }
  .site-header .header-inner { position: relative; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split--reverse, .video-block, .refund-layout,
  .two-col, .three-col, .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-visual { order: 0; }
  .refund-aside { position: static; }
  .product-grid, .price-grid, .boundary-grid { grid-template-columns: minmax(0, 1fr); }
  .price-grid--single { grid-template-columns: minmax(0, 1fr); }
  .feature-list--two { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .app-header-actions > a { display: none; }
  .app-header .header-inner, .site-header .header-inner { gap: 12px; }
  .brand-text small { display: none; }
  .app-header .brand-text strong { max-width: 46vw; }
  .site-header .brand-text strong { max-width: 58vw; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .workflow-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .form-2col { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-actions .btn, .final-cta-actions .btn { width: 100%; }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { flex-direction: row; display: flex; overflow-x: auto; }
  .mock-cards { grid-template-columns: minmax(0, 1fr); }
  .mock-row { grid-template-columns: minmax(0, 1fr); }
  .support-launcher { right: 12px; bottom: 12px; }
  .support-panel { width: calc(100vw - 24px); max-height: calc(100vh - 90px); }
  .support-fields { grid-template-columns: minmax(0, 1fr); }
  .assurance { flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

@media print {
  .site-header, .support-launcher, .site-footer .footer-links, .btn { display: none !important; }
  body { font-size: 12pt; }
}
