:root{
  --navy:#0d2f63;
  --navy-deep:#081b3c;
  --navy-mid:#174d9a;
  --blue-glow:#3f82ff;
  --bg:#eef3fa;
  --bg-2:#f8fbff;
  --light:#fbfdff;
  --white:#ffffff;
  --gold:#f0b323;
  --gold-deep:#d89007;
  --text:#102544;
  --muted:#697a91;
  --muted-2:#8a9ab0;
  --line:rgba(16,37,68,.10);
  --line-strong:rgba(16,37,68,.16);
  --line-light:rgba(255,255,255,.14);
  --shadow-xl:0 34px 90px rgba(8,24,52,.18);
  --shadow-lg:0 22px 56px rgba(8,24,52,.12);
  --shadow:0 16px 36px rgba(8,24,52,.09);
  --shadow-soft:0 10px 24px rgba(8,24,52,.06);
  --radius-2xl:32px;
  --radius-xl:26px;
  --radius-lg:22px;
  --radius-md:18px;
  --radius-sm:14px;
  --max:1320px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x:clip; max-width:100vw;}
body{
  overflow-x:clip;
  max-width:100vw;
  margin:0;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(63,130,255,.10), transparent 24%),
    radial-gradient(circle at 88% 6%, rgba(240,179,35,.11), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #eef3fa 100%);
}

a{color:inherit}
img{max-width:100%; display:block}
button,input,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.stack{display:grid; gap:22px; padding-bottom:28px}
.soft{padding:34px}
.centered{display:flex; justify-content:center}
.muted{color:var(--muted)}
.navy{color:var(--navy)}
.white{color:#fff}

.card{
  border-radius:var(--radius-2xl);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.card-light{
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.98) 100%);
  border:1px solid rgba(255,255,255,.9);
  color:var(--text);
}

.card-navy{
  color:#fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.12), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(63,130,255,.22), transparent 24%),
    linear-gradient(150deg, #1a56a8 0%, #0e346b 42%, #081c3c 100%);
}

.eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
}
.eyebrow.navy{color:#6b84ab}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(248,251,255,.78);
  border-bottom:1px solid rgba(16,37,68,.06);
  backdrop-filter:blur(18px);
}
.topbar-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo{
  text-decoration:none;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.04em;
  color:var(--navy-deep);
}
.topnav{
  display:flex;
  align-items:center;
  gap:26px;
}
.topnav a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}
.topnav a:hover{color:var(--navy)}
.topbar-actions{display:flex; gap:10px; align-items:center}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:16px;
  border:1px solid transparent;
  text-decoration:none;
  font-size:15px;
  font-weight:800;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  color:#0f2342;
  background:linear-gradient(180deg, #ffc847 0%, #de9809 100%);
  box-shadow:0 16px 34px rgba(216,144,7,.28);
}
.btn-primary:hover{box-shadow:0 20px 40px rgba(216,144,7,.34)}
.btn-secondary,
.btn-ghost{
  color:var(--text);
  background:rgba(255,255,255,.9);
  border-color:var(--line);
  box-shadow:0 8px 18px rgba(8,24,52,.04);
}
.btn-ghost{background:rgba(255,255,255,.84)}
.btn-sm{min-height:40px; padding:0 14px; font-size:13px; border-radius:13px}
.btn-full{width:100%}

/* Homepage */
.hero-wrap{padding:24px 0 22px}
.hero-grid,
.landing-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.14fr) minmax(360px,.86fr);
  gap:22px;
  align-items:stretch;
}
.hero-panel{
  position:relative;
  min-height:700px;
  padding:42px 42px 0;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow-xl);
}
.hero-panel::after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-120px;
  width:340px;
  height:340px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(240,179,35,.24), transparent 68%);
  pointer-events:none;
}
.hero-title,
.hero-panel h1{
  margin:16px 0 16px;
  max-width:700px;
  font-size:76px;
  line-height:.90;
  letter-spacing:-.075em;
  color:#fff;
}
.hero-sub{
  max-width:560px;
  margin:0 0 26px;
  font-size:18px;
  line-height:1.6;
  color:rgba(255,255,255,.88);
}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:14px}
.hero-actions .btn-secondary{background:rgba(255,255,255,.13); color:#fff; border-color:rgba(255,255,255,.18); backdrop-filter:blur(10px)}
.hero-proof{display:flex; flex-wrap:wrap; gap:10px}
.hero-proof span{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.84);
  font-size:12px;
  font-weight:700;
}
.hero-highlight{
  margin-top:32px;
  max-width:550px;
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:22px 24px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 24px 50px rgba(6,18,39,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.highlight-icon{
  width:50px;
  height:50px;
  flex:0 0 50px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.14);
  font-size:24px;
}
.highlight-content strong{display:block; font-size:19px; color:#fff; margin-bottom:4px}
.highlight-content p{margin:0; color:rgba(255,255,255,.84); font-size:14px; line-height:1.5}
.hero-bottom{
  margin-top:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.10);
}
.feature-item{padding:24px 14px; text-align:center; position:relative}
.feature-item + .feature-item::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:1px;
  background:rgba(255,255,255,.12);
}
.feature-icon{font-size:28px; margin-bottom:8px}
.feature-label{font-size:14px; line-height:1.3; color:#fff; font-weight:700}

.hero-preview{
  min-height:700px;
  padding:34px 28px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    radial-gradient(circle at 76% 20%, rgba(63,130,255,.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border:1px solid rgba(16,37,68,.06);
  box-shadow:var(--shadow-lg);
}
.preview-copy{max-width:340px; margin-bottom:24px}
.hero-preview h2{
  margin:10px 0 14px;
  font-size:56px;
  line-height:.90;
  letter-spacing:-.075em;
  color:var(--navy-deep);
}
.hero-preview p{margin:0; color:var(--muted); font-size:15px; line-height:1.65}

.phone-shell,
.hero-phone-side{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  flex:1;
}
.phone{
  width:228px;
  height:464px;
  padding:11px;
  border-radius:42px;
  background:linear-gradient(180deg, #111827 0%, #1c293c 100%);
  position:relative;
  box-shadow:0 34px 70px rgba(7,20,43,.28), 0 0 0 8px rgba(255,255,255,.76);
  transform:rotate(-3deg) translateY(-6px);
}
.phone-notch{
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:116px;
  height:22px;
  border-radius:0 0 16px 16px;
  background:#0b1118;
  z-index:2;
}
.phone-screen{
  height:100%;
  border-radius:32px;
  overflow:hidden;
  padding:12px;
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg, #2157aa 0%, #133d7f 38%, #0b2247 100%);
  color:#fff;
}
.phone-status{display:flex; justify-content:space-between; padding:2px 6px 8px; font-size:12px; font-weight:700}
.app-header{display:grid; grid-template-columns:20px 1fr 20px; align-items:center; gap:6px; padding:2px 4px 12px; font-size:14px}
.app-header strong{text-align:center}
.message-list{display:flex; flex-direction:column; gap:10px; flex:1}
.message-chip,.message-card{padding:12px 13px; border-radius:18px}
.message-chip{background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.10)}
.message-card{background:#fff; color:var(--text); box-shadow:0 12px 24px rgba(8,24,52,.14)}
.message-card.featured{background:linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%)}
.message-card.accent{background:linear-gradient(180deg, #fff6dd 0%, #ffe6a0 100%)}
.message-kicker{font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#5e78a1; margin-bottom:5px}
.message-kicker.white,.message-body.white,.message-sub.white{color:#fff}
.message-body{font-size:14px; font-weight:800; line-height:1.3}
.message-sub{margin-top:4px; font-size:12px; line-height:1.35; color:#6e7f97}
.phone-compose{
  margin-top:10px;
  display:grid;
  grid-template-columns:26px 1fr 26px;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border-radius:16px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
}
.phone-compose span:first-child,
.phone-compose span:last-child{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  font-weight:800;
}

.problem-strip{padding-bottom:20px}
.problem-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:30px 34px;
  border-radius:28px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:var(--shadow-lg);
}
.problem-card h2,
.section-head h2,
.final-cta h2{
  margin:8px 0 12px;
  font-size:46px;
  line-height:.96;
  letter-spacing:-.06em;
}
.problem-card p,
.section-head p,
.final-cta p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}
.problem-pills{display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; max-width:420px}
.problem-pills span{
  padding:9px 13px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  font-size:13px;
  font-weight:700;
  color:var(--navy);
}

.section-card{padding:34px; border-radius:30px}
.section-head{max-width:720px; margin-bottom:26px}
.section-head-light p{color:rgba(255,255,255,.82)}
.steps-grid,.features-grid,.pricing-grid{display:grid; gap:18px}
.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch}
.step-card,
.feature-card,
.price-card,
.mini-plan,
.quote-card{
  border-radius:22px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step-card:hover,
.feature-card:hover,
.price-card:hover,
.mini-plan:hover{transform:translateY(-4px)}
.step-card,
.feature-card,
.price-card,
.mini-plan,
.quote-card{
  background:linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.step-card,.feature-card,.price-card,.quote-card{padding:22px}
.feature-card.dark{
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.07));
  border-color:rgba(255,255,255,.10);
  box-shadow:none;
}
.feature-card.dark h3{color:#fff}
.feature-card.dark p{color:rgba(255,255,255,.84)}
.step-number{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  background:linear-gradient(180deg, #eef4ff 0%, #dde9ff 100%);
  color:var(--navy);
  font-weight:800;
}
.step-card h3,
.feature-card h3,
.price-card h3{margin:0 0 8px; font-size:22px; line-height:1.15; letter-spacing:-.04em}
.step-card p,
.feature-card p{margin:0; color:var(--muted); font-size:14px; line-height:1.6}

.simple-pricing-tease .hero-actions{margin-top:20px}
.mini-pricing-row{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.mini-plan{padding:20px; min-height:180px}
.mini-plan.featured{
  transform:translateY(-6px);
  border:2px solid rgba(240,179,35,.44);
  box-shadow:0 22px 44px rgba(216,144,7,.14);
  background:linear-gradient(180deg, #fffdf7 0%, #fff7df 100%);
}
.mini-plan-name{
  margin-bottom:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--navy);
}
.mini-plan-price{margin-bottom:8px; font-size:32px; font-weight:900; letter-spacing:-.05em}
.mini-plan-copy{color:var(--muted); font-size:14px; line-height:1.6}

.price-card{position:relative; display:flex; flex-direction:column; min-height:100%}
.featured-price{
  border:2px solid rgba(240,179,35,.46);
  box-shadow:0 24px 52px rgba(216,144,7,.14);
  background:linear-gradient(180deg, #fffdf8 0%, #fff7e2 100%);
}
.price-badge{
  position:absolute;
  top:14px;
  right:14px;
  padding:8px 10px;
  border-radius:10px;
  background:#fff5d8;
  color:#8f6507;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.price-top{display:flex; align-items:flex-end; justify-content:space-between; gap:10px; padding-right:96px; margin-bottom:16px}
.price{font-size:36px; font-weight:900; letter-spacing:-.06em; color:var(--navy-deep)}
.price span{font-size:14px; color:var(--muted); font-weight:700; margin-left:3px}
.price-card ul{margin:0 0 18px; padding-left:18px; color:var(--muted); font-size:14px; line-height:1.8}
.price-card .btn{margin-top:auto}
.price-card-selected{outline:3px solid rgba(240,179,35,.34); transform:translateY(-2px)}

.final-cta{
  text-align:center;
  padding:46px 34px;
  border-radius:30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(240,179,35,.18), transparent 24%),
    linear-gradient(180deg, #123f83 0%, #0a2a57 100%);
  box-shadow:var(--shadow-xl);
}
.final-cta h2{color:#fff; font-size:54px}
.final-cta p{max-width:720px; margin:0 auto; color:rgba(255,255,255,.84)}

/* Shared subpages */
.subpage-body{
  background:
    radial-gradient(circle at 8% 0%, rgba(63,130,255,.10), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
}
.subpage-wrap{padding:24px 0 44px}
.subpage-hero{padding:38px; margin-bottom:22px; box-shadow:var(--shadow-xl)}
.subpage-hero h1{
  margin:10px 0 12px;
  font-size:58px;
  line-height:.92;
  letter-spacing:-.07em;
  color:#fff;
}
.subpage-hero p{max-width:720px; margin:0; color:rgba(255,255,255,.86); font-size:18px; line-height:1.6}
.pricing-page-section{padding-bottom:8px}
.pricing-page-grid{align-items:stretch}

/* Login */
.login-shell{
  min-height:calc(100vh - 92px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}
.login-card{
  width:min(100%, 500px);
  padding:34px;
  border-radius:30px;
  box-shadow:var(--shadow-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(63,130,255,.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.login-card h1{
  margin:10px 0 8px;
  font-size:44px;
  line-height:.96;
  letter-spacing:-.06em;
}
.login-card p,
.login-sub{margin:0 0 22px; color:var(--muted); line-height:1.6}
.login-field{margin-bottom:14px}
.login-field input{
  width:100%;
  height:58px;
  border-radius:18px;
  border:1px solid rgba(16,37,68,.14);
  background:#fff;
  padding:0 18px;
  font-size:18px;
  color:var(--text);
  outline:none;
  box-shadow:0 10px 24px rgba(8,24,52,.04);
}
.login-field input:focus{border-color:rgba(16,37,68,.42); box-shadow:0 0 0 4px rgba(16,37,68,.08), 0 10px 24px rgba(8,24,52,.08)}
.login-btn,.login-btn-alt{width:100%; justify-content:center}
.login-btn-alt{margin-top:10px}
.resend-wrap{margin-top:14px; text-align:center; color:var(--muted); font-size:13px}
.otp-wrap{display:flex; justify-content:center; gap:10px; margin:18px 0 8px}
.otp-box{
  width:54px;
  height:64px;
  border-radius:18px;
  border:1.5px solid rgba(16,37,68,.16);
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align:center;
  font-size:1.55rem;
  font-weight:800;
  color:var(--text);
  outline:none;
  box-shadow:0 10px 24px rgba(8,24,52,.06);
  transition:all .18s ease;
}
.otp-box:focus{border-color:var(--navy); box-shadow:0 0 0 4px rgba(13,47,99,.10), 0 16px 28px rgba(8,24,52,.12); transform:translateY(-2px)}
.otp-box.filled{border-color:rgba(240,179,35,.75); background:linear-gradient(180deg, #fffdf7 0%, #fff8e7 100%)}

/* Onboarding */
.wizard-shell{display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:22px; align-items:start}
.wizard-main,
.wizard-side{border-radius:30px}
.wizard-main{padding:32px; box-shadow:var(--shadow-lg)}
.wizard-side{padding:28px; position:sticky; top:94px; box-shadow:var(--shadow-lg)}
.wizard-top{display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:28px}
.wizard-progress-text{margin-top:8px; color:var(--muted); font-weight:700}
.wizard-progress-bar{width:300px; height:12px; border-radius:999px; background:#e7eef8; overflow:hidden}
.wizard-progress-bar span{display:block; width:0; height:100%; border-radius:999px; background:linear-gradient(90deg, #ffc847 0%, #de9809 100%); transition:width .2s ease}
.wizard-form{display:grid; gap:24px}
.wizard-step{display:none}
.wizard-step.active{display:block}
.wizard-step h1{margin:0 0 12px; font-size:54px; line-height:.92; letter-spacing:-.07em; color:var(--text)}
.wizard-sub{margin:0 0 24px; max-width:760px; color:var(--muted); font-size:17px; line-height:1.6}
.wizard-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.wizard-grid label,
.wizard-textarea-label{display:block; font-size:14px; font-weight:800; color:var(--text)}
.wizard-grid input,
.wizard-textarea-label textarea{
  width:100%;
  margin-top:8px;
  border-radius:18px;
  border:1px solid rgba(16,37,68,.13);
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color:var(--text);
  box-shadow:0 8px 18px rgba(8,24,52,.03);
}
.wizard-grid input{height:56px; padding:0 18px}
.wizard-textarea-label textarea{min-height:130px; padding:16px 18px; resize:vertical}
.wizard-grid input:focus,
.wizard-textarea-label textarea:focus{outline:none; border-color:rgba(13,47,99,.36); box-shadow:0 0 0 4px rgba(13,47,99,.08)}
.wizard-card-block{
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.block-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px}
.block-head h3{margin:0; font-size:18px; letter-spacing:-.03em}
.children-list{display:grid; gap:10px}
.check-grid,
.choice-grid{display:flex; flex-wrap:wrap; gap:12px}
.check-pill,
.choice-pill{
  appearance:none;
  border:1px solid var(--line);
  background:linear-gradient(180deg, #f7faff 0%, #f0f5fd 100%);
  color:var(--text);
  padding:14px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:all .16s ease;
}
.choice-pill:hover,
.check-pill:hover{transform:translateY(-1px); border-color:rgba(13,47,99,.20)}
.choice-pill.selected,
.check-pill.selected{
  background:linear-gradient(180deg, #1a56a8 0%, #0f3873 100%);
  color:#fff;
  border-color:#123f83;
  box-shadow:0 12px 24px rgba(13,47,99,.16);
}
.wizard-actions{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:6px}
.wizard-summary{margin-top:10px}
.summary-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
.summary-box{
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border:1px solid var(--line);
}
.summary-box span{display:block; margin-bottom:8px; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.summary-box strong{font-size:18px; line-height:1.4; color:var(--text)}
.side-box{
  margin-top:18px;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.12);
}
.side-kicker{margin-bottom:8px; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#b5cdf1}


/* Responsive */
@media (max-width:1180px){
  .hero-grid,.landing-hero-grid,.wizard-shell,.dashboard-shell{grid-template-columns:1fr}
  .hero-preview{min-height:auto}
  .dashboard-side,
  .wizard-side{position:static}
  .dashboard-side{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:980px){
  .steps-grid,.pricing-grid{grid-template-columns:1fr}
  .features-grid{grid-template-columns:1fr 1fr}
  .problem-card{flex-direction:column; align-items:flex-start}
  .problem-pills{justify-content:flex-start; max-width:none}
  .summary-grid{grid-template-columns:1fr}
  .wizard-grid{grid-template-columns:1fr}
}

@media (max-width:760px){
  .container{width:min(var(--max), calc(100% - 18px))}
  .topnav{display:none}
  .topbar{padding:10px 0}
  .topbar-inner{min-height:68px; gap:12px}
  .logo{font-size:18px}
  .topbar-actions{gap:8px}
  .topbar .btn,
  .topbar .btn-sm{min-height:38px; padding:0 12px; font-size:13px}

  .hero-wrap{padding:12px 0 14px}
  .hero-panel,
  .hero-preview,
  .section-card,
  .soft,
  .subpage-hero,
  .login-card,
  .wizard-main,
  .wizard-side,
  .dashboard-hero,
  .dash-card,
  .dashboard-side-card,
  .problem-card{padding:22px}

  .hero-panel{min-height:auto}
  .hero-title,
  .hero-panel h1,
  .dashboard-hero h1,
  .subpage-hero h1,
  .wizard-step h1,
  .login-card h1{font-size:38px}
  .hero-preview h2{font-size:34px}
  .hero-sub,
  .subpage-hero p,
  .wizard-sub{font-size:15px}
  .hero-actions{flex-direction:column; align-items:stretch}
  .hero-actions .btn{width:100%}
  .hero-bottom{grid-template-columns:repeat(2,1fr)}
  .feature-item:nth-child(3)::before,.feature-item:nth-child(odd)::before{display:none}
  .phone{width:200px; height:408px; transform:none; box-shadow:0 22px 44px rgba(7,20,43,.24), 0 0 0 6px rgba(255,255,255,.76)}
  .problem-card h2,
  .section-head h2,
  .final-cta h2{font-size:30px}
  .features-grid,
  .mini-pricing-row,
  .dashboard-grid,
  .dashboard-side,
  .stat-grid{grid-template-columns:1fr}
  .dashboard-hero{flex-direction:column; align-items:flex-start}
  .wizard-top{flex-direction:column; align-items:flex-start}
  .wizard-progress-bar{width:100%}
  .wizard-actions{flex-wrap:wrap}
  .otp-wrap{gap:8px}
  .otp-box{width:46px; height:58px; font-size:1.25rem}
}

@media (max-width:480px){
  .container{width:min(var(--max), calc(100% - 14px))}
  .hero-panel,
  .hero-preview,
  .section-card,
  .soft,
  .subpage-hero,
  .login-card,
  .wizard-main,
  .wizard-side,
  .dashboard-hero,
  .dash-card,
  .dashboard-side-card,
  .problem-card{padding:18px}
  .hero-title,
  .hero-panel h1,
  .dashboard-hero h1,
  .subpage-hero h1,
  .wizard-step h1,
  .login-card h1{font-size:34px}
  .hero-preview h2{font-size:30px}
  .btn{width:100%}
  .hero-bottom{margin-left:-18px; margin-right:-18px}
  .feature-item{padding:14px 8px}
  .problem-card h2,
  .section-head h2,
  .final-cta h2{font-size:26px}
  .price-top{padding-right:0; flex-direction:column; align-items:flex-start; gap:6px}
  .price-badge{position:static; display:inline-flex; margin-bottom:12px}
}
/* Fix mobile login layout */
.login-shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  margin: auto;
}

/* OTP boxes mobile sizing */
.otp-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.otp-box {
  width: 44px;
  height: 52px;
  font-size: 22px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #d0d6e0;
}

/* Mobile tweaks */
@media (max-width: 480px) {

  .login-card {
    padding: 24px;
    border-radius: 18px;
  }

  .otp-box {
    width: 42px;
    height: 50px;
    font-size: 20px;
  }

}
.hero-wrap-clean {
  padding-top: 28px;
  padding-bottom: 18px;
}

.hero-grid-clean {
  align-items: stretch;
  gap: 28px;
}

.hero-panel-clean,
.hero-preview-clean {
  padding: 40px;
  border-radius: 30px;
}

.hero-title-clean {
  max-width: 10ch;
  line-height: 0.96;
  margin-bottom: 18px;
}

.hero-sub-clean {
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 22px;
}

.hero-proof-clean {
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-trust-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.hero-trust-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
}

.hero-trust-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,0.55);
}

.quick-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px auto 18px;
}

.benefit-pill {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(20,59,114,0.1);
  border-radius: 999px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 10px 25px rgba(17,37,72,.05);
}

.hero-highlight-row {
  margin-bottom: 18px;
}

.clean-highlight {
  max-width: 720px;
  margin: 0 auto;
}

.problem-card-clean {
  padding: 28px 32px;
}

.stack-clean {
  gap: 42px;
  padding-bottom: 70px;
}

.centered-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 8px;
}

.centered-intro h2 {
  margin-bottom: 12px;
}

.centered-intro p {
  margin: 0 auto;
  max-width: 640px;
}

.steps-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.features-section {
  padding-top: 10px;
}

.features-grid .feature-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(20,59,114,0.08);
  box-shadow: 0 14px 34px rgba(17,37,72,.06);
}

.pricing-band {
  padding: 34px;
  border-radius: 30px;
}

.final-cta-clean {
  text-align: center;
  padding: 42px 28px;
}

.final-cta-clean p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

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

  .steps-grid-clean {
    grid-template-columns: 1fr;
  }

  .hero-panel-clean,
  .hero-preview-clean,
  .pricing-band {
    padding: 28px;
  }

  .hero-title-clean {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .quick-benefits {
    grid-template-columns: 1fr;
  }

  .benefit-pill {
    text-align: left;
  }

  .hero-panel-clean,
  .hero-preview-clean {
    padding: 22px;
    border-radius: 24px;
  }

  .problem-card-clean {
    padding: 22px;
  }
}
.hero-premium{
  position:relative;
  padding:120px 0 100px;
  overflow:hidden;
}

.hero-bg-glow{
  position:absolute;
  width:900px;
  height:900px;
  background:radial-gradient(circle,#dbe8ff 0%,transparent 70%);
  top:-250px;
  left:-200px;
  opacity:.6;
}

.hero-premium-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.hero-badge{
  display:inline-block;
  background:#eef3ff;
  color:#25418f;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  margin-bottom:18px;
}

.hero-headline{
  font-size:56px;
  line-height:1.05;
  font-weight:700;
  margin-bottom:18px;
  letter-spacing:-1px;
}

.hero-subtext{
  font-size:18px;
  color:#6b7a9a;
  max-width:460px;
  margin-bottom:28px;
}

.hero-buttons{
  display:flex;
  gap:16px;
  margin-bottom:14px;
}

.btn-xl{
  padding:14px 24px;
  font-size:16px;
}

.hero-trust{
  font-size:13px;
  color:#8a94a6;
}

.phone-wrapper{
  position:relative;
  display:flex;
  justify-content:center;
}

.phone-shadow{
  position:absolute;
  width:260px;
  height:500px;
  background:rgba(0,0,0,.08);
  filter:blur(40px);
  border-radius:40px;
  top:30px;
}

.phone{
  width:260px;
  background:#fff;
  border-radius:28px;
  padding:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.phone-header{
  font-weight:600;
  margin-bottom:16px;
  text-align:center;
}

.phone-message{
  background:#f6f7fb;
  border-radius:14px;
  padding:12px;
  margin-bottom:10px;
  font-size:14px;
}

.phone-message span{
  display:block;
  font-size:12px;
  color:#667085;
  margin-top:4px;
}

.phone-message.highlight{
  background:#eef3ff;
  border:1px solid #d5e2ff;
}

.phone-message.accent{
  background:#eaf9f2;
  border:1px solid #ccefe0;
}

@media(max-width:900px){

.hero-premium-grid{
grid-template-columns:1fr;
text-align:center;
}

.hero-buttons{
justify-content:center;
}

.hero-subtext{
margin:auto;
}

}
.hero-premium{
  position: relative;
  padding: 120px 0 150px;
  overflow: visible;
}

.floating-band-wrap{
  position: relative;
  margin-top: -58px;
  z-index: 3;
}

.floating-band{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(20,59,114,0.08);
  box-shadow: 0 24px 60px rgba(17,37,72,.10);
}

.floating-band-item{
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(245,247,252,0.72);
  border: 1px solid rgba(20,59,114,0.06);
}

.floating-band-item strong{
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.floating-band-item span{
  display: block;
  font-size: .94rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px){
  .floating-band{
    grid-template-columns: 1fr;
  }

  .floating-band-wrap{
    margin-top: -34px;
  }
}
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  background: rgba(239,239,241,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20,59,114,0.06);
}

.site-header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #143b72;
  transition: background .15s ease, color .15s ease;
}
.site-logo:hover{
  background: rgba(45,108,223,.06);
  color: #2d6cdf;
}
.site-logo-icon{ display:none; }
.site-logo-text{ display:none; }

.site-nav{
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a{
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color .18s ease, opacity .18s ease;
}

.site-nav a:hover{
  color: var(--text);
}

.site-header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-menu-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(20,59,114,0.08);
  background: rgba(255,255,255,0.84);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17,37,72,.06);
}

.site-menu-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

/* ── Account avatar & dropdown ── */

.acct-wrap{
  position: relative;
  margin-left: auto;
}

.acct-avatar{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #d4a017, #e8c252);
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: box-shadow .2s, transform .15s;
  box-shadow: 0 2px 10px rgba(212,160,23,.25);
}

.acct-avatar:hover{
  transform: scale(1.06);
  box-shadow: 0 4px 18px rgba(212,160,23,.35);
}

.acct-dropdown{
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10,30,65,.14), 0 0 0 1px rgba(10,30,65,.06);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}

.acct-dropdown.open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.acct-dropdown-name{
  padding: 10px 12px 6px;
  font-size: 13px;
  font-weight: 700;
  color: #112548;
  border-bottom: 1px solid rgba(10,30,65,.06);
  margin-bottom: 4px;
}

.acct-dropdown-item{
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}

.acct-dropdown-item:hover{
  background: rgba(10,30,65,.05);
}

.acct-dropdown-logout{
  color: #dc2626;
}

/* ── Account Modal ── */

.acct-modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,20,40,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}

.acct-modal-overlay.open{
  opacity: 1;
}

.acct-modal{
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(10,20,40,.22);
  transform: translateY(12px) scale(.97);
  transition: transform .3s ease;
}
.acct-modal-tabbed{ width: min(520px, 100%); }

.acct-modal-overlay.open .acct-modal{
  transform: translateY(0) scale(1);
}

.acct-modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 0;
}

.acct-modal-header h2{
  font-size: 1.3rem;
  font-weight: 800;
  color: #112548;
  margin: 0;
}

.acct-modal-close{
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(10,30,65,.06);
  border-radius: 10px;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}

.acct-modal-close:hover{
  background: rgba(10,30,65,.1);
}

.acct-modal-body{
  padding: 22px 26px 28px;
}

.acct-modal-avatar-row{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.acct-modal-avatar-lg{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a017, #e8c252);
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.acct-modal-avatar-name{
  font-size: 1.1rem;
  font-weight: 700;
  color: #112548;
}

.acct-modal-avatar-plan{
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.acct-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acct-form-row{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.acct-form-row label{
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.acct-form-row input,
.acct-form-row select{
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid rgba(10,30,65,.12);
  border-radius: 10px;
  font-size: 14px;
  color: #112548;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.acct-form-row input:focus,
.acct-form-row select:focus{
  border-color: #d4a017;
  box-shadow: 0 0 0 3px rgba(212,160,23,.12);
}

.acct-input-disabled{
  background: #f8fafc !important;
  color: #94a3b8 !important;
  cursor: not-allowed;
}

.acct-form-toggle{
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.acct-toggle{
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  position: relative;
  transition: background .2s;
  padding: 0;
}

.acct-toggle.is-on{
  background: #d4a017;
}

.acct-toggle-thumb{
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: transform .2s;
}

.acct-toggle.is-on .acct-toggle-thumb{
  transform: translateX(20px);
}

.acct-form-actions{
  padding-top: 6px;
}

.acct-form-actions .btn{
  width: 100%;
}

.acct-form-status{
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.acct-form-status.success{ color: #16a34a; }
.acct-form-status.error{ color: #dc2626; }

.acct-modal-section{
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(10,30,65,.08);
}

.acct-modal-section h3{
  font-size: 15px;
  font-weight: 700;
  color: #112548;
  margin: 0 0 12px;
}

.acct-plan-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acct-plan-badge{
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(212,160,23,.12), rgba(212,160,23,.06));
  color: #b8860b;
}

.acct-plan-link{
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.acct-plan-link:hover{
  text-decoration: underline;
}

.acct-modal-danger{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(10,30,65,.08);
}

.acct-logout-btn{
  width: 100%;
  padding: 10px;
  border: 1.5px solid rgba(220,38,38,.2);
  border-radius: 10px;
  background: none;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.acct-logout-btn:hover{
  background: rgba(220,38,38,.06);
}

/* ── Tabs ── */
.acct-tabs{
  display: flex;
  gap: 0;
  padding: 0 26px;
  border-bottom: 1.5px solid rgba(10,30,65,.08);
  margin-top: 4px;
}
.acct-tab{
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  transition: color .15s, border-color .15s;
}
.acct-tab:hover{ color: #475569; }
.acct-tab.active{
  color: #112548;
  border-bottom-color: #d4a017;
}
.acct-tab-panel{ display: none; }
.acct-tab-panel.active{ display: block; }

/* Prevent modal from resizing between tabs */
.acct-modal-tabbed .acct-modal-body{
  min-height: 380px;
}

/* ── Billing tab ── */
.acct-billing-plan{
  background: linear-gradient(135deg, #faf8f1, #f5f3ec);
  border: 1px solid rgba(212,160,23,.15);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}
.acct-billing-plan-header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.acct-billing-plan-name{
  font-size: 17px;
  font-weight: 800;
  color: #112548;
}
.acct-billing-plan-price{
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}
.acct-billing-desc{
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
}
.acct-billing-btns{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acct-billing-btns .btn{
  width: 100%;
  font-size: 13px;
  padding: 10px;
}
.acct-billing-features{
  margin-top: 4px;
}
.acct-billing-features-title{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.acct-billing-features ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.acct-billing-features li{
  font-size: 13px;
  color: #374151;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.acct-billing-features li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
  font-size: 12px;
}

/* ── Notifications tab ── */
.acct-section-desc{
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 18px;
}
.acct-notif-hint{
  font-size: 12px;
  color: #94a3b8;
  margin-top: -8px;
}

/* ── Billing plan options ── */
.acct-billing-section-title{
  font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:.4px; color:#94a3b8; margin:14px 0 8px;
}
.acct-billing-plan-option{
  display:flex; align-items:center; gap:10px;
  padding:12px; border:1px solid rgba(10,30,65,.06);
  border-radius:12px; margin-bottom:8px;
}
.acct-billing-plan-option-info{
  flex:1; min-width:0;
}
.acct-billing-plan-option-info strong{
  font-size:14px; color:#112548; display:block;
}
.acct-billing-plan-option-info span{
  font-size:11px; color:#64748b; display:block; margin-top:2px;
}
.acct-billing-sms-blocks{
  display:flex; gap:8px; margin-top:8px;
}
.acct-sms-block{
  flex:1; text-align:center; padding:10px 6px;
  border:1px solid rgba(10,30,65,.08); border-radius:10px;
  background:#fafbfc;
}
.acct-sms-block strong{
  display:block; font-size:13px; color:#112548;
}
.acct-sms-block span{
  display:block; font-size:12px; color:#64748b; margin-top:2px;
}
.acct-sms-block em{
  display:block; font-size:9px; font-weight:700;
  color:#059669; text-transform:uppercase; letter-spacing:.3px; margin-top:4px;
  font-style:normal;
}
.acct-sms-block.best{
  border-color:rgba(5,150,105,.2); background:rgba(5,150,105,.04);
}

/* ── Usage tab ── */
.acct-usage-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.acct-usage-card{
  background: #f8fafc;
  border: 1px solid rgba(10,30,65,.06);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.acct-usage-number{
  font-size: 28px;
  font-weight: 900;
  color: #112548;
  line-height: 1;
}
.acct-usage-label{
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.acct-usage-detail{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,30,65,.06);
}
.acct-usage-detail:last-child{ border-bottom: none; }
.acct-usage-detail-title{
  font-size: 13px;
  color: #64748b;
}
.acct-usage-detail-value{
  font-size: 13px;
  font-weight: 600;
  color: #112548;
}

@media (max-width: 900px){
  .site-nav,
  .site-header-actions{
    display: none;
  }

  .site-menu-toggle{
    display: inline-flex;
  }

  .site-header{
    padding: 14px 0;
  }

  .site-logo-icon{
    height: 34px;
  }
  .site-logo-text{
    display: none;
  }

  .acct-modal{
    width: 100%;
    border-radius: 16px;
  }
  .acct-modal-tabbed{ width: 100%; }

  .acct-modal-body{
    padding: 18px 20px 24px;
  }

  .acct-tabs{
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .acct-tab{
    padding: 10px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
}
/* ===== INDEX RESET / CLEAN REBUILD ===== */

.yr-home{
  background:
    radial-gradient(circle at top left, rgba(36,92,190,.16), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(240,179,35,.12), transparent 18%),
    linear-gradient(180deg, #eef2f8 0%, #e8edf5 100%);
}

/* header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(245,247,251,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,30,65,.08);
}

.site-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.site-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:24px;
  margin-left:auto;
}

.site-nav a{
  text-decoration:none;
  color:#5d6d86;
  font-weight:600;
  font-size:.95rem;
}

.site-nav a:hover{
  color:var(--navy-deep);
}

.site-header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.site-menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(10,30,65,.08);
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,37,72,.06);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
}

.site-menu-toggle span{
  width:18px;
  height:2px;
  border-radius:999px;
  background:#102544;
}

.mobile-menu{
  display:none;
  border-top:1px solid rgba(10,30,65,.06);
  background:rgba(245,247,251,.98);
}

.mobile-menu-inner{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
  padding:14px 0 18px;
  display:grid;
  gap:12px;
}

.mobile-menu-inner a{
  text-decoration:none;
  color:var(--text);
  font-weight:700;
}

.mobile-menu.open{
  display:block;
}

/* hero */
.hero-dark{
  position:relative;
  padding:72px 0 56px;
  overflow:hidden;
}

.hero-dark-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 10%, rgba(86,136,255,.18), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(240,179,35,.14), transparent 18%);
  pointer-events:none;
}

.hero-dark-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:34px;
  align-items:center;
}

.hero-dark-copy{
  padding:52px;
  border-radius:34px;
  color:#fff;
  background:
    linear-gradient(145deg, #173f81 0%, #0f2d5a 42%, #09192f 100%);
  box-shadow:0 28px 70px rgba(8,24,52,.24);
}

.hero-kicker{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero-dark-copy h1{
  margin:18px 0 16px;
  font-size:clamp(3rem, 6vw, 5.3rem);
  line-height:.92;
  letter-spacing:-.07em;
}

.hero-dark-copy p{
  max-width:560px;
  margin:0 0 24px;
  color:rgba(255,255,255,.82);
  font-size:17px;
  line-height:1.65;
}

.hero-meta{
  margin-top:4px;
  color:rgba(255,255,255,.66);
  font-size:13px;
}

.hero-proof-grid{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.hero-proof-item{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.10);
}

.hero-proof-item strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}

.hero-proof-item span{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.5;
}

/* device */




.device-top{
  text-align:center;
  font-weight:800;
  color:var(--navy-deep);
  margin-bottom:16px;
}

.device-list{
  display:grid;
  gap:12px;
}

.device-item{
  padding:14px;
  border-radius:18px;
  background:#f4f7fb;
  border:1px solid rgba(16,37,68,.06);
}

.device-item.featured{
  background:#e9f0ff;
  border-color:#cfdcff;
}

.device-item.accent{
  background:#e8f8ef;
  border-color:#cbead7;
}

.device-item strong{
  display:block;
  font-size:14px;
  color:var(--text);
}

.device-item span{
  display:block;
  margin-top:5px;
  font-size:12px;
  color:#697a91;
}

/* sections */
.value-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  margin:10px auto 24px;
}

.value-pill{
  padding:14px 16px;
  text-align:center;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 10px 24px rgba(8,24,52,.05);
  font-weight:700;
  color:var(--navy-deep);
}

.section-stack{
  display:grid;
  gap:26px;
  padding:20px 0 10px;
}

.section-block,
.pricing-tease-clean{
  padding:32px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(248,251,255,.96) 100%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 18px 44px rgba(8,24,52,.08);
}

.section-intro.left{
  text-align:left;
}

.section-intro.center{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}

.section-intro h2{
  margin:8px 0 12px;
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:.98;
  letter-spacing:-.06em;
  color:var(--navy-deep);
}

.section-intro p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

.problem-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.problem-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.problem-tags span{
  padding:10px 14px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(16,37,68,.08);
  color:var(--navy);
  font-size:13px;
  font-weight:700;
}

/* cards */
.feature-grid-clean{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.feature-card-clean,
.step-card{
  padding:24px;
  border-radius:24px;
  background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 14px 34px rgba(17,37,72,.06);
}

.feature-card-clean h3,
.step-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.04em;
}

.feature-card-clean p,
.step-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.center-buttons{
  justify-content:center;
}

/* cta */
.final-cta-cleaner{
  margin:24px 0 40px;
  padding:42px 30px;
  text-align:center;
  border-radius:32px;
  color:#fff;
  background:
    radial-gradient(circle at top center, rgba(240,179,35,.18), transparent 20%),
    linear-gradient(145deg, #173f81 0%, #0d2f63 55%, #091a34 100%);
  box-shadow:0 26px 60px rgba(8,24,52,.22);
}

.final-cta-cleaner h2{
  margin:10px 0 12px;
  font-size:clamp(2.2rem, 4.2vw, 4rem);
  line-height:.96;
  letter-spacing:-.06em;
}

.final-cta-cleaner p{
  margin:0 auto 20px;
  max-width:620px;
  color:rgba(255,255,255,.82);
  line-height:1.6;
}

/* responsive */
@media (max-width: 900px){
  .site-nav,
  .site-header-actions{
    display:none;
  }

  .site-menu-toggle{
    display:inline-flex;
  }

  .hero-dark-grid,
  .problem-block,
  .feature-grid-clean{
    grid-template-columns:1fr;
  }

  .hero-proof-grid,
  .value-strip,
  .mini-pricing-row{
    grid-template-columns:1fr 1fr;
  }

  .problem-block{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  .hero-dark{
    padding:48px 0 32px;
  }

  .hero-dark-copy,
  .section-block,
  .pricing-tease-clean,
  .final-cta-cleaner,
  .hero-device-card{
    padding:22px;
    border-radius:24px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-buttons .btn{
    width:100%;
  }

  .hero-proof-grid,
  .value-strip,
  .mini-pricing-row,
  .feature-grid-clean{
    grid-template-columns:1fr;
  }

  .site-logo-icon{ height:40px; }
  .site-logo-text{ display:none; }
  .site-logo-icon{ height:34px; }
  .site-logo-text{ display:none; }

  .mobile-menu-inner{
    width:min(var(--max), calc(100% - 18px));
  }
}
.hero-device-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  perspective:1400px;
}

.iphone-mockup{
  position:relative;
  width:330px;
  height:675px;
  padding:10px;
  border-radius:54px;
  background:
    linear-gradient(145deg, #202734 0%, #0b0e13 35%, #05070b 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 42px 100px rgba(7,18,38,.30),
    0 18px 36px rgba(7,18,38,.18);
  transform:rotateY(-9deg) rotateX(3deg);
  animation:phoneFloat 6s ease-in-out infinite;
}

.iphone-mockup::before{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50px;
  border:1px solid rgba(255,255,255,.07);
  pointer-events:none;
}

.iphone-screen{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:44px;
  background:
    radial-gradient(circle at top right, rgba(232,205,118,.18), transparent 28%),
    linear-gradient(180deg, #edf2fa 0%, #e6ebf4 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38);
}

/* reflection */
.screen-reflection{
  position:absolute;
  inset:-10% auto -10% -35%;
  width:52%;
  transform:rotate(14deg);
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.00) 0%,
    rgba(255,255,255,.17) 30%,
    rgba(255,255,255,.06) 58%,
    rgba(255,255,255,0) 100%
  );
  pointer-events:none;
  z-index:2;
  filter:blur(2px);
}

/* status */
.iphone-statusbar{
  position:absolute;
  top:14px;
  left:0;
  right:0;
  z-index:5;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#0c2347;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
}

.status-icons{
  display:flex;
  align-items:center;
  gap:7px;
}

.signal,
.wifi{
  display:inline-block;
  opacity:.85;
}

.signal{
  width:15px;
  height:10px;
  background:#0c2347;
  clip-path:polygon(0 100%, 0 75%, 20% 75%, 20% 55%, 40% 55%, 40% 35%, 60% 35%, 60% 20%, 80% 20%, 80% 0, 100% 0, 100% 100%);
}

.wifi{
  position:relative;
  width:14px;
  height:10px;
}

.wifi::before,
.wifi::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  border:2px solid #0c2347;
  border-color:#0c2347 transparent transparent transparent;
  border-radius:50%;
}

.wifi::before{
  top:-2px;
  width:14px;
  height:14px;
}

.wifi::after{
  top:2px;
  width:8px;
  height:8px;
}

.battery{
  position:relative;
  width:23px;
  height:11px;
  border:1.7px solid #0c2347;
  border-radius:3px;
  display:inline-block;
}

.battery::after{
  content:"";
  position:absolute;
  right:-3px;
  top:2px;
  width:2px;
  height:5px;
  border-radius:0 2px 2px 0;
  background:#0c2347;
}

.battery i{
  position:absolute;
  left:2px;
  top:2px;
  width:15px;
  height:5px;
  border-radius:2px;
  background:#0c2347;
  display:block;
}

/* dynamic island */
.dynamic-island{
  position:absolute;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  width:126px;
  height:34px;
  border-radius:999px;
  background:linear-gradient(180deg, #05070b 0%, #111418 100%);
  z-index:6;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.06),
    0 4px 10px rgba(0,0,0,.22);
  animation:islandPulse 4.5s ease-in-out infinite;
}

.dynamic-island::after{
  content:"";
  position:absolute;
  top:8px;
  right:14px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}

/* hardware buttons */
.iphone-side-button{
  position:absolute;
  z-index:1;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.08));
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
}

.iphone-side-button.mute{
  left:-3px;
  top:118px;
  width:3px;
  height:28px;
}

.iphone-side-button.vol-up{
  left:-3px;
  top:160px;
  width:3px;
  height:58px;
}

.iphone-side-button.vol-down{
  left:-3px;
  top:230px;
  width:3px;
  height:58px;
}

.iphone-side-button.power{
  right:-3px;
  top:188px;
  width:3px;
  height:88px;
}

/* app */
.device-app{
  position:relative;
  z-index:3;
  height:100%;
  padding:58px 0 0;
  display:flex;
  flex-direction:column;
}


/* ── Demo app chrome (in-app header + compose) ── */
.demo-app-chrome{
  flex-shrink:0;
  padding:10px 14px 8px;
  border-bottom:1px solid rgba(0,0,0,.04);
  background:linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.demo-app-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.demo-app-header-title{
  font-size:13px;
  color:#111827;
  font-weight:500;
}

.demo-app-header-title strong{
  font-weight:800;
}

.demo-app-header-sub{
  font-size:10px;
  color:#9ca3af;
  margin-top:1px;
}

.demo-app-badge{
  padding:3px 8px;
  border-radius:6px;
  background:rgba(45,108,223,.04);
  border:1px solid rgba(45,108,223,.08);
  color:#6b7280;
  font-size:9px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}

.demo-app-compose{
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px 10px;
  border-top:1px solid rgba(0,0,0,.04);
  background:linear-gradient(180deg, rgba(250,251,252,.85) 0%, rgba(255,255,255,.95) 100%);
}

.demo-app-img-btn{
  width:32px;
  height:32px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9ca3af;
  flex-shrink:0;
  background:#fff;
}

.demo-app-input{
  flex:1;
  height:32px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:10px;
  padding:0 12px;
  font-size:12px;
  color:#9ca3af;
  display:flex;
  align-items:center;
  background:#fff;
}

.demo-app-send{
  width:32px;
  height:32px;
  border-radius:10px;
  background:linear-gradient(135deg, #2d6cdf 0%, #2560cc 100%);
  color:#fff;
  font-size:14px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow:0 2px 6px rgba(45,108,223,.2);
}

/* Hide app chrome when SMS thread is active */
.device-app.sms-active .demo-app-chrome,
.device-app.sms-active .demo-app-compose{
  display:none;
}

.device-header{
  text-align:center;
  font-weight:700;
  font-size:16px;
  color:#0b1f42;
  margin-bottom:18px;
}


.device-scroll{
  position: relative;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-right: 4px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 84%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 84%, rgba(0,0,0,0) 100%);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.device-scroll::-webkit-scrollbar{
  display:none;
}
.device-section{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.ios-card{
  padding:16px 16px 15px;
  border-radius:18px;
  background:rgba(255,255,255,.66);
  border:1px solid rgba(0,0,0,.04);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 3px 10px rgba(0,0,0,.045);
}

.ios-card.highlight{
  background:#e3ebfa;
}

.ios-card.success{
  background:#dff0e6;
}

.ios-card.soft{
  background:rgba(255,255,255,.5);
}

.ios-title{
  font-weight:600;
  font-size:15px;
  color:#0b1f42;
  line-height:1.3;
}

.ios-sub{
  margin-top:4px;
  font-size:13px;
  color:#667892;
}

.home-indicator{
  margin-top:14px;
  width:134px;
  height:5px;
  border-radius:999px;
  background:rgba(12,35,71,.24);
  align-self:center;
  margin-bottom:2px;
}

/* animation */
@keyframes phoneFloat{
  0%{transform:rotateY(-9deg) rotateX(3deg) translateY(0);}
  50%{transform:rotateY(-9deg) rotateX(3deg) translateY(-10px);}
  100%{transform:rotateY(-9deg) rotateX(3deg) translateY(0);}
}

@keyframes islandPulse{
  0%, 100%{
    transform:translateX(-50%) scale(1);
    box-shadow:
      inset 0 -1px 0 rgba(255,255,255,.06),
      0 4px 10px rgba(0,0,0,.22);
  }
  50%{
    transform:translateX(-50%) scale(1.03);
    box-shadow:
      inset 0 -1px 0 rgba(255,255,255,.06),
      0 6px 14px rgba(0,0,0,.28);
  }
}


@media (max-width: 900px){
  .iphone-mockup{
    transform:none;
    animation:none;
  }
}

@media (max-width: 640px){
  .iphone-mockup{
    width:min(100%, 304px);
    height:620px;
    border-radius:46px;
    padding:9px;
  }

  .iphone-mockup::before{
    border-radius:42px;
  }

  .iphone-screen{
    border-radius:36px;
  }

  .dynamic-island{
    width:118px;
    height:32px;
  }
}
.hero-device-wrap{
  position:relative;
}

.hero-device-wrap::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(46,92,180,.16) 0%, rgba(46,92,180,0) 68%);
  filter:blur(10px);
  z-index:0;
}

.hero-device-wrap::after{
  content:"";
  position:absolute;
  bottom:-34px;
  width:280px;
  height:48px;
  background:radial-gradient(circle, rgba(6,18,40,.18) 0%, rgba(6,18,40,0) 72%);
  filter:blur(12px);
  z-index:0;
}
/* ===== PRICING PAGE ===== */

.pricing-page-body{
  min-height:100vh;
}

.site-nav a.is-active{
  color:var(--navy-deep);
}

.pricing-shell-clean{
  width:min(1220px, calc(100% - 28px));
  margin:34px auto 64px;
  display:grid;
  gap:22px;
}

.pricing-hero-clean{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr);
  gap:20px;
  align-items:stretch;
}

.pricing-hero-copy-clean{
  padding:38px;
  border-radius:34px;
  color:#fff;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.10), transparent 24%),
    linear-gradient(145deg, #173f81 0%, #0f2d5a 44%, #09192f 100%);
  box-shadow:0 28px 70px rgba(8,24,52,.22);
}

.pricing-hero-copy-clean h1{
  margin:18px 0 14px;
  font-size:clamp(2.7rem, 5.3vw, 4.8rem);
  line-height:.93;
  letter-spacing:-.07em;
}

.pricing-hero-copy-clean p{
  margin:0;
  max-width:680px;
  color:rgba(255,255,255,.82);
  font-size:16px;
  line-height:1.65;
}

.pricing-hero-points{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.pricing-hero-point{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.10);
}

.pricing-hero-point strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
  color:#fff;
}

.pricing-hero-point span{
  display:block;
  font-size:13px;
  line-height:1.45;
  color:rgba(255,255,255,.72);
}

.pricing-hero-aside{
  display:flex;
}

.pricing-hero-aside-card{
  width:100%;
  padding:28px;
  border-radius:34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(247,250,255,.96) 100%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 18px 44px rgba(8,24,52,.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.aside-label{
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:#eef4ff;
  color:#173f81;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.pricing-hero-aside-card h3{
  margin:14px 0 10px;
  font-size:32px;
  line-height:1;
  letter-spacing:-.04em;
  color:var(--navy-deep);
}

.pricing-hero-aside-card p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
}

.aside-price{
  font-size:42px;
  font-weight:900;
  letter-spacing:-.05em;
  color:var(--navy-deep);
}

.aside-price span{
  font-size:16px;
  font-weight:700;
  color:#718099;
  margin-left:4px;
}

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

.compare-pill{
  padding:15px 16px;
  text-align:center;
  border-radius:999px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 10px 24px rgba(8,24,52,.05);
  font-weight:700;
  color:var(--navy-deep);
}

.pricing-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.pricing-plan-card{
  position:relative;
  padding:26px;
  border-radius:30px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 18px 44px rgba(17,37,72,.06);
  display:flex;
  flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-plan-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 52px rgba(17,37,72,.09);
}

.pricing-plan-card.featured{
  background:
    radial-gradient(circle at top right, rgba(240,179,35,.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-color:rgba(20,59,114,.16);
  box-shadow:
    0 0 0 4px rgba(20,59,114,.08),
    0 24px 52px rgba(17,37,72,.10);
  transform:translateY(-6px);
}

.featured-ribbon{
  position:absolute;
  top:16px;
  right:16px;
  padding:8px 11px;
  border-radius:999px;
  background:#143b72;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}

.plan-top{
  padding-right:88px;
  margin-bottom:18px;
}

.plan-name{
  font-size:15px;
  font-weight:800;
  color:#7d8ba2;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.plan-price{
  font-size:44px;
  font-weight:900;
  line-height:.95;
  letter-spacing:-.06em;
  color:var(--navy-deep);
}

.plan-price span{
  font-size:16px;
  font-weight:700;
  color:#718099;
  margin-left:4px;
}

.plan-copy{
  margin:12px 0 0;
  min-height:68px;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.plan-feature-list{
  list-style:none;
  padding:0;
  margin:0 0 24px;
  display:grid;
  gap:12px;
}

.plan-feature-list li{
  position:relative;
  padding-left:28px;
  color:#2a4265;
  font-weight:600;
  line-height:1.5;
}

.plan-feature-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#143b72;
  font-weight:900;
}

.plan-action-wrap{
  margin-top:auto;
  display:grid;
  gap:10px;
}

.plan-subtext{
  text-align:center;
  font-size:13px;
  color:#74839b;
  line-height:1.4;
}

.pricing-faq-mini{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}

.pricing-faq-card{
  padding:22px;
  border-radius:24px;
  background:rgba(255,255,255,.80);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 12px 30px rgba(8,24,52,.05);
}

.pricing-faq-card h3{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:var(--navy-deep);
}

.pricing-faq-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.pricing-bottom-note{
  text-align:center;
  color:#72829a;
  font-size:14px;
  line-height:1.6;
}

@media (max-width: 980px){
  .pricing-hero-clean,
  .pricing-card-grid,
  .pricing-faq-mini,
  .pricing-compare-strip,
  .pricing-hero-points{
    grid-template-columns:1fr;
  }

  .pricing-plan-card.featured{
    transform:none;
  }

  .plan-copy{
    min-height:auto;
  }
}

@media (max-width: 760px){
  .pricing-shell-clean{
    width:min(100%, calc(100% - 18px));
    margin:16px auto 34px;
    gap:16px;
  }

  .pricing-hero-copy-clean,
  .pricing-hero-aside-card,
  .pricing-plan-card,
  .pricing-faq-card{
    padding:22px;
    border-radius:24px;
  }

  .pricing-hero-copy-clean h1{
    font-size:clamp(2.2rem, 10vw, 3.4rem);
  }

  .plan-top{
    padding-right:0;
  }

  .featured-ribbon{
    position:static;
    width:max-content;
    margin-bottom:14px;
  }

  .plan-price{
    font-size:38px;
  }
}
.pricing-plan-card.selected{
  border-color: rgba(20,59,114,.22);
  box-shadow:
    0 0 0 4px rgba(20,59,114,.08),
    0 24px 52px rgba(17,37,72,.10);
  transform: translateY(-4px);
}
.pricing-v2{
  width:min(1180px, calc(100% - 28px));
  margin:34px auto 64px;
  display:grid;
  gap:22px;
}

.pricing-v2-hero{
  padding:42px;
  border-radius:34px;
  color:#fff;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.10), transparent 22%),
    linear-gradient(145deg, #173f81 0%, #0f2d5a 44%, #09192f 100%);
  box-shadow:0 28px 70px rgba(8,24,52,.22);
}

.pricing-v2-hero h1{
  margin:16px 0 14px;
  font-size:clamp(2.8rem, 5.6vw, 5rem);
  line-height:.93;
  letter-spacing:-.07em;
}

.pricing-v2-hero p{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:16px;
  line-height:1.65;
}

.plan-spotlight{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:24px;
  padding:28px;
  border-radius:34px;
  background:
    radial-gradient(circle at top right, rgba(255,211,107,.22), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(20,59,114,.14);
  box-shadow:
    0 0 0 4px rgba(20,59,114,.06),
    0 28px 60px rgba(17,37,72,.10);
  overflow:hidden;
}

.plan-spotlight::before{
  content:"";
  position:absolute;
  inset:auto auto -80px -60px;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(33,83,169,.10) 0%, transparent 70%);
  filter:blur(8px);
}

.spotlight-badge{
  position:absolute;
  top:18px;
  right:18px;
  padding:9px 12px;
  border-radius:999px;
  background:#143b72;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.spotlight-plan{
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6f7f99;
  margin-bottom:10px;
}

.spotlight-left h2{
  margin:0 0 12px;
  font-size:56px;
  line-height:.95;
  letter-spacing:-.06em;
  color:#0c2347;
}

.spotlight-left h2 span{
  font-size:18px;
  font-weight:700;
  color:#73839c;
  margin-left:4px;
}

.spotlight-left p{
  margin:0;
  color:#61748f;
  line-height:1.7;
  font-size:16px;
  max-width:420px;
}

.spotlight-actions{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.spotlight-actions span{
  color:#73839c;
  font-size:14px;
  font-weight:600;
}

.spotlight-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}

.spotlight-list li{
  position:relative;
  padding:15px 16px 15px 42px;
  border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(16,37,68,.06);
  color:#233c61;
  font-weight:700;
  line-height:1.45;
}

.spotlight-list li::before{
  content:"✓";
  position:absolute;
  left:16px;
  top:14px;
  color:#143b72;
  font-weight:900;
}

.pricing-support-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.support-plan{
  padding:26px;
  border-radius:28px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 16px 38px rgba(17,37,72,.06);
  display:flex;
  flex-direction:column;
}

.premium-plan{
  background:
    radial-gradient(circle at top right, rgba(54,92,176,.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.support-plan-name{
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#75859d;
  margin-bottom:10px;
}

.support-plan-price{
  font-size:42px;
  font-weight:900;
  line-height:.95;
  letter-spacing:-.05em;
  color:#0c2347;
}

.support-plan-price span{
  font-size:16px;
  font-weight:700;
  color:#72839a;
  margin-left:4px;
}

.support-plan p{
  margin:12px 0 18px;
  color:#667892;
  line-height:1.65;
}

.support-plan ul{
  list-style:none;
  padding:0;
  margin:0 0 22px;
  display:grid;
  gap:10px;
}

.support-plan li{
  position:relative;
  padding-left:24px;
  color:#2a4265;
  font-weight:600;
  line-height:1.5;
}

.support-plan li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#143b72;
  font-weight:900;
}

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

.compare-card{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 10px 24px rgba(8,24,52,.05);
  text-align:center;
}

.compare-card strong{
  display:block;
  color:#0c2347;
  font-size:15px;
  margin-bottom:4px;
}

.compare-card span{
  color:#72839a;
  font-size:13px;
  font-weight:600;
}

.compare-card.featured{
  border-color:rgba(20,59,114,.16);
  box-shadow:
    0 0 0 3px rgba(20,59,114,.07),
    0 14px 30px rgba(17,37,72,.08);
}

@media (max-width: 980px){
  .plan-spotlight,
  .pricing-support-grid,
  .pricing-mini-compare{
    grid-template-columns:1fr;
  }

  .spotlight-badge{
    position:static;
    width:max-content;
    margin-bottom:14px;
  }
}

@media (max-width: 760px){
  .pricing-v2{
    width:min(100%, calc(100% - 18px));
    margin:16px auto 34px;
    gap:16px;
  }

  .pricing-v2-hero,
  .plan-spotlight,
  .support-plan{
    padding:22px;
    border-radius:24px;
  }

  .pricing-v2-hero h1{
    font-size:clamp(2.2rem, 10vw, 3.5rem);
  }

  .spotlight-left h2{
    font-size:44px;
  }

  .support-plan-price{
    font-size:36px;
  }

  .spotlight-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .spotlight-actions .btn{
    width:100%;
  }
}
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

/* base message */
.msg {
  display: flex;
  width: 100%;
}

/* AI (left side, gray like iMessage) */
.msg.ai {
  justify-content: flex-start;
}

.msg.ai .bubble {
  background: #e9e9eb;
  color: #000;
  border-radius: 18px;
  padding: 10px 14px;
  max-width: 75%;
  font-size: 14px;
  line-height: 1.4;
}

/* USER (right side, blue bubble) */
.msg.user {
  justify-content: flex-end;
}

.msg.user .bubble {
  background: #0a84ff;
  color: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  max-width: 75%;
  font-size: 14px;
  line-height: 1.4;
}

/* subtle polish */
.bubble {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.msg {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp 0.4s ease forwards;
}


/* ===== INDEX PAGE STABILIZER ===== */

.yr-home .hero-dark{
  position:relative;
  padding:72px 0 42px;
  overflow:hidden;
}

.yr-home .hero-dark-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:34px;
  align-items:center;
}

.yr-home .hero-dark-copy{
  padding:52px;
  border-radius:34px;
  color:#fff;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(145deg, #173f81 0%, #0f2d5a 42%, #09192f 100%);
  box-shadow:0 28px 70px rgba(8,24,52,.24);
}

.yr-home .hero-kicker{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.yr-home .hero-dark-copy h1{
  margin:18px 0 16px;
  font-size:clamp(3rem, 6vw, 5.3rem);
  line-height:.92;
  letter-spacing:-.07em;
  color:#fff;
}

.yr-home .hero-lead{
  max-width:620px;
  margin:0 0 12px;
  color:rgba(255,255,255,.90);
  font-size:18px;
  line-height:1.65;
  font-weight:600;
}

.yr-home .hero-subcopy{
  max-width:640px;
  margin:0 0 24px;
  color:rgba(255,255,255,.76);
  font-size:16px;
  line-height:1.7;
}

.yr-home .hero-buttons{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:22px;
}

.yr-home .hero-buttons.center-buttons{
  justify-content:center;
}

.yr-home .hero-meta{
  margin-top:8px;
  color:rgba(255,255,255,.66);
  font-size:13px;
  line-height:1.5;
}

.yr-home .hero-proof-grid{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.yr-home .hero-proof-item{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.10);
}

.yr-home .hero-proof-item strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
  color:#fff;
}

.yr-home .hero-proof-item span{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.5;
}

.yr-home .hero-device-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
}

.yr-home .value-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  margin:8px auto 24px;
}

.yr-home .value-pill{
  padding:14px 16px;
  text-align:center;
  border-radius:999px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 10px 24px rgba(8,24,52,.05);
  font-weight:700;
  color:var(--navy-deep);
}

.yr-home .section-stack{
  display:grid;
  gap:26px;
  padding:18px 0 10px;
}

.yr-home .section-block,
.yr-home .pricing-tease-clean{
  padding:32px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(248,251,255,.97) 100%);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 18px 44px rgba(8,24,52,.08);
}

.yr-home .section-intro.center{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}

.yr-home .section-intro.left{
  text-align:left;
}

.yr-home .section-intro h2{
  margin:8px 0 12px;
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:.98;
  letter-spacing:-.06em;
  color:var(--navy-deep);
}

.yr-home .section-intro p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

.yr-home .problem-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.yr-home .problem-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.yr-home .problem-tags span{
  padding:10px 14px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(16,37,68,.08);
  color:var(--navy);
  font-size:13px;
  font-weight:700;
}

.yr-home .steps-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

.yr-home .feature-grid-clean{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.yr-home .step-card,
.yr-home .feature-card-clean{
  padding:24px;
  border-radius:24px;
  background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border:1px solid rgba(16,37,68,.08);
  box-shadow:0 14px 34px rgba(17,37,72,.06);
}

.yr-home .step-number{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  background:linear-gradient(180deg, #eef4ff 0%, #dde9ff 100%);
  color:var(--navy);
  font-weight:800;
}

.yr-home .step-card h3,
.yr-home .feature-card-clean h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.04em;
  color:var(--navy-deep);
}

.yr-home .step-card p,
.yr-home .feature-card-clean p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.yr-home .final-cta-cleaner{
  margin:24px 0 0;
  padding:42px 30px;
  text-align:center;
  border-radius:32px;
  color:#fff;
  background:
    radial-gradient(circle at top center, rgba(240,179,35,.18), transparent 20%),
    linear-gradient(145deg, #173f81 0%, #0d2f63 55%, #091a34 100%);
  box-shadow:0 26px 60px rgba(8,24,52,.22);
}

.yr-home .final-cta-cleaner h2{
  margin:10px 0 12px;
  font-size:clamp(2.2rem, 4.2vw, 4rem);
  line-height:.96;
  letter-spacing:-.06em;
  color:#fff;
}

.yr-home .final-cta-cleaner p{
  margin:0 auto 20px;
  max-width:620px;
  color:rgba(255,255,255,.82);
  line-height:1.6;
}

@media (max-width: 980px){
  .yr-home .hero-dark-grid,
  .yr-home .steps-grid{
    grid-template-columns:1fr;
  }

  .yr-home .hero-proof-grid,
  .yr-home .value-strip{
    grid-template-columns:1fr 1fr;
  }

  .yr-home .problem-block{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  .yr-home .hero-dark{
    padding:48px 0 28px;
  }

  .yr-home .hero-dark-copy,
  .yr-home .section-block,
  .yr-home .pricing-tease-clean,
  .yr-home .final-cta-cleaner{
    padding:22px;
    border-radius:24px;
  }

  .yr-home .hero-dark-copy h1{
    font-size:clamp(2.4rem, 11vw, 3.5rem);
  }

  .yr-home .hero-lead{
    font-size:16px;
    line-height:1.6;
  }

  .yr-home .hero-subcopy{
    font-size:14px;
    line-height:1.6;
  }

  .yr-home .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .yr-home .hero-buttons .btn{
    width:100%;
  }

  .yr-home .hero-proof-grid,
  .yr-home .value-strip,
  .yr-home .feature-grid-clean{
    grid-template-columns:1fr;
  }
}
.device-scroll {
  position: relative;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-right: 4px;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.device-scroll::-webkit-scrollbar {
  display: none;
}
.chat-thread{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
}

.msg{
  display:flex;
  width:100%;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .45s ease, transform .45s ease;
}

.msg.show{
  opacity:1;
  transform:translateY(0);
}

.msg.user{
  justify-content:flex-end;
}

.msg.ai{
  justify-content:flex-start;
}

.msg.user .bubble,
.msg.ai .bubble{
  border-radius:18px;
  padding:10px 14px;
  max-width:78%;
  font-size:14px;
  line-height:1.4;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.msg.user .bubble{
  background:#0a84ff;
  color:#fff;
}

.msg.ai .bubble{
  background:#e9e9eb;
  color:#000;
}
.rich-bubble {
  display: grid;
  gap: 10px;
}

.bubble-title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.rec-card,
.gift-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.rec-top,
.gift-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.rec-top strong,
.gift-top strong {
  font-size: 13px;
  line-height: 1.3;
}

.rec-top span,
.gift-top span {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
}

.rec-copy,
.gift-copy {
  font-size: 12px;
  line-height: 1.45;
  color: #374151;
}

.rec-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rec-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
}

.rec-link-primary {
  background: #0a84ff;
  color: #fff;
  border-color: #0a84ff;
}

.brief-grid {
  display: grid;
  gap: 8px;
}

.brief-grid div {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}

.brief-grid span {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brief-grid strong {
  font-size: 12px;
  color: #111827;
  line-height: 1.35;
}

.brief-tip {
  background: #eef6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}
.msg.ai .bubble a {
  color: #0a84ff;
  text-decoration: none;
  font-weight: 600;
}

.msg.ai .bubble a:hover {
  text-decoration: underline;
}

.msg-spacer {
  margin-top: 10px;
}
.msg-spacer {
  margin-top: 18px;
}
.device-scroll {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 4px 12px 12px;
}
.demo-threads {
  position: relative;
  width: 100%;
  height: 100%;
}



.demo-thread.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.msg {
  display: flex;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.msg.show {
  opacity: 1;
  transform: translateY(0);
}

.msg.user {
  justify-content: flex-end;
}

.msg.ai {
  justify-content: flex-start;
}

.msg.user .bubble,
.msg.ai .bubble {
  border-radius: 18px;
  padding: 10px 14px;
  max-width: 78%;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.msg.user .bubble {
  background: linear-gradient(135deg, #2d6cdf 0%, #2560cc 100%);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 2px 10px rgba(45,108,223,.22);
}

.msg.ai .bubble {
  background: #f5f7fa;
  color: #111827;
  border: 1px solid rgba(45,108,223,.06);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.02);
}

.msg.ai .bubble a {
  color: #2d6cdf;
  text-decoration: none;
  font-weight: 600;
}

.msg.ai .bubble a:hover {
  text-decoration: underline;
}

/* ── iMessage SMS thread ── */

.demo-thread[data-mode="SMS"]{
  background: #fff;
}

.demo-thread[data-mode="SMS"] .msg.user .bubble {
  background: #34c759;
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  border: none;
  box-shadow: none;
}

.demo-thread[data-mode="SMS"] .msg.ai .bubble {
  background: #e5e5ea;
  color: #1c1c1e;
  border: none;
  border-radius: 18px 18px 18px 4px;
  box-shadow: none;
}

.demo-thread[data-mode="SMS"] .msg.ai .bubble a {
  color: #007aff;
}

/* iMessage chrome */
.imsg-chrome{
  flex-shrink: 0;
  background: rgba(249,249,249,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(0,0,0,.12);
  padding: 6px 12px 4px;
}

.imsg-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.imsg-back{
  font-size: 28px;
  font-weight: 300;
  color: #007aff;
  line-height: 1;
}

.imsg-contact{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.imsg-avatar{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a017, #e8c252);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.imsg-name{
  font-size: 11px;
  font-weight: 600;
  color: #1c1c1e;
}

.imsg-info{
  font-size: 18px;
  color: #007aff;
}

.imsg-sms-label{
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  color: #8e8e93;
  padding: 3px 0 2px;
  letter-spacing: 0.02em;
}

.imsg-body{
  background: #fff;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 10px !important;
}

.imsg-timestamp{
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: #8e8e93;
  padding: 4px 0 8px;
}

.imsg-compose{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 8px;
  background: #f9f9f9;
  border-top: 0.5px solid rgba(0,0,0,.12);
}

.imsg-plus{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e5ea;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: #8e8e93;
  flex-shrink: 0;
}

.imsg-field{
  flex: 1;
  height: 30px;
  border-radius: 16px;
  border: 0.5px solid rgba(0,0,0,.18);
  padding: 0 12px;
  font-size: 13px;
  color: #c7c7cc;
  display: flex;
  align-items: center;
  background: #fff;
}

.imsg-send-btn{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #34c759;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}


.demo-thread.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow-y: auto;

  padding-top: 12px;   /* 👈 add this */
  padding-right: 4px;

  scrollbar-width: none;
}
.chat-thread::-webkit-scrollbar {
  display: none;
}
.demo-thread {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
}
.demo-thread.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.top-spacer {
  height: 14px;
  flex-shrink: 0;
}
.demo-threads {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.demo-threads.is-ready {
  opacity: 1;
}
.device-thread-header {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #0b1f42;
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* Chat threads don't need the label — the app chrome header is enough */
.demo-thread[data-mode="Chat"] .device-thread-header{
  display: none;
}

/* SMS threads need full-bleed layout to show iMessage chrome edge-to-edge */
.demo-thread[data-mode="SMS"]{
  margin: -4px -12px -12px;
  padding: 0;
  width: auto;
  inset: 0;
  position: absolute;
}

#phone-demo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#phone-demo.visible {
  opacity: 1;
  transform: translateY(0);
}