:root {
  --ink: #153748;
  --muted: #586c73;
  --paper: #f8f7f1;
  --white: #fffef9;
  --line: #d9e0d9;
  --lime: #d2ee8b;
  --teal: #237a78;
  --role-admin: #153748;
  --role-admin-soft: #dbe4e9;
  --role-teacher: #237a78;
  --role-teacher-soft: #cee4bd;
  --role-accountant: #8f5a17;
  --role-accountant-soft: #f5e4c7;
  --role-parent: #a63f2a;
  --role-parent-soft: #f6dcd3;
  --serif: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: 'Trebuchet MS', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, h4 { font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.065em; line-height: 1.08; }
h1 { font-size: clamp(52px, 5.8vw, 86px); margin: 24px 0; }
h2 { font-size: clamp(36px, 4.2vw, 57px); margin: 16px 0 0; }
h1 em, h2:has(em) em { font-weight: 400; color: var(--teal); }
p { margin: 0 0 16px; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-anchor { scroll-margin-top: 20px; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; margin-right: 8px; height: 7px; border-radius: 50%; background: var(--teal); }
.skip-link { position: fixed; left: 16px; top: 10px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; background: #f8f7f1f5; backdrop-filter: blur(14px); z-index: 20; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 29px/1 var(--serif); letter-spacing: -.055em; }
.brand-mark { width: 31px; height: 46px; flex-shrink: 0; }
.brand-caption { display: block; margin-top: 8px; font: 10px/1 var(--sans); letter-spacing: .035em; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; }
.site-nav a { padding: 12px 0; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .nav-contact { padding: 10px 18px; margin-left: 6px; border: 1px solid var(--ink); border-radius: 4px; font-weight: 700; }
.nav-contact span { margin-left: 16px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.hero { padding: 86px 0 76px; overflow: clip; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.14fr; align-items: center; gap: 52px; }
.hero-lead { max-width: 410px; color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 23px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 19px; line-height: 1; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #255367; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #e0f8ac; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding: 12px 0; font-weight: 700; font-size: 12px; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-footnote { font-size: 11px; color: var(--muted); margin: 16px 0 28px; }
.perspective-list { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 10px; color: var(--muted); }
.perspective-list span:not(:first-child)::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; margin: 0 12px 2px 0; background: var(--teal); }
.hero-visual { margin: 0; position: relative; padding: 15px; background: #e6eee5; border: 1px solid #cedbce; border-radius: 10px; box-shadow: 0 28px 55px -35px #15374855; transform: rotate(1deg); }
.hero-visual::before { content: ''; position: absolute; width: 160px; height: 160px; right: -56px; top: -52px; z-index: -1; background-image: radial-gradient(#8ba79c 1px, transparent 1px); background-size: 10px 10px; }
.visual-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 14px; }
.mini-wordmark { font-size: 10px; font-weight: 700; }
.mini-wordmark > span { padding: 0 5px; color: #85998d; }
.sample-label { font-size: 8px; letter-spacing: .08em; font-weight: 700; white-space: nowrap; color: #57716a; }
.dashboard-window { border-radius: 5px; background: var(--white); padding: 23px; }
.window-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tiny-label { font-size: 8px; letter-spacing: .12em; font-weight: 700; margin-bottom: 8px; color: var(--muted); }
.window-heading h2 { font-size: 23px; margin: 0; letter-spacing: -.045em; }
.profile-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e8efe3; font-size: 10px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 25px 0; }
.dashboard-metrics > div { padding: 13px 10px; border: 1px solid #e2e7dd; border-radius: 4px; }
.dashboard-metrics > div:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dashboard-metrics span, .dashboard-metrics strong, .dashboard-metrics small { display: block; }
.dashboard-metrics span { font-size: 9px; }
.dashboard-metrics strong { font: 400 34px/1.5 var(--serif); }
.dashboard-metrics small { font-size: 7px; opacity: .75; }
.dashboard-bottom { display: grid; grid-template-columns: 1.18fr 1fr; gap: 24px; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.preview-heading h3 { margin: 0; font-size: 10px; font-weight: 700; }
.preview-heading > span { font-size: 7px; color: var(--muted); }
.chart { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; height: 119px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chart > div { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.chart span { font-size: 7px; color: var(--muted); }
.chart i { display: block; width: 100%; height: var(--bar); max-height: 84px; border-radius: 4px 4px 0 0; background: #b2d4c7; }
.chart .chart-highlight { background: var(--teal); }
.chart small { position: absolute; bottom: -21px; font-size: 7px; color: var(--muted); }
.school-day { border-left: 1px solid var(--line); padding-left: 18px; }
.school-day > div { position: relative; padding: 5px 0 9px 15px; }
.school-day strong, .school-day small { display: block; }
.school-day strong { font-size: 9px; font-weight: 700; }
.school-day small { font-size: 7px; color: var(--muted); margin-top: 3px; }
.day-dot { width: 5px; height: 5px; position: absolute; top: 12px; left: 0; border-radius: 50%; background: var(--teal); }
.hero-visual figcaption { display: flex; align-items: center; gap: 7px; font-size: 8px; margin: 12px 0 0; color: var(--muted); }
.caption-line { width: 17px; border-bottom: 1px solid var(--teal); }
.visual-stamp { position: absolute; right: 8px; bottom: -44px; width: 135px; height: 135px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; background: var(--lime); border: 6px solid var(--paper); transform: rotate(-13deg); box-shadow: 0 3px 15px #15374812; }
.visual-stamp span { font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.visual-stamp strong { font: italic 22px/1.8 var(--serif); }
.capability-strip { border-block: 1px solid #a5c569; background: var(--lime); }
.capability-strip .container { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.capability-strip span { font: italic 19px/1.4 var(--serif); }
.capability-strip p { margin: 0; font-size: 12px; }
.capability-strip b { margin: 0 18px; color: #7d9a52; font-weight: 400; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 44px; margin-bottom: 52px; }
.section-heading > p { max-width: 345px; margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); --accent: var(--teal); }
.feature:nth-child(2) { --accent: #35618a; }
.feature:nth-child(3) { --accent: #8f5a17; }
.feature:nth-child(4) { --accent: #a63f2a; }
.feature:nth-child(5) { --accent: #7d4365; }
.feature:nth-child(6) { --accent: #4d7a2e; }
.feature:nth-child(even) { border-left: 1px solid var(--line); padding-left: 32px; padding-right: 0; }
.feature-number { padding-top: 4px; color: var(--accent); font: 11px/1.5 'Courier New', monospace; }
.feature h3 { font: 400 26px/1.25 var(--serif); letter-spacing: -.045em; margin: 0 0 12px; }
.feature p { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.feature-tag { font-size: 8px; letter-spacing: .1em; font-weight: 700; color: var(--accent); }
.feature svg { width: 34px; height: 34px; stroke: var(--accent); stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.preview-section { background: #edf1e8; border-block: 1px solid var(--line); }
.role-tabs { display: flex; border-bottom: 1px solid #b8c7bb; gap: 10px; }
.role-tabs button { padding: 16px 28px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.role-tabs button[aria-selected="true"] { border-color: var(--role, var(--teal)); color: var(--ink); font-weight: 700; }
.role-tabs button:hover { background: #e4ebdf; }
#tab-admin, #panel-admin { --role: var(--role-admin); --role-soft: var(--role-admin-soft); }
#tab-teacher, #panel-teacher { --role: var(--role-teacher); --role-soft: var(--role-teacher-soft); }
#tab-accountant, #panel-accountant { --role: var(--role-accountant); --role-soft: var(--role-accountant-soft); }
#tab-parent, #panel-parent { --role: var(--role-parent); --role-soft: var(--role-parent-soft); }
.role-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; padding: 45px 0 16px; }
.role-index { font-size: 9px; letter-spacing: .12em; color: var(--role, var(--teal)); font-weight: 700; }
.role-copy h3 { font: 400 34px/1.18 var(--serif); margin: 16px 0; letter-spacing: -.045em; }
.role-copy > p { font-size: 14px; color: var(--muted); }
.check-list { padding: 0; list-style: none; margin: 23px 0 14px; font-size: 12px; }
.check-list li { display: flex; align-items: baseline; gap: 12px; margin: 9px 0; }
.check-list li::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border: 1px solid var(--role, var(--teal)); background: var(--role-soft, #cee4bd); }
.product-sample { padding: 26px; min-width: 0; background: var(--white); border: 1px solid #d1dbcd; border-top: 3px solid var(--role, #d1dbcd); border-radius: 6px; box-shadow: 0 20px 35px -28px #15374877; }
.sample-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sample-topline strong { font-size: 13px; }
.product-sample .sample-label { color: var(--role, #57716a); }
.sample-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 0 18px; }
.sample-stats > div > span { font-size: 10px; color: var(--muted); display: block; }
.sample-stats strong { font: 400 33px/1.5 var(--serif); }
.sample-stats strong span { font: 13px var(--sans); color: var(--muted); }
.product-sample table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
.product-sample caption { padding-bottom: 12px; text-align: left; font-size: 10px; color: var(--muted); }
.product-sample thead { background: #eff3eb; color: var(--muted); }
.product-sample th, .product-sample td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.product-sample th { font-weight: 400; }
.product-sample tbody th { font-weight: 700; }
.product-sample td:last-child { width: 30%; }
.pill { display: inline-block; padding: 3px 9px; background: #e4f0df; border-radius: 3px; color: #396044; font-size: 10px; white-space: nowrap; }
.pill-amber { background: #f8edd2; color: #795e27; }
.sample-footnote { margin: 18px 0 0; color: var(--muted); font-size: 9px; }
.sample-context { margin: 20px 0; font-size: 12px; }
.preview-disclaimer { margin: 26px 0 0; color: var(--muted); font-size: 11px; }
.fee-overview { padding: 24px 0 12px; }
.fee-overview > span { font-size: 11px; color: var(--muted); }
.fee-overview > strong { display: block; font: 400 43px/1.5 var(--serif); }
.fee-overview small { font: 14px var(--sans); }
.fee-overview p { font-size: 10px; color: var(--muted); }
.fee-lines { margin: 0; font-size: 12px; }
.fee-lines > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.fee-lines dd { margin: 0; font-weight: 700; }
.child-preview { display: flex; align-items: center; gap: 13px; padding: 25px 0; }
.child-preview h4 { margin: 0; font-weight: 700; font-size: 14px; }
.child-preview p { margin: 3px 0 0; font-size: 10px; color: var(--muted); }
.child-preview .pill { margin-left: auto; }
.child-initials { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e3eddb; font-size: 13px; }
.parent-preview-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 13px 0; }
.parent-preview-row strong, .parent-preview-row div span { display: block; }
.parent-preview-row strong { font-size: 12px; }
.parent-preview-row div span { font-size: 10px; color: var(--muted); margin-top: 3px; }
.demo-section { padding: 80px 0; background: var(--ink); color: var(--white); position: relative; overflow: clip; }
.demo-section::before { content: ''; position: absolute; border: 1px solid #2b4e5b; width: 600px; height: 600px; border-radius: 50%; top: -80px; right: -230px; pointer-events: none; }
.demo-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; position: relative; }
.demo-section .eyebrow { color: #c0d0c4; }
.demo-section h2 { font-size: clamp(45px, 5vw, 65px); }
.demo-section h2 em { color: var(--lime); }
.demo-section p:not(.eyebrow) { font-size: 14px; max-width: 440px; margin: 24px 0; color: #cedbd6; }
.demo-section .demo-link-note { font-size: 11px !important; margin: 14px 0 0 !important; }
.demo-note { border-left: 1px solid #50706f; padding: 0 0 0 46px; align-self: center; }
.demo-note h3 { font: 400 27px/1.25 var(--serif); margin: 20px 0; letter-spacing: -.025em; }
.demo-note ul { list-style: none; padding: 0; font-size: 12px; color: #cedbd6; }
.demo-note li { padding-left: 14px; position: relative; margin-top: 12px; }
.demo-note li::before { content: ''; position: absolute; width: 4px; height: 4px; background: var(--lime); left: 0; top: 9px; }
.demo-note-mark { display: inline-flex; align-items: center; color: var(--lime); font: 400 36px var(--serif); border: 1px solid #70938a; padding: 4px 14px; }
.demo-note-mark span { margin-left: -7px; transform: translateY(7px); }
.demo-section a:focus-visible { outline-color: var(--lime); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 23px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.price-duration { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.price-card h3 { font: 400 28px/1.2 var(--serif); letter-spacing: -.04em; margin: 0 0 27px; }
.price { font: 400 45px/1.15 var(--serif); letter-spacing: -.04em; margin: 0 0 9px; white-space: nowrap; }
.price > span { font: 13px var(--sans); letter-spacing: 0; }
.price-period { color: var(--muted); font-size: 11px; margin-bottom: 32px; }
.plan-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 0 3px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; text-decoration: none; margin-top: auto; min-height: 48px; }
.plan-link > span { font-size: 19px; }
.plan-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.price-featured { background: var(--lime); border-color: #a5c569; }
.best-value { position: absolute; top: -12px; right: 16px; background: var(--ink); color: var(--white); padding: 3px 10px; border-radius: 2px; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.price-featured .plan-link { border-color: #afca7e; }
.price-featured .price-duration, .price-featured .price-period { color: #435b3f; }
.pricing-notes { margin-top: 28px; font-size: 11px; color: var(--muted); }
.pricing-notes p { margin: 5px 0; }
.faq-section { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-layout > div > p:not(.eyebrow) { margin: 24px 0 0; font-size: 13px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font: 24px/1 var(--serif); color: var(--teal); transition: transform .18s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { font-size: 13px; color: var(--muted); padding: 0 30px 20px 0; margin: 0; }
.contact-section { padding: 70px 0; background: #e6eedb; border-block: 1px solid #d0ddc1; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.contact-section h2 { font-size: clamp(35px, 3.6vw, 50px); }
.contact-section p:not(.eyebrow) { font-size: 14px; max-width: 420px; margin: 24px 0 0; color: var(--muted); }
.contact-actions { justify-self: end; }
.contact-number { display: block; font: 26px/1.5 var(--serif); letter-spacing: -.03em; margin-top: 18px; text-decoration: none; }
.contact-number:hover { text-decoration: underline; }
.contact-actions > span { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }
.site-footer { padding: 40px 0 20px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 32px; }
.footer-top > p { margin: 0; font: italic 19px/1.4 var(--serif); }
.footer-top nav { display: flex; gap: 24px; font-size: 11px; }
.footer-top nav a { text-decoration: none; padding: 12px 0; }
.footer-top nav a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; font-size: 10px; color: var(--muted); }
.footer-bottom a { padding: 6px 0; text-decoration: none; }
.error-page { min-height: 80vh; display: grid; place-items: center; padding: 50px 24px; }
.error-page > div { width: min(600px, 100%); }
.error-page p { color: var(--muted); margin: 26px 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy { animation: arrive .65s ease both; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .site-nav { gap: 20px; }
  .hero-layout { gap: 32px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: 61px; }
  .hero { padding-top: 65px; }
  .dashboard-window { padding: 16px; }
  .dashboard-bottom { gap: 14px; }
  .school-day { padding-left: 12px; }
  .window-heading h2 { font-size: 20px; }
  .dashboard-metrics { gap: 7px; }
  .visual-stamp { width: 110px; height: 110px; bottom: -52px; right: 0; }
  .visual-stamp strong { font-size: 18px; }
  .visual-stamp span { font-size: 6px; }
  .capability-strip b { margin: 0 10px; }
  .role-panel { gap: 40px; }
  .price-card { padding: 27px 17px 18px; }
  .price { font-size: 36px; }
  .price-card h3 { font-size: 25px; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 82px; flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: flex; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 4px 22px; padding: 12px 0; border-top: 1px solid var(--line); }
  .site-nav .nav-contact { margin-left: auto; }
  .menu-ready .site-nav:not(.is-open) { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 650px; }
  h1 { font-size: clamp(54px, 8.5vw, 76px); }
  .hero-lead { max-width: 510px; }
  .hero-visual { width: min(600px, 100%); justify-self: center; margin-bottom: 15px; }
  .dashboard-window { padding: 24px; }
  .window-heading h2 { font-size: 26px; }
  .dashboard-metrics { gap: 12px; }
  .dashboard-metrics span { font-size: 11px; }
  .dashboard-metrics small { font-size: 8px; }
  .dashboard-metrics strong { font-size: 38px; }
  .visual-stamp { right: -10px; width: 130px; height: 130px; bottom: -35px; }
  .visual-stamp strong { font-size: 22px; }
  .visual-stamp span { font-size: 7px; }
  .hero-visual figcaption { padding-right: 100px; }
  .section { padding: 74px 0; }
  .section-heading { gap: 25px; align-items: flex-start; flex-direction: column; margin-bottom: 36px; }
  .section-heading > p { max-width: 510px; }
  .capability-strip .container { padding: 20px 0; flex-direction: column; gap: 10px; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { border-left: 0; padding: 27px 0; }
  .feature p { max-width: 530px; }
  .role-panel { grid-template-columns: 1fr; gap: 28px; }
  .role-copy > p { max-width: 580px; }
  .role-tabs { gap: 0; }
  .role-tabs button { flex: 1; padding: 15px 10px; font-size: 12px; }
  .product-sample { width: 100%; }
  .demo-layout { gap: 40px; grid-template-columns: 1.1fr .9fr; }
  .demo-note { padding-left: 26px; }
  .demo-section h2 { font-size: 46px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .price-card { padding: 30px 24px 20px; }
  .price { font-size: 43px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-actions { justify-self: start; }
  .footer-top { flex-wrap: wrap; }
  .footer-top nav { width: 100%; border-top: 1px solid var(--line); padding-top: 14px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; }
  .brand { font-size: 26px; }
  .brand-mark { width: 25px; height: 38px; }
  .brand-caption { font-size: 9px; }
  .site-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
  .site-nav .nav-contact { margin: 8px 0 4px; grid-column: 1 / -1; text-align: center; }
  .hero { padding: 46px 0 64px; }
  h1 { font-size: clamp(47px, 12vw, 65px); }
  .hero-lead { font-size: 14px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .button-row { gap: 12px 20px; }
  .button { font-size: 12px; padding: 13px 18px; gap: 20px; }
  .hero-footnote { font-size: 10px; }
  .perspective-list { gap: 8px 14px; }
  .perspective-list span:not(:first-child)::before { display: none; }
  .hero-visual { padding: 10px; transform: none; }
  .visual-heading { gap: 5px; }
  .mini-wordmark { font-size: 8px; }
  .sample-label { font-size: 7px; }
  .dashboard-window { padding: 14px; }
  .window-heading h2 { font-size: 20px; }
  .tiny-label { font-size: 7px; }
  .profile-mark { display: none; }
  .dashboard-metrics { gap: 6px; margin: 19px 0; }
  .dashboard-metrics > div { padding: 10px 6px; }
  .dashboard-metrics span { font-size: 8px; }
  .dashboard-metrics strong { font-size: 30px; }
  .dashboard-metrics small { font-size: 7px; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .school-day { display: none; }
  .chart { height: 125px; }
  .chart > div { max-width: 35px; }
  .hero-visual figcaption { font-size: 7px; padding-right: 55px; }
  .visual-stamp { width: 90px; height: 90px; right: -7px; bottom: -38px; border-width: 4px; }
  .visual-stamp strong { font-size: 15px; }
  .visual-stamp span { font-size: 5px; }
  .capability-strip p { font-size: 10px; }
  .capability-strip b { margin: 0 4px; }
  .capability-strip span { font-size: 18px; }
  .section { padding: 58px 0; }
  h2 { font-size: clamp(34px, 8.4vw, 44px); }
  .feature { gap: 13px; }
  .feature svg { width: 27px; height: 27px; }
  .feature h3 { font-size: 24px; }
  .feature p { font-size: 12px; }
  .role-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .role-tabs button { min-height: 48px; }
  .role-panel { padding-top: 30px; }
  .role-copy h3 { font-size: 29px; }
  .role-copy > p { font-size: 13px; }
  .product-sample { padding: 18px 14px; }
  .sample-topline { flex-wrap: wrap; gap: 7px; }
  .sample-topline strong { font-size: 12px; }
  .sample-stats { gap: 6px; }
  .sample-stats > div > span { font-size: 9px; }
  .product-sample table { font-size: 10px; }
  .product-sample th, .product-sample td { padding: 10px 6px; }
  .child-preview { gap: 9px; flex-wrap: wrap; }
  .child-preview .pill { margin-left: 0; }
  .demo-section { padding: 58px 0; }
  .demo-layout { grid-template-columns: 1fr; gap: 35px; }
  .demo-note { border-left: 0; border-top: 1px solid #50706f; padding: 30px 0 0; }
  .demo-note-mark { display: none; }
  .demo-note h3 { margin-top: 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
  .price-card { padding: 26px 24px 17px; }
  .price-card h3 { margin-bottom: 20px; }
  .price-period { margin-bottom: 20px; }
  .plan-link { font-size: 12px; }
  .faq-list summary { font-size: 13px; gap: 15px; }
  .faq-list details p { font-size: 12px; padding-right: 10px; }
  .contact-section { padding: 50px 0; }
  .contact-section h2 { font-size: 35px; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }
  .footer-top > p { font-size: 16px; }
  .footer-top { gap: 24px; }
  .footer-top nav { justify-content: space-between; gap: 16px; }
  .footer-bottom { font-size: 9px; }
  .footer-bottom > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header { position: static; }
  .menu-toggle, .role-tabs, .visual-stamp { display: none !important; }
  .role-panel[hidden] { display: grid !important; }
  .hero-copy { animation: none; }
  .section { padding: 24px 0; }
  .demo-section { background: white; color: var(--ink); }
  .demo-section p, .demo-section h2 em, .demo-note ul, .demo-section .eyebrow { color: var(--ink) !important; }
  .price-card, .feature, .product-sample, details { break-inside: avoid; }
}
