:root {
  color-scheme: light;
  --navy: var(--examio-navy);
  --ink: var(--examio-ink);
  --blue: var(--examio-blue);
  --cyan: #14bfe4;
  --green: var(--examio-green);
  --paper: var(--examio-paper);
  --muted: var(--examio-muted);
  --line: var(--examio-line);
  --white: var(--examio-white);
  --shadow: 0 22px 55px rgba(13, 39, 62, .16);
  font-family: var(--examio-font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button { font: inherit; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 30; top: .75rem; left: .75rem; padding: .8rem 1rem; background: #fff; border-radius: .6rem; color: var(--navy); }

.site-header { max-width: 1480px; margin: 0 auto; min-height: 94px; padding: 18px clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 48px; height: 48px; }
.brand-type { display: grid; gap: 1px; line-height: 1; }
.brand-type strong { font-size: 1.8rem; letter-spacing: -.07em; font-weight: 850; }
.brand-type small { font-size: .54rem; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.brand-type i { color: var(--green); font-style: normal; margin: 0 .1rem; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin-left: auto; }
.main-nav a, .site-footer > a:last-child { text-decoration: none; color: #385168; font-size: .94rem; font-weight: 650; }
.main-nav a:hover, .site-footer > a:last-child:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 54px; padding: 0 24px; border: 1px solid var(--blue); border-radius: 12px; background: linear-gradient(135deg, #087bea, #0758e8); color: #fff; font-weight: 760; text-decoration: none; box-shadow: 0 10px 22px rgba(8, 123, 234, .17); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(8, 123, 234, .23); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #34c96b; outline-offset: 4px; }
.button-small { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: .9rem; }
.button-secondary { background: rgba(255,255,255,.82); color: var(--navy); border-color: rgba(8,45,91,.17); box-shadow: none; }

.hero { position: relative; overflow: hidden; min-height: 690px; background: var(--paper) url('/landing/hero-classroom.png') center 48% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(244,247,242,.98) 0%, rgba(244,247,242,.92) 30%, rgba(244,247,242,.72) 53%, rgba(244,247,242,.42) 100%); }
.hero-inner { max-width: 1480px; min-height: 690px; padding: 62px clamp(20px, 5vw, 76px) 44px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(530px, 1.15fr); align-items: center; gap: 18px; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; padding-bottom: 12px; }
.eyebrow { margin: 0; color: #186d64; font-size: .75rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 4px rgba(39,191,76,.14); vertical-align: 1px; }
.hero h1 { margin: 20px 0 18px; color: var(--navy); font-size: clamp(3rem, 5vw, 4.4rem); line-height: .99; letter-spacing: -.075em; font-weight: 850; }
.hero h1 span { color: var(--blue); }
.hero-description { max-width: 510px; margin: 0; color: #4d6274; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-footnote { margin: 19px 0 0; color: #536b75; font-size: .88rem; font-weight: 600; }
.hero-footnote span { color: #1b9c42; margin-right: 6px; font-weight: 900; }

.preview { position: relative; z-index: 1; min-width: 0; padding: 12px 0 0; }
.preview-heading { text-align: center; position: relative; z-index: 5; }
.preview-heading .eyebrow { color: #1b6d64; font-size: .68rem; }
.preview-hint { margin: 8px 0 0; color: #546a77; font-size: .94rem; }
.preview-stage { position: relative; z-index: 2; }
.carousel { position: relative; height: 472px; margin: 10px auto 0; max-width: 720px; perspective: 1200px; isolation: isolate; }
.preview-card { position: absolute; left: 50%; top: 50%; width: clamp(220px, 32vw, 380px); margin: 0; padding: 11px 11px 0; border: 1px solid rgba(255,255,255,.9); border-radius: 21px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); transform-origin: center 78%; transition: transform .82s cubic-bezier(.2,.75,.24,1), opacity .82s ease, filter .82s ease; }
.preview-card[data-position="center"] { z-index: 4; opacity: 1; filter: none; transform: translate(-50%, -44%) rotate(0deg) scale(1); }
.preview-card[data-position="left"] { z-index: 2; opacity: .88; filter: saturate(.84); transform: translate(-95%, -35%) rotate(-13deg) scale(.76); }
.preview-card[data-position="right"] { z-index: 2; opacity: .88; filter: saturate(.84); transform: translate(7%, -35%) rotate(13deg) scale(.76); }
.preview-frame { height: 360px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: #f8faf8; }
.preview-card[data-screen="classroom"] .preview-frame, .preview-card[data-screen="professor"] .preview-frame { position: relative; }
.preview-card[data-screen="classroom"] .preview-brand { position: absolute; top: 22%; left: 5%; width: 30%; height: 4%; overflow: hidden; padding: 1px 2px; background: #0d3029; color: #d4e7da; font-size: 7px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.preview-card[data-screen="professor"] .preview-frame::after { content: ""; position: absolute; right: 0; bottom: 18%; left: 0; height: 6%; background: #f4f7f2; }
.preview-card img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.preview-card[data-screen="student"] img { height: 100%; }
.preview-card[data-screen="classroom"] img, .preview-card[data-screen="professor"] img { width: 100%; }
.preview-card figcaption { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 8px 10px; color: var(--navy); font-size: .87rem; font-weight: 760; }
.screen-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #e9f4ff; color: #087bea; font-size: .72rem; font-weight: 850; }
.screen-icon-classroom { background: #e6f5e9; color: #168337; }
.screen-icon-professor { background: #edf0fc; color: #424cc0; }
.carousel-controls { position: relative; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 2px; }
.carousel-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 38px; padding: 0 12px; border: 1px solid rgba(8,45,91,.19); border-radius: 10px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .86rem; font-weight: 750; cursor: pointer; }
.carousel-controls button:hover { background: #fff; border-color: var(--blue); }
.carousel-controls [data-carousel-action="pause"] { min-width: 68px; }
.preview-note { text-align: center; margin: 9px 0 0; color: #667a86; font-size: .72rem; }

.section-wrap { max-width: 1328px; margin: 0 auto; padding: 112px clamp(20px, 5vw, 70px) 124px; }
.section-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-intro h2 { margin: 15px 0 12px; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -.065em; color: var(--navy); }
.section-intro h2 span { color: #307d81; }
.section-intro > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 224px; padding: 26px 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 8px 20px rgba(13,39,62,.035); }
.feature-card h3 { margin: 19px 0 9px; color: var(--navy); font-size: 1.12rem; line-height: 1.27; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: #5c6e7a; font-size: .94rem; line-height: 1.55; }
.feature-card small { display: block; margin-top: 10px; color: #687c86; font-size: .75rem; line-height: 1.45; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; position: relative; border-radius: 13px; background: #eaf5ff; color: var(--blue); }
.icon-dual i { width: 12px; height: 19px; border: 2px solid var(--blue); border-radius: 3px; margin: 0 2px; }
.icon-dual i:last-child { height: 15px; border-color: #31b959; }
.icon-qr { display: grid; grid-template-columns: repeat(2, 11px); grid-auto-rows: 11px; gap: 4px; padding: 9px; }
.icon-qr i { border: 2px solid var(--blue); border-radius: 3px; }
.icon-qr i:nth-child(2), .icon-qr i:nth-child(3) { border-color: var(--green); }
.icon-monitor { border: 2px solid #d9f2df; background: #effaf0; }
.icon-monitor i { width: 21px; height: 14px; border: 2px solid #1e9b46; border-radius: 4px; position: relative; }
.icon-monitor i::after { content: ""; position: absolute; width: 8px; height: 2px; background: #1e9b46; bottom: -5px; left: 5px; }
.icon-grade { background: #edf8ed; color: #20a245; font-size: 1.55rem; font-weight: 850; }
.icon-library { flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; background: #f0efff; }
.icon-library i { height: 5px; width: 22px; border-radius: 5px; background: #6261c8; }
.icon-library i:nth-child(2) { width: 16px; }.icon-library i:nth-child(3) { width: 20px; }
.icon-ai { background: #eaf7f6; color: #167c74; font-size: .83rem; font-weight: 850; letter-spacing: -.04em; }

.closing-cta { max-width: 1328px; margin: 0 auto 72px; padding: 54px clamp(24px, 5vw, 64px); border-radius: 26px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #fff; background: linear-gradient(115deg, #082f5d, #0874b5 62%, #168b68); box-shadow: 0 22px 44px rgba(8,45,91,.16); }
.closing-cta .eyebrow { color: #a9e6c0; }
.closing-cta h2 { margin: 13px 0 0; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.06em; }
.button-light { min-width: 220px; background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.button-light:hover { background: #f0f8ff; }
.site-footer { max-width: 1328px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 70px) 36px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; color: #71808a; }
.brand-footer .brand-mark { width: 38px; height: 38px; }
.brand-footer .brand-type strong { font-size: 1.35rem; }
.brand-footer .brand-type small { font-size: .43rem; }
.site-footer p { margin: 0; font-size: .78rem; }
.site-footer > a:last-child { font-size: .82rem; }

@media (max-width: 1050px) {
  .hero-inner { grid-template-columns: minmax(270px, .78fr) minmax(440px, 1.22fr); gap: 0; }
  .hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.35rem); }
  .carousel { height: 430px; }
  .preview-card { width: clamp(210px, 34vw, 330px); }
  .preview-frame { height: 330px; }
  .feature-card { padding: 22px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 76px; padding: 13px 18px; gap: 12px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-type strong { font-size: 1.5rem; }
  .brand-type small { font-size: .45rem; letter-spacing: .11em; }
  .main-nav { display: none; }
  .button-small { min-height: 40px; padding: 0 13px; font-size: .82rem; }
  .hero, .hero-inner { min-height: 0; }
  .hero { background-position: 62% top; }
  .hero::before { background: linear-gradient(180deg, rgba(244,247,242,.89), rgba(244,247,242,.95) 44%, rgba(244,247,242,.98) 100%); }
  .hero-inner { padding: 50px 20px 46px; display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  .hero-copy { max-width: 560px; }
  .hero h1 { margin-top: 16px; font-size: clamp(3rem, 10vw, 4.2rem); }
  .hero-description { max-width: 540px; font-size: 1rem; }
  .hero-actions { margin-top: 22px; }
  .button { min-height: 50px; padding: 0 19px; }
  .preview { padding-top: 0; }
  .carousel { height: 390px; max-width: 560px; }
  .preview-card { width: clamp(210px, 57vw, 310px); padding: 8px 8px 0; border-radius: 17px; }
  .preview-card[data-position="center"] { transform: translate(-50%, -43%) rotate(0deg) scale(.98); }
  .preview-card[data-position="left"] { transform: translate(-96%, -32%) rotate(-12deg) scale(.71); }
  .preview-card[data-position="right"] { transform: translate(9%, -32%) rotate(12deg) scale(.71); }
  .preview-frame { height: 310px; }
  .preview-card figcaption { min-height: 38px; padding: 4px 6px 8px; font-size: .8rem; }
  .screen-icon { width: 21px; height: 21px; }
  .section-wrap { padding: 78px 20px 84px; }
  .section-intro { margin-bottom: 32px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature-card { min-height: 218px; padding: 19px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: .86rem; }
  .closing-cta { margin: 0 18px 42px; padding: 36px 25px; border-radius: 22px; align-items: flex-start; flex-direction: column; }
  .button-light { min-width: 0; }
  .site-footer { padding: 10px 20px 28px; }
}
@media (max-width: 430px) {
  .brand-type small { letter-spacing: .075em; }
  .hero-inner { padding-top: 39px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 250px; }
  .hero-actions .button { width: 100%; }
  .carousel { height: 410px; }
  .preview-card { width: 61vw; }
  .preview-card[data-position="center"] { transform: translate(-50%, -41%) scale(.94); }
  .preview-card[data-position="left"] { transform: translate(-96%, -29%) rotate(-12deg) scale(.65); }
  .preview-card[data-position="right"] { transform: translate(10%, -29%) rotate(12deg) scale(.65); }
  .preview-frame { height: 275px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.walkthrough { scroll-margin-top: 24px; padding-bottom: 40px; }
.walkthrough-steps { margin: 0; padding: 0; list-style-position: inside; }
.walkthrough-steps li::marker { color: var(--blue); font-weight: 800; }
.walkthrough-steps .feature-card { min-height: 0; }

.walkthrough-layout { display: grid; grid-template-columns: minmax(220px, 310px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 68px); max-width: 970px; margin: auto; }
.walkthrough-video { margin: 0; }
.walkthrough-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--navy); box-shadow: var(--shadow); }
.walkthrough-video figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: .8rem; }
.walkthrough-steps { display: grid; gap: 12px; }
.walkthrough-transcript { margin-top: 18px; line-height: 1.6; }
.walkthrough-transcript summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.walkthrough-transcript li + li { margin-top: 8px; }
@media (max-width: 680px) {
  .walkthrough-layout { grid-template-columns: 1fr; }
  .walkthrough-video { width: min(100%, 310px); margin-inline: auto; }
}
