/* =========================================================================
   MMR Template A — component styles
   Depends on theme.css (tokens + utilities: .container .section-heading
   .section-sub .eyebrow .glass .btn .btn-primary .btn-ghost .gradient-text
   .reveal .hover-lift). Only NEW, component-specific rules live here.
   Every component class is prefixed  .t-
   ========================================================================= */

/* ---- deep-navy + brand-accent palette (theme-independent; dark bands read the
   same in light & dark mode by design). Colors match the My Medical Records app:
   deep navy surface + blue/cyan/purple gradient accents. ---- */
:root {
  --t-deep:      #0B1426;   /* deep MMR navy band surface */
  --t-deep-2:    #070C18;   /* darker navy (gradients/wells) */
  --t-gold:      #6AE3F5;   /* cyan accent (was gold in the reference) */
  --t-gold-soft: #3B82F6;   /* blue */
  --t-gold-lite: #B892FF;   /* purple */
  --t-sage:      #8B5CF6;   /* decorative wave stroke (purple) */
  --t-on-deep:   rgba(255,255,255,0.82);
  --t-on-deep-2: rgba(255,255,255,0.62);
  --t-deep-chip:        rgba(255,255,255,0.04);
  --t-deep-chip-border: rgba(255,255,255,0.16);
}

/* ---- generic section rhythm ---- */
.t-section { padding: 100px 0; position: relative; }
.t-section--tight { padding: 72px 0; }
.t-center { text-align: center; }
.t-head-wrap { max-width: 720px; margin: 0 auto 56px; }
.t-head-wrap.t-left { margin-left: 0; text-align: left; }
.t-kicker { margin-bottom: 20px; }
.t-lead { color: var(--ink-3); font-size: 18px; line-height: 1.6; }
.t-head-wrap .t-lead { margin: 0 auto; max-width: 620px; }
.t-head-wrap.t-left .t-lead { margin-left: 0; }

/* =========================================================================
   HERO
   ========================================================================= */
.t-hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.t-hero-bg { position: absolute; inset: 0; pointer-events: none; background: var(--grad-hero); }
.t-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.t-hero h1 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(44px, 5.6vw, 82px); line-height: 1.0;
  letter-spacing: -0.035em; margin: 20px 0 22px; color: var(--ink);
}
.t-hero p.t-hero-sub { color: var(--ink-3); font-size: 19px; line-height: 1.55; max-width: 540px; margin: 0 0 28px; }
.t-hero-cta { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.t-hero-assess { font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--border-strong); padding-bottom: 2px; }
.t-hero-assess:hover { color: var(--ink); }
.t-hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 30px; font-size: 12px; color: var(--ink-3); font-family: ui-monospace, monospace; letter-spacing: 0.04em; }
.t-hero-chips span { display: inline-flex; align-items: center; gap: 6px; }
.t-hero-chips .tick { width: 15px; height: 15px; border-radius: 50%; background: rgba(16,185,129,0.15); color: var(--green-500); display: grid; place-items: center; font-size: 9px; }

/* =========================================================================
   MEDIA PLACEHOLDER FRAME  (swap <img> in code)
   ========================================================================= */
.t-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(59,130,246,0.12), transparent 60%),
    var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: grid; place-items: center; min-height: 340px;
  aspect-ratio: 4 / 3;
}
.t-frame--phone { aspect-ratio: 10 / 19; max-width: 300px; margin: 0 auto; min-height: 520px; }
.t-frame--wide { aspect-ratio: 16 / 10; }
.t-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Real mockup/photo hero image: show the WHOLE image (no 4:3 crop that clips the
   callout at the bottom), sized to itself, floating with a soft shadow — the offset
   card behind provides the frame. */
.t-frame--img { aspect-ratio: auto; min-height: 0; background: none; border: none; box-shadow: none; overflow: visible; }
.t-frame--img img { width: 100%; height: auto; object-fit: contain; border-radius: var(--r-lg); box-shadow: 0 34px 70px -34px rgba(30,58,138,0.45); }
.t-frame-label {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-4); font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.04em; text-align: center; padding: 24px;
}
.t-frame-label svg { opacity: 0.5; }
.t-frame-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 999px;
}
/* two glowing dots: blue glides down the right edge, purple along the bottom edge; they meet at the bottom-right corner, once */
.t-frame::before, .t-frame::after {
  content: ""; position: absolute; z-index: 1; border-radius: 50%; opacity: 0; filter: blur(4px);
}
.t-frame img { position: relative; z-index: 2; }
/* blue: soft oblong gliding down the right edge, tucked partly under the image */
.t-frame::before { width: 15px; height: 40px; left: calc(100% - 15px); top: 12px; background: radial-gradient(closest-side, rgba(6,182,212,0.7), rgba(6,182,212,0)); }
/* purple: soft oblong gliding along the bottom edge */
.t-frame::after  { width: 40px; height: 15px; top: calc(100% - 15px); left: 12px; background: radial-gradient(closest-side, rgba(139,92,246,0.7), rgba(139,92,246,0)); }
.reveal.in .t-frame::before { animation: t-edge-right 1.6s cubic-bezier(.33,0,.15,1) .25s forwards; }
.reveal.in .t-frame::after  { animation: t-edge-bottom 1.6s cubic-bezier(.33,0,.15,1) .25s forwards; }
@keyframes t-edge-right  { 0% { top: 12px; opacity: 0; } 16% { opacity: 0.55; } 100% { top: calc(100% - 15px); opacity: 0.55; } }
@keyframes t-edge-bottom { 0% { left: 12px; opacity: 0; } 16% { opacity: 0.55; } 100% { left: calc(100% - 15px); opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .t-frame::before, .t-frame::after { animation: none; opacity: 0; } }

/* =========================================================================
   PAIN POINTS
   ========================================================================= */
.t-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.t-pain-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 26px; border-radius: var(--r-md);
  background: var(--card-bg); border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease;
}
.t-pain-item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.t-pain-ic {
  flex-shrink: 0; width: 74px; height: 74px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(236,72,153,0.10); color: var(--pink-500);
  border: 1px solid rgba(236,72,153,0.22);
}
/* icons ship as <img class="mmr-ico" width="20">; size ~3x here regardless of the attr */
.t-pain-ic .mmr-ico { width: 60px; height: 60px; }
.t-pain-item h4 { margin: 6px 0 5px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.t-pain-item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* pain cards fly in from their column's side as they scroll into view (reuses .reveal observer) */
.t-pain-grid .t-pain-item.reveal { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.t-pain-grid .t-pain-item.reveal:nth-child(odd)  { transform: translateX(-72px); }
.t-pain-grid .t-pain-item.reveal:nth-child(even) { transform: translateX(72px); }
.t-pain-grid .t-pain-item.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .t-pain-grid .t-pain-item.reveal { transform: none; } }

/* ---- scroll convergence: scattered medical-history icons fly into the MMR logo ---- */
.t-converge { position: relative; text-align: center; padding-top: 300px; margin-bottom: 44px; }
.t-cicon {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 104px; height: 104px; border-radius: 24px; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff 0%, #EAF1FF 100%);
  border: 1.5px solid rgba(59,130,246,0.28); color: var(--blue-600);
  box-shadow: 0 14px 30px -10px rgba(30,58,138,0.45), 0 0 0 4px rgba(59,130,246,0.06);
  will-change: transform, opacity;
}
[data-theme="dark"] .t-cicon { background: linear-gradient(160deg, rgba(40,54,86,0.95), rgba(20,28,48,0.9)); border-color: rgba(108,178,255,0.4); color: #9EC2FF; }
.t-converge:not(.is-live) .t-cicon { opacity: 0; }
.t-converge .t-head-wrap { position: relative; z-index: 2; margin-bottom: 0; }
.t-converge-logo { width: 92px; height: 92px; margin: 30px auto 0; position: relative; z-index: 3; will-change: transform, opacity; filter: drop-shadow(0 16px 34px rgba(59,130,246,0.42)); }
.t-converge:not(.is-live) .t-converge-logo { opacity: 1; }
.t-converge-logo img { width: 100%; height: 100%; display: block; border-radius: 22px; }
@media (prefers-reduced-motion: reduce) { .t-cicon { display: none; } }
@media (max-width: 640px) { .t-converge { padding-top: 190px; } .t-cicon { width: 76px; height: 76px; border-radius: 18px; } .t-converge-logo { width: 76px; height: 76px; } }

/* =========================================================================
   SOLUTION INTRO  (reframe band)
   ========================================================================= */
.t-solution { text-align: center; }
.t-solution .t-reframe {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink); margin: 0 auto 20px; max-width: 900px;
}
.t-solution p { color: var(--ink-3); font-size: 19px; line-height: 1.6; max-width: 640px; margin: 0 auto; }

/* path of icons connected by a line, revealed sequentially as it scrolls into view */
.t-path { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; max-width: 800px; margin: 56px auto 0; }
.t-path-line { position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-500), var(--purple-500)); transform: scaleX(0); transform-origin: left center; transition: transform 1.3s cubic-bezier(.4,0,.2,1); }
.t-path.in .t-path-line { transform: scaleX(1); }
.t-path-node { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .5s ease, transform .55s cubic-bezier(.34,1.56,.64,1); }
.t-path.in .t-path-node { opacity: 1; transform: none; }
.t-path-ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #ffffff 0%, #EAF1FF 100%); border: 1.5px solid rgba(59,130,246,0.28); color: var(--blue-600); box-shadow: 0 14px 30px -12px rgba(30,58,138,0.42), 0 0 0 6px rgba(59,130,246,0.05); }
.t-path-label { font-size: 14px; font-weight: 600; color: var(--ink-2); max-width: 140px; text-align: center; line-height: 1.3; letter-spacing: -0.005em; }
[data-theme="dark"] .t-path-ic { background: linear-gradient(160deg, rgba(40,54,86,0.95), rgba(20,28,48,0.9)); border-color: rgba(108,178,255,0.4); color: #9EC2FF; }
@media (prefers-reduced-motion: reduce) { .t-path-node { opacity: 1; transform: none; } .t-path-line { transform: scaleX(1); } }
@media (max-width: 640px) { .t-path { flex-wrap: wrap; justify-content: center; gap: 28px; } .t-path-line { display: none; } .t-path-node { flex: 0 0 40%; } }

/* =========================================================================
   FEATURE BLOCK  (alternating)
   ========================================================================= */
.t-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.t-feature + .t-feature { margin-top: 120px; }
.t-feature.t-reverse .t-feature-media { order: -1; }
.t-feature h3 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink); margin: 14px 0 16px;
}
.t-feature p.t-feature-desc { color: var(--ink-3); font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.t-flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.t-flist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.t-flist .tick {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: rgba(16,185,129,0.14); color: var(--green-500); display: grid; place-items: center; font-size: 11px;
}

/* Text-only feature block (no image): render as a self-contained card instead of a
   bare centered column, so a stack of them reads as a designed section, not a wall
   of black-on-white text. The eyebrow becomes a chip and the checklist lays out in
   responsive columns so it fills the card width. */
.t-feature--solo {
  grid-template-columns: 1fr; max-width: 940px; margin-inline: auto;
  text-align: left; padding: 40px 44px; border-radius: var(--r-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  /* theme-adaptive: brand glow layered over the theme card surface (works light + dark) */
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(59,130,246,0.10), transparent 58%),
    var(--card-bg);
  position: relative; overflow: hidden;
}
.t-feature--solo::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-text);
}
.t-feature--solo + .t-feature--solo { margin-top: 26px; }
.t-feature--solo .eyebrow {
  display: inline-block; margin: 0 0 6px; padding: 6px 13px; border-radius: 999px;
  background: rgba(59,130,246,0.10); border: 1px solid rgba(59,130,246,0.20);
  color: var(--blue-600); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.t-feature--solo h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 8px 0 12px; }
.t-feature--solo .t-feature-desc { font-size: 16px; margin: 0 0 22px; max-width: 680px; }
.t-feature--solo .t-flist {
  flex-direction: row; flex-wrap: wrap; gap: 12px 30px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.t-feature--solo .t-flist li { flex: 1 1 200px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 640px) {
  .t-feature--solo { padding: 30px 24px; }
  .t-feature--solo .t-flist { flex-direction: column; gap: 12px; }
}

/* =========================================================================
   TRUST STRIP
   ========================================================================= */
.t-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* exactly four stat cards read better as a 2x2 block than 3 + a lone orphan */
.t-trust-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.t-trust-card {
  padding: 34px 28px; border-radius: var(--r-lg); text-align: center;
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.t-trust-ic {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 20px; display: grid; place-items: center;
  background: rgba(59,130,246,0.12); color: var(--blue-500); border: 1px solid rgba(59,130,246,0.24);
}
.t-trust-ic .mmr-ico { width: 46px; height: 46px; }
.t-trust-num {
  font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 8px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-trust-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.t-trust-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* =========================================================================
   TESTIMONIAL / CASE STUDY
   ========================================================================= */
.t-test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-test-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.t-test-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px 28px; border-radius: var(--r-lg);
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.t-quote-mark { font-family: var(--font-display); font-size: 48px; line-height: 0.6; color: var(--blue-500); opacity: 0.5; height: 26px; }
.t-test-quote { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; flex-grow: 1; }
.t-test-attr { display: flex; align-items: center; gap: 12px; }
.t-test-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: white; background: var(--grad-brand); }
.t-test-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.t-test-role { font-size: 12px; color: var(--ink-3); }
.t-perfect {
  margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--border);
}
.t-perfect .t-perfect-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 12px; }
.t-perfect ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.t-perfect li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.t-perfect .tick { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(139,92,246,0.14); color: var(--purple-500); display: grid; place-items: center; font-size: 10px; margin-top: 1px; }

/* case-study variant (single wide narrative) */
.t-case {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: center;
  padding: 44px; border-radius: var(--r-xl);
  background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.t-case-stat { font-family: var(--font-heading); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.t-case-stat + p { font-size: 15px; color: var(--ink-3); margin: 0; line-height: 1.5; }
.t-case blockquote { margin: 0 0 20px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); font-family: var(--font-heading); font-weight: 500; }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.t-how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.t-how-grid.steps-3 { grid-template-columns: repeat(3, 1fr); }
.t-step { position: relative; padding: 30px 24px; border-radius: var(--r-lg); background: var(--card-bg); border: 1px solid var(--border); }
.t-step-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: white; background: var(--grad-brand);
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}
.t-step h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.t-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.t-faq-wrap { max-width: 820px; margin: 0 auto; }
.t-faq-group + .t-faq-group { margin-top: 40px; }
.t-faq-group-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-500); margin: 0 0 16px; }
.t-faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--card-bg); margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease; }
.t-faq-item[open] { border-color: var(--border-strong); }
.t-faq-q {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.t-faq-q::-webkit-details-marker { display: none; }
.t-faq-q .t-faq-plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform .25s ease; color: var(--ink-3); }
.t-faq-item[open] .t-faq-plus { transform: rotate(45deg); }
.t-faq-a { padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--ink-3); }
.t-faq-a p { margin: 0; }

/* =========================================================================
   CTA BANNER
   ========================================================================= */
.t-cta-banner {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 40px; border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(59,130,246,0.28), transparent 60%),
    var(--card-bg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.t-cta-banner h2 {
  font-family: var(--font-heading); font-weight: 500; font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); margin: 0 auto 16px; max-width: 720px;
}
.t-cta-banner p { color: var(--ink-3); font-size: 18px; line-height: 1.55; max-width: 560px; margin: 0 auto 30px; }
.t-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.t-cta-note { margin-top: 18px; font-size: 13px; color: var(--ink-4); }

/* =========================================================================
   HERO — floating stat badge + notification card + offset accent block
   ========================================================================= */
.t-media-wrap { position: relative; }
.t-media-offset {
  position: absolute; right: -22px; bottom: -22px; width: 66%; height: 62%;
  background: var(--grad-brand); border-radius: var(--r-lg); z-index: 0;
  animation: tphCardFloat 9s ease-in-out infinite;
}
.t-media-wrap .t-frame { position: relative; z-index: 1; }
.t-badge {
  position: absolute; z-index: 3; right: -16px; top: 30px; text-align: center;
  background: var(--t-deep); color: #fff; border-radius: 16px; padding: 16px 22px;
  box-shadow: 0 20px 40px -16px rgba(6,14,28,0.6);
  animation: tphCardFloat 7s ease-in-out .8s infinite;
}
.t-badge-num { font-family: var(--font-heading); font-weight: 600; font-size: 34px; line-height: 1; color: var(--t-gold); }
.t-badge-lbl { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.82); margin-top: 5px; }
.t-note {
  position: absolute; z-index: 3; left: -22px; bottom: 40px; max-width: 280px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 24px 50px -18px rgba(6,14,28,0.42);
  animation: tphCardFloat 6s ease-in-out infinite;
}
.t-note-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(59,130,246,0.12); color: var(--blue-500); display: grid; place-items: center; }
.t-note-title { font-weight: 700; font-size: 14.5px; color: #10243B; line-height: 1.2; }
.t-note-text { font-size: 13px; color: #6b7280; margin-top: 3px; }
@keyframes tphCardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .t-media-offset, .t-badge, .t-note { animation: none; } }

/* =========================================================================
   RESOURCES — selector list (left) + shared detail panel (right)
   ========================================================================= */
.t-res-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 28px; align-items: start; }
.t-res-list { display: flex; flex-direction: column; gap: 14px; }
.res-item {
  display: flex; align-items: center; gap: 18px; text-decoration: none; cursor: pointer;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.res-item:hover { transform: translateY(-2px); }
.res-itemicon { flex-shrink: 0; width: 78px; height: 78px; border-radius: 18px; background: rgba(59,130,246,0.12); color: var(--blue-500); display: grid; place-items: center; transition: background .25s ease, color .25s ease; }
.res-itemicon .mmr-ico { width: 48px; height: 48px; }
.res-item.is-active { border-color: var(--blue-500); }
.res-item.is-active .res-itemicon { background: var(--blue-500); color: #fff; }
.res-item-title { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 21px; color: var(--ink); line-height: 1.18; }
.res-item-sub { display: block; font-size: 14px; color: var(--ink-3); margin-top: 3px; }
.res-arrow { flex-shrink: 0; display: inline-flex; color: var(--blue-500); opacity: 0; transform: translateX(-4px); transition: opacity .25s ease, transform .25s ease; }
.res-item.is-active .res-arrow { opacity: 1; transform: none; }
/* Detail panel sizes to its content (grid-stack: all panels share one cell) and
   sticks while scrolling a long selector list — so pages with many items don't
   leave a huge empty panel. */
.t-res-detailwrap { position: sticky; top: 88px; align-self: start; display: grid; background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.res-detail { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; padding: 36px; display: flex; flex-direction: column; transform: translateY(10px); transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.res-detail.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.res-detail .t-frame { min-height: 0; height: 180px; aspect-ratio: auto; margin-bottom: 22px; }
.res-detail h3 { font-family: var(--font-heading); font-weight: 600; font-size: 26px; margin: 0 0 12px; color: var(--ink); line-height: 1.15; }
.res-detail p { font-size: 16px; line-height: 1.66; color: var(--ink-3); margin: 0 0 22px; }
.res-detail .res-link { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; color: var(--blue-500); text-decoration: none; font-weight: 600; font-size: 16px; }
/* "What you get": items with no link render as <button> — strip native chrome. */
button.res-item { font: inherit; width: 100%; text-align: left; -webkit-appearance: none; appearance: none; }
/* Illustration in the detail panel: a real 16:9 image, cover-cropped into a rounded card
   (overrides the 180px fixed-height placeholder frame + the contain/height:auto <img> defaults). */
/* Illustration card: fixed 16:9 (matches the source illustrations) so every
   card is the SAME height across all pages. */
.res-detail .t-frame--img { height: auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 22px 48px -30px rgba(30,58,138,0.55); margin-bottom: 24px; }
.res-detail .t-frame--img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: none; }
/* HTML/SVG feature mockup (media.html) instead of an illustration — size to content */
.res-detail .t-frame--card { height: auto; aspect-ratio: auto; margin-bottom: 24px; }
/* 3rd-party embed mount (CRM inquiry form self-styles under its own .mmrq root) */
.t-embed-mount { max-width: 620px; margin: 0 auto; }
/* Native contact form (posts to the CRM inquiry API) */
.mmr-cform { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.mmr-cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mmr-cform-field { display: flex; flex-direction: column; gap: 7px; }
.mmr-cform-lbl { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.mmr-cform-lbl em { color: var(--blue-500); font-style: normal; }
.mmr-cform input, .mmr-cform textarea { width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s ease; }
.mmr-cform input:focus, .mmr-cform textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
.mmr-cform textarea { resize: vertical; min-height: 100px; }
.mmr-cform-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mmr-cform-submit { margin-top: 4px; align-self: flex-start; padding: 12px 26px; }
.mmr-cform-status { font-size: 14px; color: var(--ink-3); min-height: 20px; }
.mmr-cform-status.is-ok { color: #047857; }
.mmr-cform-status.is-err { color: #b91c1c; }
@media (max-width: 560px) { .mmr-cform-2col { grid-template-columns: 1fr; } }

/* =========================================================================
   SECURITY RIPPLE — ported from the home page "private & secure" band, used
   by the trust section's ripple variant (C.trust with variant:'ripple').
   ========================================================================= */
.sec-ripple { position:relative; padding:150px 24px 84px; text-align:center; }
.sec-ripple-bg { position:absolute; inset:0; overflow:hidden; z-index:0;
  border-radius:0 0 50% 50% / 0 0 64px 64px;
  background:linear-gradient(180deg,#07090F 0%,#0F1525 48%,#090C16 100%); }
.sec-ripple-bg::after { content:""; position:absolute; top:-40px; left:50%; width:620px; height:440px;
  transform:translateX(-50%); pointer-events:none;
  background:radial-gradient(ellipse 50% 60% at 50% 0%, rgba(60,130,246,0.30), rgba(6,182,212,0.12) 55%, transparent 75%); }
.sec-ripple .rr { position:absolute; left:50%; top:0; border-radius:50%; border:1px solid rgba(255,255,255,0.07);
  transform:translate(-50%,-50%); pointer-events:none; }
.sec-ripple .rr1 { width:280px; height:280px; }
.sec-ripple .rr2 { width:470px; height:470px; }
.sec-ripple .rr3 { width:690px; height:690px; }
.sec-ripple .rr4 { width:940px; height:940px; border-color:rgba(255,255,255,0.055); }
.sec-ripple .rr5 { width:1230px; height:1230px; border-color:rgba(255,255,255,0.04); }
.sec-ripple .rr6 { width:1560px; height:1560px; border-color:rgba(255,255,255,0.028); }
.sec-ripple .rr-pulse { width:240px; height:240px; border-width:2px; border-color:rgba(120,190,255,0.85);
  box-shadow:0 0 24px rgba(90,170,255,0.35);
  animation:secripple 5s ease-out infinite; }
.sec-ripple .rr-pulse.rr-pulse2 { animation-delay:2.5s; }
@keyframes secripple {
  0% { width:200px; height:200px; opacity:0; }
  8% { opacity:1; }
  70% { opacity:0.35; }
  100% { width:1500px; height:1500px; opacity:0; }
}
@media (prefers-reduced-motion:reduce){ .sec-ripple .rr-pulse{ animation:none; opacity:0; } }
.sec-ripple-scoop { position:absolute; top:0; left:50%; width:158px; height:158px; border-radius:50%;
  background:var(--bg); transform:translate(-50%,-50%); z-index:2; }
.sec-ripple-logo { position:absolute; top:0; left:50%; width:72px; height:72px;
  transform:translate(-50%,-50%); z-index:4; }
.sec-ripple-logo img { width:100%; height:100%; display:block; border-radius:22px;
  filter:drop-shadow(0 12px 28px rgba(60,130,246,0.5)); }
.sec-ripple-text { position:relative; z-index:3; max-width:820px; margin:0 auto; }
.sec-ripple-eyebrow { font-size:13.5px; letter-spacing:0.03em; color:rgba(222,226,242,0.55); margin-bottom:26px; }
.sec-ripple-head { font-family:var(--font-heading); font-weight:600;
  font-size:clamp(40px,5.4vw,66px); line-height:1.04; letter-spacing:-0.022em;
  color:#F6F3FB; margin:0 0 20px; }
.sec-ripple-head em { font-style:normal;
  background:linear-gradient(100deg,#8CB4FF 0%,#6AE3F5 50%,#B892FF 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.sec-ripple-sub { font-size:15.5px; color:rgba(222,226,242,0.5); margin:0; }
@media (max-width:640px){ .sec-ripple{ padding:120px 20px 64px; } }

/* Cards-in-band variant: the 3 stat cards sit INSIDE the dark ripple area (no headline text). */
.sec-ripple--cards { padding-top:118px; padding-bottom:104px; }
.sec-ripple-cards { position:relative; z-index:3; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1060px; margin:0 auto; padding:0 24px; }
/* exactly 4 cards -> 2x2 (not 3+1) */
.sec-ripple-cards:has(> :nth-child(4):last-child) { grid-template-columns:repeat(2,1fr); max-width:760px; }
.sec-ripple-card { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.13); border-radius:20px; padding:32px 26px; text-align:center; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:0 24px 60px -34px rgba(0,0,0,0.65); }
.sec-ripple-cardic { width:66px; height:66px; margin:0 auto 18px; border-radius:16px; display:grid; place-items:center; background:#fff; box-shadow:0 10px 26px -10px rgba(0,0,0,0.5); }
.sec-ripple-cardic .mmr-ico { width:40px; height:40px; }
.sec-ripple-cardnum { font-family:var(--font-heading); font-weight:600; font-size:42px; line-height:1.05; margin-bottom:calc(8px - 0.18em); padding-bottom:0.18em;
  background:linear-gradient(100deg,#8CB4FF 0%,#6AE3F5 55%,#B892FF 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.sec-ripple-card h4 { margin:0 0 8px; font-family:var(--font-heading); font-weight:600; font-size:17px; color:#F6F3FB; }
.sec-ripple-card p { margin:0; font-size:13.5px; line-height:1.55; color:rgba(222,226,242,0.62); }
@media (max-width:820px){ .sec-ripple-cards { grid-template-columns:1fr; max-width:420px; } }

/* =========================================================================
   STATE BAND — deep-navy band, decorative waves, sunrise glow, chip grid
   ========================================================================= */
.t-band { position: relative; overflow: hidden; background: linear-gradient(180deg, #0B1426 0%, #0F1525 52%, #090D1A 100%); color: #fff; }
.t-band-wave { position: absolute; left: 0; width: 100%; height: 116px; display: block; z-index: 2; pointer-events: none; }
.t-band-wave.top { top: 0; }
.t-band-wave.bottom { bottom: 0; transform: scaleY(-1); }
.t-band-glow {
  position: absolute; bottom: -130px; left: 39%; transform: translateX(-50%);
  width: 380px; height: 380px; border-radius: 50%; z-index: 0; opacity: .9; pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(106,227,245,.55) 0%, rgba(59,130,246,.4) 34%, rgba(139,92,246,.2) 60%, rgba(139,92,246,0) 80%);
  filter: blur(8px);
}
.t-band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; padding: 150px 0; }
.t-band-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.t-band-ic { flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,0.10); color: var(--t-gold); }
.t-band .t-band-eyebrow { font-size: 17px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-gold); margin-bottom: 8px; }
.t-band h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px,3.4vw,46px); line-height: 1.08; letter-spacing: -0.012em; margin: 0; color: #fff; }
.t-band p { font-size: 17px; line-height: 1.64; color: var(--t-on-deep); margin: 0 0 28px; max-width: 420px; }
.t-band-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--grad-brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 999px; box-shadow: 0 8px 24px rgba(59,130,246,0.4), inset 0 1px 0 rgba(255,255,255,0.25); transition: transform .2s ease, box-shadow .2s ease; }
.t-band-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(59,130,246,0.55), inset 0 1px 0 rgba(255,255,255,0.3); }
.t-chip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.t-chip { display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px 8px; border: 1px solid var(--t-deep-chip-border); border-radius: 12px; font-size: 14.5px; font-weight: 600; color: #fff; background: var(--t-deep-chip); transition: background .25s ease, border-color .25s ease; }
.t-chip:hover { background: rgba(59,130,246,0.16); border-color: var(--t-gold); }

/* =========================================================================
   TALK BANNER — deep-navy callout, glowing icon, pill button
   ========================================================================= */
.t-talk { position: relative; overflow: hidden; background: linear-gradient(180deg, #0B1426 0%, #0F1525 100%); border-radius: 26px;
  padding: 52px 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.t-talk:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -22px rgba(6,14,28,0.7); }
.t-talk-glow { position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; filter: blur(6px); background: radial-gradient(circle at 50% 50%, rgba(106,227,245,.45) 0%, rgba(59,130,246,.2) 48%, transparent 74%); }
.t-talk-ic { position: relative; width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--grad-brand); box-shadow: 0 0 0 8px rgba(59,130,246,0.16); color: #fff; }
.t-talk-body { position: relative; }
.t-talk-eyebrow { font-size: 17px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-gold); margin-bottom: 10px; }
.t-talk-body p { font-family: var(--font-heading); font-weight: 500; font-size: clamp(20px,2.1vw,27px); line-height: 1.34; letter-spacing: -0.006em; margin: 0; color: #fff; }
.t-talk-body em { font-style: italic; color: var(--t-gold); white-space: nowrap; }
.t-talk-btn { position: relative; display: inline-flex; align-items: center; gap: 11px; background: #fff; color: var(--t-deep); font-weight: 700; font-size: 16px; padding: 15px 24px; border-radius: 999px; flex-shrink: 0; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.t-talk-btn svg { color: var(--blue-500); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .t-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .t-feature, .t-feature.t-reverse { grid-template-columns: 1fr; gap: 32px; }
  .t-feature.t-reverse .t-feature-media { order: 0; }
  .t-feature + .t-feature { margin-top: 72px; }
  .t-trust-grid, .t-trust-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; max-width: none; }
  .t-test-grid, .t-test-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .t-how-grid, .t-how-grid.steps-3 { grid-template-columns: 1fr 1fr; }
  .t-case { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .t-res-grid { grid-template-columns: 1fr; }
  .t-res-detailwrap { position: static; min-height: 0; }
  .res-detail { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .res-detail:not(.is-active) { display: none; }
  .t-band-inner { grid-template-columns: 1fr; gap: 40px; padding: 130px 0; }
  .t-chip-grid { grid-template-columns: repeat(3, 1fr); }
  .t-talk { grid-template-columns: auto 1fr; gap: 24px 28px; padding: 40px; }
  .t-talk-btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  .t-section { padding: 64px 0; }
  .t-pain-grid { grid-template-columns: 1fr; }
  .t-test-grid, .t-test-grid.cols-2 { grid-template-columns: 1fr; }
  .t-how-grid, .t-how-grid.steps-3 { grid-template-columns: 1fr; }
  .t-cta-banner { padding: 56px 24px; }
  .t-band-inner { padding: 120px 0; }
  .t-chip-grid { grid-template-columns: repeat(2, 1fr); }
  .t-talk { grid-template-columns: 1fr; gap: 22px; padding: 34px 26px; text-align: left; }
  .t-talk-ic { }
  .t-talk-btn { grid-column: 1; }
  .t-note { left: 0; }
  .t-badge { right: 0; }
}

/* =========================================================================
   Imported landing components (Providers / Organizations): illustrative
   card mockups, comparison tables, and pricing cards. Theme-reactive via
   design tokens (works in light + dark).
   ========================================================================= */

/* ---- raw-HTML media card (e.g. the coaching chat mockup) ---- */
.t-frame--card { padding: 0; background: transparent; border: 0; box-shadow: none; display: block; }
.t-chatcard { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-card); }
.t-chatcard-label { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 14px; }
.t-chatbubble { display: flex; margin-bottom: 11px; }
.t-chatbubble .b { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; }
.t-chatbubble.ai { justify-content: flex-start; }
.t-chatbubble.ai .b { background: var(--surface); color: var(--ink-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.t-chatbubble.me { justify-content: flex-end; }
.t-chatbubble.me .b { background: var(--blue-500); color: #fff; border-bottom-right-radius: 5px; }
.t-chatcard-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-4); }

/* ---- comparison tables ---- */
.t-compare-list { display: flex; flex-direction: column; gap: 44px; }
.t-compare-cap { text-align: center; max-width: 640px; margin: 0 auto 20px; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.t-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---- pricing card ---- */
.t-price { max-width: 640px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: 24px; padding: 34px 32px; box-shadow: var(--shadow-card); text-align: center; position: relative; overflow: hidden; }
.t-price-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 16px; }
.t-price-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto 24px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.t-price-tgl { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .18s ease; }
.t-price-tgl.is-on { background: var(--grad-brand); color: #fff; }
.t-price-save { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(16,185,129,0.18); color: #10B981; }
.t-price-tgl.is-on .t-price-save { background: rgba(255,255,255,0.22); color: #fff; }
.t-price-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; margin-bottom: 18px; border-radius: 12px; background: rgba(16,185,129,0.10); border: 1px solid rgba(16,185,129,0.25); color: #10B981; font-size: 13px; font-weight: 600; }
.t-price-amount { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.t-price-num { font-family: var(--font-display); font-size: 56px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.t-price-unit { font-size: 14px; color: var(--ink-4); }
.t-price-sub2 { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.t-price-sub2 b { color: #10B981; font-weight: 700; }
.t-price-sub2 s { color: var(--ink-4); }
.t-price-addon { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.t-price-note { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue-500); }
.t-price-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; text-align: left; margin: 26px 0; }
.t-price-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.t-price-feat .tick { flex-shrink: 0; margin-top: 1px; }
.t-price-ctas { display: flex; justify-content: center; }
.t-price-cta { padding: 14px 30px; font-size: 15px; }
.t-price-foot { margin-top: 14px; font-size: 12px; color: var(--ink-4); }
.t-price[data-bill="yearly"]  .t-price-monthly,
.t-price[data-bill="yearly"]  .t-price-cta-monthly { display: none; }
.t-price[data-bill="monthly"] .t-price-yearly,
.t-price[data-bill="monthly"] .t-price-cta-yearly { display: none; }

@media (max-width: 640px) {
  .t-price { padding: 26px 20px; }
  .t-price-num { font-size: 44px; }
  .t-price-feats { grid-template-columns: 1fr; }
}
