.hero{max-width:var(--content-max);margin:0 auto;padding:80px 40px 45px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px}
.hero h1{font-size:72px;line-height:.98;margin:0 0 25px;letter-spacing:-3px}
.hero-buttons{display:flex;gap:14px;margin-top:30px}
.hero-visual{min-height:500px;position:relative;display:flex;align-items:center;justify-content:center}
.orb{position:absolute;width:390px;height:390px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#D8FAF5,#B9E6EC 48%,#D3E8F3);opacity:.95}
.person-card{z-index:2;width:300px;height:370px;border-radius:38px;background:linear-gradient(160deg,#D5E3EF,#7C98B0);box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:72px;color:white}
.person-card strong{font-size:25px;text-align:center;margin-top:15px}
.float-card{position:absolute;z-index:3;background:rgba(255,255,255,.92);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.8);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:6px;min-width:145px}
.float-card b{font-size:14px}
.float-card small{font-size:11px;color:var(--muted)}
.float-card.top{top:50px;left:20px}
.float-card.left{left:0;top:240px}
.float-card.right{right:0;top:185px}
.float-card.bottom{bottom:25px;right:70px}
.features{max-width:var(--content-max);margin:0 auto 50px;padding:32px 40px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;background:linear-gradient(90deg,#E9FAF8,#F5F8FF);border-radius:24px}
.features article{display:grid;grid-template-columns:55px 1fr;column-gap:12px}
.features h3{font-size:14px;margin:5px 0}
.features p{grid-column:2;color:#566574;font-size:12px;line-height:1.6;margin:0}
.showcase{max-width:var(--content-max);margin:0 auto 70px;padding:70px 40px;display:grid;grid-template-columns:1fr 420px;gap:80px;align-items:center}
.showcase h2{font-size:52px;line-height:1.05;margin:0 0 22px}
.phone{background:#FBFCFE;border:10px solid #111E2B;border-radius:50px;padding:25px;box-shadow:var(--shadow)}
.phone-top{display:flex;justify-content:space-between;font-size:12px;align-items:center}
.phone-top b{font-size:23px;letter-spacing:2px}
.phone h2{font-size:25px;margin:32px 0 5px}
.phone>p{font-size:13px;color:var(--muted)}
.goal-card,.lesson-mini{background:white;border:1px solid var(--line);box-shadow:0 8px 25px rgba(13,27,42,.06);border-radius:18px;padding:18px;margin-top:20px}
.goal-card span{font-size:12px}
.goal-card strong{display:block;font-size:27px;margin:8px 0}
.goal-card small{font-size:12px;font-weight:400}
.bar{height:9px;border-radius:20px;background:#E8EDF2;overflow:hidden;margin-top:10px}
.bar i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,var(--teal),#6AC8C7)}
.phone h3{font-size:15px;margin:25px 0 12px}
.phone h3 a{float:right;color:#315C99;font-weight:500}
.lesson-mini{display:flex;gap:15px;align-items:center;font-size:36px}
.lesson-mini b{display:block;font-size:14px}
.lesson-mini small{display:block;font-size:11px;color:var(--muted)}
.lesson-mini>div{flex:1}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.quick-grid a{height:85px;border-radius:18px;background:#EEF8F7;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:25px}
.quick-grid a:nth-child(2){background:#EDF3FC}
.quick-grid a:nth-child(3){background:#F1EDFC}
.quick-grid a:nth-child(4){background:#FFF6E4}
.quick-grid small{font-size:9px;margin-top:5px;color:#556371}

.bar-fill-70{width:70%}.bar-fill-80{width:80%}

/* Home page responsive rules live with the home page CSS. */
@media(max-width:900px){
  .hero{grid-template-columns:1fr;padding:55px 25px;gap:28px;overflow:hidden}
  .hero-copy{min-width:0}
  .hero h1{font-size:58px;letter-spacing:-2.5px}
  .hero-visual{min-height:430px;width:100%;overflow:hidden}
  .showcase{grid-template-columns:1fr;padding:55px 25px;gap:40px}
  .phone{max-width:420px;width:100%;margin:auto}
  .features{max-width:var(--content-max)}
}
@media(max-width:600px){
  .hero{grid-template-columns:1fr;padding:36px 16px 28px;gap:18px;width:100%;max-width:100%;overflow:hidden}
  .hero h1{font-size:46px;line-height:.98;letter-spacing:-2.2px;overflow-wrap:anywhere}
  .hero-copy{width:100%;max-width:100%}
  .hero .lead{font-size:15px;line-height:1.65}
  .hero-buttons{flex-direction:column;align-items:stretch;width:100%;gap:10px}
  .hero-buttons .btn{width:100%}
  .hero-visual{display:none}
  .features{margin:0 12px 32px;padding:20px 16px;border-radius:20px}
  .showcase{grid-template-columns:1fr;padding:44px 16px 55px;gap:28px}
  .showcase-copy{min-width:0}
  .showcase h2{font-size:34px;line-height:1.05;letter-spacing:-1px}
  .phone{width:100%;max-width:380px;margin:0 auto;border-width:8px;border-radius:36px;padding:20px}
}
@media(max-width:380px){
  .hero h1{font-size:40px}
  .hero .lead{font-size:14px}
  .showcase h2{font-size:31px}
  .phone{padding:18px;border-width:7px}
}

/* Robust responsive layout for tablet and phone widths. */
.hero,.features,.showcase{box-sizing:border-box;width:min(var(--content-max),calc(100% - var(--content-gutter)));max-width:none}
.hero-copy,.hero-visual,.showcase-copy,.phone,.features article{min-width:0;max-width:100%}

@media(max-width:1180px){
  .hero{grid-template-columns:1fr;padding:58px 28px;gap:28px}
  .hero-visual{min-height:420px;overflow:hidden}
  .showcase{grid-template-columns:1fr 420px;padding:58px 28px;gap:42px}
  .features{grid-template-columns:repeat(2,minmax(0,1fr));padding:28px}
}
@media(max-width:900px){
  .hero{grid-template-columns:1fr;padding:48px 24px;gap:24px}
  .hero-visual{display:none}
  .showcase{grid-template-columns:1fr;padding:48px 24px;gap:32px}
  .phone{width:min(420px,100%);margin-inline:auto}
}
@media(max-width:600px){
  .hero{padding:32px 16px 28px;gap:18px}
  .hero h1{font-size:44px;line-height:.98;letter-spacing:-2px;overflow-wrap:anywhere}
  .hero .lead{font-size:15px;line-height:1.6}
  .hero-buttons{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:10px}
  .hero-buttons .btn{width:100%;box-sizing:border-box}
  .features{grid-template-columns:1fr;padding:18px 14px;margin:0 10px 28px;width:calc(100% - 20px)}
  .features article{grid-template-columns:50px minmax(0,1fr);column-gap:10px}
  .showcase{grid-template-columns:1fr;padding:40px 16px 48px;gap:26px}
  .showcase h2{font-size:32px;line-height:1.06;overflow-wrap:anywhere}
  .phone{width:100%;max-width:380px;padding:18px;border-width:8px;border-radius:34px}
}
@media(max-width:380px){
  .hero h1{font-size:38px}
  .showcase h2{font-size:29px}
  .phone{max-width:340px;padding:16px;border-width:7px}
}

/* Dashboard phone mockup: aligned with VOQULI's real UI language. */
.phone-demo{
  border:7px solid var(--navy);
  border-radius:38px;
  padding:22px 18px 18px;
  background:#FBFCFE;
}
.phone-demo .phone-top{
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--teal-dark);
  font-size:11px;
}
.phone-demo .phone-top img{
  display:block;
  width:auto;
  height:22px;
  max-width:110px;
  object-fit:contain;
}
.phone-demo .phone-streak{color:var(--muted)}
.phone-welcome{margin-top:26px}
.phone-demo .phone-welcome h2{font-size:23px;line-height:1.05;margin:0 0 5px;letter-spacing:-.5px}
.phone-demo .phone-welcome p{margin:0;font-size:12px;color:var(--muted)}
.phone-demo .goal-card{margin-top:18px;padding:16px;border-radius:18px}
.phone-demo .goal-card>b{font-size:14px}
.phone-demo .goal-card strong{font-size:31px;margin:9px 0}
.phone-demo .phone-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:22px 0 10px;
}
.phone-demo .phone-section-title h3{margin:0;font-size:15px}
.phone-demo .phone-section-title a{float:none;font-size:11px;color:#315C99;font-weight:600}
.phone-demo .phone-section-title.compact{margin-top:22px;margin-bottom:10px}
.phone-demo .lesson-mini{margin-top:0;padding:14px;border-radius:18px;gap:12px;font-size:14px}
.phone-demo .lesson-mini-icon{
  width:44px;height:44px;display:grid;place-items:center;border-radius:13px;
  background:#FFF1F0;font-size:24px;flex:0 0 auto;
}
.phone-demo .lesson-mini b{font-size:13px}
.phone-demo .lesson-mini small{font-size:10px}
.phone-demo .bar{height:7px;margin-top:8px}
.phone-demo .quick-grid{gap:8px}
.phone-demo .quick-grid a{
  height:74px;border-radius:16px;font-size:22px;
  border:1px solid var(--line);box-shadow:none;
}
.phone-demo .quick-grid a span{line-height:1}
.phone-demo .quick-grid small{font-size:8px;margin-top:5px}
@media(max-width:900px){
  .phone-demo{max-width:420px}
}
@media(max-width:600px){
  .phone-demo{max-width:360px;padding:18px 15px 15px;border-width:6px;border-radius:32px}
  .phone-demo .phone-top img{height:19px;max-width:95px}
  .phone-demo .phone-welcome h2{font-size:21px}
}

/* Hero title: keep VOQULI navy as the base and use the brand teal + blue
   to give the three core actions distinct emphasis. */
.hero-title .hero-word{display:inline-block}
.hero-title .hero-word-0{color:var(--navy)}
.hero-title .hero-word-1{color:var(--teal-dark)}
.hero-title .hero-word-2{color:var(--navy)}

/* Color treatment for the hero/showcase messaging. */
.showcase-title .showcase-line{display:inline}
.showcase-title .showcase-line-0,
.showcase-title .showcase-line-2{color:var(--navy)}
.showcase-title .showcase-line-1{color:var(--teal-dark)}

/* Isolated fix: showcase body copy must never inherit heading/emphasis weight. */
.showcase-copy .showcase-body-text{
  font-family:Poppins,Arial,sans-serif !important;
  font-size:inherit !important;
  font-weight:normal !important;
  font-style:normal !important;
  letter-spacing:normal;
}
