:root {
  --bg: #09090b;
  --ink: #f6f3ec;
  --muted: #a3a2aa;
  --muted-2: #74737b;
  --gold-1: #f4e0a6;
  --gold-2: #d9b463;
  --gold-3: #be8c39;
  --gold-text: #2a2007;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --line-gold: rgba(217,180,99,.30);
  --grad-gold: linear-gradient(118deg,#f4e0a6 0%,#dbb766 48%,#be8c39 100%);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* The header is sticky (76px tall); without this offset, in-page anchors
   like #how scroll their target underneath it. */
#domains, #standard, #how, #pricing, #access { scroll-margin-top: 92px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(120vw 70vh at 50% -12%, rgba(217,180,99,.07), transparent 55%),
    linear-gradient(180deg,#09090b 0%,#0c0c0f 55%,#100f13 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: linear-gradient(180deg,#000 0%,transparent 46%);
  mask-image: linear-gradient(180deg,#000 0%,transparent 46%);
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,5vw,48px); position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .55em 1.05em;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(217,180,99,.05);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px rgba(217,180,99,.7);
  flex: none;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.05;
  color: var(--ink);
}
.lead {
  font-size: clamp(1.1rem,1.9vw,1.32rem);
  color: var(--muted);
  line-height: 1.55;
  max-width: 47ch;
}
.lead b { color: var(--ink); font-weight: 700; }
.accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
header.scrolled {
  background: rgba(10,10,12,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.tile {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #16130c;
  border: 1px solid var(--line-gold);
  display: grid;
  place-items: center;
  flex: none;
}
.tile svg { width: 22px; height: 19px; display: block; }
.brand .k { color: var(--gold-2); }
.brand .tm { font-size: .42em; font-weight: 600; vertical-align: super; margin-left: .12em; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: clamp(14px,3vw,34px); }
.nav-links a.link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  opacity: .74;
  transition: opacity .2s;
}
.nav-links a.link:hover { opacity: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .74em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, filter .2s, box-shadow .2s, border-color .2s, background .2s;
}
.btn-primary { background: var(--grad-gold); color: var(--gold-text); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 30px rgba(217,180,99,.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold-2); transform: translateY(-1px); }
.nav-links .btn { padding: .6em 1.2em; }

.hero { padding: clamp(46px,8vw,92px) 0 clamp(54px,7vw,84px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
  gap: clamp(32px,5vw,64px);
  align-items: center;
}
.hero h1 {
  margin: .6em 0 .42em;
  font-size: clamp(2.45rem,6vw,4.7rem);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.1rem 0 1.4rem; }

.fitcard {
  position: relative;
  background: linear-gradient(162deg,#16161a 0%,#0f0f12 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.85);
}
.fitcard::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 34px;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-gold);
  transform: rotate(-52deg);
  transform-origin: right center;
}
.fc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 16px; }
.fc-title { font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.fc-case {
  margin: 10px 0 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.fc-case span { color: var(--muted); font-weight: 600; }
.sig { margin: 18px 0; }
.sig-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.sig-name { font-size: .92rem; font-weight: 600; color: var(--ink); }
.sig-tag { font-size: .73rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.sig-tag.strong { color: var(--gold-2); }
.sig-tag.partial { color: #b6b3bd; }
.bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: rgba(246,243,236,.4);
  transition: width 1.1s cubic-bezier(.22,.61,.36,1);
}
.sig.is-strong .bar > i { background: var(--grad-gold); }
.reveal-bars .sig.is-strong .bar > i { width: calc(100% - 1.4rem); }
.reveal-bars .sig.is-partial .bar > i { width: calc(100% - 5.4rem); }
.reveal-bars .sig.is-top .bar > i { width: calc(100% - .6rem); }
.fc-foot {
  display: flex;
  align-items: center;
  gap: .7em;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.chip {
  font-size: .8rem;
  font-weight: 800;
  color: #1d160a;
  background: var(--grad-gold);
  padding: .4em .85em;
  border-radius: 99px;
  white-space: nowrap;
}
.fc-foot small { color: var(--muted); font-size: .84rem; }

section { position: relative; z-index: 1; }
.standard { padding: clamp(56px,8vw,104px) 0; }
.standard h2 { margin: .5em 0 .55em; font-size: clamp(1.9rem,4vw,3.05rem); }
.standard .lead { max-width: none; }
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(20px,3vw,36px);
  margin-top: clamp(40px,6vw,68px);
}
.step { padding-top: 26px; border-top: 2px solid var(--gold-2); }
.step .num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-2); font-weight: 700; letter-spacing: .04em; }
.step h3 { margin: .7em 0 .5em; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.step p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.55; }

.access { padding: clamp(56px,8vw,104px) 0; }
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,5vw,56px);
  align-items: center;
}
.access h2 { margin: .45em 0; font-size: clamp(1.8rem,3.6vw,2.7rem); }
.access p { color: var(--muted); max-width: 42ch; }
.signup { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input {
  flex: 1;
  min-width: 200px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: .92em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #6c6b73; }
.field input:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(217,180,99,.16);
  background: rgba(255,255,255,.05);
}
.field .btn { padding: .92em 1.4em; white-space: nowrap; }
.formnote { margin: 0; font-size: .85rem; color: var(--muted-2); }

/* Domain chooser — each professional domain owns a hue. The card hue is the
   same accent the domain's hub and app carry, so the color follows the user
   from this page into the domain. Dental teal matches the dental SPA. */
.domains { border-top: 1px solid var(--line); }
.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: clamp(16px,3vw,24px);
  margin-top: clamp(32px,5vw,52px);
}
.domain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--dc-line);
  border-radius: 20px;
  background:
    radial-gradient(140% 90% at 100% 0%, var(--dc-soft), transparent 58%),
    linear-gradient(162deg,#16161a 0%,#0f0f12 100%);
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.85);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.domain-card:hover { transform: translateY(-3px); border-color: var(--dc-2); box-shadow: 0 22px 54px -30px var(--dc-shadow); }
.dc--dental { --dc-1:#a5f0e4; --dc-2:#46c4b8; --dc-ink:#06302c; --dc-line:rgba(70,196,184,.32); --dc-soft:rgba(70,196,184,.09); --dc-shadow:rgba(70,196,184,.45); --dc-grad:linear-gradient(118deg,#a5f0e4 0%,#41c0b4 48%,#0f8378 100%); }
.dc--legal  { --dc-1:#cfd8ff; --dc-2:#9aa9fb; --dc-ink:#14184e; --dc-line:rgba(154,169,251,.34); --dc-soft:rgba(154,169,251,.10); --dc-shadow:rgba(154,169,251,.45); --dc-grad:linear-gradient(118deg,#cfd8ff 0%,#96a5fa 48%,#5a62e9 100%); }
.dc--tax    { --dc-1:#bff0cd; --dc-2:#58c98b; --dc-ink:#06291a; --dc-line:rgba(88,201,139,.32); --dc-soft:rgba(88,201,139,.09); --dc-shadow:rgba(88,201,139,.45); --dc-grad:linear-gradient(118deg,#bff0cd 0%,#54c586 48%,#1e8a55 100%); }
.dc--medical{ --dc-1:#ffd4dc; --dc-2:#f2879e; --dc-ink:#430a1c; --dc-line:rgba(242,135,158,.32); --dc-soft:rgba(242,135,158,.09); --dc-shadow:rgba(242,135,158,.45); --dc-grad:linear-gradient(118deg,#ffd4dc 0%,#ef8299 48%,#c73e5f 100%); }
.dc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dc-tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--dc-line);
  background: var(--dc-soft);
  color: var(--dc-2);
  display: grid;
  place-items: center;
  flex: none;
}
.dc-tile svg { width: 22px; height: 22px; display: block; }
.dc-status {
  padding: .35em .85em;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dc-status--live { background: var(--dc-grad); color: var(--dc-ink); }
.dc-status--soon { border: 1px solid var(--line-2); color: var(--muted); }
.domain-card h3 { font-size: 1.5rem; margin-bottom: .4em; }
.domain-card > p { margin: 0 0 18px; font-size: .96rem; color: var(--muted); line-height: 1.55; }
.dc-regions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.dc-region {
  padding: .45em 1em;
  border: 1px solid var(--dc-line);
  border-radius: 999px;
  background: var(--dc-soft);
  color: var(--dc-1);
  font-size: .88rem;
  font-weight: 700;
  transition: border-color .2s, transform .15s;
}
.dc-region:hover { border-color: var(--dc-2); transform: translateY(-1px); }
.dc-action { margin-top: auto; color: var(--dc-2); font-weight: 700; font-size: .95rem; }
.dc-action:hover { text-decoration: underline; }
.domain-note { margin: 26px 0 0; font-size: .9rem; color: var(--muted-2); }

.pricing { border-bottom: 1px solid var(--line); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(16px,3vw,24px);
  margin-top: clamp(32px,5vw,52px);
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: rgba(255,255,255,.025);
}
.price-card.is-featured {
  border-color: var(--line-gold);
  background: rgba(217,180,99,.055);
  box-shadow: 0 22px 54px -36px rgba(217,180,99,.55);
}
.price-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 800; }
.price-card p { color: var(--muted); }
.price {
  margin: .55rem 0 .35rem;
  color: var(--ink);
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 800;
  line-height: 1;
}
.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}
.price-card .btn { margin-top: 10px; width: 100%; }

footer { border-top: 1px solid var(--line); padding: 42px 0 56px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 1.2rem; }
.foot .tagline { margin: 0; color: var(--muted); font-size: .92rem; max-width: 38ch; }
.foot small { color: var(--muted-2); font-size: .9rem; }
.foot .foot-admin { color: var(--muted-2); text-decoration: none; opacity: .65; }
.foot .foot-admin:hover, .foot .foot-admin:focus-visible { opacity: 1; text-decoration: underline; }

.fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .22s; }
.d4 { transition-delay: .30s; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { border-top: 1px solid var(--line); padding: 24px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .access-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .nav-links a.link { display: none; }
}
@media (max-width: 520px) {
  .field { display: block; }
  .field input, .field .btn { width: 100%; }
  .field .btn { margin-top: 10px; }
  .fc-foot { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
  .bar > i, .reveal-bars .bar > i { transition: none; }
}
