@import url("https://fonts.googleapis.com/css2?family=Parisienne&display=swap");
/* Logo-aligned palette: teal / cyan → deep blue */
:root{
  --brand-500:#06b6d4;   /* cyan / teal */
  --brand-600:#0284c7;   /* blue-leaning teal */
  --brand-700:#0369a1;   /* deep blue */
  --brand-soft:#e0f2fe;  /* light cyan background */

  --slate-950:#020617;
  --slate-900:#0f172a;
  --slate-800:#1f2937;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-300:#cbd5f5;
  --slate-200:#e5e7eb;
  --slate-100:#f3f4f6;
  --white:#ffffff;

  /* Section canvases */
  --canvas-soft: rgba(2,132,199,.06);
  --canvas-glass: rgba(255,255,255,.8);
}

*{box-sizing:border-box}

/* Layout shell for the landing page */

html,body{height:100%}
body.app{
  overflow-x:hidden;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  color:var(--slate-900);
}

.page-shell{
  position:relative;
  isolation:isolate; /* ensure pseudo canvases layer correctly */
  padding: 0 0 0 0;
}

/* ------------------------------------------------------------------ */
/* Section framing + perfectly aligned background gradients            */
/* ------------------------------------------------------------------ */

.section-block{
  position:relative;
  margin-top:40px;
  padding:32px 0 32px;
  border-top:1px solid rgba(148,163,184,.24);
  overflow:visible; /* allow our pseudo backgrounds */
 
}

/* Shared aligned background “canvas” per section.
   Expands to match page-shell gutters so sections line up. */
.section-block::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:-20px; right:-20px;
  top:0; bottom:0;
  border-radius:22px;
  pointer-events:none;

  /* Layered gradient + blobs → glass-friendly base */
  background:
    radial-gradient(220px 140px at 8% 6%, var(--sec-blob1), transparent 60%),
    radial-gradient(240px 160px at 96% 14%, var(--sec-blob2), transparent 62%),
    linear-gradient(180deg, var(--sec-g2), var(--sec-g1) 70%),
    linear-gradient(0deg, var(--sec-g3), transparent 58%);
}

/* Optional faint glyph */
.section-block::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:16px; top:18px;
  width:160px; height:160px;
  opacity:.06;
  filter:grayscale(1);
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  pointer-events:none;
  display:none; /* enable per-section if desired */
}

.section-block:last-of-type{ padding-bottom:4px; }

/* ------------------------------------------------------------------ */
/* Section-specific gradient palettes                                  */
/* ------------------------------------------------------------------ */

/* Mission: softer, optimistic cyan */
.section-mission{

  border-top:none;
  margin-top:48px;

  --sec-g2: rgba(2,132,199,.08);
  --sec-g3: rgba(14,165,233,.10);
  --sec-blob1: rgba(56,189,248,.16);
  --sec-blob2: rgba(37,99,235,.12);
    background:
    radial-gradient(220px 140px at 8% 6%, var(--sec-blob1), transparent 60%),
    radial-gradient(240px 160px at 96% 14%, var(--sec-blob2), transparent 62%),
    linear-gradient(180deg, var(--sec-g2), var(--sec-g1) 70%),
    linear-gradient(0deg, var(--sec-g3), transparent 58%);

}

/* Features: a touch deeper for contrast */
.section-features{

  --sec-g2: rgba(2,132,199,.10);
  --sec-g3: rgba(2,132,199,.08);
  --sec-blob1: rgba(6,182,212,.18);
  --sec-blob2: rgba(3,105,161,.12);
}

/* How it works: cool glassy strip feel */
.section-how{
  --sec-g2: rgba(148,163,184,.14);
  --sec-g3: rgba(2,132,199,.08);
  --sec-blob1: rgba(59,130,246,.14);
  --sec-blob2: rgba(56,189,248,.12);
}

/* Getting started steps strip */
.section-steps{
  --sec-g2: rgba(148,163,184,.10);
  --sec-g3: rgba(2,132,199,.08);
  --sec-blob1: rgba(56,189,248,.16);
  --sec-blob2: rgba(3,105,161,.12);
}


.steps-flow{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 8px 24px;
}

.steps-flow::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
  border-bottom: 1px dashed rgba(148,163,184,.55);
  transform: translateY(-50%);
  pointer-events: none;
}

.step-node{
  position: relative;
  z-index: 1;
  flex: 1 1 150px;
  max-width: 200px;
  margin-inline: auto;
  text-align: center;
  padding: 14px 18px 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(226,242,255,.12));
  border: 1px solid rgba(191,219,254,.90);
  box-shadow:
    0 22px 60px rgba(15,23,42,.25),
    0 0 0 1px rgba(255,255,255,.65) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    opacity .7s ease-out,
    transform .7s ease-out,
    box-shadow .25s ease-out,
    border-color .25s ease-out;
  opacity: 0;
  transform: translateY(26px) scale(.98);
  transition-delay: calc(var(--step-order, 0) * 90ms);
}

.step-node:hover{
  box-shadow:
    0 26px 70px rgba(15,23,42,.32),
    0 0 0 1px rgba(255,255,255,.8) inset;
  border-color: rgba(125,211,252,.95);
}

.step-node.step-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Section shell for the 5-step area */
.section-steps {
  position: relative;
  padding: 3%;
  max-width: 100%;
  border-radius: 0px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at top left, rgba(255,255,255,.65), rgba(255,255,255,.55) 45%, rgba(226,232,240,.75) 60%),
    url(/assets/steps-bg-leaves3-9e164c5595318441b179a1d9843484d814b9484610d64277196676d2a47c5c30.png);
  background-size: cover;
  background-position: center;
  box-shadow:
    0 40px 80px rgba(15,23,42,.28);
}

/* optional: subtle inner vignette so edges fade nicely */
.steps-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    background-image:
    radial-gradient(circle at top left, rgba(255,255,255,.95), rgba(255,255,255,.85) 45%, rgba(226,232,240,.75) 100%),
    url('<%= image_path "steps-bg-leaves2.jpg" %>');

    radial-gradient(circle at center,
      rgba(255,255,255,.0) 0%,
      rgba(15,23,42,.04) 70%,
      rgba(15,23,42,.10) 100%);
  pointer-events: none;
}

/* Slightly more transparent hex glass now that we have a background */
.step-icon{
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background:
    radial-gradient(circle at 20% 0%,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.65) 30%,
      rgba(191,219,254,.32) 60%,
      rgba(15,23,42,.02) 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    0 20px 50px rgba(15,23,42,.30),
    0 0 0 1px rgba(148,205,255,.55) inset;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.step-icon::before{
  content: "";
  position: absolute;
  inset: 10px;
  clip-path: inherit;
  border: 1px solid rgba(255,255,255,.7);
  opacity: .85;
  pointer-events: none;
}

/* keep the dark center circle crisp */
.step-icon-number{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #0f172a, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  box-shadow:
    0 8px 20px rgba(15,23,42,.55),
    0 0 0 1px rgba(255,255,255,.6);
}
.step-node h3{
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--slate-900);
}

.step-node p{
  font-size: .9rem;
  line-height: 1.5;
  color: var(--slate-700);
}

/* ------------------------------------------------------------------ */
/* Getting Started Roadmap (modern path diagram)                        */
/* ------------------------------------------------------------------ */

.roadmap{
  position: relative;
  margin-top: 26px;
  padding: 22px 10px 8px;
}

.roadmap-path{
  position: absolute;
  left: 18px;
  right: 18px;
  /* sit behind the badges, not through the text */
  top: 104px;
  height: 220px;
  width: calc(100% - 36px);
  pointer-events: none;
  opacity: .9;
  filter: drop-shadow(0 12px 26px rgba(15,23,42,.18));
}

.roadmap-nodes{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.roadmap-node{
  --floatY: 12px;
  position: relative;
  border-radius: 26px;
  padding: 18px 18px 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.48), rgba(226,242,255,.10));
  border: 1px solid rgba(191,219,254,.92);
  box-shadow:
    0 22px 60px rgba(15,23,42,.22),
    0 0 0 1px rgba(255,255,255,.62) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 248px;

  opacity: 0;
  transform: translateY(calc(var(--floatY) + 26px)) scale(.985);
  transition:
    opacity .7s ease-out,
    transform .7s ease-out,
    box-shadow .25s ease-out,
    border-color .25s ease-out;
  transition-delay: calc(var(--node-order, 0) * 90ms);
}

.roadmap-node:hover{
  box-shadow:
    0 26px 74px rgba(15,23,42,.28),
    0 0 0 1px rgba(255,255,255,.78) inset;
  border-color: rgba(125,211,252,.98);
}

.roadmap-node.roadmap-visible{
  opacity: 1;
  transform: translateY(var(--floatY)) scale(1);
}

/* Staggered "wave" placement to match the dashed path */
.roadmap-node:nth-child(1){ --floatY: 26px; }
.roadmap-node:nth-child(2){ --floatY: 0px; }
.roadmap-node:nth-child(3){ --floatY: 38px; }
.roadmap-node:nth-child(4){ --floatY: 4px; }
.roadmap-node:nth-child(5){ --floatY: 22px; }

.roadmap-badge-wrap{
  position: relative;
  width: 98px;
  height: 98px;
  margin: 0 auto 14px;
}

.roadmap-badge{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background:
    radial-gradient(circle at 30% 0%, rgba(255,255,255,.35), rgba(255,255,255,.08) 38%, rgba(2,132,199,.12) 70%, rgba(15,23,42,.02) 100%),
    linear-gradient(135deg, rgba(14,165,233,.35), rgba(59,130,246,.25));
  /* Make the hex read clearly on light glass */
  border: 2px solid rgba(255,255,255,.88);
  box-shadow:
    0 20px 52px rgba(15,23,42,.30),
    0 0 0 2px rgba(148,205,255,.72) inset,
    0 0 0 1px rgba(2,132,199,.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Outer cyan outline ring (subtle but visible) */
.roadmap-badge::before{
  content: "";
  position: absolute;
  inset: -2px;
  clip-path: inherit;
  border: 2px solid rgba(2,132,199,.38);
  border-radius: 0; /* clip-path defines the shape */
  pointer-events: none;
}

/* crisp outline ring for the hex (helps it read on light backgrounds) */
.roadmap-badge::after{
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  box-shadow:
    0 0 0 1px rgba(2,132,199,.22) inset,
    0 10px 24px rgba(15,23,42,.16);
  pointer-events: none;
}

.roadmap-badge i{
  color: #fff;
  font-size: 28px;
  text-shadow: 0 10px 22px rgba(15,23,42,.35);
  transform: translateY(-2px);
}

.roadmap-number{
  position: absolute;
  z-index: 3;
  bottom: -12px;
  right: -6px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: radial-gradient(circle at 30% 0%, #0f172a, #020617);
  box-shadow:
    0 10px 22px rgba(15,23,42,.45),
    0 0 0 2px rgba(255,255,255,.70);
}

.roadmap-node h3{
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: var(--slate-900);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-node p{
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--slate-700);
  min-height: 66px;
}

/* Mobile adjustments */
@media (max-width: 900px){
  .steps-flow{
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-inline: 0;
  }
  .steps-flow::before{
    display: none;
  }
  .step-node{
    max-width: none;
    text-align: left;
    padding: 14px 16px 18px;
  }
  .step-icon{
    margin: 0 0 8px;
  }
}

/* Roadmap responsive */
@media (max-width: 1100px){
  .roadmap-nodes{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roadmap-path{ top: 128px; height: 210px; }
}

@media (max-width: 820px){
  .roadmap-nodes{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-path{ display: none; }
  .roadmap-node{
    text-align: left;
    transform: translateY(18px) scale(.99);
  }
  .roadmap-node.roadmap-visible{ transform: translateY(0) scale(1); }
  .roadmap-badge{ margin: 0 0 10px; }
  .roadmap-node:nth-child(n){ --floatY: 0px; }
}

@media (max-width: 560px){
  .roadmap-nodes{ grid-template-columns: 1fr; }
}

/* Small screen refinement */

@media (max-width: 480px){
  /* Extra-tight header layout for narrow phones (prevents account pill from clipping off-screen) */
  .nav-inner{
    padding-left:12px;
    padding-right:12px;
  }

  .logo-stack img{ width:56px !important; }

  .nav-right{ gap:8px; min-width:0; flex:1; }
  .nav-account-trigger{ max-width:160px; }
  .nav-account-name,
  .nav-account-chevron{ display:none !important; }
  .nav-account-pill{ font-size:10px; padding:6px 10px; }

  .nav-hamburger{ margin-left:8px; }
}


@media (max-width: 640px){
  .step-node h3{
    font-size: .98rem;
    margin-bottom: 4px;
  }
  .step-node p{
    font-size: .86rem;
  }
}
/* Outcomes: strong glass */
.section-outcomes{
  --sec-g2: rgba(2,132,199,.12);
  --sec-g3: rgba(14,165,233,.12);
  --sec-blob1: rgba(6,182,212,.20);
  --sec-blob2: rgba(3,105,161,.14);
}

/* Reviews: starry subtle */
.section-reviews{
  --sec-g2: rgba(148,163,184,.12);
  --sec-g3: rgba(59,130,246,.08);
  --sec-blob1: rgba(59,130,246,.16);
  --sec-blob2: rgba(6,182,212,.12);
}

/* ------------------------------------------------------------------ */
/* Glass utilities (apply to cards, columns, or panels)                */
/* ------------------------------------------------------------------ */

.glass-card{
  position:relative;
  border-radius:20px;
  background: linear-gradient(140deg, rgba(248, 250, 252, 0.86), rgba(226, 232, 240, 1));
  border:1px solid rgba(148,163,184,.45);
  box-shadow:
    0 24px 60px rgba(15,23,42,.18),
    inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color:var(--slate-900);
}
.glass-card .panel-inner{ padding:22px 20px 22px; }

.glass-strong{
  border-color: rgba(148,163,184,.55);
}

/* ------------------------------------------------------------------ */
/* Section header + text                                               */
/* ------------------------------------------------------------------ */

.section-header{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:18px;
  margin-bottom:18px;
}
.section-header h2{
  margin:0;
  font-size:22px;
  line-height:1.3;
  color:var(--slate-900);
}
.section-header p{
  margin:0;
  color:var(--slate-700);
  max-width:560px;
}

/* Eyebrow + text helpers */

.eyebrow{
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:24px;
  font-weight:600;
  color:rgba(148,163,184,.95);
  margin:12px;
  padding:0px;
}
.lede{
  margin:0;
  color:var(--slate-700);
  font-size:15px;
  line-height:1.6;
}

/* Buttons */

.btn,
a.btn,
button.btn,
input.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  /* Match the top-right account button vibe */
  border-radius:999px;
  padding:10px 18px;
  min-height:38px;

  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
  text-decoration:none;

  border:1px solid rgba(148,163,184,.7);
  background:rgba(255,255,255,.92);
  color:var(--slate-800);

  box-shadow:0 10px 26px rgba(15,23,42,.10);
  transition:box-shadow .16s ease, transform .08s ease, border-color .16s ease, background .16s ease, filter .16s ease;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
input.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(15,23,42,.16);
  border-color:rgba(59,130,246,.75);
  background:rgba(255,255,255,.98);
}

.btn:active,
a.btn:active,
button.btn:active,
input.btn:active{
  transform:translateY(0px);
  box-shadow:0 10px 24px rgba(15,23,42,.12);
}

.btn-primary{
  border-color:transparent;
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700));
  color:#f9fafb;
  box-shadow:0 12px 32px rgba(2,132,199,.22);
}

.btn-primary:hover{
  border-color:transparent;
  filter:brightness(0.98);
  box-shadow:0 16px 38px rgba(2,132,199,.28);
}

.btn-ghost,
.btn-secondary{
  background:rgba(255,255,255,.70);
}

.btn-small,
.btn-mini{
  min-height:34px;
  padding:8px 14px;
  font-size:11px;
}

/* Make sure Rails button_to <form> buttons don't inherit ugly defaults */
.btn::-moz-focus-inner{ border:0; }
.btn-ghost{
  background:#ffffff;
  border-color:var(--slate-200);
  color:var(--slate-900);
}
.btn-ghost:hover{ background:var(--slate-100); }

/* ------------------------------------------------------------------ */
/* HEADER / NAV                                                        */
/* ------------------------------------------------------------------ */

header.header{ border-bottom:1px solid rgba(148,163,184,.18); padding:10px;}

header.header.nav-elevated{
  /* Keep the top nav visible while scrolling (translucent glass overlay) */
  position:sticky;
  top:0;
  left:0;
  width:100%;
  /* Avoid negative margins here; they can break sticky behavior in some browsers */
  margin-top:0;
  z-index:40;
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 4px 18px rgba(15,23,42,.06);
  animation:nav-drop-in .45s ease-out;
}

/* Desktop: let the top nav span the full viewport width so the right-side
   account button sits flush-right on large screens. */
@media (min-width: 1025px){
  /* Desktop: keep the header content centered with a max width */
  .nav-inner{
    max-width:1080px;
    width:100%;
    margin:0 auto;
    padding:0 20px;
  }

  .nav-right{ margin-left:auto; }

  /* Drawer nav is mobile-only */
  .nav-hamburger,
  .nav-overlay,
  .nav-drawer{ display:none !important; }
}

.nav-inner{
  max-width:1080px;
  padding:0px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.nav-left{ margin-left:-10px; display:flex; align-items:center; gap:8px; }

.logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.logo-link:hover,
.logo-link:focus,
.logo-link:active{
  text-decoration:none;
}
.logo-stack{ display:flex; align-items:center; }
.logo-wordmark{
  margin-left:8px;
  font-weight:800;
  letter-spacing:.015em;
  font-size:20px;
  line-height:1;
  color:var(--slate-900);
  text-decoration:none;
  /* Subtle "embossed" wordmark feel to better match the image-based logo */
  text-shadow:
    0 1px 0 rgba(255,255,255,.85),
    0 8px 18px rgba(15,23,42,.18);
}

.logo-link:hover .logo-wordmark{ text-decoration:none; }

/* Center nav links */

.nav-center{ flex:1; display:flex; justify-content:center; }

.nav-links{
  list-style:none; margin:0; padding:0;
  display:flex; gap:22px; align-items:center;
  font-size:14px; font-weight:500;
}

.nav-link{
  position:relative; text-decoration:none; color:var(--slate-700);
  padding:4px 0; transition:color .18s ease, transform .1s ease;
}
.nav-link::after{
  content:""; position:absolute; left:0; bottom:-3px; width:100%; height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand-500),var(--brand-700));
  transform:scaleX(0); transform-origin:center; transition:transform .2s ease-out,opacity .2s ease-out; opacity:0;
}
.nav-link:hover{ color:var(--slate-900); transform:translateY(-1px); }
.nav-link:hover::after{ transform:scaleX(1); opacity:1; }

/* Right side actions */

.nav-right{ display:flex; align-items:center; gap:8px; }

/* Mobile hamburger + slide-down menu */

.nav-hamburger{
  display:none;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.7);
  background:rgba(255,255,255,.9);
  padding:0;
  margin-left:0px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-direction:column;
  box-shadow:0 8px 20px rgba(15,23,42,.12);
  transition:box-shadow .15s ease, transform .12s ease, border-color .15s ease;
}

.nav-hamburger span{
  width:16px;
  height:2px;
  border-radius:999px;
  background:var(--slate-800);
  transition:transform .15s ease, opacity .15s ease;
}

/* X state */
.nav-hamburger.is-open span:nth-child(1){
  transform:translateY(4px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2){
  opacity:0;
}
.nav-hamburger.is-open span:nth-child(3){
  transform:translateY(-4px) rotate(-45deg);
}

/* --------------------------------------------------------------- */
/* Mobile nav drawer (blue-glass)                                   */
/* --------------------------------------------------------------- */

.nav-mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.32);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
  z-index:80;
}

.nav-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100dvh;
  width:min(88vw, 360px);
  padding:14px;
  background:linear-gradient(180deg, rgba(239,246,255,.90), rgba(255,255,255,.86));
  border-left:1px solid rgba(59,130,246,.25);
  box-shadow:-24px 0 60px rgba(15,23,42,.28);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  transform:translateX(calc(100% + 48px));
  transition:transform .22s ease;
  z-index:90;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.nav-drawer.nav-mobile--open{ transform:translateX(0); }
.nav-drawer.nav-mobile--open + .nav-mobile-overlay,
.nav-mobile-overlay.nav-mobile--open{ opacity:1; pointer-events:auto; }

/* allow body lock */
body.has-mobile-nav-open{ overflow:hidden; }

.nav-drawer__header{
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(59,130,246,.20);
  background:linear-gradient(135deg, rgba(59,130,246,.14), rgba(255,255,255,.65));
  box-shadow:0 12px 30px rgba(15,23,42,.10);
}

.nav-drawer__profile{ display:flex; align-items:center; gap:10px; }

.nav-drawer__avatar{
  width:42px; height:42px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(59,130,246,.25);
  background:rgba(255,255,255,.75);
  overflow:hidden;
}
.nav-drawer__avatar-img{ width:100%; height:100%; object-fit:cover; }
.nav-drawer__avatar-fallback{ font-weight:800; color:rgba(30,64,175,.95); }

.nav-drawer__name{ font-weight:850; color:var(--slate-900); font-size:14px; line-height:1.1; }
.nav-drawer__role{ font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:rgba(30,64,175,.75); margin-top:2px; }

.nav-drawer__section{ margin-top:12px; }
.nav-drawer__section-title{
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(15,23,42,.55);
  margin:10px 6px 8px;
}

.nav-drawer__links{ display:flex; flex-direction:column; gap:8px; }

.nav-drawer__divider{
  height:1px;
  margin:14px 8px 6px;
  background:linear-gradient(90deg, rgba(148,163,184,0), rgba(148,163,184,.55), rgba(148,163,184,0));
}

.nav-drawer__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:16px;
  text-decoration:none;
  color:var(--slate-800);
  font-weight:650;
  font-size:14px;
  border:1px solid rgba(59,130,246,.16);
  background:linear-gradient(135deg, rgba(255,255,255,.78), rgba(219,234,254,.55));
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  transition:transform .10s ease, box-shadow .16s ease, border-color .16s ease;
}

.nav-drawer__link:hover{
  transform:translateY(-1px);
  border-color:rgba(59,130,246,.34);
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}

/* Touch feedback (mobile) */
.nav-drawer__link:active{
  transform:translateY(0);
  box-shadow:0 10px 22px rgba(15,23,42,.10);
  border-color:rgba(59,130,246,.55);
  background:linear-gradient(135deg, rgba(255,255,255,.70), rgba(191,219,254,.62));
}

/* Active (current panel) */
.nav-drawer__link.is-active{
  border-color:rgba(59,130,246,.70);
  background:linear-gradient(135deg, rgba(255,255,255,.82), rgba(147,197,253,.55));
  box-shadow:0 14px 30px rgba(15,23,42,.14);
}



/* Active state for the current panel */
.nav-drawer__link.is-active{
  border-color:rgba(59,130,246,.60);
  background:linear-gradient(135deg, rgba(239,246,255,.92), rgba(191,219,254,.60));
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}

.nav-drawer__link--danger{
  border-color:rgba(239,68,68,.22);
  background:linear-gradient(135deg, rgba(255,255,255,.80), rgba(254,226,226,.55));
}

/* Ensure legacy slide-down panel stays hidden (if any old markup exists) */
.nav-mobile{ display:none !important; }



/* Account dropdown */

.nav-account-dropdown{ position:relative; }
.nav-account-trigger{
  display:inline-flex; align-items:center; gap:6px; padding:6px 10px;
  border-radius:999px; border:1px solid rgba(148,163,184,.7);
  background:rgba(255,255,255,.9);
  cursor:pointer; font-size:13px; font-weight:500; color:var(--slate-800);
  box-shadow:0 8px 20px rgba(15,23,42,.08);
  transition:box-shadow .16s ease, transform .08s ease, border-color .16s ease, background .16s ease;
}
.nav-account-trigger:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(15,23,42,.16);
  border-color:rgba(59,130,246,.8);
  background:rgba(255,255,255,.98);
}
.nav-account-pill{
  font-size:11px; text-transform:uppercase; letter-spacing:.12em;
  padding:10px 10px; border-radius:999px;
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700)); color:#f9fafb;
}


/* Ensure any CTA pill used on the home page matches the top-right account pill */
.home-pill-cta.btn-cta,
.section-block .home-pill-cta.btn-cta,
.section-block .btn-mini.btn-cta.home-pill-cta{
  border-color: rgba(2,132,199,.55) !important;
  background: linear-gradient(135deg,var(--brand-500),var(--brand-700)) !important;
  color: #f9fafb !important;
  box-shadow: 0 12px 32px rgba(2,132,199,.22) !important;
}

/* Outline variant on home should still look like the pill system */
.home-pill-cta.btn-mini:not(.btn-cta){
  border:1px solid rgba(148,163,184,.7);
  background:rgba(255,255,255,.92);
  color:var(--slate-800);
  box-shadow:0 10px 26px rgba(15,23,42,.10);
}


/* ------------------------------------------------------------------ */
/* Frontpage CTA pills                                                */
/* Unifies the two blue pill buttons on the home page (Explore + Quick search) */
/* ------------------------------------------------------------------ */

.home-pill-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:34px;
  padding:12px 22px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow:0 12px 32px rgba(2,132,199,.22);
}

/* Ensure the mini button variant matches the pill style */
.btn-mini.home-pill-cta{
  padding:12px 22px;
  border-radius:999px;
}

.nav-account-name{ max-width:120px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.nav-account-chevron{ font-size:11px; color:var(--slate-500); }

.nav-account-menu{
  position:absolute; right:0; top:100%;
  min-width:200px; padding:8px 0; border-radius:14px;
  background:#ffffff; border:1px solid rgba(148,163,184,.35);
  box-shadow:0 18px 45px rgba(15,23,42,.22);
  opacity:0; pointer-events:none; transform:translateY(-4px);
  transition:opacity .16s ease, transform .16s ease; z-index:50;
}
.nav-account-dropdown:hover .nav-account-menu,
.nav-account-dropdown:focus-within .nav-account-menu{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.nav-account-item{
  display:block; padding:7px 12px; font-size:13px; color:var(--slate-800);
   transition:background .13s ease, color .13s ease;
}
.nav-account-item:hover{ background:rgba(248,250,252,1); color:var(--slate-900); }
.nav-account-item--danger{ color:#b91c1c; }
.nav-account-item--danger:hover{ background:#fef2f2; }
.nav-account-divider{ height:1px; margin:5px 0; background:rgba(226,232,240,1); }

header.header .btn.nav-utility{ font-size:13px; padding:8px 12px; }
header.header .btn.nav-cta{ font-size:13px; padding:8px 13px; box-shadow:0 8px 24px rgba(3,105,161,.35); }

/* Nav drop-in animation keyframes */

@keyframes nav-drop-in{
  from{ opacity:0; transform:translateY(-10px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ------------------------------------------------------------------ */
/* HERO                                                               */
/* ------------------------------------------------------------------ */

.hero-bg{
  position:relative;
  margin-top:32px;
  padding:32px 28px 40px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56,189,248,.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(37, 162, 235,.95), var(--slate-950));
  color:#e5e7eb;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(15,23,42,.55);
}
.hero-bg::before{
  content:"";
  position:absolute;
  inset:14%;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  opacity:.3;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.65), transparent 52%),
    radial-gradient(circle at 75% 80%, rgba(96,165,250,.85), transparent 55%);
  mix-blend-mode:screen;
  pointer-events:none;
}
.hero-bg > *{ position:relative; z-index:1; }

.split-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1.45fr);
  gap:32px; align-items:stretch;
}

/* Left intro */

.hero-intro{
  max-width:520px; display:flex; flex-direction:column; gap:14px; justify-content:center;
}
.hero-intro .eyebrow{
  display:inline-flex; align-items:center; gap:6px; border-radius:999px;
  background:rgba(15,23,42,.7); color:rgba(226,232,240,.9);
  text-transform:uppercase; letter-spacing:.14em; font-size:15px;
}
.hero-intro .eyebrow::before{
  content:""; width:7px; height:7px; border-radius:999px;
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700));
}
.hero-intro h1{ margin:0; font-size:30px; line-height:1.15; color:#f9fafb; }
.hero-intro .lede{ color:rgba(226,232,240,.9); font-size:15px; }
.hero-intro .lede span{ opacity:.85; }

/* Split hero panels */

.hero-split-panels{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px; align-items:stretch;
}

/* Base panel + glass override */

.panel{ background:#ffffff; border-radius:16px; border:1px solid #e5e7eb; box-shadow:0 4px 16px rgba(17,24,39,.06); }
.panel-inner{ padding:22px 20px 24px; }

.hero-split-panels .panel{
  background:linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border:1px solid rgba(148,163,184,.55);
  box-shadow:0 28px 70px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.45);
  backdrop-filter:blur(26px) saturate(160%);
  -webkit-backdrop-filter:blur(26px) saturate(160%);
  color:#e5e7eb;
  overflow:hidden;
}
.hero-split-panels .panel::before{
  content:"";
  position:absolute; inset:-35%; 
  background:
    radial-gradient(circle at 0% 0%,rgba(6,182,212,.55),transparent 55%),
    radial-gradient(circle at 100% 100%,rgba(59,130,246,.45),transparent 55%);
  opacity:.7; mix-blend-mode:soft-light; pointer-events:none;
}
.hero-split-panels .panel-inner{ position:relative; z-index:1; padding:22px 20px 20px; }

/* Stagger */
.hero-split-panels .panel:nth-child(2){ transform:translateY(10px); }
.hero-split-panels .panel:nth-child(1){ transform:translateY(-4px); }

/* Hero panel typography */

.hero-panel .eyebrow{ margin-bottom:4px; color:rgba(191,219,254,.95); background:transparent; padding:0; letter-spacing:.16em; }
.hero-panel h2{ margin:0 0 8px; font-size:18px; color:#f9fafb; }
.hero-panel p{ margin:0 0 10px; font-size:13px; color:rgba(226,232,240,.92); }
.cta-group{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 12px; }
.hero-panel .btn-primary{ box-shadow:0 14px 34px rgba(6,182,212,.65); }
.hero-panel .btn-ghost{ background:rgba(15,23,42,.85); border-color:rgba(148,163,184,.7); color:#e5e7eb; }
.hero-panel .btn-ghost:hover{ background:rgba(15,23,42,.95); }

.mini-bullets{ list-style:none; padding:0; margin:8px 0 0; font-size:11px; color:rgba(226,232,240,.9); }
.mini-bullets li{ display:flex; align-items:flex-start; gap:6px; }

/* ------------------------------------------------------------------ */
/* Mission / Features / How / Outcomes / Reviews content blocks        */
/* ------------------------------------------------------------------ */

.mission-shell{
  position:relative; 
  /*border-radius:24px; */
  padding:24px 26px 26px;
  background:rgba(255,255,255,.14);
  box-shadow:0 22px 55px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.55);
  overflow:hidden; backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.mission-header{ position:relative; z-index:1; margin-bottom:18px; }
.mission-header .eyebrow{ color:var(--brand-700); margin-bottom:4px; }
.mission-header h2{ max-width:520px; font-size:22px; }

.mission-grid{
  position:relative; z-index:1; display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr);
  gap:22px; align-items:flex-start;
}
.mission-copy{ font-size:15px; line-height:1.7; color:var(--slate-700); width: 40%; max-width: 40%}
.mission-copy p{ margin:0 0 10px; }
.mission-highlights{ display:flex; flex-direction:column; gap:10px; }
/* ------------------------------------------------------------------ */
/* Our Story (front page)                                              */
/* ------------------------------------------------------------------ */

.section-story-letter .story-letter-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:28px;
  align-items:stretch;
}

@media (max-width: 980px){
  .section-story-letter .story-letter-grid{
    grid-template-columns:1fr;
  }
}

.story-letter{
  position:relative;
  padding:34px 34px 28px;
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 22px 60px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.85);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82)),
    repeating-linear-gradient(
      to bottom,
      rgba(2,132,199,.05) 0px,
      rgba(2,132,199,.05) 1px,
      transparent 1px,
      transparent 34px
    );
  backdrop-filter: blur(10px);
}

.story-letter:before{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:18px;
  pointer-events:none;
}

.story-letter-kicker{
  font-weight:700;
  color:var(--brand-700);
  letter-spacing:.01em;
  margin:0 0 10px;
  font-size:14px;
}

.story-letter-title{
  margin:0 0 18px;
  font-size:32px;
  letter-spacing:-.02em;
  color:var(--slate-900);
}

.story-letter-body{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  color:rgba(15,23,42,.88);
  font-size:18px;
  line-height:1.85;
}

.story-letter-body p{
  margin:0 0 14px;
}

.story-letter-body .story-letter-closing{
  margin-top:18px;
}

.story-letter-signoff{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(148,163,184,.35);
}

.story-signature{
  font-family: "Brush Script MT","Segoe Script","Snell Roundhand",cursive;
  font-size:44px;
  line-height:1;
  color:rgba(15,23,42,.90);
  margin:2px 0 12px;
}

.story-name{
  margin:0;
  float: right;
  font-weight:800;
  color:var(--slate-900);
  letter-spacing:.01em;
}

.story-title{
  margin:3px 0 0;
  font-size:13px;
  color:var(--slate-600);
}

.story-letter-aside{
  display:flex;
}

.story-portrait-card{
  width:100%;
  border-radius:26px;
  border:1px solid rgba(226,232,240,.95);
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  box-shadow:0 22px 60px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}

.story-portrait-frame{
  border-radius:22px;
  border:1px solid rgba(148,163,184,.35);
  background:radial-gradient(circle at 30% 20%, rgba(6,182,212,.22), transparent 55%),
             radial-gradient(circle at 70% 70%, rgba(2,132,199,.18), transparent 55%),
             rgba(255,255,255,.7);
  padding:22px;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:260px;
}

.story-portrait-logo{
  max-width:220px;
  width:70%;
  height:auto;
  filter: drop-shadow(0 12px 18px rgba(15,23,42,.18));
}

.story-portrait-caption{
  font-size:14px;
  color:var(--slate-700);
  line-height:1.6;
}


/* Highlight cards */
.mission-card{
  position:relative; padding:10px 12px 12px 16px; 
  border-radius:23px;
  background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.7));
  border:1px solid rgba(226,232,240,.9);
  box-shadow:0 14px 34px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
}
.mission-card::before{
  content:""; position:absolute; left:0; top:10px; bottom:10px; width:3px; border-radius:999px;
  background:linear-gradient(180deg, var(--brand-500), var(--brand-700));
}
.mission-card h3{ margin:0 0 4px; font-size:14px; color:var(--brand-700); }
.mission-card p{ margin:0; font-size:13px; color:var(--slate-700); }

/* ------------------------------------------------------------------ */
/* PLATFORM FEATURES (MODERN)                                          */
/* ------------------------------------------------------------------ */

.section-features-modern .section-title{
  margin:10px 0 6px;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-0.02em;
  color:var(--slate-900);
}

.feature-showcase-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.feature-showcase-card{
  position:relative;
  border-radius:22px;
  padding:16px 16px 14px;
  border:1px solid rgba(226,232,240,.9);
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,.18), transparent 55%),
    radial-gradient(circle at 90% 85%, rgba(14,165,233,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.70));
  box-shadow:0 18px 48px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-showcase-card:hover{
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.35);
  box-shadow:0 24px 60px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.80);
}

.feature-showcase-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.feature-showcase-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(14,165,233,.95), rgba(3,105,161,.95));
  box-shadow:0 14px 28px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.28);
  flex: 0 0 auto;
}

.feature-showcase-icon i{
  color:#fff;
  font-size:18px;
}

.feature-showcase-head h3{
  margin:0 0 4px;
  font-size:15px;
  color:var(--slate-900);
  letter-spacing:-0.01em;
}

.feature-showcase-head p{
  margin:0;
  font-size:13px;
  line-height:1.55;
  color:var(--slate-700);
}

.feature-showcase-points{
  margin:12px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.feature-showcase-points li{
  font-size:12px;
  color:var(--slate-700);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.40);
  background:rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

/* Features columns upgraded to glass by default */
.section-features .feature-column{
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.68));
  border:1px solid rgba(226,232,240,.9);
  padding:20px 18px 18px;
  box-shadow:0 12px 32px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
}
.section-features .feature-column h3{ margin:0 0 8px; font-size:16px; }
.section-features .feature-column ul{
  margin:0; padding-left:18px; color:var(--slate-700); font-size:14px; line-height:1.7;
}
.features-dual{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }

/* How steps */
.steps-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.step-card{
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  border:1px solid rgba(226,232,240,.95);
  padding:16px 14px 18px;
  box-shadow:0 10px 26px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
}
.step-badge{
              position: absolute;
              right: -20%;
              top: 50%;
              transform: translate(-50%, -50%);
              width: 120px;
              height: 120px;
              border-radius: 999px;
              background:
                linear-gradient(
                  135deg,
                  rgba(255, 255, 255, 0.7),
                  rgba(219, 234, 254, 0.5)
                );
              border: 1px solid rgba(148, 163, 184, 0.7);
              box-shadow:
                0 18px 40px rgba(15, 23, 42, 0.26),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
              backdrop-filter: blur(16px);
              display: flex;
              align-items: center;
              justify-content: center;
}
.step-card h3{ margin:0 0 6px; font-size:15px; }
.step-card p{ margin:0; font-size:13px; color:var(--slate-700); }

/* Outcomes / Reviews cards → glass */
.outcomes-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.outcome-card{
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  border:1px solid rgba(226,232,240,.95);
  padding:14px 14px 16px;
  box-shadow:0 12px 30px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
}
.mock-image{
  border-radius:14px;
  background:radial-gradient(circle at 0% 0%,rgba(6,182,212,.28),transparent 55%),
             radial-gradient(circle at 100% 100%,rgba(3,105,161,.35),transparent 55%);
  padding:10px; margin-bottom:10px;
}
.mock-bar{ height:6px; border-radius:999px; background:rgba(15,23,42,.22); margin-bottom:4px; }
.mock-bar:nth-child(2){width:70%}
.mock-bar:nth-child(3){width:48%}
.outcome-card h3{ margin:0 0 6px; font-size:15px; }
.outcome-card p{ margin:0; font-size:13px; color:var(--slate-700); }

.reviews-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.review-card{
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  border:1px solid rgba(226,232,240,.95);
  padding:14px 14px 16px;
  box-shadow:0 10px 26px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
}
.review-card .stars{ font-size:14px; color:#fbbf24; margin-bottom:6px; }
.review-card .quote{ margin:0 0 8px; font-size:14px; color:var(--slate-800); }
.review-card .review-meta{ margin:0; font-size:12px; color:var(--slate-500); }

/* ------------------------------------------------------------------ */
/* RESPONSIVE                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px){

header.header.nav-elevated{
  /* Keep the top nav visible while scrolling (translucent glass overlay) */
  position:fixed;
  top:0;
  left:0;
  width:100%;
  /* Avoid negative margins here; they can break sticky behavior in some browsers */
  /* iOS notch / safe-area support */
  padding-top:calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom:10px;
  z-index:40;
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 4px 18px rgba(15,23,42,.06);
  animation:nav-drop-in .45s ease-out;
}

/* Public provider profile: ensure the top card is not hidden under the fixed
   header on mobile/tablet. */
.pp-public{
  padding-top:132px;
}


  .split-hero{ grid-template-columns:1fr; }
  .hero-split-panels{ grid-template-columns:1fr; }
  .mission-grid{ grid-template-columns:1fr; }

  .feature-showcase-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }

  /* Mobile/tablet: use full-width flex so the hamburger can sit flush-right */
  .nav-inner{
    width:100%;
    max-width:none;
    padding:0 14px;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }

  .nav-right{ margin-left:auto; }
  .nav-hamburger{ margin-left:10px; }
  .nav-center{ display:none; } /* collapse on tablet */
  .nav-hamburger{ display:flex; }

  .hero-split-panels .panel,
  .hero-split-panels .panel:nth-child(1),
  .hero-split-panels .panel:nth-child(2){ transform:none; }

  /* Match tablet gutters */
  .section-block::before{ left:-16px; right:-16px; border-radius:20px; }
  .section-block::after{ width:120px; height:120px; }

  /* Mobile navbar tightening: hide wordmark + prevent account pill from pushing hamburger off-screen */
  /* Keep the Coachable wordmark visible on mobile (brand clarity). */
  .logo-wordmark{
    display:inline-block !important;
    font-size:18px;
    max-width:160px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .logo-stack img{ width:64px !important; height:auto !important; }

  .nav-right{ display:flex; align-items:center; justify-content:flex-end; gap:10px; min-width:0; flex:1; }
  .nav-account-trigger{ max-width:210px; }
  .nav-account-name{ max-width:84px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .nav-account-pill{ font-size:10px; padding:6px 10px; }
  .nav-hamburger{ margin-left:10px; flex:0 0 auto; }
  .nav-inner{ padding-right:18px; }

  /* Mission panels should fill ~90% width on mobile */
  .section-mission .section-inner{ padding-left:0; padding-right:0; margin-top:20px; }
  .mission-top-card,
  .mission-card,
  .mission-grid > *{
    width: min(90vw, 560px);
    margin-left: auto;
    margin-right: auto;
  }

}


@media (max-width: 640px){
  .section-features-modern .section-title{ font-size:24px; }
  .feature-showcase-grid{ grid-template-columns:1fr; }
  .feature-showcase-card{ padding:14px 14px 12px; }
  .feature-showcase-icon{ width:44px; height:44px; border-radius:16px; }
}

@media (max-width: 900px){
  .features-dual{ grid-template-columns:1fr; }
  .steps-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .outcomes-grid, .reviews-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px){
  html, body{ margin:0; padding:0; }

  /* Mobile: remove outer gutters + rounded "canvas" so the background fills edge-to-edge */
  .page-shell{
    padding:0;
    top:50px;
    left:0;
    right:0;
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  /* Section background should not create white rails on the sides */
  .section-block::before{ left:0; right:0; border-radius:0; }

  /* Primary hero + mission shells should be square on mobile */
  .hero-bg{ padding:24px 16px 28px; margin-top:20px; border-radius:0; }
  .hero-intro h1{ font-size:24px; }
  .mission-shell{ padding:20px 16px 22px; border-radius:0; }

  /* Ensure the background image container itself doesn't round corners */
  .mission-hero-shell{ border-radius:0; }

  .steps-grid, .outcomes-grid, .reviews-grid{ grid-template-columns:1fr; }

  .nav-right .btn.nav-utility{ display:none; }
}



/* ============================================================
   Reusable Glass Panel + Generic Section Canvases
   (drop-in; no HTML changes required beyond adding classes)
   ============================================================ */

/* ---------- Generic section canvas (aligned to page gutters) ---------- */
.section-block{
  position:relative;
  /* per-section tunables (overridden by theme classes below) */
}

/* perfectly aligned background */
.section-block::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:-20px; right:-20px;   /* match .page-shell padding (20px) */
  top:0; bottom:0;
  border-radius:22px;
  pointer-events:none;
  /* force new stacking context on Safari for proper blur composition */
  backdrop-filter: blur(0.0001px);
}

/* Mobile/tablet gutters */
@media (max-width:1024px){
  .section-block::before{ left:-16px; right:-16px; border-radius:20px; }
}
@media (max-width:640px){
  .section-block::before{ left:-14px; right:-14px; border-radius:18px; }
}

/* ---------- Section canvas themes (apply to the section element) ---------- */
/* Example: <section class="section-block section--cyan"> ... </section> */

.section--cyan{
  --sec-g2: rgba(2,132,199,.08);
  --sec-g3: rgba(14,165,233,.10);
  --sec-blob1: rgba(56,189,248,.16);
  --sec-blob2: rgba(37,99,235,.12);
}
.section--blue{
  --sec-g2: rgba(2,132,199,.10);
  --sec-g3: rgba(2,132,199,.08);
  --sec-blob1: rgba(6,182,212,.18);
  --sec-blob2: rgba(3,105,161,.12);
}
.section--slate{
  --sec-g2: rgba(148,163,184,.14);
  --sec-g3: rgba(2,132,199,.08);
  --sec-blob1: rgba(59,130,246,.14);
  --sec-blob2: rgba(56,189,248,.12);
}
.section--bright{
  --sec-g2: rgba(2,132,199,.12);
  --sec-g3: rgba(14,165,233,.12);
  --sec-blob1: rgba(6,182,212,.20);
  --sec-blob2: rgba(3,105,161,.14);
}
.section--soft{
  --sec-g2: rgba(148,163,184,.12);
  --sec-g3: rgba(59,130,246,.08);
  --sec-blob1: rgba(59,130,246,.16);
  --sec-blob2: rgba(6,182,212,.12);
}

/* ---------- Reusable glass panel (mission look) ---------- */
/* Wrap section content with .glass-panel for the exact glass aesthetic */
.glass-panel{
  position:relative;
  border-radius:24px;
  padding:24px 26px 26px;
  background:rgba(255,255,255,.64);
  border:1px solid rgba(148,163,184,.38);
  box-shadow:0 22px 55px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.55);
  overflow:hidden;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

/* Slightly punchier version */
.glass-panel--strong{
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.68));
  border-color:rgba(226,232,240,.9);
  box-shadow:0 26px 60px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.75);
}

/* Optional grid layout (body + highlights) used by mission panel */
.glass-panel__grid{
  position:relative; z-index:1; display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr);
  gap:22px; align-items:flex-start;
}
.glass-panel__body{ font-size:15px; line-height:1.7; color:var(--slate-700); }
.glass-panel__body p{ margin:0 0 10px; }
.glass-panel__highlights{ display:flex; flex-direction:column; gap:10px; }

/* Card style used inside glass panels */
.glass-panel__card{
  position:relative; padding:10px 12px 12px 16px; border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.7));
  border:1px solid rgba(226,232,240,.9);
  box-shadow:0 14px 34px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
}
.glass-panel__card::before{
  content:""; position:absolute; left:0; top:10px; bottom:10px; width:3px; border-radius:999px;
  background:linear-gradient(180deg, var(--brand-500), var(--brand-700));
}
.glass-panel__card h3{ margin:0 0 4px; font-size:14px; color:var(--brand-700); }
.glass-panel__card p{ margin:0; font-size:13px; color:var(--slate-700); }

/* Responsive */
@media (max-width:1024px){
  .glass-panel__grid{ grid-template-columns:1fr; }
}


/* ------------------------------------------------------------------ */
/* Platform features refresh                                           */
/* ------------------------------------------------------------------ */

.section-mission--features{
  margin-top:56px;
  position:relative;
}

.section-mission--features .mission-shell{
  border-radius:32px;
  padding:0;
  background:transparent;
  border:none;
  box-shadow:none;
  overflow:visible;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.section-mission--features .mission-header{
  margin-bottom:18px;
}

.section-mission--features .mission-header h2{
  max-width:560px;
}

.mission-subtitle{
  margin:6px 0 0;
  font-size:14px;
  color:var(--slate-600);
}

.section-mission--features .mission-grid{
  margin-top:12px;
  gap:26px;
}

.section-mission--features .mission-copy > p{
  margin-bottom:12px;
}

/* Soft logo watermark */
.section-mission--features .features-watermark{
  position:absolute;
  right:-34px;
  top:-40px;
  opacity:.10;
  filter:drop-shadow(0 18px 40px rgba(15,23,42,.35));
  pointer-events:none;
}

.features-watermark-image{
  width:220px;
  height:auto;
  display:block;
}

/* Left column: feature list with icons */

.feature-list{
  list-style:none;
  margin:18px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.feature-list-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:10px 12px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(248,250,252,.96));
  border:1px solid rgba(226,232,240,.9);
  box-shadow:0 18px 40px rgba(15,23,42,.08);
}

.feature-icon{
  flex:none;
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  background:radial-gradient(circle at 30% 0%, var(--brand-500), var(--brand-700));
  color:#f9fafb;
}

.feature-text h3{
  margin:0 0 3px;
  font-size:14px;
  color:var(--slate-900);
}

.feature-text p{
  margin:0;
  font-size:13px;
  color:var(--slate-700);
}

/* Right column: slimmer cards with icon chips */

.section-mission--features .mission-highlights{
  gap:14px;
}

.section-mission--features .mission-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
}

.section-mission--features .mission-card::before{
  display:none;
}

.mission-card-icon{
  flex:none;
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  background:radial-gradient(circle at 30% 0%, var(--brand-soft), var(--brand-500));
  color:var(--brand-700);
}

.mission-card-body h3{
  margin:0 0 4px;
  font-size:14px;
  color:var(--brand-700);
}

.mission-card-body p{
  margin:0;
  font-size:13px;
  color:var(--slate-700);
}

/* Responsive tweaks */

@media (max-width: 900px){
  .section-mission--features{
    margin-top:40px;
  }

  .section-mission--features .mission-shell{
    padding:0;
  }

  .section-mission--features .features-watermark{
    right:-10px;
    top:-10px;
  }

  .features-watermark-image{
    width:150px;
  }
}

@media (max-width: 640px){
  .feature-list-item{
    padding:10px 10px;
  }

  .section-mission--features .mission-grid{
    gap:20px;
  }
}


/* ------------------------------------------------------------------ */
/* Services grid – glass mosaic tiles (Option A)                      */
/* ------------------------------------------------------------------ */

.section-services{
  padding-bottom: 0px;
}

.services-shell {
  margin: auto;      
  position: relative;
  padding: 5%;
  padding-bottom: 0px;
  margin-top: 10px;
  margin-left:20px;
  overflow: hidden;
}

.services-shell::before{
  content:"";
  position:absolute;
  inset:-40%;
  opacity:.7;
  pointer-events:none;
  z-index:0;
   background:linear-gradient(150deg,
    rgba(255,255,255,.30),
    rgba(191,219,254,.16));
}

.services-header{
  position:relative;
  z-index:1;
  margin-bottom:18px;
}

.services-header h2{
  margin:0 0 6px;
  font-size:24px;
}

.services-header .section-subtitle{
  max-width:540px;
}

/* Grid layout */

.services-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:25px;
  margin-top:18px;
}

/* Glass service cards */

.service-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,
    rgba(255,255,255,.25),
    rgba(255,255,255,.10));
  border:1px solid rgba(148,163,184,.60);
  min-height:190px;
  cursor:pointer;
  box-shadow:
    0 18px 45px rgba(15,23,42,.16),
    inset 0 1px 0 rgba(255,255,255,.55);
  transform:translate3d(0,0,0) scale(1);
  transition:
    transform 260ms ease-out,
    box-shadow 260ms ease-out,
    border-color 260ms ease-out,
    background 260ms ease-out;
}

.service-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.65), transparent 60%);
  opacity:0;
  pointer-events:none;
  transition:opacity 260ms ease-out;
}

.service-card-inner{
  position:relative;
  z-index:2;
  padding:18px 18px 18px;
  max-width:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.service-card h3{
  margin:0 0 8px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.01em;
  color:var(--slate-900);
}

.service-card p{
  margin:0 0 14px;
  font-size:13px;
  line-height:1.5;
  color:var(--slate-700);
}

.service-card-link{
  font-size:12px;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--brand-700);
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.service-card-link span[aria-hidden="true"]{
  font-size:14px;
  transform:translateX(0);
  transition:transform 220ms ease-out;
}

/* Watermark image layer */

.service-card-media{
  position:absolute;
  inset:-110px -28px -10px auto;
  display: grid;
  align-items:stretch;
  justify-content:flex-end;
  z-index:1;
  pointer-events:none;
  opacity:0.25; /* start faded */
  mix-blend-mode:soft-light;
  filter:saturate(130%) contrast(104%);
  transform:translate3d(-10px,0,0) scale(1.05);
  transition:
    transform 420ms ease-out,
    opacity 420ms ease-out;
}

.service-card-image{
  width:140%;
  min-width:260px;
  height:100%;
  object-fit:cover;
}

/* Artistic category: prevent aggressive cropping for wide illustrations */
.service-card--artistic .service-card-media{
  inset:-40px -22px -12px auto;
  opacity:0.30;
  transform:translate3d(-6px,0,0) scale(1.02);
}

.service-card--artistic .service-card-image{
  width:115%;
  min-width:240px;
  height:100%;
  object-fit:contain;
}

.service-card--artistic:hover .service-card-media{
  opacity:0.55;
  transform:translate3d(-2px,-2px,0) scale(1.05);
}

/* Spiritual category: reduce crop so artwork details remain visible */
.service-card--spiritual .service-card-media{
  inset:-55px -22px -14px auto;
  opacity:0.30;
  transform:translate3d(-6px,0,0) scale(1.02);
}

.service-card--spiritual .service-card-image{
  width:118%;
  min-width:240px;
  height:100%;
  object-fit:contain;
}

.service-card--spiritual:hover .service-card-media{
  opacity:0.55;
  transform:translate3d(-2px,-2px,0) scale(1.05);
}


/* Hover / tilt interaction */
.service-card:hover{
  transform:translate3d(0,-8px,0) rotateX(1.2deg) rotateY(-1.4deg);
  box-shadow:0 26px 70px rgba(15,23,42,.28);
  border-color:rgba(56,189,248,.95);
  background:linear-gradient(150deg,
    rgba(255,255,255,.30),
    rgba(191,219,254,.16));
}

/* Make media fully visible on hover */
.service-card:hover .service-card-media{
  opacity:1;
}

.service-card:hover::before{
  opacity:1;
}

.service-card:hover .service-card-inner{
  transform:translate3d(4px,-2px,0);
}

.service-card-inner{
  transition:transform 260ms ease-out;
}

.service-card:hover .service-card-media{
  opacity:.55;
  transform:translate3d(-2px,-4px,0) scale(1.09);
}

.service-card:hover .service-card-link span[aria-hidden="true"]{
  transform:translateX(3px);
}

/* Responsive tweaks */

@media (max-width: 1024px){
  .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px){
  .services-shell{
    padding:22px 18px 22px;
  }

  .services-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .service-card-inner{
    max-width:none;
  }
}

/* ------------------------------------------------------------------ */
/* Top providers carousel-style grid                                   */
/* ------------------------------------------------------------------ */

.section-providers{

  position: relative;
  padding: 3%;
  max-width: 100%;
  border-radius: 0px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at top left, rgba(255,255,255,.65), rgba(255,255,255,.55) 45%, rgba(226,232,240,.75) 100%),
    url(/assets/bgmain3-4bc77c845e84d971f9b9f13c1781d37dbbcf9cc7d1379edb0ad3169d763b5e3c.jpg);
  background-size: cover;
  background-position: center;
  box-shadow:
    0 40px 80px rgba(15,23,42,.28);


  --sec-g2: rgba(219,234,254,.16);
  --sec-g3: rgba(191,219,254,.18);
  --sec-blob1: rgba(56,189,248,.20);
  --sec-blob2: rgba(37,99,235,.18);
}

/* ------------------------------------------------------------------ */
/* Public profile editor (provider/admin)                              */
/* ------------------------------------------------------------------ */

.public-profile-editor-page{
  position:relative;
  overflow:hidden;
}

/* Put the leaves behind the whole editor experience (not just the shell) */
.public-profile-editor-page::before{
  content:"";
  position:absolute;
  inset:-2px;
  background-image:
    radial-gradient(circle at top left, rgba(255,255,255,.55), rgba(255,255,255,.25) 42%, rgba(2,132,199,.10) 100%),
    url(/assets/login-bg-78fd392a3e403ad2c5fca181ea10e3cb2cf6999abdac301613f38c9544088148.png);
-webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);    
  background-size: cover;
  background-position: center;
  pointer-events:none;
  z-index:0;
}

.public-profile-editor-page .section-inner{
  position:relative;
  z-index:1;
}

.public-profile-editor-shell{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.28);
  /* Frosted-glass surface */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.82) 0%,
    rgba(248,250,252,.74) 40%,
    rgba(239,246,255,.68) 100%
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);

  box-shadow:
    0 28px 90px rgba(15,23,42,.18),
    inset 0 1px 0 rgba(255,255,255,.70);
}

.public-profile-editor-shell::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.35), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(147,197,253,.20), transparent 60%),
    radial-gradient(circle at 70% 90%, rgba(186,230,253,.16), transparent 55%);
  opacity:.9;
  z-index:0;
}

.public-profile-editor-shell > *{
  position: relative;
  z-index: 1;
}


/* Shareable link pills (avoid overflow on mobile) */
.public-profile-share{
  text-align:right;
}

.public-profile-share-label{
  margin:0 0 6px;
  font-size:13px;
  color:var(--slate-600);
}

.public-profile-share-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.public-profile-share-link{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:#0f172a;
  color:#f9fafb;
  max-width:520px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:inline-block;
}

.public-profile-share-copy,
.public-profile-share-view{
  padding:6px 12px;
  border-radius:999px;
  border:1px solid #0f172a;
  font-size:12px;
  font-weight:500;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
}

.public-profile-share-copy{
  background:#f9fafb;
  color:#0f172a;
}

.public-profile-share-view{
  background:#0f172a;
  color:#f9fafb;
}

@media (max-width: 560px){
  .public-profile-share{
    text-align:left;
  }

  .public-profile-share-row{
    justify-content:flex-start;
  }

  .public-profile-share-link{
    max-width:100%;
    flex:1 1 100%;
  }
}

/* Mobile header/layout polish for the public profile editor */
@media (max-width: 720px){
  /* The editor section has an inline negative margin for desktop framing.
     On mobile it can push the header too tight under the top nav. */
  #edit-public-profile{
    margin-top:0 !important;
  }

  .public-profile-editor-shell{
    padding:22px 18px 24px !important;
    margin:16px auto 36px !important;
    border-radius:24px !important;
  }

  .public-profile-editor-header{
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
    margin-bottom:14px !important;
  }

  .public-profile-editor-header h1{
    font-size:22px !important;
    line-height:1.15;
  }

  .public-profile-share{
    width:100%;
    text-align:left;
  }

  .public-profile-share-row{
    justify-content:flex-start;
  }

  .public-profile-share-link{
    width:100%;
    display:block;
    max-width:100%;
    overflow-x:auto;
    text-overflow:clip;
    -webkit-overflow-scrolling:touch;
  }

  .public-profile-share-copy,
  .public-profile-share-view{
    flex:1 1 0;
    text-align:center;
  }
}

.providers-shell{

  position:relative;
  padding:5%;
  margin-top:0px;
  background:rgba(255,255,255,.6);
  border:1px solid rgba(148,163,184,.30);
  box-shadow:0 28px 70px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.7);
  overflow:hidden;
}

.providers-header{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:18px;
}

.providers-header h2{
  margin:0;
  font-size:24px;
}

.providers-header .section-subtitle{
  margin:0;
  font-size:13px;
  color:var(--slate-600);
  max-width:540px;
}

/* Grid of provider cards */

.providers-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:12px;
}

.provider-card{
  position:relative;
  border-radius:22px;
  padding:16px 16px 14px;
  background:linear-gradient(145deg, rgba(248,250,252,.98), rgba(239,246,255,.96));
  border:1px solid rgba(209,213,219,.9);
  box-shadow:0 18px 46px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.85);
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out,
    border-color 220ms ease-out,
    background 220ms ease-out;
}

.provider-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:radial-gradient(circle at 0 0, rgba(56,189,248,.18), transparent 55%);
  opacity:0;
  transition:opacity 260ms ease-out;
  pointer-events:none;
}

.provider-card-main{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.provider-avatar{
  flex:none;
  width:40px;
  height:40px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 0%, var(--brand-500), var(--brand-700));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#e0f2fe;
  font-weight:600;
  font-size:18px;
  box-shadow:0 8px 20px rgba(37,99,235,.35);
  position:relative;
  border:1px solid rgba(255,255,255,.55);
  text-shadow:0 1px 1px rgba(2,6,23,.35);
}

.provider-avatar::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  pointer-events:none;
}

.provider-avatar .provider-avatar__icon{
  width:18px;
  height:18px;
  display:block;
  opacity:.95;
  filter:drop-shadow(0 1px 1px rgba(2,6,23,.35));
}

.provider-avatar--teal{
  background:radial-gradient(circle at 30% 0%, #22c1c3, #0ea5e9);
}

.provider-avatar--indigo{
  background:radial-gradient(circle at 30% 0%, #6366f1, #0f172a);
}

.provider-avatar--emerald{
  background:radial-gradient(circle at 30% 0%, #34d399, #065f46);
  box-shadow:0 8px 20px rgba(16,185,129,.28);
}
.provider-avatar--sky{
  background:radial-gradient(circle at 30% 0%, #38bdf8, #1e3a8a);
  box-shadow:0 8px 20px rgba(56,189,248,.24);
}
.provider-avatar--rose{
  background:radial-gradient(circle at 30% 0%, #fb7185, #881337);
  box-shadow:0 8px 20px rgba(244,63,94,.20);
}
.provider-avatar--amber{
  background:radial-gradient(circle at 30% 0%, #fbbf24, #78350f);
  box-shadow:0 8px 20px rgba(245,158,11,.20);
}
.provider-avatar--violet{
  background:radial-gradient(circle at 30% 0%, #a78bfa, #312e81);
  box-shadow:0 8px 20px rgba(139,92,246,.22);
}

.provider-avatar-initial{
  line-height:1;
  text-shadow:0 2px 8px rgba(0,0,0,.18);
}

.provider-avatar-icon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.provider-meta{
  display:flex;
  flex-direction:column;
  gap:1px;
}

.provider-name{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:var(--slate-900);
}

.provider-role{
  margin:0;
  font-size:12px;
  color:var(--slate-600);
}

.provider-rating{
  margin-top:4px;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
}

.provider-rating .stars{
  font-size:12px;
  color:#f59e0b;
}

.rating-label{
  color:var(--slate-500);
}

.provider-blurb{
  margin:0;
  font-size:12px;
  color:var(--slate-700);
}

.provider-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.provider-tag{
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  background:rgba(191,219,254,.9);
  color:var(--slate-800);
}

.provider-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
  padding-top:6px;
  flex-wrap:wrap;
}

.provider-spotlight{
  font-size:11px;
  color:var(--brand-700);
  display:flex;
  align-items:center;
  gap:6px;
}

.provider-spotlight::before{
  content:"●";
  font-size:10px;
}

.provider-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  min-height:34px;
  padding:8px 14px;
  border-radius:999px;

  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;

  border:1px solid rgba(2,132,199,.55);
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700));
  color:#f9fafb;
  text-decoration:none;

  box-shadow:0 12px 32px rgba(2,132,199,.22);
  transition:box-shadow .16s ease, transform .08s ease, border-color .16s ease, filter .16s ease;
}
.provider-cta:hover{
  transform:translateY(-1px);
  filter:saturate(1.06);
  box-shadow:0 14px 36px rgba(2,132,199,.28);
}

.provider-cta::after{
  content:"→";
  font-size:12px;
}

/* Browse page: "Connect" and status pills */

.provider-cta--connect{
  /* Solid enough to stay visible on the frosted background */
  background:linear-gradient(180deg, rgba(16,185,129,.98), rgba(5,150,105,.98));
  border-color:rgba(4,120,87,.55);
  color:#ecfdf5;
  box-shadow:0 10px 26px rgba(5,150,105,.25);
}

.provider-cta--disabled{
  opacity:.62;
  pointer-events:none;
  border-color:rgba(148,163,184,.7);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
}

.provider-cta--disabled::after{
  content:"";
}

.inline-form{
  display:inline;
}

/* Hover effects */

.provider-card:hover{
  transform:translateY(-4px);
  border-color:rgba(37,99,235,.8);
  background:linear-gradient(145deg, rgba(239,246,255,.98), rgba(219,234,254,.96));
  box-shadow:0 24px 60px rgba(15,23,42,.16);
}

.provider-card:hover::before{
  opacity:1;
}


.providers-bottom-cta{
  margin-top:18px;
  padding-top:12px;
  border-top:1px dashed rgba(148,163,184,.6);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:12px;
  color:var(--slate-700);
}

.providers-bottom-button{
  font-size:12px;
}

/* Responsive */

@media (max-width: 1024px){
  .providers-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 720px){
  .providers-shell{
    padding:24px 18px 26px;
  }

  .providers-grid{
    grid-template-columns:1fr;
  }

  .providers-bottom-cta{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* ------------------------------------------------------------------ */
/* Auth / Sign-in page                                                */
/* ------------------------------------------------------------------ */

.section-auth{
  border-top:none;
  margin-top:48px;

  --sec-g2: rgba(148,163,184,.16);
  --sec-g3: rgba(59,130,246,.10);
  --sec-blob1: rgba(56,189,248,.16);
  --sec-blob2: rgba(30,64,175,.18);
}

.auth-shell{
  position:relative;
  border-radius:24px;
  padding:32px 32px 30px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(148,163,184,.38);
  box-shadow:0 22px 55px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.55);
  overflow:hidden;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.auth-grid{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:32px;
  align-items:stretch;
  justify-content:space-between;
}

.auth-intro{
  flex:1 1 260px;
  max-width:420px;
  font-size:15px;
  line-height:1.7;
  color:var(--slate-700);
}

.auth-intro .eyebrow{
  font-size:12px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brand-700);
  margin-bottom:6px;
}

.auth-title{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.25;
  color:#020617;
}

.auth-subtitle{
  margin:0 0 14px;
  font-size:14px;
  color:var(--slate-600);
}

.auth-card{
  flex:1 1 320px;
  max-width:420px;
  margin-left:auto;
  border-radius:18px;
  padding:20px 22px 18px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  border:1px solid rgba(226,232,240,.96);
  box-shadow:0 16px 36px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.9);
}

.auth-card-header{
  margin-bottom:12px;
}

.auth-card-title{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#0f172a;
}

.auth-card-subtitle{
  margin:4px 0 0;
  font-size:13px;
  color:var(--slate-600);
}

.auth-field{
  margin-bottom:12px;
  text-align:left;
}

.auth-field label{
  display:block;
  margin-bottom:4px;
  font-size:13px;
  font-weight:600;
  color:#0f172a;
}

.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"]{
  width:100%;
  border-radius:10px;
  border:1px solid #d1d5db;
  padding:9px 11px;
  font-size:14px;
  outline:none;
  background:#f9fafb;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.auth-field input:focus{
  border-color:var(--brand-500);
  background:#ffffff;
  box-shadow:0 0 0 1px rgba(37,99,235,.12), 0 0 0 4px rgba(191,219,254,.6);
}

.auth-remember{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:6px 0 14px;
  font-size:13px;
  color:var(--slate-700);
}

.auth-remember label{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:500;
}

.auth-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:auto;
  padding-top:6px;
}

.auth-actions .btn{
  width:100%;
  justify-content:center;
  text-align:center;
}

.auth-divider{
  margin:12px 0 10px;
  text-align:center;
  font-size:12px;
  color:var(--slate-500);
}

.auth-footer-links{
  margin-top:10px;
  font-size:12px;
  color:var(--slate-600);
  text-align:center;
}

.auth-footer-links a{
  color:var(--brand-600);
  text-decoration:none;
}

.auth-footer-links a:hover{
  text-decoration:underline;
}

@media (max-width: 768px){
  .auth-shell{
    padding:22px 18px 20px;
  }
}

@media (max-width: 640px) {
  .hide-on-mobile {
    display: none !important;
  }
}

 @media (max-width: 768px) {
  /* stack the provider / client panels on mobile */
  .mission-grid {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px;
  }

  .mission-grid .mission-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* hide the center circle/logo between them */
  .mission-grid .hide-on-mobile {
    display: none !important;
  }
}

@media (min-width: 1025px){
  .nav-mobile{ display:none !important; }
}

/* Browse providers --------------------------------------------------------*/
.browse-shell{
  margin:40px auto 64px;
  max-width:1120px;
  width:100%;
  border-radius:32px;
  padding:32px 40px 40px;
  background:
    radial-gradient(circle at top left, rgba(191,219,254,0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(165,243,252,0.35), transparent 55%),
    #f9fafb;
  background-size: auto, auto, auto;
  box-shadow:0 26px 70px rgba(15,23,42,0.16);
  border:1px solid rgba(148,163,184,0.45);
}

/* ================================
   Providers Browse Page (Lotus BG)
   ================================ */

/* Full-viewport soft lotus/zen background (sits behind the frosted browse-shell). */
.providers-browse-page{
  position: relative;
}

.providers-browse-page:before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  /* Use plain url() so the Rails asset pipeline can fingerprint/rewrite it.
     (ERB tags inside .css won't be processed in this app.) */
  background-image: url(/assets/login-bg-78fd392a3e403ad2c5fca181ea10e3cb2cf6999abdac301613f38c9544088148.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(38px);
  transform: scale(1.06);
  opacity: 0.45;
}

.providers-browse-page:after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  /* Gentle dark-to-light wash so text stays readable */
  background:
    radial-gradient(900px 520px at 18% 22%, rgba(255,255,255,0.55), rgba(255,255,255,0) 60%),
    radial-gradient(820px 520px at 80% 38%, rgba(56,189,248,0.18), rgba(56,189,248,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(241,245,249,0.78) 48%, rgba(241,245,249,0.90) 100%);
}

/* Frost the main foreground glass */
.providers-browse-page .browse-shell{
  background: rgba(255,255,255,0.52);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.providers-browse-page .browse-card,
.providers-browse-page .provider-card{
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(148,163,184,0.42);
}

.browse-header{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-bottom:20px;
}

.browse-title{
  margin:0;
  font-size:24px;
  letter-spacing:-0.02em;
  color:#0f172a;
}

.browse-subtitle{
  margin:4px 0 0;
  font-size:14px;
  color:#4b5563;
}

/* Quick picks */
.browse-quick{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.browse-quick__label{
  font-size:12px;
  color:rgba(15, 23, 42, 0.65);
}
.browse-quick__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.browse-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(148, 163, 184, 0.35);
  background:linear-gradient(140deg, rgba(248, 250, 252, 0.95), rgba(226, 232, 240, 0.75));
  box-shadow: rgba(15, 23, 42, 0.10) 0px 10px 30px;
  color:#0f172a;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.browse-chip:hover{
  transform:translateY(-1px);
  border-color:rgba(148, 163, 184, 0.65);
  box-shadow: rgba(15, 23, 42, 0.18) 0px 16px 42px;
}
.browse-chip__dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}
.browse-chip--accent .browse-chip__dot{ background:#6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18); }
.browse-chip--rating .browse-chip__dot{ background:#f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }

.browse-filters{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.browse-filters-row{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.browse-field{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.browse-field--grow{
  flex:1 1 auto;
}

.browse-field--compact{
  flex:none;
}

.browse-label{
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#6b7280;
}

.browse-input{
  width:100%;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.7);
  padding:8px 14px;
  font-size:13px;
  outline:none;
  background:rgba(255,255,255,.9);
}

.browse-input:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 1px rgba(37,99,235,.28);
}

.browse-submit{
  border:none;
  border-radius:999px;
  padding:9px 20px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  background:linear-gradient(135deg, #0ea5e9, #2563eb);
  color:#f9fafb;
  box-shadow:0 10px 30px rgba(15,23,42,.3);
}

.browse-advanced-toggle{
  border:none;
  background:transparent;
  padding:0;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#2563eb;
  cursor:pointer;
}

.twiddle-icon{
  display:inline-block;
  transform:translateY(1px);
}

.browse-advanced{
  display:none;
  margin-top:4px;
  padding-top:12px;
  border-top:1px dashed rgba(148,163,184,.7);
  gap:12px 16px;
}

.browse-advanced.is-open{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
}

.browse-price-row{
  display:flex;
  align-items:center;
  gap:8px;
}

.browse-price-input{
  position:relative;
  flex:1 1 0;
}

.browse-price-prefix{
  position:absolute;
  inset:50% auto auto 10px;
  transform:translateY(-50%);
  font-size:12px;
  color:#6b7280;
}

.browse-price-input .browse-input{
  padding-left:20px;
}

.browse-price-separator{
  font-size:12px;
  color:#6b7280;
}

.browse-results-header{
  margin-bottom:16px;
}

.browse-results-count{
  margin:0;
  font-size:12px;
  color:#6b7280;
}

.browse-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
}

.browse-divider{
  grid-column:1 / -1;
  display:flex;
  justify-content:center;
  padding:4px 0 2px;
  opacity:0.9;
}
.browse-divider img{
  width:min(700px, 92%);
  height:auto;
  display:block;
  filter:drop-shadow(0 16px 22px rgba(15, 23, 42, 0.18));
}

.browse-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.browse-actions .provider-cta{
  max-width:100%;
}

.provider-cta--secondary{
  background:transparent;
  color:#111827;
  border-color:#111827;
}

.browse-empty-state{
  margin-top:12px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(248,250,252,.95);
  border:1px dashed rgba(148,163,184,.7);
  font-size:13px;
  color:#4b5563;
}

@media (min-width: 720px){
  .browse-filters-row{
    flex-direction:row;
    align-items:flex-end;
  }

  .browse-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* Account settings (Devise edit) -----------------------------------------*/
.account-settings-section{
  position:relative;
  padding:64px 0 96px;
}

.account-settings-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    url('<%= asset_path("login-bg.png") %>') no-repeat right -40px bottom -140px;
  background-size:480px auto;
  opacity:0.22;          /* a bit more visible than before */
  pointer-events:none;
}

.account-settings-shell{
  max-width:720px;
  margin:0 auto;
}
.account-settings-card{
  border-radius:32px;
  padding:32px 36px 30px;
  background:
    radial-gradient(circle at top left, rgba(191,219,254,0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(165,243,252,0.35), transparent 55%),
    #f9fafb;
  border:1px solid rgba(148,163,184,.55);
  box-shadow:0 26px 70px rgba(15,23,42,.15);
}
.account-settings-header h1{
  margin:0 0 4px;
  font-size:22px;
  letter-spacing:-0.02em;
  color:#0f172a;
}
.account-settings-header p{
  margin:0 0 18px;
  font-size:13px;
  color:#4b5563;
}
.account-settings-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.account-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.account-field--stacked{
  gap:12px;
}
.account-label-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
}
.account-label{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
  color:#6b7280;
}
.account-label-hint{
  font-size:11px;
  color:#9ca3af;
}
.account-input{
  width:100%;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.75);
  padding:9px 14px;
  font-size:13px;
  background:rgba(255,255,255,.9);
  outline:none;
}
.account-input:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 1px rgba(37,99,235,.3);
}
.account-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
  align-items:center;
}
.account-primary-btn{
  border:none;
  border-radius:999px;
  padding:9px 22px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  background:linear-gradient(135deg,#0ea5e9,#2563eb);
  color:#f9fafb;
  box-shadow:0 14px 38px rgba(15,23,42,.35);
}
.account-secondary-link{
  font-size:12px;
  color:#4b5563;
  text-decoration:none;
}
.account-secondary-link:hover{
  text-decoration:underline;
}
.account-danger-zone{
  margin-top:26px;
  padding-top:18px;
  border-top:1px dashed rgba(148,163,184,.7);
}
.account-danger-zone h2{
  margin:0 0 4px;
  font-size:14px;
  font-weight:600;
  color:#b91c1c;
}
.account-danger-zone p{
  margin:0 0 10px;
  font-size:12px;
  color:#6b7280;
}
.account-danger-btn{
  border-radius:999px;
  border:1px solid rgba(220,38,38,.6);
  padding:7px 16px;
  font-size:12px;
  font-weight:500;
  background:rgba(248,250,252,.95);
  color:#b91c1c;
  cursor:pointer;
}
.account-danger-btn:hover{
  background:rgba(254,242,242,1);
}
@media (max-width: 640px){
  .account-settings-card{
    padding:24px 18px 22px;
    border-radius:24px;
  }
}

/* Pricing table frame: subtle grey slab behind the three cards */
.pricing-table-frame{
  position:relative;
  margin-top:26px;
  padding:26px 26px 30px;
  border-radius:26px;
  background:linear-gradient(145deg, rgba(15,23,42,.10), rgba(15,23,42,.04));
  box-shadow:
    0 22px 60px rgba(15,23,42,.30);
}

.pricing-table{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:24px;
}

/* refine cards to sit more like tall towers */
.plan-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:90%;
  min-height:420px;
  border-radius:22px;
  background:linear-gradient(145deg, rgba(248,250,252,.98), rgba(239,246,255,.96));
  box-shadow:
    0 18px 52px rgba(15,23,42,.26),
    0 0 0 1px rgba(255,255,255,.95) inset;
  overflow:hidden;
}

/* top colored bar & small paper tab */
.plan-flag{
  position:relative;
  height:88px;
}

.plan-flag-inner{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:76px;
  border-radius:22px 22px 0 0;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:6px;
  padding-bottom:12px;
  color:#fff;
  font-weight:700;
}

.plan-flag-inner::before{
  content:"";
  position:absolute;
  top:-20px;
  left:50%;
  transform:translateX(-50%) skewX(-10deg);
  width:120px;
  height:24px;
  border-radius:6px 6px 0 0;
  background:rgba(255,255,255,.92);
  box-shadow:0 8px 20px rgba(15,23,42,.24);
}

/* banner colors */
.plan-good .plan-flag-inner{
  background:linear-gradient(135deg, #f97316, #facc15);
}

.plan-better .plan-flag-inner{
  background:linear-gradient(135deg, #0ea5e9, #22c55e);
}

.plan-best .plan-flag-inner{
  background:linear-gradient(135deg, #fb923c, #f97316);
}

.plan-name{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.plan-price{
  font-size:22px;
}

.plan-price-unit{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

/* body & footer */
.plan-body{
  padding:18px 20px 14px;
  flex:1;
}

.plan-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--slate-500);
  margin:0 0 6px;
}

.plan-label-highlight{
  color:#16a34a;
}

.plan-tagline{
  margin:0 0 12px;
  font-size:13px;
  color:var(--slate-600);
}

.plan-features{
  margin:0;
  padding-left:0;
  list-style:none;
  font-size:13px;
  color:var(--slate-700);
}

.plan-features li + li{
  margin-top:6px;
}

/* bottom CTA bar */
.plan-footer{
  margin-top:auto;
}

.plan-cta{
  display:block;
  text-align:center;
  padding:11px 16px 10px;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.15em;
  border-top:1px solid rgba(226,232,240,1);
}

.plan-cta-primary{
  background:linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color:#fff;
}

.plan-cta-outline{
  background:rgba(255,255,255,.96);
  color:var(--brand-700);
}

/* responsive */
@media (max-width: 980px){
  .pricing-table{
    gap:18px;
  }
  .plan-card{
    width:100%;
    max-width:320px;
  }
}


/* Public Provider Profile */
.pp-public{
  position: relative;
  padding: 34px 18px 80px;
  overflow: hidden;
}

.pp-public__bg{
  position:absolute;
  inset:-20px;
  /* NOTE: Background image is provided inline (ERB) in the view for reliability
     with digest assets. These gradients remain as a graceful fallback. */
  background:
    radial-gradient(circle at 15% 20%, rgba(255,189,248,.22), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(99,102,241,.16), transparent 35%),
    radial-gradient(circle at 60% 85%, rgba(34,211,238,.18), transparent 30%);
  background-size: cover;
  background-position: center;
  /* Soft “blurred background” vibe (keeps foreground text crisp). */
  filter: blur(14px) saturate(0.85);
  transform: scale(1.06);
  opacity: .52;
}

.pp-public__bg:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(248,250,252,.35), rgba(248,250,252,.7));
}

.pp-public__container{
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.pp-card{
  margin-top:50px;
  border-radius: 24px;
  padding: 26px 26px 28px;
  border: 1px solid rgba(148,163,184,.65);
  box-shadow: 0 30px 80px rgba(15,23,42,.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.pp-hero{
  display:flex;
  gap: 18px;
  align-items: stretch;
  justify-content: space-between;
  padding: 10px 10px 20px;
  border-bottom: 1px solid rgba(148,163,184,.55);
}

.pp-hero__left{
  display:flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.pp-avatar{
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;

  /* Modern LinkedIn‑style fallback */
  background: linear-gradient(180deg, rgba(248,250,252,.96), rgba(226,232,240,.92));
  border: 1px solid rgba(148,163,184,.85);
  box-shadow:
    0 18px 45px rgba(15,23,42,.18),
    0 0 0 1px rgba(255,255,255,.75) inset;
}

.pp-avatar:before{
  content:"";
  position:absolute;
  inset: 18%;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20viewBox%3D'0%200%2064%2064'%3E%0A%3Cpath%20fill%3D'rgba(100,116,139,0.55)'%20d%3D'M32%2034c8.1%200%2014.7-6.6%2014.7-14.7S40.1%204.6%2032%204.6%2017.3%2011.2%2017.3%2019.3%2023.9%2034%2032%2034zm0%206.2c-12.3%200-22.2%207.2-22.2%2016.1%200%202%201.6%203.6%203.6%203.6h37.2c2%200%203.6-1.6%203.6-3.6%200-8.9-9.9-16.1-22.2-16.1z'/%3E%0A%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 10px 18px rgba(15,23,42,.10));
  opacity: .95;
  pointer-events:none;
}

.pp-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  position: relative;
  z-index: 2;
}

.pp-avatar span{
  /* Keep span in DOM but hide the initial; the silhouette handles fallback */
  display: none;
}


.pp-identity{ min-width:0; }

.pp-name{
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pp-headline{
  margin-top: 6px;
  font-size: 15px;
  font-weight: 650;
  color: rgba(15,23,42,.78);
}

.pp-subtitle{
  margin: 8px 0 0;
  color: rgba(15,23,42,.72);
  font-size: 14px;
}

.pp-facts{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  margin-top: 12px;
}

.pp-fact{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(15,23,42,.78);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(148,163,184,.55);
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
}

.pp-fact.is-open{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.28);
}

.pp-fact.is-closed{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.25);
}

.pp-price{
  letter-spacing: 0.06em;
  color: rgba(15,23,42,.85);
}

.pp-rating{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
}

.pp-stars{ display:flex; gap: 4px; }
.pp-star{
  font-size: 16px;
  line-height: 1;
  color: rgba(148,163,184,.9);
  filter: drop-shadow(0 6px 10px rgba(15,23,42,.12));
}
.pp-star.is-on{ color: #fbbf24; }

.pp-rating__meta{
  display:flex;
  gap: 8px;
  align-items:center;
  font-size: 13px;
  color: rgba(15,23,42,.7);
}
.pp-dot{ opacity: .6; }

.pp-hero__right{
  display:flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 280px;
}

.pp-actions{
  display:flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pp-btn{
  appearance:none;
  border: 1px solid rgba(15,23,42,.78);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 750;
  font-size: 14px;
  line-height: 1;
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  box-shadow: 0 16px 32px rgba(15,23,42,.12);
}

.pp-btn:hover{ transform: translateY(-1px); box-shadow: 0 22px 44px rgba(15,23,42,.16); }
.pp-btn:active{ transform: translateY(0px) scale(.99); }

.pp-btn--primary{
  background: linear-gradient(180deg, rgba(2,132,199,.98), rgba(3,105,161,.98));
  color: rgba(255,255,255,.96);
  border-color: rgba(2,6,23,.72);
}

.pp-btn--ghost{
  background: rgba(255,255,255,.72);
  color: rgba(15,23,42,.92);
  border-color: rgba(148,163,184,.9);
}

.pp-btn--soft{
  background: rgba(226,232,240,.65);
  color: rgba(15,23,42,.86);
  border-color: rgba(148,163,184,.9);
}

.pp-btn--disabled{
  background: rgba(226,232,240,.85);
  color: rgba(100,116,139,.95);
  border-color: rgba(148,163,184,.85);
  box-shadow: none;
  cursor: not-allowed;
}

.pp-alert{
  width: 100%;
  max-width: 520px;
  text-align:left;
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(148,163,184,.7);
  box-shadow: 0 18px 44px rgba(15,23,42,.10);
}
.pp-alert__title{
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(2,6,23,.78);
}
.pp-alert__text{
  margin-top: 6px;
  color: rgba(15,23,42,.72);
  font-size: 13px;
  line-height: 1.4;
}

.pp-qualifications{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 10px 8px;
}

.pp-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(148,163,184,.75);
  box-shadow: 0 16px 34px rgba(15,23,42,.10);
}
.pp-badge__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34,211,238,.95), rgba(2,132,199,.95));
  box-shadow: 0 0 0 3px rgba(14,165,233,.18);
}
.pp-badge__label{
  font-size: 13px;
  font-weight: 750;
  color: rgba(15,23,42,.9);
}
.pp-badge__kind{
  font-size: 12px;
  color: rgba(71,85,105,.9);
  padding-left: 10px;
  border-left: 1px solid rgba(148,163,184,.6);
}

.pp-grid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  padding: 14px 10px 8px;
}

/* Ensure consistent vertical spacing between panels in both columns.
   Without this, adjacent .pp-panel blocks can appear to “stick” together
   on mobile depending on content/layout. */
.pp-side,
.pp-main{
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.pp-panel{
  border-radius: 24px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(148,163,184,.65);
  box-shadow: 0 22px 55px rgba(15,23,42,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pp-panel--story{
  min-height: 340px;
}

.pp-panel__title{
  font-size: 14px;
  font-weight: 850;
  color: rgba(15,23,42,.88);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pp-panel__title--row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pp-panel__hint{
  font-size: 12px;
  color: rgba(71,85,105,.85);
  font-weight: 650;
}

.pp-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pp-tag{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248,250,252,.78);
  border: 1px solid rgba(148,163,184,.85);
  color: rgba(15,23,42,.86);
  font-size: 13px;
  font-weight: 650;
}

.pp-meta{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.pp-meta__label{
  font-size: 12px;
  font-weight: 850;
  color: rgba(71,85,105,.9);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pp-meta__value{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15,23,42,.84);
  line-height: 1.45;
}

.pp-media video{
  width: 100%;
  max-height: 340px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.65);
  background: rgba(2,6,23,.92);
}
.pp-media--audio audio{ width: 100%; }

.pp-story{
  color: rgba(15,23,42,.84);
  font-size: 15px;
  line-height: 1.6;
}
.pp-story h2, .pp-story h3{
  margin: 16px 0 8px;
  color: rgba(15,23,42,.92);
}
.pp-story p{ margin: 0 0 12px; }
.pp-story ul{ margin: 8px 0 12px 18px; }

.pp-empty{
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(248,250,252,.75);
  border: 1px dashed rgba(148,163,184,.85);
  color: rgba(71,85,105,.92);
  font-size: 14px;
  line-height: 1.5;
}

.pp-reviews{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.pp-review{
  border-radius: 18px;
  padding: 12px 12px;
  background: rgba(248,250,252,.72);
  border: 1px solid rgba(148,163,184,.65);
}

.pp-review__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pp-review__stars{ display:flex; gap: 3px; }
.pp-review__star{ font-size: 14px; color: rgba(148,163,184,.85); }
.pp-review__star.is-on{ color: #fbbf24; }

.pp-review__date{
  font-size: 12px;
  color: rgba(71,85,105,.85);
  font-weight: 650;
}

.pp-review__body{
  color: rgba(15,23,42,.84);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.pp-review__more{
  margin-top: 10px;
  display:flex;
  justify-content: flex-end;
}

.pp-link{
  font-weight: 800;
  color: rgba(2,132,199,.95);
  text-decoration: none;
}
.pp-link:hover{ text-decoration: underline; }

.pp-reviewbox{
  margin-top: 14px;
  border-radius: 20px;
  padding: 14px 14px;
  background: rgba(255,255,255,.62);
  border: 1px dashed rgba(148,163,184,.8);
}

.pp-reviewbox__title{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(15,23,42,.88);
}
.pp-reviewbox__subtitle{
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(71,85,105,.88);
}

.pp-formrow{ margin-bottom: 10px; }
.pp-label{
  display:block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(71,85,105,.9);
  margin-bottom: 6px;
}
.pp-input{
  width: 100%;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.85);
  background: rgba(248,250,252,.82);
  color: rgba(15,23,42,.92);
}
.pp-input--area{ resize: vertical; min-height: 110px; }

.pp-formactions{
  display:flex;
  justify-content: flex-end;
}

@media (max-width: 980px){
  .pp-grid{ grid-template-columns: 1fr; }
  .pp-hero{ flex-direction: column; align-items: flex-start; }
  .pp-hero__right{ align-items: flex-start; min-width: 0; width: 100%; }
  .pp-actions{ justify-content: flex-start; }
}

@media (max-width: 520px){
  .pp-card{ padding: 18px 16px 18px; }
  .pp-avatar{ width: 82px; height: 82px; flex: 0 0 82px; min-width: 82px; max-width: 82px; border-radius: 9999px; overflow: hidden; }
  .pp-name{ font-size: 28px; }
}

/* --- Frontpage mission hero layout (mobile widths) --- */
.mission-hero-shell{
  margin-top: 0;
  margin-left: 0px;
    width: 100%;
  padding: 0px 66px 48px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mission-grid{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  padding: 12px 0 8px;
  gap: 26px;
}

/* Ensure the provider/client panels can expand on mobile */
@media (max-width: 1024px){
  .mission-hero-shell{
    padding: 18px 0 28px !important;
  }

  .mission-grid{
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 0 0 !important;
    gap: 16px !important;
  }

  /* 90% width panels on mobile (Coaching Resources + Provider/Client cards) */
  .mission-top-card,
  .card-coach{
    width: 90% !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


.pp-avatar__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* === Hero handwriting SVG animation (rotating) === */
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

.hero-handwrite {
  width: min(980px, 92vw);
  margin: 0 auto 1.2rem;
  display: block;
  overflow: visible;
}


@media (max-width: 768px) {
  /* Hide the cursive handwriting hero animation on mobile */
  .hero-handwrite {
    display: none !important;
  }
}
.hero-handwrite text {
  font-family: 'Parisienne', cursive;
  font-size: 64px;
}

#hero-script.hero-handwrite--animate .hero-handwrite__stroke {
  fill: var(--hero-fill, rgba(255,255,255,0.98));
  stroke: var(--hero-stroke, rgba(30,30,30,0.85));
  stroke-width: 3.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
}

#hero-script.hero-handwrite--animate .hero-handwrite__reveal {
  transform-box: fill-box;
  transform-origin: 0% 50%;
  transform: scaleX(0);
}

#hero-script.hero-handwrite--animate .hero-handwrite__fill {
  fill: var(--hero-fill, rgba(255,255,255,0.98));
  opacity: 0;
}

/* Run animations only when toggled on (lets JS restart cleanly) */
.hero-handwrite--animate .hero-handwrite__stroke {
  animation: heroStroke var(--hero-dur, 2.6s) ease forwards;
}

.hero-handwrite--animate .hero-handwrite__reveal {
  animation: heroReveal var(--hero-dur, 2.6s) ease forwards;
}

.hero-handwrite--animate .hero-handwrite__fill {
  animation: heroFillIn 0.35s ease forwards;
  animation-delay: calc(var(--hero-dur, 2.6s) - 0.2s);
}

@keyframes heroStroke { to { stroke-dashoffset: 0; } }
@keyframes heroReveal { to { transform: scaleX(1); } }
@keyframes heroFillIn { to { opacity: 1; } }

@media (max-width: 520px) {
  .hero-handwrite text { font-size: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-handwrite--animate .hero-handwrite__stroke,
  .hero-handwrite--animate .hero-handwrite__reveal,
  .hero-handwrite--animate .hero-handwrite__fill {
    animation: none !important;
  }
  .hero-handwrite__reveal { transform: scaleX(1) !important; }
  .hero-handwrite__fill { opacity: 1 !important; }
  .hero-handwrite__stroke { stroke-dashoffset: 0 !important; }
}

/* --- Hero cursive draw (SVG stroke) --- */
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

.hero-script-wrap{
  margin: 0 auto 10px;
  max-width: 720px;
  position: relative;
}

.hero-script-sr{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.hero-script-svg{
  width: 100%;
  height: 92px;
  display:block;
  overflow: visible;
}

.hero-script-svg text{
  font-family: "Parisienne", cursive;
  font-size: 90px;
  letter-spacing: 0.5px;
}

.hero-script-stroke{
  fill: none;
  stroke: var(--hero-stroke, rgba(30,30,30,0.85));
  stroke-width: 3.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.hero-script-fill{
  fill: rgba(255,255,255,0.98);
  opacity: 0;
}

/* left-to-right reveal mask */
.hero-script-reveal{
  transform-box: fill-box;
  transform-origin: 0% 50%;
  transform: scaleX(0);
}

/* Animations are gated behind this class so JS can reliably restart them */
.hero-script-animate .hero-script-stroke{
  animation: hero-script-stroke 1.8s ease forwards;
}
.hero-script-animate .hero-script-reveal{
  animation: hero-script-reveal 1.8s ease forwards;
}
.hero-script-animate .hero-script-fill{
  animation: hero-script-fill 0.55s ease forwards;
  animation-delay: calc(var(--hero-dur, 2.6s) - 0.2s);
}

@keyframes hero-script-stroke{ to { stroke-dashoffset: 0; } }
@keyframes hero-script-reveal{ to { transform: scaleX(1); } }
@keyframes hero-script-fill{ to { opacity: 1; } }

@media (max-width: 520px){
  .hero-script-svg{ height: 76px; }
  .hero-script-svg text{ font-size: 74px; }
}

@media (prefers-reduced-motion: reduce){
  .hero-script-animate .hero-script-stroke,
  .hero-script-animate .hero-script-reveal,
  .hero-script-animate .hero-script-fill{ animation: none !important; }

  .hero-script-stroke{ stroke-dashoffset: 0 !important; }
  .hero-script-reveal{ transform: scaleX(1) !important; }
  .hero-script-fill{ opacity: 1 !important; }
}


/* === Hero handwriting redraw tuning === */
#hero-script.hero-handwrite--animate .hero-handwrite__stroke {
  stroke: var(--hero-stroke, rgba(30,30,30,0.85));
}

.hero-handwrite.hero-redraw .hero-handwrite__stroke {
  stroke-dashoffset: 1800;
  animation: heroStroke var(--hero-dur, 2.6s) ease forwards;
}

.hero-handwrite.hero-redraw .hero-handwrite__reveal {
  transform: scaleX(0);
  animation: heroReveal var(--hero-dur, 2.6s) ease forwards;
}

.hero-handwrite.hero-redraw .hero-handwrite__fill {
  opacity: 0;
  animation: heroFillIn 0.35s ease forwards;
  animation-delay: calc(var(--hero-dur, 2.6s) - 0.2s);
}
