:root{
  --navy:#143b72;
  --navy-deep:#0f2f5d;
  --navy-mid:#1d4e91;
  --bg:#ececef;
  --light:#f8f9fc;
  --white:#ffffff;
  --gold:#d79a14;
  --gold-deep:#c78b0a;
  --text:#173050;
  --muted:#7285a3;
  --muted-2:#97a6bb;
  --line:rgba(20,59,114,.12);
  --line-light:rgba(255,255,255,.12);
  --shadow:0 14px 32px rgba(17,37,72,.08);
  --shadow-soft:0 10px 24px rgba(17,37,72,.06);
  --radius-xl:24px;
  --radius-lg:20px;
  --radius-md:16px;
  --radius-sm:12px;
  --max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--text);
  background:radial-gradient(circle at top, rgba(29,78,145,.05), transparent 26%), var(--bg);
}

a{color:inherit}
.container{width:min(var(--max), calc(100% - 32px)); margin:0 auto}
.stack{display:grid; gap:22px; padding-bottom:42px}
.card{
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-navy{
  color:#fff;
  background:linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
}
.card-light{
  background:var(--light);
  color:var(--text);
}
.soft{padding:28px 30px}

.topbar{position:sticky; top:0; z-index:20; backdrop-filter:blur(14px); background:rgba(236,236,239,.8); border-bottom:1px solid rgba(20,59,114,.06)}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:72px}
.logo{text-decoration:none; font-weight:800; letter-spacing:-.03em}
.topnav{display:flex; gap:24px; color:var(--muted); font-weight:600; font-size:14px}
.topnav a{text-decoration:none}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:0 20px; border-radius:14px; text-decoration:none;
  font-weight:800; border:1px solid transparent; transition:.16s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  color:#fff;
  background:linear-gradient(180deg, #e6aa20 0%, var(--gold-deep) 100%);
  box-shadow:0 10px 24px rgba(200,138,8,.28);
}
.btn-secondary{
  color:var(--text);
  background:#fff;
  border-color:rgba(20,59,114,.12);
}
.btn-ghost{
  color:var(--navy);
  background:#fff;
  border-color:rgba(20,59,114,.12);
}
.btn-sm{min-height:40px; padding:0 14px; font-size:14px}
.btn-full{width:100%}

.hero-wrap{padding:22px 0 20px}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:22px; align-items:stretch}
.hero-panel{position:relative; min-height:710px; padding:34px 34px 0; display:flex; flex-direction:column}
.eyebrow{font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.72)}
.eyebrow.navy{color:#6f88b0}
.hero-panel h1{margin:18px 0 14px; font-size:68px; line-height:.93; letter-spacing:-.075em; max-width:620px}
.hero-sub{max-width:540px; color:rgba(255,255,255,.9); font-size:18px; line-height:1.48; margin:0 0 22px}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:14px}
.hero-proof{display:flex; flex-wrap:wrap; gap:12px; color:rgba(255,255,255,.82); font-size:13px; font-weight:700}
.hero-proof span{
  padding:7px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}
.example-label{font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#9fc0ee; font-weight:800; margin-bottom:10px}
.example-bubble{max-width:380px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:16px 18px; font-weight:700; line-height:1.5; box-shadow:var(--shadow-soft)}
.hero-bottom{margin-top:auto; display:grid; grid-template-columns:repeat(4, 1fr); border-top:1px solid rgba(255,255,255,.1)}
.feature-item{padding:20px 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:30px; margin-bottom:8px}
.feature-label{font-size:15px; font-weight:700; line-height:1.2}

.signup-panel{padding:28px; display:grid; grid-template-columns:minmax(0, 1fr) 220px; gap:20px; align-items:start}
.panel-top{display:flex; align-items:start; justify-content:space-between; gap:12px; margin-bottom:16px}
.panel-title{font-size:26px; font-weight:800; letter-spacing:-.05em}
.panel-sub{margin:6px 0 0; color:var(--muted); font-size:14px; line-height:1.5}
.plan-badge{
  padding:8px 10px;
  border-radius:10px;
}
.field-row{display:grid; gap:12px}
.two-col{grid-template-columns:1fr 1fr}
.signup-form label{display:block; font-size:13px; font-weight:700; color:var(--text)}
.signup-form input{width:100%; height:46px; margin-top:6px; border-radius:10px; border:1px solid #d8dfeb; background:#fff; padding:0 14px; color:var(--text); outline:none}
.signup-form input:focus{border-color:#8db0e6; box-shadow:0 0 0 3px rgba(104,148,214,.14)}
.muted{color:var(--muted-2)}
.free-box{border:1px solid var(--line); background:#fff; border-radius:14px; padding:12px 14px}
.free-box-title{font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:#6f88b0; margin-bottom:8px}
.free-box ul{margin:0; padding-left:16px; color:var(--muted); font-size:13px; line-height:1.5}
.child-head{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; font-size:13px; font-weight:700}
.ghost-link{background:none; border:none; color:var(--navy); font-weight:700; cursor:pointer; padding:0}
.child-row{display:grid; grid-template-columns:1fr 140px auto; gap:8px; margin-bottom:8px}
.child-row button{height:46px; border:1px solid #d7dde8; background:#fff; color:#66758f; border-radius:10px; cursor:pointer; font-size:12px}
.form-foot{font-size:12px; color:var(--muted); margin:0; text-align:center}

.phone-shell{display:flex; align-items:center; justify-content:center; min-height:100%}
.phone{width:220px; height:438px; border-radius:38px; background:linear-gradient(180deg, #11161f 0%, #283240 100%); padding:10px; position:relative; box-shadow:0 20px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08)}
.phone-notch{position:absolute; top:0; left:50%; transform:translateX(-50%); width:106px; height:21px; background:#0b1018; border-radius:0 0 16px 16px; z-index:2}
.phone-screen{height:100%; border-radius:30px; overflow:hidden; padding:12px; display:flex; flex-direction:column; background:linear-gradient(180deg, #1b4b8f 0%, #163c73 42%, #102a4c 100%); color:#fff}
.phone-status{display:flex; justify-content:space-between; font-size:12px; font-weight:700; padding:2px 6px 8px}
.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{border-radius:16px; padding:12px 13px}
.message-chip{background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.1)}
.message-card{background:#fff; color:var(--text); box-shadow:0 10px 18px rgba(0,0,0,.12)}
.message-card.featured{background:linear-gradient(180deg, #fff 0%, #f7faff 100%)}
.message-card.accent{background:linear-gradient(180deg, #f1f6ff 0%, #e5efff 100%)}
.message-kicker{font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#6883aa; 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.25}
.message-sub{margin-top:4px; font-size:12px; line-height:1.35; color:#647a99}
.phone-compose{margin-top:10px; display:grid; grid-template-columns:26px 1fr 26px; gap:8px; align-items:center; padding:8px 10px; background:rgba(255,255,255,.14); border-radius:16px; 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:22px}
.problem-card{display:flex; justify-content:space-between; align-items:center; gap:24px}
.problem-card h2,.section-head h2,.final-cta h2{margin:8px 0 10px; font-size:40px; line-height:1.03; letter-spacing:-.05em}
.problem-card p,.section-head p,.final-cta p{margin:0; color:var(--muted); line-height:1.6; font-size:15px}
.problem-pills{display:flex; flex-wrap:wrap; gap:10px; max-width:420px; justify-content:flex-end}
.problem-pills span{
  padding:9px 13px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  font-weight:700;
  font-size:13px;
}
.section-card{padding:30px}
.section-head{max-width:720px; margin-bottom:24px}
.section-head-light p{color:rgba(255,255,255,.82)}
.steps-grid,.features-grid,.pricing-grid,.quotes-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}
.quotes-grid{grid-template-columns:repeat(3, minmax(0,1fr))}
.step-card,.feature-card,.price-card,.quote-card{border-radius:18px}
.step-card{padding:22px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-soft)}
.step-number{width:36px; height:36px; border-radius:12px; background:#eef4ff; color:var(--navy); display:grid; place-items:center; font-weight:800; margin-bottom:14px}
.step-card h3,.feature-card h3,.price-card h3{margin:0 0 8px; font-size:21px; line-height:1.15; letter-spacing:-.03em}
.step-card p,.feature-card p{margin:0; color:var(--muted); line-height:1.55; font-size:14px}
.feature-card.dark{padding:22px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.08)}
.feature-card.dark p{color:rgba(255,255,255,.82)}
.price-card{padding:22px; background:#fff; border:1px solid var(--line); position:relative}
.featured-price{border:2px solid rgba(215,154,20,.42); box-shadow:0 16px 34px rgba(200,138,8,.12)}
.price-badge{position:absolute; top:14px; right:14px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#8f6507; background:#fff5da; padding:8px 10px; border-radius:10px}
.price-top{display:flex; justify-content:space-between; align-items:end; gap:10px; padding-right:90px; margin-bottom:16px}
.price{font-size:32px; font-weight:900; letter-spacing:-.05em}
.price span{font-size:14px; color:var(--muted); font-weight:700; margin-left:2px}
.price-card ul{margin:0 0 18px; padding-left:18px; line-height:1.7; color:var(--muted); font-size:14px}
.quote-card{padding:22px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-soft); font-size:18px; font-weight:700; line-height:1.5; letter-spacing:-.02em}
.final-cta{text-align:center}
.final-cta p{max-width:700px; margin:0 auto}
.centered{justify-content:center; margin-top:20px}

@media (max-width: 1100px){
  .hero-grid,.pricing-grid,.steps-grid,.quotes-grid{grid-template-columns:1fr}
  .features-grid{grid-template-columns:1fr 1fr}
  .signup-panel{grid-template-columns:1fr}
  .hero-panel{min-height:auto}
  .problem-card{flex-direction:column; align-items:flex-start}
  .problem-pills{justify-content:flex-start; max-width:none}
  .phone-shell{padding-top:4px}
}

@media (max-width: 760px){
  .container{width:min(calc(100% - 18px), var(--max))}
  .topnav{display:none}
  .hero-panel,.signup-panel,.section-card,.soft{padding:22px}
  .hero-panel h1{font-size:48px}
  .hero-sub{font-size:16px}
  .hero-bottom{grid-template-columns:repeat(2, 1fr)}
  .feature-item:nth-child(3)::before{display:none}
  .feature-item:nth-child(odd)::before{display:none}
  .two-col,.features-grid{grid-template-columns:1fr}
  .problem-card h2,.section-head h2,.final-cta h2{font-size:32px}
  .quotes-grid,.steps-grid,.pricing-grid{grid-template-columns:1fr}
  .child-row{grid-template-columns:1fr}
}


/* --- MOBILE OPTIMIZATION PASS --- */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  .signup-panel{grid-template-columns:1fr; gap:18px}
  .phone-shell{order:-1; min-height:auto; padding-top:0}
  .phone{width:210px; height:418px}
}

@media (max-width: 760px){
  .topbar{padding:12px 0}
  .topbar-inner{gap:12px}
  .logo{font-size:18px}
  .topbar .btn-sm{min-height:38px; padding:0 12px; font-size:13px}

  .hero-wrap{padding:12px 0 14px}
  .hero-panel,
  .signup-panel,
  .section-card,
  .soft{padding:20px}

  .hero-panel{min-height:auto; border-radius:20px}
  .hero-panel h1{font-size:42px; line-height:.96; letter-spacing:-.06em; margin:14px 0 12px}
  .hero-sub{font-size:15px; line-height:1.5; margin-bottom:18px}
  .hero-actions{flex-direction:column; align-items:stretch; gap:10px}
  .hero-actions .btn{width:100%}
  .hero-proof{gap:8px}
  .hero-proof span{font-size:12px; padding:7px 10px}
  .hero-example{margin-top:18px}
  .example-bubble{max-width:none; font-size:14px; line-height:1.45}

  .hero-bottom{grid-template-columns:repeat(2,1fr)}
  .feature-item{padding:16px 10px}
  .feature-icon{font-size:26px}
  .feature-label{font-size:13px}

  .panel-top{flex-direction:column; align-items:flex-start; margin-bottom:14px}
  .panel-title{font-size:24px}
  .plan-badge{padding:8px 10px}
  .signup-form{gap:10px}
  .signup-form input{height:44px; font-size:16px}
  .free-box{padding:12px}
  .btn-full{min-height:50px}
  .form-foot{text-align:left; line-height:1.45}

  .phone-shell{order:0}
  .phone{width:min(100%, 220px); height:430px; margin:4px auto 0}
  .phone-screen{padding:11px}
  .message-chip,.message-card{padding:11px 12px}
  .message-body{font-size:13px}
  .message-sub{font-size:11px}

  .problem-strip{padding-bottom:16px}
  .problem-card{padding:20px; gap:16px}
  .problem-card h2,
  .section-head h2,
  .final-cta h2{font-size:28px; line-height:1.05}
  .problem-card p,
  .section-head p,
  .final-cta p{font-size:14px; line-height:1.55}
  .problem-pills{gap:8px}
  .problem-pills span{font-size:12px; padding:8px 11px}

  .section-head{margin-bottom:18px}
  .step-card,
  .feature-card.dark,
  .price-card,
  .quote-card{padding:18px}
  .step-card h3,
  .feature-card h3,
  .price-card h3{font-size:19px}
  .quote-card{font-size:16px; line-height:1.45}
  .price-top{padding-right:0; flex-direction:column; align-items:flex-start; gap:4px}
  .price-badge{position:static; display:inline-flex; margin-bottom:12px}
  .price{font-size:30px}

  .centered{margin-top:16px}
}

@media (max-width: 480px){
  .container{width:min(calc(100% - 14px), var(--max))}
  .topbar{padding:10px 0}
  .hero-panel,
  .signup-panel,
  .section-card,
  .soft{padding:18px}
  .hero-panel h1{font-size:36px}
  .hero-sub{font-size:14px}
  .btn{width:100%; min-height:48px; font-size:15px}
  .hero-bottom{margin-left:-18px; margin-right:-18px}
  .feature-item{padding:14px 8px}
  .feature-label{font-size:12px}
  .panel-title{font-size:22px}
  .signup-form label{font-size:12px}
  .signup-form input{height:42px}
  .child-head{align-items:flex-start; flex-direction:column; gap:6px}
  .phone{width:198px; height:404px}
  .problem-card h2,
  .section-head h2,
  .final-cta h2{font-size:25px}
  .step-number{width:32px; height:32px; border-radius:10px; margin-bottom:12px}
  .quote-card{font-size:15px}
}
