/* ==========================================================================
   Courtile — marketing site
   Palette is taken from the logo: navy #202a44, blue #305ddd, teal #00b8b6.
   ========================================================================== */

/* ── TOKENS ── */
:root {
  --navy: #202a44;
  --navy-800: #1a2238;
  --navy-900: #141a2c;
  --blue: #305ddd;
  --blue-600: #2a4fc0;
  --blue-100: #dfe8ff;
  --blue-50: #eff3ff;
  --teal: #00b8b6;
  --teal-600: #009b99;
  --teal-50: #e6f7f7;

  --ink: #202a44;
  --muted: #626e8c;
  --line: #e6eaf4;
  --line-soft: #eef1f8;
  --bg: #ffffff;
  --bg-soft: #f6f8fd;

  --radius-xl: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 100px;

  --shadow-xs: 0 1px 2px rgba(32, 42, 68, .06);
  --shadow-sm: 0 4px 16px rgba(32, 42, 68, .06);
  --shadow: 0 18px 48px rgba(32, 42, 68, .10);
  --shadow-lg: 0 32px 80px rgba(32, 42, 68, .14);

  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

/* ── BASE ── */
* { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--navy);
}

a { text-decoration: none; }

::selection { background: var(--blue-100); color: var(--navy); }

.container { max-width: 1180px; }

/* Bootstrap's wide gutters pull a row further out than the container's
   padding, which overflows narrow screens — tighten them below lg. */
@media (max-width: 991.98px) {
  .row.g-5, .row.g-lg-5 { --bs-gutter-x: 1.5rem; }
}

/* Section rhythm */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-soft { background: var(--bg-soft); }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--teal); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0;
}
.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.09rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
  margin-top: 18px;
}
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

.text-gradient {
  background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--pill);
  padding: 13px 28px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .875rem; }

.btn-primary,
.btn-brand {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(48, 93, 221, .22);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-brand:hover, .btn-brand:focus {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(48, 93, 221, .30);
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(32, 42, 68, .20);
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(32, 42, 68, .26);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover, .btn-ghost:focus {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-on-dark {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-on-dark:hover, .btn-on-dark:focus {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

/* ── CHIP / BADGE ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px 16px 6px 7px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}
.chip .chip-tag {
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--pill);
}
.chip-dark {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
}
.chip-dark .chip-tag { background: rgba(0, 184, 182, .2); color: var(--teal); }

/* Legacy badge used by the trial-started page */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 184, 182, .14);
  border: 1px solid rgba(0, 184, 182, .38);
  color: var(--teal);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 17px;
  border-radius: var(--pill);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(1.45); }
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  font-size: .8rem;
  padding: 9px 0;
}
.topbar a { color: rgba(255, 255, 255, .78); transition: color .2s; }
.topbar a:hover { color: var(--teal); }
.topbar .sep { color: rgba(255, 255, 255, .25); }

/* ── NAV ── */
.navbar {
  background: rgba(255, 255, 255, .82) !important;
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  padding: 14px 0;
  transition: padding .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.navbar.is-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, .95) !important;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(32, 42, 68, .06);
}
/* Sits a little above the web app's own logo (~50px tall) so the marketing
   site leads with the brand. */
.navbar-brand img {
  height: 56px;
  width: auto;
  display: block;
  transition: height .25s ease;
}
/* Trims back once the bar compacts on scroll, still above the app's size. */
.navbar.is-scrolled .navbar-brand img { height: 50px; }
@media (max-width: 575.98px) { .navbar-brand img { height: 46px; } }
.navbar-nav .nav-link {
  color: var(--navy) !important;
  font-weight: 500;
  font-size: .93rem;
  padding: .5rem .95rem !important;
  position: relative;
  opacity: .82;
  transition: opacity .2s, color .2s;
}
.navbar-nav .nav-link:hover { opacity: 1; color: var(--blue) !important; }
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: .95rem; right: .95rem; bottom: .25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.navbar-toggler { border: none; box-shadow: none !important; padding: 4px 6px; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 12px;
    box-shadow: var(--shadow);
  }
  .navbar-nav .nav-link::after { display: none; }
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
  background:
    radial-gradient(900px 520px at 8% -12%, rgba(48, 93, 221, .13), transparent 62%),
    radial-gradient(760px 460px at 96% 4%, rgba(0, 184, 182, .14), transparent 58%),
    var(--bg-soft);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(32, 42, 68, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  opacity: .5;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin: 22px 0 0;
  max-width: 15ch;
}
@media (min-width: 1400px) { .hero h1 { max-width: 16ch; } }
.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 22px 0 0;
}
.hero-actions { margin-top: 32px; }
.hero-note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--muted);
}
.hero-note a { color: var(--blue); font-weight: 600; }
.hero-note a:hover { text-decoration: underline; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
  opacity: .78;
}
.hero-points i { color: var(--teal); font-size: 1rem; }

/* ── APP MOCKUP (pure CSS product preview) ── */
.mock-wrap { position: relative; }
.mock-glow {
  position: absolute;
  inset: 8% -6% -6% 6%;
  background: radial-gradient(closest-side, rgba(48, 93, 221, .26), transparent 72%);
  filter: blur(28px);
  z-index: 0;
}
@media (max-width: 991.98px) { .mock-glow { inset: 6% 0 0 0; } }
.mock {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fcfdff;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #e2e7f2; }
.mock-dot:nth-child(1) { background: #ff6058; }
.mock-dot:nth-child(2) { background: #ffbe2f; }
.mock-dot:nth-child(3) { background: #2bc840; }
.mock-url {
  margin-left: 10px;
  flex: 1;
  background: var(--bg-soft);
  border-radius: var(--pill);
  font-size: .68rem;
  color: #9aa4bd;
  padding: 4px 12px;
  text-align: center;
}
/* Floating cards around the mockup */
.float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.float-card i {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.float-t { font-size: .76rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.float-s { font-size: .66rem; color: var(--muted); }
.float-a { left: -6%; bottom: 16%; animation: floaty 5.5s ease-in-out infinite; }
.float-a i { background: var(--teal-50); color: var(--teal-600); }
.float-b { right: -4%; top: 12%; animation: floaty 6.5s ease-in-out infinite reverse; }
.float-b i { background: var(--blue-50); color: var(--blue); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@media (max-width: 1199.98px) { .float-a, .float-b { display: none; } }

/* ── TRUST / STATS STRIP ── */
.stats-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.stat-item { padding: 26px 18px; text-align: center; position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--line-soft);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 9px;
}
@media (max-width: 767.98px) {
  .stat-item:nth-child(even)::after { display: none; }
}

/* ── HIGHLIGHT CARDS (trio) ── */
.hl-card {
  height: 100%;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hl-card .hl-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 20px;
}
.hl-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.hl-card > p { font-size: .92rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.hl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.hl-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
}
.hl-list i { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.hl-card.is-featured {
  background: linear-gradient(160deg, var(--navy) 0%, #24325a 100%);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.hl-card.is-featured::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; top: -90px;
  background: radial-gradient(closest-side, rgba(0, 184, 182, .35), transparent);
  pointer-events: none;
}
.hl-card.is-featured h3 { color: #fff; position: relative; }
.hl-card.is-featured > p { color: rgba(255, 255, 255, .68); position: relative; }
.hl-card.is-featured .hl-ic { background: rgba(255, 255, 255, .12); color: var(--teal); position: relative; }
.hl-card.is-featured .hl-list li { color: rgba(255, 255, 255, .9); position: relative; }
.hl-card.is-featured .hl-list i { color: var(--teal); }

/* ── SPLIT / ACCORDION SECTIONS ── */
.split-visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: '';
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 240px;
  background: radial-gradient(closest-side, rgba(48, 93, 221, .12), transparent);
  pointer-events: none;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
  position: relative;
}
.mini-row:last-child { margin-bottom: 0; }
.mini-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .92rem;
  flex-shrink: 0;
}
.ic-blue { background: var(--blue-50); color: var(--blue); }
.ic-teal { background: var(--teal-50); color: var(--teal-600); }
.ic-navy { background: #eef0f6; color: var(--navy); }
.mini-t { font-size: .84rem; font-weight: 600; color: var(--navy); }
.mini-s { font-size: .74rem; color: var(--muted); margin-top: 1px; }

.accordion-flush { --bs-accordion-border-color: var(--line-soft); }
.accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line-soft); }
.accordion-item:first-of-type { border-top: 1px solid var(--line-soft); }
.accordion-button {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  padding: 20px 4px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--blue); background: transparent; }
.accordion-button::after {
  width: 1.1rem; height: 1.1rem;
  background-size: 1.1rem;
}
.accordion-body {
  padding: 0 4px 22px;
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── FEATURE GRID ── */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  margin-bottom: 20px;
}
.icon-blue { background: var(--blue-50); color: var(--blue); }
.icon-teal { background: var(--teal-50); color: var(--teal-600); }
.icon-navy { background: #eef0f6; color: var(--navy); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p { font-size: .9rem; color: var(--muted); line-height: 1.72; margin: 0; }

/* ── STEPS ── */
.step { position: relative; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { font-size: .89rem; color: var(--muted); line-height: 1.7; margin: 0; }
.step-line {
  position: absolute;
  top: 26px;
  left: 62px;
  right: -12px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
@media (max-width: 991.98px) { .step-line { display: none; } }

/* ── DARK CTA BAND ── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, #22305a 55%, var(--navy-900) 100%);
  color: #fff;
  padding: clamp(64px, 8vw, 104px) 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 12%, rgba(0, 184, 182, .26), transparent 60%),
    radial-gradient(620px 380px at 6% 88%, rgba(48, 93, 221, .34), transparent 62%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 1.05rem; max-width: 560px; }
.cta-band .section-head-center p { margin-left: auto; margin-right: auto; }

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--pill);
  padding: 13px 28px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.contact-pill:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.contact-pill i { color: var(--teal); font-size: 1.1rem; }

/* ── PRICING ── */
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 20px 56px rgba(48, 93, 221, .16);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--blue-50) 0%, transparent 42%);
  pointer-events: none;
}
.pricing-card > * { position: relative; }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--pill);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(48, 93, 221, .3);
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
/* min-height keeps the price line level across cards with taglines of
   different lengths (three lines is the longest we allow for). */
.pricing-card .plan-desc { font-size: .87rem; color: var(--muted); margin-bottom: 24px; min-height: 4.5em; }
.pricing-price {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-price-sm { font-size: 1.45rem; font-weight: 700; }
.pricing-price .per { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pricing-period { font-size: .82rem; color: var(--muted); margin-top: 10px; margin-bottom: 26px; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: #3f4a68;
}
.pricing-features li i { color: var(--teal); font-size: .98rem; margin-top: 3px; flex-shrink: 0; }
.pricing-terms {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: auto;
}
.pricing-term-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  padding: 3px 0;
}
.pricing-term-row strong { color: var(--navy); font-weight: 600; }
.pricing-note { font-size: .85rem; color: var(--muted); }
.founding-flag {
  display: inline-block;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--pill);
  margin-top: 6px;
}

/* ── FAQ ── */
.faq-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 26px;
  box-shadow: var(--shadow-sm);
}

/* ── FORMS ── */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.form-label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-control, .form-select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: .93rem;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-50);
}
.form-text { font-size: .78rem; color: var(--muted); }
.alert-danger {
  border: 1px solid #f6cfcf;
  background: #fdf2f2;
  color: #a12a2a;
  border-radius: var(--radius-sm);
  font-size: .9rem;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .58);
  padding: 68px 0 30px;
}
.footer-brand img { height: 48px; }
.footer-brand p {
  font-size: .89rem;
  line-height: 1.75;
  margin-top: 18px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: background .2s, color .2s, border-color .2s;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-col h5 {
  font-family: var(--body);
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  color: rgba(255, 255, 255, .58);
  font-size: .89rem;
  transition: color .2s, padding-left .2s;
}
.footer-col ul a:hover { color: var(--teal); padding-left: 3px; }
.footer-divider { border-color: rgba(255, 255, 255, .09); margin: 46px 0 26px; opacity: 1; }
.footer-bottom { font-size: .82rem; color: rgba(255, 255, 255, .42); }
.footer-bottom a { color: rgba(255, 255, 255, .42); }
.footer-bottom a:hover { color: var(--teal); }

/* ── POLICY / INNER PAGE HERO ── */
.page-hero {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(760px 400px at 12% -20%, rgba(48, 93, 221, .13), transparent 62%),
    radial-gradient(620px 360px at 92% 0%, rgba(0, 184, 182, .13), transparent 58%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero p { color: var(--muted); font-size: 1.03rem; max-width: 620px; margin: 16px auto 0; }

/* kept for any page still using the old class names */
.policy-hero {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(760px 400px at 12% -20%, rgba(48, 93, 221, .13), transparent 62%),
    radial-gradient(620px 360px at 92% 0%, rgba(0, 184, 182, .13), transparent 58%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.policy-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--navy); }
.policy-hero p { color: var(--muted); font-size: 1rem; }

.policy-body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 24px clamp(56px, 7vw, 88px);
}
.policy-body h2 {
  font-size: 1.32rem;
  margin-top: 44px;
  margin-bottom: 14px;
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li {
  font-size: .96rem;
  color: #46516f;
  line-height: 1.85;
}
.policy-body ul { padding-left: 20px; margin-bottom: 18px; }
.policy-body ul li { margin-bottom: 7px; }
.policy-body a { color: var(--blue); }
.policy-body a:hover { text-decoration: underline; }

/* ── SCROLL REVEAL ──
   Only hidden once the inline script in the layout has added .js to <html>,
   so the page is fully readable if JavaScript never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-a, .float-b, .hero-badge .dot { animation: none; }
  .btn:hover, .feature-card:hover, .pricing-card:hover, .hl-card:hover { transform: none; }
}

/* ==========================================================================
   Illustrations & motion — added so the page carries its story visually
   rather than in paragraphs. Everything here is decorative and switches
   itself off under prefers-reduced-motion (see the block at the end).
   ========================================================================== */

/* ── SVG SCENES ── */
.gfx { width: 100%; height: auto; display: block; overflow: visible; }

.gfx-scene {
  position: relative;
  padding: 8px;
}
.gfx-scene::before {
  content: '';
  position: absolute;
  inset: 12% 6% 6% 6%;
  background: radial-gradient(closest-side, rgba(48, 93, 221, .13), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.gfx-scene > svg { position: relative; z-index: 1; }

/* dashes travelling along a connector */
.gfx-flow { animation: gfxFlow 2.6s linear infinite; }
@keyframes gfxFlow { to { stroke-dashoffset: -34; } }

/* the element that just landed breathes once in a while */
.gfx-pulse { transform-box: fill-box; transform-origin: center; animation: gfxPulse 3s ease-in-out infinite; }
@keyframes gfxPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* a chip drifting gently */
.gfx-float { animation: gfxFloat 5.5s ease-in-out infinite; }
@keyframes gfxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* connectors draw themselves in when the section arrives */
.js .gfx-draw { stroke-dasharray: 300; stroke-dashoffset: 300; }
.js .is-visible .gfx-draw { animation: gfxDraw 1.1s .2s cubic-bezier(.22, .61, .36, 1) forwards; }
.js .is-visible .gfx-draw-d1 { animation-delay: .5s; }
@keyframes gfxDraw { to { stroke-dashoffset: 0; } }

/* ── A DAY IN YOUR PRACTICE (visual timeline) ── */
.daytrack { position: relative; }
.daytrack-line {
  display: none;
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 15px);
  z-index: 0;
}
@media (min-width: 992px) { .daytrack-line { display: block; } }

.daytrack-item { position: relative; z-index: 1; text-align: center; }
.daytrack-dot {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}
.daytrack-item:hover .daytrack-dot {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  color: var(--teal-600);
}
.daytrack-time {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px 12px;
  border-radius: var(--pill);
  margin-bottom: 12px;
}
.daytrack-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.daytrack-item p { font-size: .86rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── STAT STRIP ICONS ── */
.stat-ic {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.stat-item:nth-child(even) .stat-ic { background: var(--teal-50); color: var(--teal-600); }

/* ── MICRO-INTERACTIONS ── */
.feature-icon { transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.feature-card:hover .feature-icon { transform: translateY(-3px) scale(1.06); }

.hl-card .hl-ic { transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.hl-card:hover .hl-ic { transform: translateY(-3px) scale(1.06); }

.mini-row { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.mini-row:hover {
  transform: translateX(4px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

/* very slow drift on the dark band's light pools */
.cta-band::before { animation: aurora 22s ease-in-out infinite alternate; }
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.1); }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .gfx-flow, .gfx-pulse, .gfx-float, .cta-band::before { animation: none; }
  .js .gfx-draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .is-visible .gfx-draw { animation: none; }
  .feature-card:hover .feature-icon,
  .hl-card:hover .hl-ic,
  .daytrack-item:hover .daytrack-dot,
  .mini-row:hover { transform: none; }
}

/* ==========================================================================
   Real product screenshots
   Sized WebP exports of the app, framed so they read as the product rather
   than as decoration. width/height are set on the tags to reserve space.
   ========================================================================== */

/* the screenshot body of a browser frame */
.mock-shot {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--line-soft);
}

/* ── PHONE SCREENSHOTS ── */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
}
.phone-shot {
  width: 218px;
  flex-shrink: 0;
  border: 8px solid var(--navy);
  border-radius: 30px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform .35s ease;
}
.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}
/* the second handset sits back and a little lower */
.phone-shot-back {
  transform: translateY(30px) scale(.92);
  box-shadow: var(--shadow);
}
.phones:hover .phone-shot-back { transform: translateY(22px) scale(.94); }
.phones:hover .phone-shot-front { transform: translateY(-4px); }

@media (max-width: 575.98px) {
  .phones { gap: 12px; }
  .phone-shot { width: 46%; border-width: 6px; border-radius: 24px; }
  .phone-shot img { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .phones:hover .phone-shot-back,
  .phones:hover .phone-shot-front { transform: translateY(30px) scale(.92); }
  .phones:hover .phone-shot-front { transform: none; }
}
