/* siapschool.com. Brand teal #00a8bc (the app's default primary). */
:root{--brand:#00a8bc;--brand-dark:#00869a;--brand-soft:#e6f7f9;--ink:#0f172a;--muted:#5b6475;--line:#e5e9f0;--bg:#ffffff;--alt:#f6f9fb;--radius:16px;--shadow:0 10px 30px rgba(15,23,42,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--brand-dark)}
h1,h2,h3{line-height:1.2;margin:0 0 .5em;letter-spacing:-.02em}
h1{font-size:clamp(2rem,4.5vw,3.25rem);font-weight:800}
h2{font-size:clamp(1.6rem,3vw,2.25rem);font-weight:800}
h3{font-size:1.1rem;font-weight:700}
p{margin:0 0 1em}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 16px}
.narrow{max-width:760px}
.muted{color:var(--muted)}
.small{font-size:.875rem}
.center{text-align:center;margin-top:28px}
.d-block{display:block}
.lead{font-size:1.125rem;color:var(--muted);max-width:640px}
.eyebrow .ico{width:18px;height:18px}
.eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-dark);margin-bottom:12px}
.hl{color:var(--brand)}
.tag{display:inline-block;font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);vertical-align:middle}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;border-radius:12px;font-weight:700;font-size:.95rem;text-decoration:none;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:transform .15s,box-shadow .15s,background .15s;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-lg{padding:14px 24px;font-size:1rem}
.btn-block{width:100%;margin:16px 0 8px}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(0,168,188,.3)}
.btn-primary:hover{background:var(--brand-dark)}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--brand);color:var(--brand-dark)}
.btn-light{background:#fff;color:var(--brand-dark)}
.btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}

/* nav */
.nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line)}
.nav-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;flex-wrap:wrap}
.logo{display:inline-flex;align-items:center;gap:8px;font-size:1.25rem;font-weight:600;color:var(--ink);text-decoration:none}
.logo b{color:var(--brand);font-weight:800}
.logo-img{height:34px;width:auto;max-width:200px;object-fit:contain}
.logo-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--brand-soft)}
.logo-mark .ico{width:24px;height:24px}
.nav-links{display:flex;align-items:center;gap:6px}
.nav-links>a:not(.btn){padding:8px 12px;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:600}
.nav-links>a:not(.btn):hover,.nav-links>a.active{color:var(--ink);background:var(--alt)}
.nav-toggle{display:none}
.nav-burger{display:none;font-size:1.8rem;cursor:pointer;color:var(--ink)}

/* hero: the app's own teal-to-navy header, rounded at the bottom like the app, with the logo's
   slanted blocks as shapes and a faint dot grid */
.hero{position:relative;overflow:hidden;color:#fff;padding:64px 0 28px;border-radius:0 0 40px 40px;
  background:radial-gradient(rgba(255,255,255,.09) 1px,transparent 1.2px) 0 0/22px 22px,linear-gradient(135deg,#0798ad 0%,#0a6f8f 48%,#0b4a73 100%)}
.hero-shapes .sq{position:absolute;background:rgba(255,255,255,.07);transform:skewX(-12deg);border-radius:6px}
.hero-shapes .s1{width:180px;height:180px;right:-40px;top:-40px}
.hero-shapes .s2{width:90px;height:90px;right:150px;top:150px;background:rgba(255,255,255,.05)}
.hero-shapes .s3{width:120px;height:120px;left:-50px;bottom:60px}
.hero-shapes .s4{width:60px;height:60px;left:42%;top:30px;background:rgba(255,255,255,.05)}
.hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero-kicker{font-weight:700;color:#a5ecf5;margin-bottom:14px}
.hero h1{color:#fff;max-width:600px}
.hero .lead{color:rgba(255,255,255,.85)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 18px}
.hero-note{font-size:.9rem;color:rgba(255,255,255,.75);margin:0}
.hero-visual{position:relative;display:flex;justify-content:center;padding:8px 0 24px}
.notif{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 16px 40px rgba(2,32,54,.3);font-size:.85rem;line-height:1.3}
.notif b{display:block}
.notif small{color:var(--muted)}
.notif-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--brand-soft);flex:none}
.notif-icon .ico{width:24px;height:24px}
.notif.n1{left:0;top:22%}
.notif.n2{right:0;bottom:18%}
.hero-modules{position:relative;display:flex;flex-wrap:wrap;gap:8px;margin-top:36px;padding-top:24px;border-top:1px solid rgba(255,255,255,.15)}
.hero-modules span{display:inline-flex;align-items:center;gap:6px;padding:5px 12px 5px 6px;border-radius:999px;background:rgba(255,255,255,.94);font-size:.82rem;font-weight:600;color:var(--ink)}
.hero-modules .ico{width:20px;height:20px}
.checks{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.checks li{display:flex;gap:8px;align-items:flex-start;color:var(--muted)}
.checks .ico{width:20px;height:20px;flex:none;margin-top:2px}

/* Android phone frame (partials/phone.ejs) */
.phone{position:relative;width:260px;aspect-ratio:738/1600;padding:10px;border-radius:40px;background:#111827;box-shadow:0 30px 60px rgba(15,23,42,.25),inset 0 0 0 2px #374151}
.phone-screen{position:relative;width:100%;height:100%;border-radius:31px;overflow:hidden;background:#000}
.phone-screen img{width:100%;height:100%;object-fit:cover}
.phone-cam{position:absolute;top:1.6%;left:50%;width:4.5%;aspect-ratio:1;transform:translateX(-50%);border-radius:50%;background:#0b0f17;box-shadow:0 0 0 2px #1f2937}
.phone-btn{position:absolute;right:-3px;width:3px;border-radius:0 3px 3px 0;background:#374151}
.phone-btn-power{top:22%;height:9%}
.phone-btn-vol{top:34%;height:15%}
.phone-hero{width:280px}
.app-grid{display:grid;grid-template-columns:auto 1fr;gap:64px;align-items:center}
.app-phone{display:flex;justify-content:center}
.app-grid .checks{margin-bottom:24px}

/* sections */
.section{padding:72px 0}
.section.alt{background:radial-gradient(rgba(0,134,154,.07) 1px,transparent 1.2px) 0 0/22px 22px,linear-gradient(180deg,#f2f9fb,#f7fafc)}
.section-head{text-align:center;max-width:680px;margin:0 auto 40px}
.row-head{display:flex;justify-content:space-between;align-items:flex-end;text-align:left;max-width:none;gap:16px;flex-wrap:wrap}
.page-head{padding:56px 0 40px;margin-bottom:8px;border-radius:0 0 32px 32px;background:radial-gradient(rgba(0,134,154,.08) 1px,transparent 1.2px) 0 0/22px 22px,linear-gradient(180deg,#e6f6f8,#f4fafb)}

.grid{display:grid;gap:20px}
/* Grid children may shrink below their content (else a wide child widens the page on phones). */
.hero-grid>*,.grid>*,.app-grid>*,.pricing>*,.demo-grid>*,.foot-grid>*,.feature-row>*{min-width:0}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);color:inherit;text-decoration:none}
.card-body{padding:24px}
.feature{padding:28px}
.feature-ico{display:grid;place-items:center;width:60px;height:60px;border-radius:16px;background:var(--brand-soft);margin-bottom:16px}
.feature-ico .ico{width:34px;height:34px}
.module{padding:22px;transition:box-shadow .2s,transform .2s}
.module:hover,.post-card:hover,.school:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.module-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.module-head h3{margin:0}
.module p{font-size:.92rem;margin:0}
.icon{display:inline-grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);font-size:1.35rem}
.icon .ico{width:26px;height:26px}
.icon.big .ico{width:38px;height:38px}
.ico{display:inline-block;vertical-align:middle}
.icon.big{width:64px;height:64px;font-size:2rem;border-radius:18px}
.icon.ok{background:var(--brand-soft);margin-bottom:16px}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:s}
.step{position:relative;padding:28px;border:1px dashed #cbd5e1;border-radius:var(--radius)}
.step>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;margin-bottom:14px}

.school{display:flex;align-items:center;gap:12px;padding:16px;transition:box-shadow .2s,transform .2s}
.school-logo{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:12px;background:var(--alt);overflow:hidden}
.school-logo .ico{width:30px;height:30px}
.school-logo img{width:100%;height:100%;object-fit:contain}

.post-card{overflow:hidden;transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column}
.post-cover{aspect-ratio:16/9;background:var(--brand-soft);display:grid;place-items:center}
.post-cover .ico{width:56px;height:56px;opacity:.8}
.post-cover img{width:100%;height:100%;object-fit:cover}
.post-card h3{margin:6px 0}
.post-card p{font-size:.92rem;margin:0}
.post-title{margin-top:12px}
.post-hero{width:100%;border-radius:var(--radius);margin:16px 0 28px}
.prose{font-size:1.06rem}
.prose h2{font-size:1.5rem;margin-top:1.6em}
.prose h3{font-size:1.2rem;margin-top:1.4em}
.prose blockquote{margin:1.2em 0;padding:4px 18px;border-left:4px solid var(--brand);color:var(--muted)}
.prose table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}
.prose td,.prose th{border:1px solid var(--line);padding:8px}
.prose iframe{max-width:100%}

.faq{background:#fff;border:1px solid var(--line);border-radius:14px;padding:4px 20px;margin-bottom:12px}
.faq summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq[open] summary i{transform:rotate(180deg)}
.faq p{margin:0 0 16px}

.faq-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:start}
.faq-grid>*{min-width:0}
.faq-visual{position:sticky;top:96px;display:grid;gap:16px}
.faq-panel{position:relative;min-height:340px;border-radius:28px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;
  background:radial-gradient(rgba(255,255,255,.12) 1px,transparent 1.2px) 0 0/20px 20px,linear-gradient(160deg,#0798ad,#0b4a73)}
.faq-panel:has(.faq-photo){min-height:0;padding-top:16px}
.faq-photo{width:100%;height:auto}
.bubble{position:absolute;max-width:72%;padding:10px 14px;border-radius:18px;font-size:.9rem;font-weight:600;box-shadow:0 12px 30px rgba(2,32,54,.25)}
.bubble .ico{width:18px;height:18px;margin-right:4px}
.b-q{top:24px;left:20px;background:#fff;color:var(--ink);border-bottom-left-radius:4px}
.b-a{top:84px;right:20px;background:#d9f6fa;color:#0b4a73;border-bottom-right-radius:4px}
.faq-panel .b-q{top:auto;bottom:120px}
.faq-panel .b-a{top:auto;bottom:60px}
.faq-help{display:grid;gap:6px;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff}
.faq-help-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.feature-list{display:grid;gap:14px}
.feature-row{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;padding:20px 24px}
.feature-row h3{margin-bottom:4px}
.feature-row p{margin:0}

/* pricing */
.pricing{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:start}
.calc-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.seg{display:inline-flex;background:var(--alt);border:1px solid var(--line);border-radius:12px;padding:4px}
.seg-btn{border:0;background:none;font:inherit;font-weight:700;padding:8px 16px;border-radius:9px;cursor:pointer;color:var(--muted)}
.seg-btn.on{background:#fff;color:var(--ink);box-shadow:0 2px 6px rgba(15,23,42,.08)}
.module-picks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pick{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.pick:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.pick input{width:18px;height:18px;accent-color:var(--brand);flex:none}
.pick-name small{display:block}
.total{position:sticky;top:88px}
.total-amount{font-size:2rem;font-weight:800;margin:4px 0}

/* forms */
.field{display:grid;gap:6px;font-weight:600;font-size:.92rem}
.field em{color:#dc2626;font-style:normal}
.field input,.field textarea{font:inherit;font-weight:400;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;width:100%}
.field input:focus,.field textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}
.field .error{color:#dc2626;font-weight:500}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.form-grid .full{grid-column:1/-1}
.demo-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}
.alert{padding:12px 16px;border-radius:12px;background:#fef2f2;color:#991b1b;margin-bottom:16px}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.cf-turnstile{margin-bottom:16px}

.pager{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:32px}
.big-404{font-size:6rem;color:var(--brand);margin:0}

/* call to action + footer */
.cta{padding:0 0 72px}
.cta-box{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:linear-gradient(135deg,var(--brand),#0b6e8a);color:#fff;border-radius:24px;padding:40px}
.cta-box p{color:rgba(255,255,255,.85);margin:0}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.foot{border-top:1px solid var(--line);padding:48px 0 24px;background:var(--alt)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
.foot h4{margin:0 0 12px}
.foot-grid a .ico{width:18px;height:18px;margin-right:4px}
.foot-grid a:not(.logo){display:block;color:var(--muted);text-decoration:none;margin-bottom:8px}
.foot-grid a:not(.logo):hover{color:var(--brand-dark)}
.foot-bottom{padding-top:24px;margin-top:24px;border-top:1px solid var(--line);font-size:.875rem}

@media (max-width:960px){
  .hero-grid,.pricing,.demo-grid{grid-template-columns:1fr}
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr}
  .total{position:static}
  .faq-grid{grid-template-columns:1fr;gap:32px}
  .faq-visual{position:static}
  .app-grid{grid-template-columns:1fr;gap:40px}
  .app-grid>div:last-child{order:-1}
}
@media (max-width:760px){
  .nav-burger{display:block}
  .nav-links{display:none;width:100%;flex-direction:column;align-items:stretch;padding-bottom:16px}
  .nav-toggle:checked~.nav-links{display:flex}
  .grid-3,.grid-4,.module-picks,.form-grid,.foot-grid{grid-template-columns:1fr}
  .hero{padding:40px 0 20px;border-radius:0 0 28px 28px}
  .phone-hero{width:220px}
  .notif{font-size:.75rem;padding:8px 10px}
  .notif-icon{width:28px;height:28px;font-size:1rem}
  .notif.n1{left:-4px;top:12%}
  .notif.n2{right:-4px;bottom:10%}
  .hero-modules{display:none}
  h1{font-size:2rem}
  .phone{width:230px}
  .section{padding:52px 0}
  .cta-box{padding:28px}
}

/* "Gratis" tags and the free box (partials/free.ejs) */
.tag-free{background:#e7f8ee;color:#137a3e}
.free-box{margin-bottom:28px;border-color:#bfe8cf;background:linear-gradient(180deg,#f3fbf6,#fff)}
.free-head{margin-bottom:18px}
.free-head h2{margin:8px 0 4px}
.grid-free{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.free-item{display:flex;gap:12px;align-items:flex-start}
.free-item .icon .ico{width:36px;height:36px}
