/* EnrolHero's public page (branding B: navy and teal, Inter). */
:root {
  --navy: #0F2A4A;
  --deep: #0B1B30;
  --teal: #14B8A6;
  --teal-dark: #0F766E;
  --teal-wash: #CCF3EE;
  --text: #0B1B30;
  --muted: #475569;
  --soft: #64748B;
  --line: #E2E8F0;
  --page: #F5F7FA;
  --card: #FFFFFF;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--page); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); font-size: 24px; letter-spacing: -0.4px; }
.brand .mark { flex-shrink: 0; }
.brand b { font-weight: 800; }
.brand span { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--navy); }
.btn { display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; border-radius: 12px; padding: 14px 22px; min-height: 48px; }
.btn-primary { background: var(--navy); color: #fff !important; }
.btn-primary:hover { background: var(--deep); }
.btn-outline { background: #fff; color: var(--navy) !important; border: 1.5px solid #B9C7D8; }
.nav .btn { padding: 11px 18px; min-height: 44px; }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.pill { display: inline-block; background: var(--teal-wash); color: #0F5E55; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.07; letter-spacing: -1.3px; font-weight: 800; margin: 18px 0 16px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Screenshots */
.shot { margin: 0; }
.frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 27, 48, 0.16), 0 4px 12px rgba(11, 27, 48, 0.06); }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF2F6; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.frame .bar span { margin-left: 10px; font-size: 12px; color: var(--soft); background: #fff; border-radius: 6px; padding: 2px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame img, .phone img { width: 100%; height: auto; }
.pins { position: relative; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.25); }
.callouts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.callouts li { display: flex; align-items: center; gap: 10px; }
.callouts b { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 12px; display: grid; place-items: center; }
.shot .note { display: block; margin-top: 10px; font-size: 12.5px; color: var(--soft); }
.see { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.see figcaption { margin-top: 16px; color: var(--muted); font-size: 15.5px; max-width: 34em; }
.see figcaption strong { color: var(--text); }
.phone-shot { justify-self: center; max-width: 320px; width: 100%; }
.phone { border: 10px solid var(--deep); border-radius: 40px; overflow: hidden; background: var(--deep); box-shadow: 0 24px 60px rgba(11, 27, 48, 0.22); }
.phone img { border-radius: 30px; }
@media (max-width: 800px) { .see { grid-template-columns: minmax(0, 1fr); } .pin { width: 20px; height: 20px; font-size: 11px; } }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 0 32px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.8px; line-height: 1.15; margin: 0 0 10px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-wash); color: var(--teal-dark); display: grid; place-items: center; }
.who { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.who .card { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 17px; }
.extras { margin-top: 18px; color: var(--muted); font-size: 15px; }
.extras strong { color: var(--text); }

/* Story */
.story { background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: center; }
.story blockquote { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 500; }
.story .who-said { margin-top: 18px; font-size: 15px; color: #CBD5E1; }
.story .who-said strong { color: #fff; }
.story .logo { background: #fff; border-radius: 20px; padding: 18px; max-width: 220px; justify-self: center; }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.plan h3 { margin: 0; font-size: 19px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.plan .per { font-size: 14px; color: var(--soft); margin-top: -6px; }
.plan .desc { color: var(--muted); font-size: 14px; margin: 0; }
.plan ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.plan li { margin: 3px 0; }
.addons { margin-top: 20px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.addon { background: #fff; border: 1px dashed #CBD5E1; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--muted); }
.addon strong { color: var(--text); display: block; }
.note { color: var(--soft); font-size: 14px; margin-top: 14px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Demo form */
.demo { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.form { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--text); min-height: 48px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(20, 184, 166, 0.45); outline-offset: 2px; border-color: var(--teal-dark); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 15px; font-weight: 600; margin: 0; }
.msg.ok { color: #0F5E55; }
.msg.err { color: #B42318; }

/* Footer */
footer { background: var(--deep); color: #CBD5E1; padding: 40px 0; margin-top: 40px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer a { color: #E2E8F0; }
footer a:hover { color: #fff; }
.staging { background: #FEF3C7; color: #78350F; text-align: center; font-size: 13px; font-weight: 700; padding: 6px; }

/* Legal pages */
.legal { max-width: 760px; padding: 48px 20px 24px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 30px; }
.legal p, .legal li { color: #334155; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }

@media (max-width: 640px) {
  .nav { gap: 14px; font-size: 14px; }
  .story, .demo { padding: 24px; }
  section { padding: 40px 0; }
}
