/* =========================================================
   SchoolEasy — School Operating System
   Layout scales from the 1920px design via a fluid root size.
   ========================================================= */

:root {
  --navy: #0f1a2e;
  --navy-2: #16233b;
  --cream: #faf5ec;
  --cream-2: #f1e8d8;
  --mint-bg: #e3efe6;
  --mint-soft: #e2efe5;
  --green: #0e6b4f;
  --green-dark: #0b5a42;
  --mint: #2fbf8c;
  --orange: #ff4d1f;
  --orange-soft: #fde6dd;
  --blue: #2c5f8e;
  --text: #0f1a2e;
  --muted: #5b6475;
  --line: #ece4d4;
  --white: #fff;
  --radius: 1.6rem;
  --shadow: 0 1px 2px rgba(15, 26, 46, .04), 0 10px 30px rgba(15, 26, 46, .06);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(14px, 1.04vw, 21px); scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
button { font: inherit; cursor: pointer; }

/* Resets scoped to the redesigned regions (header, home page, footer) so
   Bootstrap-based inner pages keep their default typography. */
:where(.se-scope) img { display: block; }
:where(.se-scope) a { color: inherit; text-decoration: none; }
:where(.se-scope) :is(h1, h2, h3, h4, h5, h6) { margin: 0; }
:where(.se-scope) p { margin: 0; }
:where(.se-scope) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.se-scope) em { font-style: italic; font-weight: 500; color: var(--orange); }

.container { width: min(79rem, calc(100% - 3rem)); max-width: none; padding-inline: 0; margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.fill { fill: currentColor; stroke: none; }
.dot { display: inline-block; width: .42rem; height: .42rem; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; padding: .8rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 77, 31, .32); }
.btn-primary:hover { background: #ec3f12; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(14, 107, 79, .28); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: rgba(255, 255, 255, .5); border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { background: #fff; }
.btn-outline { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-lg { font-size: 1.15rem; padding: 1.05rem 1.9rem; }
.btn-sm { font-size: .88rem; padding: .5rem 1.4rem; box-shadow: none; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.pill .ic { width: 1em; height: 1em; color: var(--green); }
.pill-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #bfeedd; }
.pill-white { background: #fff; border-color: #cfe3d6; border-radius: 999px; }
.pill-outline { background: transparent; border-color: #b9d8cb; color: var(--navy); }
.pill-green { color: var(--green); border-color: #cfe3d6; }

/* ---------- Announcement + Header ---------- */
.announce { background: var(--navy); color: #d8dfec; font-size: .92rem; padding: .5rem 0; }
.announce-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.announce-msg { display: inline-flex; align-items: center; gap: .65rem; font-weight: 500; }
.announce-actions { display: inline-flex; align-items: center; gap: .85rem; }
.announce-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--orange); color: #fff !important; font-weight: 700; font-size: .84rem; line-height: 1; padding: .42rem 1.15rem; border-radius: 999px; text-decoration: none !important; box-shadow: 0 4px 14px rgba(255, 77, 31, .35); transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.announce-btn:hover { background: #ec3f12; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 77, 31, .45); text-decoration: none !important; }
.announce .sep { opacity: .3; color: #d8dfec; }
.announce .login { color: #fff; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .88rem; transition: color .2s; }
.announce .login:hover { color: var(--mint); text-decoration: none; }
.announce .login i { font-size: .95em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 236, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .25s; border-bottom: 1px solid rgba(236, 228, 212, 0.6); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 26, 46, .08); }
.site-header .container, .announce .container { width: 100%; max-width: 1720px; padding-inline: 2rem; margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.8rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex: none; }
.brand-mark { position: relative; width: 2.2rem; height: 2.2rem; border-radius: .6rem; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.brand-mark .ic { width: 1.3rem; height: 1.3rem; }
.mark-dot { position: absolute; top: -.1rem; right: -.1rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); border: 2px solid var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.brand-text small { font-family: var(--mono); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.header-cta { flex: none; display: inline-flex; align-items: center; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(0.75rem, 1.25vw, 1.7rem); white-space: nowrap; margin-left: auto; margin-right: 1.25rem; font-weight: 600; font-size: clamp(0.92rem, 0.95vw, 1.02rem); color: #2b3548; }
.main-nav a:not(.btn) { position: relative; padding: .35rem 0; color: #2b3548; transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--orange); }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -.1rem; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.main-nav a:not(.btn):hover::after { width: 100%; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 2.6rem; height: 2.6rem; padding: .6rem; margin-left: auto; flex-direction: column; justify-content: center; gap: 5px; flex: none; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 3rem 0 3.5rem; background: radial-gradient(60rem 30rem at 100% 0, rgba(255, 150, 100, .13), transparent 60%), var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: 5.3rem; line-height: .98; letter-spacing: -.035em; margin: 1.6rem 0 1.8rem; font-weight: 600; }
.hero h1 em { display: block; }
.lead { font-size: 1.3rem; line-height: 1.6; color: #4a5468; max-width: 29rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.4rem 0 2.6rem; }
.social-proof { display: flex; align-items: center; gap: 1rem; }
.social-proof p { font-size: .98rem; color: var(--muted); max-width: 15rem; line-height: 1.4; }
.social-proof strong { color: var(--navy); }
.avatars { display: flex; }
.av { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .72rem; color: #fff; border: 2px solid var(--cream); margin-left: -.4rem; }
.av:first-child { margin-left: 0; }
.av-g { background: var(--green); } .av-o { background: var(--orange); } .av-b { background: var(--blue); }
.av-p { background: #ece6d7; color: var(--navy); }

.hero-visual { position: relative; padding: 0 .4rem; }
.hero-frame { position: relative; border-radius: 2.2rem; padding: .85rem; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-frame > img { width: 100%; border-radius: 1.6rem; aspect-ratio: 417 / 354; object-fit: cover; }
.hero-img-carousel { position: relative; width: 100%; border-radius: 1.6rem; aspect-ratio: 417 / 354; overflow: hidden; }
.hero-img-carousel img.hero-carousel-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 1.6rem; aspect-ratio: 417 / 354; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-img-carousel img.hero-carousel-img.active { opacity: 1; position: relative; }
.live-badge { position: absolute; top: 1.35rem; right: 1.35rem; display: inline-flex; align-items: center; gap: .5rem; background: #fff; padding: .45rem 1rem; border-radius: 999px; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow); }
.float-card { position: absolute; display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 1.2rem; padding: .95rem 1.1rem; box-shadow: 0 14px 40px rgba(15, 26, 46, .16); animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.float-card small { display: block; font-size: .78rem; color: var(--muted); }
.fc-left { left: -1.6rem; top: 2.3rem; }
.fc-right { right: -1.6rem; bottom: 1.8rem; align-items: flex-start; padding-right: 1.4rem; animation-delay: -3s; }
.fc-icon { width: 2.4rem; height: 2.4rem; border-radius: .7rem; display: grid; place-items: center; flex: none; }
.fc-icon .ic { width: 1.15rem; height: 1.15rem; }
.fc-icon.green { background: #e2efe5; color: var(--green); }
.fc-icon.orange { background: var(--orange-soft); color: var(--orange); }
.mini-bar { display: block; height: .28rem; border-radius: 99px; background: #eee7da; margin-top: .45rem; overflow: hidden; width: 7rem; }
.mini-bar i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.45rem); } }

/* ---------- Stats ---------- */
.stats { background: radial-gradient(40rem 20rem at 0 100%, rgba(31, 138, 100, .22), transparent 70%), var(--navy); color: #fff; padding: 3rem 0 4rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.stats h2 { font-size: 2.9rem; line-height: 1.02; margin: 1.1rem 0 1.4rem; color: #fff; max-width: 20rem; }
.stats h2 em { color: var(--mint); }
.stats-copy p { color: #8fa1bd; font-size: 1rem; max-width: 20rem; }
.stats-list { display: grid; grid-template-columns: repeat(4, auto); margin-top: 1.4rem; }
.stat { padding: 0 1.3rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat .ic { color: var(--mint); width: 1.15rem; height: 1.15rem; display: block; margin-bottom: 1.1rem; }
.stat b { display: block; font-family: var(--serif); font-size: 2.9rem; line-height: 1; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.stat small { display: block; margin-top: .55rem; color: #94a5c1; font-weight: 500; font-size: .95rem; max-width: 7rem; }

/* ---------- Generic section ---------- */
.section { padding: 3.5rem 0; position: relative; }
.section-head h2 { font-size: 3.1rem; line-height: 1.05; margin-top: 1.1rem; }
.section-head.center { text-align: center; margin-bottom: 3.4rem; }
.section-head .sub, .sub { font-size: 1.25rem; color: var(--muted); line-height: 1.55; }
.section-head.center .sub { max-width: 36rem; margin: 1.1rem auto 0; }
.section-head.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; margin-bottom: 3rem; gap: 2rem; }
.side-note { border-left: 2px solid var(--orange); padding-left: 1.1rem; color: var(--muted); font-size: 1.1rem; max-width: 27rem; margin-left: auto; margin-right: 0; line-height: 1.55; }

/* ---------- Icon tiles ---------- */
.ico { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; flex: none; }
.ico .ic { width: 1.25rem; height: 1.25rem; }
.ico.green, .ico.soft { background: #dcebe2; color: var(--green); }
.ico.orange, .ico.soft-o { background: var(--orange-soft); color: var(--orange); }
.ico.plain { background: transparent; color: var(--navy); }

/* ---------- Features ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 3rem; background: #fff; border: 1px solid var(--line); border-radius: 2rem; padding: 3rem 3.3rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.showcase h3 { font-size: 2.2rem; line-height: 1.1; margin: 1.3rem 0 1.1rem; }
.showcase p { color: var(--muted); font-size: 1.15rem; line-height: 1.6; margin-bottom: 1.8rem; }
.showcase-img { width: 100%; border-radius: 1.4rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; padding: 2rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-.3rem); box-shadow: 0 18px 40px rgba(15, 26, 46, .09); border-color: #d2e4d9; }
.feature-card .ico { margin-bottom: 1.6rem; }
.feature-card h4 { font-size: 1.28rem; margin-bottom: .7rem; }
.feature-card p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* ---------- Tick lists ---------- */
.ticks { display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .98rem; line-height: 1.55; color: var(--muted); }
.ticks li b { color: var(--navy); font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.ticks.orange li::before { background-color: var(--orange); }
.ticks.blue li::before { background-color: var(--blue); }
.ticks.mint li { color: #cfe7dc; }
.ticks.mint li b { color: #fff; display: block; }
.ticks.mint li::before { background-color: #3fcf9a; }

/* ---------- Owners ---------- */
.benefits-owner { padding-top: 3rem; background: #eef3ee; }
.owner-grid { display: grid; grid-template-columns: 1.24fr 1fr; gap: 1.4rem; align-items: stretch; }
.owner-card { background: radial-gradient(22rem 14rem at 100% 0, rgba(40, 150, 110, .28), transparent 70%), var(--navy); color: #fff; border-radius: 2rem; padding: 2.5rem 2.6rem 1.8rem; }
.owner-card h2 { font-size: 3.1rem; line-height: 1.05; margin: 1.3rem 0 1.2rem; color: #faf5ec; }
.owner-card h2 em { display: block; color: var(--mint); }
.owner-lead { color: #98a8c2; font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; max-width: 27rem; }
.owner-list li { display: flex; gap: 1.1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.owner-list .num { font-family: var(--mono); font-size: .78rem; color: var(--mint); padding-top: .3rem; }
.owner-list h4 { font-size: 1.2rem; color: #fff; margin-bottom: .45rem; }
.owner-list p { color: #8fa1bd; font-size: .98rem; line-height: 1.55; }
.pulse-card { background: var(--mint-soft); border: 1px solid #cfe3d6; border-radius: 2rem; padding: 2.4rem; display: flex; flex-direction: column; }
.pulse-card .pill { align-self: flex-start; width: 100%; justify-content: flex-start; font-size: .78rem; letter-spacing: .1em; padding: .85rem 1rem; }
.pulse-card h3 { font-size: 2.1rem; margin: 1.6rem 0 1rem; line-height: 1.1; }
.pulse-card h3 em { color: var(--green); }
.pulse-card p { color: #3d4a5e; font-size: 1.05rem; line-height: 1.55; }
.pulse-bars { margin-top: auto; padding-top: 3rem; display: grid; gap: 1.3rem; flex: 1; align-content: center;}
.bar-row > div:first-child { display: flex; justify-content: space-between; font-weight: 700; font-size: .98rem; margin-bottom: .55rem; }
.bar-row b { font-family: var(--mono); color: var(--green); font-size: .95rem; }
.track { height: 8px; border-radius: 8px; background: rgba(12, 27, 42, .1); overflow: hidden; }
.track .fill {  display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--green), #2FBF8F); }
.pulse-card p { line-height: 1.55; color: var(--ink-soft); font-size: 14px; margin-top: 12px;}
.pulse-chip{  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: #fff;
    border: 1px solid rgba(14, 107, 79, .18); border-radius: 100px; padding: 9px 16px; font-weight: 700; }}
.track { height: .55rem; border-radius: 99px; background: #cfdcd2; overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--mint)); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Administration ---------- */
.benefits-admin { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.b-card { position: relative; background: #fff; border-radius: 1.8rem; padding: 2.1rem 2.1rem 2.3rem; box-shadow: var(--shadow); }
.b-card .bnum { position: absolute; top: 1.5rem; right: 1.8rem; font-family: var(--serif); font-size: 3rem; line-height: 1; color: #eee8dc; font-weight: 500; }
.b-card .ico { margin-bottom: 1.4rem; }
.b-card h4 { font-size: 1.3rem; margin-bottom: 1.2rem; }

/* ---------- Teachers ---------- */
.benefits-teachers { background: #eef3ee; overflow: hidden; }
.deco { position: absolute; pointer-events: none; }
.deco-sun { left: 0; top: 0; width: 8.6rem; height: 4.3rem; background: #f4dd9f; border-radius: 0 0 8.6rem 0; display: none;}
.deco-leaf { left: 0; bottom: 3.5rem; width: 11.6rem; height: 5.8rem; background: #d3e0d6; border-radius: 11.6rem 11.6rem 0 0; display: grid; place-items: start center; padding-top: 1rem; color: #4a9c78; display: none;}
.deco-leaf .ic { width: 1.8rem; height: 1.8rem; margin-right: 3.8rem; margin-top: .5rem; }
.teachers-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.6rem; align-items: start; }
.teachers-copy h2 { font-size: 4rem; line-height: 1.05; margin: 1.4rem 0 1.2rem; }
.teachers-copy h2 em { display: block; }
.teachers-copy .sub { font-size: 1.2rem; max-width: 22rem; margin-bottom: 2rem; }
.photo-card { position: relative; margin: 0; border-radius: 1.6rem; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 26, 46, .16); }
.photo-card img { width: 100%; }
.photo-card figcaption { position: absolute; left: 1.1rem; bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; background: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.photo-card figcaption .ic { color: var(--green); }
.timeline { position: relative; display: grid; gap: 1.5rem; padding-left: 3rem; }
.timeline::before { content: ""; position: absolute; left: 1.1rem; top: 2rem; bottom: 4rem; width: 2px; background: var(--green); opacity: .8; }
.t-card { position: relative; border-radius: 1.6rem; padding: 1.7rem 2rem 1.9rem; border: 1px solid rgba(15, 26, 46, .05); box-shadow: var(--shadow); }
.t-mint { background: linear-gradient(135deg, #f7faf7, #eaf3ec); }
.t-peach { background: linear-gradient(135deg, #fff, #fdeee6); }
.t-blue { background: linear-gradient(135deg, #f6f8fc, #e9eff8); }
.step { position: absolute; left: -3rem; top: 1.4rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 .4rem #eef3ee; }
.t-card header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.t-card header .ico { width: 2.9rem; height: 2.9rem; }
.t-card h4 { font-size: 1.3rem; }

/* ---------- Students ---------- */
.students-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1.4rem; }
.s-green { background: var(--green); color: #fff; border-radius: 1.8rem; padding: 1.8rem 1.8rem 2rem; grid-row: span 1; }
.s-green .pill { font-size: .68rem; line-height: 1.5; border-radius: 1.2rem; padding: .7rem 1.1rem; }
.s-green h3 { font-size: 2.1rem; line-height: 1.1; margin: 1.6rem 0 1.4rem; color: #fff; }
.s-green h3 em { color: #7ee0b2; }
.s-green .ticks { gap: 1.2rem; }
.s-photo { position: relative; margin: 0; border-radius: 1.8rem; overflow: hidden; min-height: 100%; }
.s-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-photo figcaption { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; background: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .92rem; white-space: nowrap; box-shadow: var(--shadow); }
.s-stack { display: grid; gap: 1.4rem; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 1.8rem; padding: 1.6rem 1.7rem 1.8rem; box-shadow: var(--shadow); }
.s-card .ico { margin-bottom: 1rem; }
.s-card h4 { font-size: 1.28rem; margin-bottom: 1rem; }
.s-wide { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 1.8rem; padding: 1.6rem 1.9rem 1.9rem; box-shadow: var(--shadow); }
.s-wide header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.s-wide h4 { font-size: 1.28rem; }
.ticks.two-col { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ---------- Parents ---------- */
.benefits-parents { background: linear-gradient(180deg, var(--cream), #eef3ee); }
.parents-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.parents-copy h2 { font-size: 3.1rem; margin: 1.1rem 0 1rem; line-height: 1.05; }
.parents-copy .sub { font-size: 1.15rem; padding-bottom: 1.2rem; border-bottom: 1px solid #ddd8ca; }
.p-item { padding: 1.3rem 0; border-bottom: 1px solid #ddd8ca; }
.p-item h4 { display: flex; align-items: center; gap: .9rem; font-size: 1.4rem; margin-bottom: .9rem; }
.pn { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #dcebe2; color: var(--green); font-family: var(--mono); font-size: .78rem; font-weight: 600; }

/* ---------- Phone mockups ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 18.8rem; border-radius: 3rem; padding: .7rem; background: var(--navy); box-shadow: 0 40px 70px rgba(15, 26, 46, .22), 0 0 0 .22rem #0f1a2e; }
.phone-screen { border-radius: 2.4rem; overflow: hidden; background: #f9f4ea; }
.notch { position: absolute; left: 50%; top: 1.1rem; transform: translateX(-50%); width: 6.4rem; height: 1.6rem; border-radius: 99px; background: var(--navy); z-index: 2; }
.ph-head { background: linear-gradient(180deg, #16233b, #0f1a2e); color: #fff; padding: 3.6rem 1.3rem 1.3rem; }
.ph-head small { font-size: .8rem; color: #d6deec; display: block; font-weight: 500; }
.ph-head h5 { font-size: 1.45rem; margin: .35rem 0 .8rem; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; background: rgba(255, 255, 255, .18); padding: .3rem .8rem; border-radius: 99px; }
.ph-body { padding: .9rem; display: grid; gap: .6rem; }
.n-row, .app-card { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 1rem; padding: .8rem; }
.n-row b, .app-card b { display: block; font-size: .85rem; line-height: 1.25; }
.n-row small, .app-card small { display: block; font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.n-ico { width: 2.3rem; height: 2.3rem; border-radius: .7rem; display: grid; place-items: center; background: #f3efe5; color: var(--navy); flex: none; }
.n-ico .ic { width: 1rem; height: 1rem; }
.n-ico.g { background: #dcebe2; color: var(--green); }
.n-ico.o { background: var(--orange-soft); color: var(--orange); }
.fee-row { display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: 1rem; padding: .85rem 1rem; }
.fee-row small { display: block; font-size: .72rem; color: #c2cde0; }
.fee-row strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.pay { background: var(--mint); color: #fff; font-weight: 700; font-size: .85rem; padding: .45rem 1.1rem; border-radius: 99px; }

/* ---------- Pricing ---------- */
.table-wrap { background: #fff; border-radius: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); overflow-x: auto; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 44rem; }
.plan-table th, .plan-table td { text-align: center; padding: 0 .8rem; }
.plan-table thead th { padding: 2rem .8rem 1.5rem; vertical-align: bottom; font-weight: 500; width: 15%; position: relative; }
.plan-table thead th.feat-col { text-align: left; vertical-align: top; font-weight: 700; font-size: .95rem; width: 40%; padding-left: 1.2rem; font-family: var(--sans); }
.plan-table h5 { font-size: 1.45rem; margin-bottom: .5rem; }
.plan-table thead p { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.35; }
.plan-table .popular { background: #eaf4ed; }
.plan-table .badge { position: absolute; top: .45rem; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 99px; white-space: nowrap; }
.plan-table tbody tr { border-top: 1px solid var(--line); }
.plan-table tbody tr:nth-child(even) { background: #f9f9f9; }
.plan-table tbody td { padding: .8rem; height: 3rem; font-size: .95rem; }
.plan-table tbody td:first-child { text-align: left; font-weight: 600; padding-left: 1.2rem; }
.plan-table tbody td.popular { background: rgba(215, 236, 223, .35); }
.yes { color: var(--green); font-weight: 700; font-size: 1.15rem; }
.no { color: var(--green); font-weight: 700; }
.extra { color: var(--orange); font-weight: 600; font-size: .82rem; }
.fine-print { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.6rem; }
.custom-plan { text-align: center; font-weight: 600; font-size: 1.05rem; margin-top: 1.1rem; }
.custom-plan a { color: var(--green); font-weight: 700; border-bottom: 2px solid #9fd1bb; }

/* ---------- Clients ---------- */
.clients { padding-top: 3rem; padding-bottom: 3rem; }
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.client { background: #fff; border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.6rem 1rem 1.2rem; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 1rem; transition: transform .25s; }
.client:hover { transform: translateY(-.3rem); }
.client img { height: 4rem; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.client span { font-size: .8rem; font-weight: 700; color: #4a5468; line-height: 1.3; }

/* ---------- Mobile app ---------- */
.mobile-app { background: var(--mint-bg); padding: 6rem 0; }
.app-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.phone-wrap { justify-content: flex-start; }
.phone-green { width: 17.4rem; }
.app-head { background: linear-gradient(180deg, #11755a, #0d5f48); color: #fff; padding: 3.4rem 1.1rem 1.2rem; }
.app-head small { font-size: .78rem; display: block; color: #d3eadf; }
.app-head h5 { font-size: 1.45rem; margin: .3rem 0 .8rem; }
.app-body { padding: .8rem; display: grid; gap: .55rem; background: #f9f4ea; }
.ring-card { gap: 1rem; padding: 1rem; }
.ring { width: 3.4rem; height: 3.4rem; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: #dfe9e2; }
.ring-fg { stroke: var(--green); stroke-dasharray: 150.8; stroke-dashoffset: 6; stroke-linecap: round; }
.ring-card b { font-size: .95rem; }
.phone-chip { position: absolute; left: calc(50% + 7rem); top: 1.6rem; background: #fff; padding: .55rem 1rem; border-radius: 1rem; font-size: .85rem; font-weight: 500; max-width: 10rem; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.app-copy h2 { font-size: 3.4rem; line-height: 1.05; margin: 1.3rem 0 1.1rem; }
.app-copy h2 em { display: block; }
.app-copy .sub { font-size: 1.2rem; max-width: 29rem; margin-bottom: 1.4rem; }
.ticks.big { gap: .75rem; margin-bottom: 2rem; }
.ticks.big li { color: var(--navy); font-weight: 600; font-size: 1.1rem; }
.ticks.big li::before { top: .35rem; }
.or-download { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 .8rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: .8rem; }
.store { display: inline-flex; align-items: center; gap: .55rem; background: #000; color: #fff; border: 1px solid #5c6370; border-radius: .7rem; padding: .5rem 1rem .5rem .8rem; line-height: 1; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store-ic { width: 1.55rem; height: 1.55rem; flex: none; }
.store small { display: block; font-size: .52rem; letter-spacing: .02em; margin-bottom: .15rem; }
.store b { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c8d2e4; padding: 3.4rem 0 0; }
.site-footer .brand-text strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .95fr 1.1fr 1.35fr; gap: 2rem; padding-bottom: 3rem; }
.f-brand p { margin-top: 1.2rem; color: #9bb0d3; font-size: .98rem; line-height: 1.6; max-width: 16rem; }
.f-col { display: flex; flex-direction: column; gap: .75rem; }
.f-col h6 { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7b8cab; margin-bottom: .6rem; }
.f-col a { color: #e6ecf7; font-weight: 500; font-size: 1.02rem; transition: color .2s; }
.f-col a:hover { color: var(--mint); }
.f-col p { font-size: .9rem; color: #9bb0d3; }
.f-store { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.f-store .store { border-color: #6b7280; }
.f-store img { width: 3.4rem; height: 3.4rem; border-radius: .4rem; }
.socials { display: flex; gap: .55rem; margin-top: .9rem; }
.socials a { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.socials .ic { width: 1rem; height: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.4rem 0; font-size: .92rem; color: #9bb0d3; }
.footer-bottom nav { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(1.4rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .phone-chip { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  html { font-size: 14.5px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-apps { grid-column: span 2; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-list { grid-template-columns: repeat(2, auto); row-gap: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { font-size: 15px; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: .6rem 1.5rem 1.4rem; background: var(--cream); box-shadow: 0 18px 30px rgba(15, 26, 46, .1); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 1rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid, .showcase, .owner-grid, .teachers-grid, .parents-grid, .app-grid, .section-head.split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3.6rem; }
  .hero-visual { margin-top: 1rem; }
  .fc-left { left: -.3rem; } .fc-right { right: -.3rem; }
  .side-note { margin-left: 0; }
  .section { padding: 3rem 0; }
  .section-head h2, .owner-card h2, .parents-copy h2 { font-size: 2.4rem; }
  .teachers-copy h2 { font-size: 3rem; }
  .app-copy h2 { font-size: 2.6rem; }
  .showcase { padding: 2rem 1.6rem; }
  .feature-grid, .admin-grid { grid-template-columns: 1fr 1fr; }
  .students-grid { grid-template-columns: 1fr 1fr; }
  .s-photo { min-height: 26rem; }
  .s-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .deco { display: none; }
  .phone-wrap { justify-content: center; }
  .phone-chip { left: calc(50% + 6rem); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .announce { font-size: .8rem; }
  .hero h1 { font-size: 2.9rem; }
  .lead { font-size: 1.1rem; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .float-card { transform: scale(.88); transform-origin: left top; animation: none; }
  .fc-right { transform-origin: right bottom; }
  .feature-grid, .admin-grid, .students-grid, .s-stack, .ticks.two-col { grid-template-columns: 1fr; }
  .s-photo { min-height: 22rem; }
  .stats h2 { font-size: 2.3rem; max-width: none; }
  .stats-list { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 .8rem; }
  .stat b { font-size: 2.3rem; }
  .section-head h2, .owner-card h2, .parents-copy h2 { font-size: 2rem; }
  .teachers-copy h2 { font-size: 2.5rem; }
  .owner-card, .pulse-card { padding: 1.8rem 1.4rem; }
  .timeline { padding-left: 2.6rem; }
  .step { left: -2.6rem; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .phone-chip { position: static; margin: 1rem auto 0; display: block; max-width: none; }
  .phone-wrap { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand, .f-apps { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
}

/* ---------- Refinements ---------- */
.store span { white-space: nowrap; }
.section-head.split h2 em { display: block; }
.s-photo figcaption { max-width: calc(100% - 1.6rem); width: max-content; white-space: normal; font-size: .85rem; }
.hero-frame > img { height: auto; }

/* =========================================================
   Laravel integration — dynamic (CMS / DB driven) content
   ========================================================= */

/* ---------- Bootstrap compatibility ---------- */
.btn-primary { --bs-btn-active-bg: #ec3f12; --bs-btn-active-border-color: transparent; --bs-btn-active-color: #fff; --bs-btn-hover-color: #fff; }
.btn-green { --bs-btn-active-bg: var(--green-dark); --bs-btn-active-color: #fff; --bs-btn-hover-color: #fff; }
.btn-outline { --bs-btn-active-bg: var(--orange); --bs-btn-active-color: #fff; --bs-btn-hover-color: #fff; }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; box-shadow: none; }

.brand-logo { height: 3.2rem; width: auto; max-width: 15rem; object-fit: contain; display: block; }
.main-nav { align-items: center; }
.nav-item { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: .35rem 0; color: inherit; font-weight: 600; font-size: inherit; cursor: pointer; transition: color .2s; }
.sub-toggle:hover { color: var(--orange); }
.sub-toggle .nav-chevron { width: .8em; height: .8em; stroke-width: 2.5; transition: transform .25s ease; vertical-align: middle; margin-left: .2rem; }
.has-sub:hover .sub-toggle .nav-chevron, .has-sub.open .sub-toggle .nav-chevron { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + .6rem); left: 0; min-width: 15rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 18px 40px rgba(15, 26, 46, .12); padding: .5rem; display: grid; gap: .15rem; opacity: 0; visibility: hidden; transform: translateY(.4rem); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: .55rem .85rem; border-radius: .6rem; font-size: .95rem; white-space: nowrap; color: var(--navy); font-weight: 500; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover { background: var(--mint-soft); color: var(--green); }

/* ---------- Stats (dynamic counters) ---------- */
.stats-list { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); row-gap: 2rem; }
.stat-ico { width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; margin-bottom: 1.1rem; }
.stat-ico img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.stats-cta { margin-top: 2rem; }

/* ---------- Rich (CMS) content ---------- */
.rich p { color: var(--muted); font-size: 1.1rem; line-height: 1.65; margin-bottom: 1rem; }
.rich p:last-child { margin-bottom: 0; }
.rich :is(h1, h2, h3) { font-size: 2.1rem; line-height: 1.12; margin-bottom: 1rem; }
.rich :is(h4, h5, h6) { font-size: 1.3rem; margin-bottom: .7rem; }
.rich :is(h1, h2, h3, h4) span { color: var(--orange); font-style: italic; font-weight: 500; }
.rich ul, .rich ol { display: grid; gap: .65rem; margin-bottom: 1rem; }
.rich li { position: relative; padding-left: 1.75rem; color: var(--muted); line-height: 1.55; }
.rich li::before, .ticks-auto li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.rich a { color: var(--green); font-weight: 600; }
.rich strong, .rich b { color: var(--navy); }
.rich [class*="col-"] { width: 100%; max-width: 100%; flex: 1 1 100%; padding: 0; }
.rich.rich-dark p, .rich.rich-dark li { color: #98a8c2; }
.rich.rich-dark strong, .rich.rich-dark b { color: #fff; }
.rich.rich-dark li::before { background-color: var(--mint); }

/* ---------- Features (dynamic modules) ---------- */
.showcase-copy .rich { margin: 1.3rem 0 1.8rem; }
.showcase-img { object-fit: contain; }
.feature-grid.modules { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature-grid.modules .feature-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-grid.modules .feature-card .ico { margin-bottom: 0; background: #dcebe2; }
.feature-grid.modules .feature-card:nth-child(3n+2) .ico { background: var(--orange-soft); }
.feature-grid.modules .feature-card:nth-child(3n) .ico { background: #eef1f6; }
.feature-card .ico img { width: 1.55rem; height: 1.55rem; object-fit: contain; }
.module-text { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
.module-text p { margin: 0; }

/* ---------- Benefits (dynamic) ---------- */
.owner-card .rich { margin-top: .4rem; }
.benefit-media { background: var(--mint-soft); border: 1px solid #cfe3d6; border-radius: 2rem; padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.benefit-media .pill { align-self: flex-start; }
.benefit-media img { width: 100%; border-radius: 1.4rem; object-fit: contain; }
.admin-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.4rem; align-items: center; }
.admin-copy h2 { font-size: 3.1rem; line-height: 1.05; margin: 1.1rem 0 1.4rem; }
.admin-copy h2 em { display: block; }
.admin-split .photo-card { max-width: none; background: #fff; }
.admin-split .photo-card img { object-fit: contain; }
.stake-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.stake-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1.8rem; padding: 1.8rem 1.8rem 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.stake-card:hover { transform: translateY(-.3rem); box-shadow: 0 18px 40px rgba(15, 26, 46, .1); }
.stake-card .bnum { position: absolute; top: 1.4rem; right: 1.7rem; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: #eee8dc; font-weight: 500; }
.stake-card h4 { font-size: 1.4rem; padding-right: 3rem; }
.stake-img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 1.2rem; background: var(--mint-soft); padding: .8rem; margin: 1.2rem 0 1.5rem; }
.stake-card.featured { background: var(--green); border-color: var(--green); color: #fff; }
.stake-card.featured h4 { color: #fff; }
.stake-card.featured .bnum { color: rgba(255, 255, 255, .14); }
.stake-card.featured .stake-img { background: rgba(255, 255, 255, .1); }
.stake-card.featured .ticks li { color: #cfe7dc; }
.stake-card.featured .ticks li b, .stake-card.featured .ticks li strong { color: #fff; }
.stake-card.featured .ticks li::before { background-color: #3fcf9a; }
.ticks li ul { margin-top: .5rem; }

/* ---------- Pricing (dynamic features table) ---------- */
.plan-table thead th.sn-col, .plan-table td.sn { width: 3.4rem; text-align: center; font-family: var(--mono); font-size: .78rem; color: var(--muted); font-weight: 500; padding-left: 1rem; }
.plan-table thead th.feat-col { width: 34%; }
.plan-table tbody td.feat { text-align: left; font-weight: 600; }
.plan-table tbody td img { display: inline-block; max-height: 1.4rem; width: auto; vertical-align: middle; }
.plan-table tbody td :is(.fa-check, .fa-check-circle, .fa-check-square) { color: var(--green); }
.plan-table tbody td :is(.fa-times, .fa-times-circle, .fa-minus) { color: #e6a692; }
.plan-table tbody td p { margin: 0; }

/* ---------- Clients slider (slick) ---------- */
.slick-slider { position: relative; display: block; box-sizing: border-box; user-select: none; touch-action: pan-y; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
.slick-track::before, .slick-track::after { display: table; content: ""; }
.slick-track::after { clear: both; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
.slick-initialized .slick-slide { display: block; }
.client-slider { margin: 0 -.5rem; }
.client-slider:not(.slick-initialized) { display: flex; overflow: hidden; }
.client-slider:not(.slick-initialized) .slide { flex: 0 0 16.66%; }
.client-slider .slide { padding: .5rem; }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: 1.4rem; height: 7.4rem; padding: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: transform .25s; }
.client-card:hover { transform: translateY(-.3rem); }
.client-card img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Mobile app (dynamic) ---------- */
.app-visual { position: relative; display: flex; justify-content: center; }
.app-shot { max-height: 34rem; width: auto; filter: drop-shadow(0 30px 50px rgba(15, 26, 46, .2)); }
.app-visual .phone-chip { left: auto; right: 0; }
.app-copy h2 span { color: var(--orange); font-style: italic; font-weight: 500; }
.app-copy .sub span { color: var(--green); font-weight: 600; }
.app-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin: 1.6rem 0 2rem; }
.app-feature { margin: 0; display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid #cfe3d6; border-radius: 1.2rem; padding: .9rem 1rem; }
.app-feature .af-ico { width: 2.8rem; height: 2.8rem; border-radius: .8rem; background: var(--mint-soft); display: grid; place-items: center; flex: none; }
.app-feature .af-ico img { width: 1.8rem; height: 1.8rem; object-fit: contain; }
.app-feature figcaption { font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--navy); }
.app-feature figcaption span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }

/* ---------- Footer (dynamic) ---------- */
.footer-grid { grid-template-columns: 1.45fr .95fr 1fr 1.35fr; }
.f-logo { max-height: 5rem; width: auto; max-width: 17rem; /*padding: .4rem .8rem;*/ border-radius: .8rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); object-fit: contain; margin-bottom: .6rem; display: inline-block; }
.f-rich, .f-rich p { color: #9bb0d3; font-size: .95rem; line-height: 1.6; }
.f-rich p { margin-top: 1rem; }
.f-rich ul { display: grid; gap: .65rem; margin-top: 1rem; }
.f-rich li { display: flex; gap: .6rem; align-items: flex-start; }
.f-rich i { color: var(--mint); margin-top: .3rem; }
.f-rich a { color: #e6ecf7; transition: color .2s; }
.f-rich a:hover { color: var(--mint); }
.f-col ul { display: flex; flex-direction: column; gap: .75rem; }
.visitor { display: inline-flex; align-items: center; gap: .7rem; margin-top: .8rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #7b8cab; }
.visitor b { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); padding: .25rem .8rem; border-radius: .6rem; }
.f-store img { cursor: pointer; background: #fff; padding: .15rem; }
.socials { margin-top: 0; margin-bottom: 1rem; }
.site-footer .modal-title { font-family: var(--serif); color: var(--navy); }

/* ---------- Responsive (integration) ---------- */
@media (max-width: 1350px) {
  .main-nav { gap: 1rem; font-size: .94rem; margin-right: .8rem; }
}
@media (max-width: 1240px) {
  .site-header .container, .announce .container { padding-inline: 1.25rem; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .8rem 1.6rem 1.6rem; background: var(--cream); box-shadow: 0 18px 30px rgba(15, 26, 46, .1); display: none; max-height: calc(100vh - 5rem); overflow-y: auto; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn), .sub-toggle { padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 1.2rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .sub-menu, .has-sub:hover .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(14, 107, 79, 0.05); border-radius: .8rem; padding: .4rem .6rem; margin: .4rem 0 .6rem; min-width: 0; }
  .has-sub.open .sub-menu { display: grid; }
  .has-sub:hover .sub-toggle .nav-chevron { transform: none; }
  .has-sub.open .sub-toggle .nav-chevron { transform: rotate(180deg); }
  .main-nav .sub-menu a { border-bottom: 0; padding: .6rem .8rem; white-space: normal; }
  .feature-grid.modules { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-apps { grid-column: auto; }
}
@media (max-width: 900px) {
  .announce-inner { justify-content: center; text-align: center; }
  .admin-split { grid-template-columns: 1fr; }
  .admin-copy h2, .banner-content :is(h1, h2) { font-size: 2.6rem; }
  .stake-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid.modules { grid-template-columns: repeat(2, 1fr); }
  .app-visual .phone-chip { right: 1rem; }
}
@media (max-width: 640px) {
  .stake-grid, .app-features { grid-template-columns: 1fr; }
  .admin-copy h2, .banner-content :is(h1, h2) { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .announce .sep { display: none; }
  .announce-actions { justify-content: center; }
  .app-shot { max-height: 26rem; }
}


/* =========================================================
   SchoolEasy Inner Pages (Client List, Dealers, Testimonials, Page, Contact)
   ========================================================= */

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  background: radial-gradient(55rem 24rem at 50% 0, rgba(255, 150, 100, .14), transparent 70%), var(--cream);
  padding: 1.8rem 0 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero-inner {
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.page-hero h1 {
  font-size: 3.4rem;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: .3rem 0 .5rem;
}
.page-hero h1 em {
  color: var(--orange);
  font-style: italic;
}
.page-hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 38rem;
  margin: 0 auto;
}

/* ---------- Page Content Section ---------- */
.page-content-wrap {
  padding: 3.8rem 0 5.5rem;
  background: var(--cream);
  min-height: 50vh;
}

/* ---------- Data Cards & Modern Tables (Client List & Dealers) ---------- */
.data-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.data-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--line);
  background: #fdfaf5;
}
.search-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 19rem;
  max-width: 100%;
}
.search-box input {
  width: 100%;
  padding: .65rem 1.2rem .65rem 2.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: var(--sans);
  font-size: .95rem;
  outline: none;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 107, 79, .15);
}
.search-box .ic-search {
  position: absolute;
  left: .95rem;
  width: 1.1em;
  height: 1.1em;
  color: var(--muted);
  pointer-events: none;
}
.se-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.se-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .96rem;
}
.se-table th {
  background: #f8fbf9;
  padding: 1rem 1.4rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.se-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #f1ece1;
  vertical-align: middle;
  color: var(--text);
}
.se-table tbody tr:last-child td {
  border-bottom: none;
}
.se-table tbody tr:hover td {
  background: #fafdfb;
}
.sn-badge {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--green);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
}
.school-name-cell {
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.school-name-cell .ic {
  color: var(--green);
  width: 1.15em;
  height: 1.15em;
}
.district-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f2ede3;
  color: #3b4556;
  font-weight: 600;
  font-size: .84rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.action-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .86rem;
  color: var(--green);
  text-decoration: none;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: var(--mint-soft);
  border: 1px solid #d2e4d9;
  transition: all .2s;
  white-space: nowrap;
}
.action-link:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-1px);
}
.dealer-contact-cell strong {
  display: block;
  font-size: .98rem;
  color: var(--navy);
}
.dealer-contact-cell small {
  display: block;
  font-size: .84rem;
  color: var(--muted);
}
.contact-chip-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.contact-chip:hover {
  color: var(--orange);
  text-decoration: underline;
}
.contact-chip .ic {
  width: .9em;
  height: .9em;
  color: var(--green);
}

/* ---------- Testimonials Grid ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  padding: 2.2rem 2rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 26, 46, .09);
  border-color: #d2e4d9;
}
.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testi-stars {
  color: #ffb800;
  font-size: 1.05rem;
  letter-spacing: .12em;
}
.testi-quote-mark {
  color: var(--orange-soft);
  width: 2rem;
  height: 2rem;
}
.testi-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #3f4a5c;
  font-style: italic;
  flex-grow: 1;
}
.testi-body p {
  margin: 0;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #f1ece1;
  padding-top: 1.3rem;
}
.testi-avatar {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mint-soft);
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid #d5e6dc;
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi-avatar-fallback {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
}
.testi-meta strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}
.testi-meta small {
  display: block;
  font-size: .88rem;
  color: var(--green);
  font-weight: 600;
  margin-top: .25rem;
  line-height: 1.3;
}

/* ---------- CMS Single Page (Join as Dealer, etc.) ---------- */
.cms-page-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 3.2rem 3.4rem;
  box-shadow: var(--shadow);
}
.cms-cta-banner {
  margin-top: 2.8rem;
  background: radial-gradient(40rem 20rem at 100% 0, rgba(40, 150, 110, .28), transparent 70%), var(--navy);
  color: #fff;
  border-radius: 1.8rem;
  padding: 2.5rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cms-cta-banner h3 {
  font-size: 2rem;
  margin-bottom: .4rem;
  color: #fff;
}
.cms-cta-banner p {
  color: #a8bad4;
  font-size: 1.05rem;
  margin: 0;
  max-width: 34rem;
}
.cms-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Contact Page Grid ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
}
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.contact-card-header .ico {
  width: 2.8rem;
  height: 2.8rem;
}
.contact-card-header h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--navy);
}
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail-row .ico-sm {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .7rem;
  background: var(--mint-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: .1rem;
}
.contact-detail-row .ico-sm .ic {
  width: 1rem;
  height: 1rem;
}
.contact-detail-row strong {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .2rem;
}
.contact-detail-row a, .contact-detail-row span {
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}
.contact-detail-row a:hover {
  color: var(--orange);
  text-decoration: underline;
}
.contact-map-frame {
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 280px;
}
.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Contact Form Card */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  padding: 2.5rem 2.6rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-size: 2rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: .5rem;
}
.contact-form-card .form-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.form-field {
  margin-bottom: 1.4rem;
}
.form-label-se {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: .45rem;
}
.form-input-se {
  width: 100%;
  padding: .8rem 1.1rem;
  border-radius: .9rem;
  border: 1.5px solid var(--line);
  font-family: var(--sans);
  font-size: 1rem;
  background: #fdfcf9;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  box-sizing: border-box;
}
.form-input-se:focus {
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 3.5px rgba(14, 107, 79, .15);
}
textarea.form-input-se {
  resize: vertical;
  min-height: 7rem;
}
.field-error {
  color: #d32f2f;
  font-size: .84rem;
  font-weight: 600;
  margin-top: .35rem;
  display: block;
}
.captcha-container {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}
.captcha-img-box {
  background: #fff;
  padding: .35rem;
  border-radius: .8rem;
  border: 1px solid var(--line);
  display: inline-flex;
}
.captcha-img-box img {
  border-radius: .5rem;
  height: 2.8rem;
  width: auto;
}
.btn-captcha-reload {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: .8rem;
  background: var(--mint-soft);
  color: var(--green);
  border: 1px solid #cfe3d6;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn-captcha-reload:hover {
  background: var(--green);
  color: #fff;
  transform: rotate(180deg);
}
.captcha-input-wrap {
  flex: 1 1 12rem;
}
.alert-se {
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.alert-se.success {
  background: #dff0e6;
  color: #0e6b4f;
  border: 1px solid #b7dfca;
}
.alert-se.error {
  background: #fde8e4;
  color: #c52707;
  border: 1px solid #f9c4ba;
}
.alert-se .alert-close {
  background: none;
  border: 0;
  font-size: 1.3rem;
  cursor: pointer;
  color: inherit;
  line-height: 1;
}

/* Support departments grid */
.support-depts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.2rem;
}
.dept-card {
  background: #f8fbf9;
  border: 1px solid #e1eee5;
  border-radius: 1.2rem;
  padding: 1.2rem;
}
.dept-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .6rem;
}
.dept-card a {
  display: block;
  color: var(--green);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  margin-bottom: .25rem;
}
.dept-card a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Responsive inner pages */
@media (max-width: 1100px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .page-hero {
    padding: 3.5rem 0 2.5rem;
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
  .page-content-wrap {
    padding: 2.5rem 0 4rem;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .cms-page-card, .contact-form-card {
    padding: 2rem 1.5rem;
  }
  .support-depts-grid {
    grid-template-columns: 1fr;
  }
  .cms-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.6rem;
  }
  .search-box {
    width: 100%;
  }
  .data-toolbar {
    padding: 1rem 1.2rem;
  }
}
