:root{
  --brand-blue: #2257ff;
  --brand-purple: #7c3aed;

  --bg: #ffffff;
  --bg2: #f4f8ff;
  --card: #ffffff;
  --card2: #f6f9ff;
  --border: rgba(12, 26, 54, .09);
  --line: rgba(12, 26, 54, .09); /* added: compare section uses var(--line) */
  --text: rgba(12, 26, 54, .92);
  --muted: rgba(12, 26, 54, .70);
  --muted2: rgba(12, 26, 54, .55);
  --accent: #0b1220;
  --accent2: #2257ff;
  --shadow: 0 18px 48px rgba(12,26,54,.08);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 12% 8%, rgba(191,233,255,.65), transparent 55%),
    radial-gradient(900px 520px at 90% 12%, rgba(217,209,255,.55), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .92; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--border);
}

.topbar{
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--muted);
}
.topbar-inner strong{ color: var(--text); font-weight: 700; }
.topbar-flag{ font-size: 14px; line-height: 1; }

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand{
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-name{ font-size: 15px; text-transform: lowercase; letter-spacing: -0.02em; line-height: 1; }

.nav{
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.nav a{ padding: 10px 10px; border-radius: 10px; }
.nav a:hover{ background: rgba(12,26,54,.04); }
.nav-cta{
  color: #ffffff;
  background: rgba(12,26,54,.92);
  border: 1px solid rgba(12,26,54,.10);
}

.nav-login{
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
}
.nav-login:hover{ background: rgba(12,26,54,.04); }

.hero{
  padding: 76px 0 44px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 26px;
  align-items: start;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(12,26,54,.06);
}

h1{
  margin: 14px 0 14px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.lead{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  max-width: 62ch;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

/* Disabled CTA (used when a Stripe payment link isn't set yet) */
.btn.is-disabled,
.btn[aria-disabled="true"]{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: auto;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: rgba(12,26,54,.92);
  border-color: rgba(12,26,54,.12);
  color: #ffffff;
}
.btn-secondary{
  background: rgba(255,255,255,.78);
  color: var(--text);
}

.trust-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.trust-item{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(12,26,54,.06);
}
.trust-title{
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.trust-sub{
  color: var(--muted2);
  font-size: 12.5px;
}

.hero-media img{
  width: 100%;
  height: auto;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffff;
}

/* Slideshow (hero + workflow) */
.slideshow{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10; /* default (hero) */
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffff;
  overflow: hidden;
}

.slideshow .slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity .45s ease;
}

/* IMPORTANT: this makes active slide visible */
.slideshow .slide.active{ opacity: 1; }

@media (prefers-reduced-motion: reduce){
  .slideshow .slide{ transition: none; }
}

.fineprint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted2);
}

.section{
  padding: 72px 0;
}
.section.alt{
  background: rgba(255,255,255,.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head{
  max-width: 92ch;
  margin-bottom: 22px;
}
h2{
  margin: 0 0 12px;
  font-size: clamp(24px, 2.7vw, 36px);
  letter-spacing: -0.03em;
}
.section-head p{
  margin: 0;
  color: var(--muted);
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.panel{
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(12,26,54,.06);
}
.panel h3{
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.panel p{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.media-row{
  margin-top: 18px;
}
.media-row img{
  width: 100%;
  height: auto;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffff;
}

/* Compare (Then → Now) */
.compare{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;}
.compare-col{background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:0 18px 55px rgba(15,23,42,.08);}
.compare-label{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:10px;}
.compare-img{width:100%;max-width:360px;margin:0 auto;display:block;border-radius:14px;box-shadow:0 12px 30px rgba(15,23,42,.10);aspect-ratio:3/4;object-fit:cover;object-position:center;}
.compare-sub{margin-top:10px;font-size:13px;color:var(--muted);}
.compare-mid{display:flex;flex-direction:column;align-items:center;gap:10px;}
.compare-chip{font-size:12px;font-weight:700;color:#4c3bd8;background:rgba(124,58,237,.10);border:1px solid rgba(124,58,237,.18);padding:8px 10px;border-radius:999px;white-space:nowrap;}
.compare-arrow{font-size:34px;font-weight:800;color:rgba(76,59,216,.75);line-height:1;}

@media (max-width: 880px){
  .compare{grid-template-columns:1fr;gap:14px;}
  .compare-mid{flex-direction:row;justify-content:center;}
  .compare-arrow{transform:rotate(90deg);}
}

.story-grid{
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 18px;
  align-items: start;
}
.story-copy p{
  color: var(--muted);
  margin: 0 0 12px;
}

.story-media img{
  width: 100%;
  height: auto;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.story-media .compare-img{
  border: none;
  background: transparent;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.early{
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 18px;
  align-items: start;
}
.early-head p{ color: var(--muted); margin: 0; }

.signup{
  margin-top: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(12,26,54,.06);
}
.field{ display: grid; gap: 6px; }
.field.full{ grid-column: 1 / -1; }
label{
  font-size: 12.5px;
  color: var(--muted2);
}
input, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(12,26,54,.14);
  background: rgba(255,255,255,.92);
  color: var(--text);
  outline: none;
}
input::placeholder{ color: rgba(12,26,54,.35); }
input:focus, select:focus{
  border-color: rgba(34,87,255,.35);
  box-shadow: 0 0 0 4px rgba(34,87,255,.10);
}

button.full, .btn.full{ grid-column: 1 / -1; width: 100%; }
.form-note{
  grid-column: 1 / -1;
  color: var(--muted2);
  font-size: 12px;
  margin-top: -2px;
}

.footer{
  padding: 26px 0 18px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.60);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-brand{ font-weight: 900; letter-spacing: -0.02em; text-transform: lowercase; font-size: 16px; }
.footer-sub{ color: var(--muted2); font-size: 13px; margin-top: 4px; }
.footer-right{
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-right a{
  padding: 10px 10px;
  border-radius: 12px;
}
.footer-right a:hover{ background: rgba(12,26,54,.04); }

.footer-bottom{
  margin-top: 12px;
  color: var(--muted2);
  font-size: 12.5px;
}

@media (max-width: 980px){
  .hero-grid, .story-grid, .early{ grid-template-columns: 1fr; }
  .trust-row{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .nav{ display: none; }
  .hero{ padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
}

.brand-ecoach{ color: var(--brand-blue); }
.brand-software{ color: var(--brand-purple); }

.brand-name .brand-ecoach, h1 .brand-ecoach, .footer-brand .brand-ecoach{ color: var(--brand-blue); }
.brand-name .brand-software, h1 .brand-software, .footer-brand .brand-software{ color: var(--brand-purple); }
.brand-name .brand-ecoach, .brand-name .brand-software, h1 .brand-ecoach, h1 .brand-software, .footer-brand .brand-ecoach, .footer-brand .brand-software{ font-weight: inherit; }

.caption{ margin-top: 10px; font-size: 12.5px; color: rgba(100,116,139,.9);} 

/* Force dual-colour wordmark in title contexts */
.brand-name .brand-ecoach, h1 .brand-ecoach, .footer-brand .brand-ecoach{ color: var(--brand-blue); }
.brand-name .brand-software, h1 .brand-software, .footer-brand .brand-software{ color: var(--brand-purple); }

/* --- Pricing + Help page additions --- */
.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}

.plan{
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.plan::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(12,26,54,.06);
}
.plan-featured{
  border: 1px solid rgba(34,87,255,.18);
  background: linear-gradient(180deg, rgba(34,87,255,.06), rgba(255,255,255,.78));
}
.plan-featured::after{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple));
  opacity: .95;
}
.plan-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,87,255,.22);
  background: linear-gradient(90deg, rgba(34,87,255,.12), rgba(124,58,237,.12));
  color: var(--text);
}
.plan-badge--muted{
  border-color: rgba(12,26,54,.12);
  background: rgba(12,26,54,.04);
}

.plan-price{
  margin-top: 10px;
  font-size: clamp(30px, 3.0vw, 44px);
  letter-spacing: -0.04em;
  font-weight: 850;
}
.plan-price span{
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 6px;
}
.plan-sub{
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}
.plan-list{
  margin: 14px 0 16px;
  padding-left: 18px;
  color: var(--text);
}
.plan-list li{ margin: 8px 0; }

/* Mini hero for internal pages */
.hero--mini{
  padding: 54px 0 28px;
}
.hero--mini .lead{
  max-width: 760px;
}
.muted{ color: var(--muted); }

/* --- Device strip under hero trust row --- */
.device-strip{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.device-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(12,26,54,.05);
  color: var(--text);
  font-size: 13px;
}
.device-icon{ font-size: 16px; }
.device-label{ font-weight: 700; }

/* --- Device strip under hero trust row (refined) --- */
.device-micro{
  margin-top: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
}
.device-strip{
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.device-item{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(12,26,54,.10);
  box-shadow: 0 10px 22px rgba(12,26,54,.035);
  color: var(--text);
  font-size: 13px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
}
.device-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 30px rgba(12,26,54,.06);
}
.device-item:active{ transform: translateY(0); }
.device-icon{ display: inline-flex; align-items:center; justify-content:center; }

.device-svg{width:18px;height:18px;display:inline-block;vertical-align:middle;}
.device-icon{color:inherit;}

/* --- Single-field signup form --- */
.signup--single{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 900px){
  .signup--single{ grid-template-columns: 1fr; }
  .signup--single .btn{ width: 100%; justify-content: center; }
}
.field--single{ margin: 0; }
.signup--single .form-note{ grid-column: 1 / -1; margin-top: 4px; }

/* --- FAQ search --- */
.faq-search{
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 10px;
}
.faq-search-label{
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.faq-search-input{
  flex: 1;
  height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  color: var(--text);
  outline: none;
  box-shadow: 0 12px 28px rgba(12,26,54,.05);
}
.faq-search-input:focus{
  border-color: rgba(34,87,255,.28);
  box-shadow: 0 14px 34px rgba(34,87,255,.10);
}

/* --- Panel icons (landing page) --- */
.panel-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:10px;
}
.panel-head .panel-title h3{ margin:0; }
.panel-icon{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 44px;
  border:1px solid rgba(12,26,54,.10);
  box-shadow: 0 12px 26px rgba(12,26,54,.06);
}
.panel-icon svg{
  width:22px;
  height:22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Colorways */
.icon-blue{ background: rgba(59,130,246,.12); color:#2563eb; border-color: rgba(37,99,235,.18); }
.icon-purple{ background: rgba(124,58,237,.12); color:#7c3aed; border-color: rgba(124,58,237,.18); }
.icon-indigo{ background: rgba(79,70,229,.12); color:#4f46e5; border-color: rgba(79,70,229,.18); }
.icon-teal{ background: rgba(20,184,166,.12); color:#0f766e; border-color: rgba(15,118,110,.18); }
.icon-emerald{ background: rgba(16,185,129,.12); color:#059669; border-color: rgba(5,150,105,.18); }
.icon-amber{ background: rgba(245,158,11,.14); color:#b45309; border-color: rgba(180,83,9,.18); }

/* --- Panel polish hover --- */
.panel{
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(6px);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.panel:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(12,26,54,.10);
  border-color: rgba(12,26,54,.12);
}
.panel:hover .panel-icon{ filter: saturate(1.15) contrast(1.05); }
.panel:active{ transform: translateY(-1px); }

/* --- Hero trust cards (enhanced) --- */
.trust-title{ margin-top: 2px; }

.trust-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 900px){
  .trust-row{ grid-template-columns: 1fr; }
}

.trust-item{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(12,26,54,.10);
  border-radius: 16px;
  padding: 12px 12px 12px 12px;
  box-shadow: 0 14px 36px rgba(12,26,54,.08);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.trust-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(12,26,54,.10);
  border-color: rgba(12,26,54,.12);
}
.trust-item:active{ transform: translateY(-1px); }

/* Float icon so description wraps */
.trust-icon{
  float: left;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(12,26,54,.10);
  box-shadow: 0 12px 26px rgba(12,26,54,.06);
  margin: 0 10px 8px 0;
}
.trust-icon svg{
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Typography */
.trust-title{
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
}
.trust-sub{
  color: var(--muted);
  margin: 0;
}

/* Clear float */
.trust-item::after{
  content:"";
  display:block;
  clear:both;
}

/* Workflow slideshow sizing + top align */
.slideshow[data-slideshow="workflow"]{ aspect-ratio: 16 / 13; } /* tweak 16/12 shorter, 16/14 taller */
.slideshow[data-slideshow="workflow"] .slide{ object-position: top center; }
.workflow-media{ margin-top: 18px; }

/* Mobile hamburger + dropdown */
.nav-toggle{
  display: none;
  margin-left: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(12,26,54,.10);
}
.nav-toggle-bars{
  display:block;
  width:18px;
  height:2px;
  background: #1f2a44;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}
.nav-toggle-bars:before,
.nav-toggle-bars:after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#1f2a44;
  border-radius:2px;
}
.nav-toggle-bars:before{ top:-6px; }
.nav-toggle-bars:after{ top:6px; }

.mobile-nav{
  position: absolute;
  right: 16px;
  top: 64px;
  width: min(340px, calc(100vw - 32px));
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 60px rgba(12,26,54,.18);
  padding: 10px;
  display: grid;
  gap: 4px;
  z-index: 1000;
}
.mobile-nav a{
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}
.mobile-nav a:hover{ background: rgba(99,102,241,.08); }
.mobile-nav a:first-child{
  font-weight: 700;
  background: rgba(15,23,42,.04);
}
.mobile-nav[hidden]{ display:none !important; }

@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display: inline-flex; align-items:center; justify-content:center; }
}
@media (min-width: 981px){
  .mobile-nav{ display:none !important; }
}

.form-status{
  margin-top:10px;
  font-size:13px;
  color: var(--muted);
}
.form-status.ok{ color:#0f766e; }
.form-status.err{ color:#b91c1c; }