:root {
  --navy: #182f45;
  --red: #b93235;
  --cream: #fbf7ef;
  --muted: #536474;
}
body {font-family: "Instrument Sans", system-ui, sans-serif;}
.nav {min-height: 76px;}
.brand img {object-fit: contain;}
.links a:focus-visible, .hero-detail-link:focus-visible, .faq summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
.launch-hero {
  position: relative;
  isolation: isolate;
  padding: 76px 0;
  background: #f6ead8;
}
.launch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fbf6eb 2%, #fbf6ebf7 37%, #fbf6eb9e 57%, #fbf6eb15 100%), url("classroom-hero.webp") center / cover;
}
.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 30px;
  align-items: center;
}
.launch-copy .eyebrow {color: #795022;}
.launch-copy h1 {
  font-size: clamp(48px, 5.3vw, 79px);
  line-height: 1.02;
  letter-spacing: -.064em;
  margin-bottom: 23px;
}
.launch-copy h1 em {display: inline-block;}
.launch-copy .lead {max-width: 470px; color: #354b5d; line-height: 1.55;}
.launch-copy .actions {align-items: center; gap: 24px; margin-bottom: 18px;}
.hero-detail-link {font-weight: 750; color: var(--navy); text-decoration: underline; text-underline-offset: .25em;}
.hero-compat {max-width: 420px; font-size: 14px; color: #405566; line-height: 1.5;}
.launch-visual {position: relative; display: grid; justify-items: center; padding: 0 0 0 32px;}
.launch-device {
  width: clamp(244px, 26vw, 328px);
  padding: 8px;
  border: 1px solid #344859;
  border-radius: 40px;
  background: #111d2c;
  box-shadow: 0 28px 60px #16223358;
  transform: rotate(3deg);
}
.launch-device img {width: 100%; height: auto; display: block; border-radius: 32px;}
.launch-alert {
  position: absolute;
  top: 34%;
  left: -4%;
  width: min(86%, 405px);
  border: 5px solid #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 13px 32px #2e202344;
  transform: rotate(-3deg);
}
.launch-alert img {display: block; width: 100%; height: auto;}
.workflow {background: var(--navy); color: #fff; padding: 80px 0;}
.workflow .sectionhead {max-width: 820px; margin-bottom: 35px;}
.workflow .sectionhead p {max-width: 690px; margin: 0 auto; color: #e0e9f1;}
.workflow-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;}
.workflow-card {
  display: flex;
  flex-direction: column;
  background: #fffaf2;
  color: var(--ink);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ffffff6e;
}
.workflow-copy {padding: clamp(23px, 3vw, 36px);}
.workflow-copy h3 {font-size: clamp(22px, 2.7vw, 31px); letter-spacing: -.04em; margin: 0 0 12px;}
.workflow-copy p {line-height: 1.6; margin: 0; color: #405566;}
.workflow-copy .compat-note {font-size: 14px; background: #e9edf2; border-radius: 10px; margin-top: 16px; padding: 12px 14px;}
.workflow-preview {
  display: grid;
  place-items: center;
  padding: 20px 28px 0;
  background: #e8eef4;
  margin-top: auto;
  min-height: 218px;
}
.workflow-preview img {
  display: block;
  width: min(100%, 358px);
  height: auto;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 12px 28px #213b542c;
}
.warning-preview {background: #f2dcd9; flex: 1; padding-bottom: 20px;}
.warning-preview img {width: min(100%, 465px); border-radius: 14px; border: 5px solid #fff;}
.gallery {grid-template-columns: repeat(5, minmax(0, 1fr));}
#features, #screenshots, #faq {scroll-margin-top: 14px;}
.faq {background: #f1ebe1; padding: 65px 0;}
.faq .wrap {max-width: 850px;}
.faq h2 {font-size: clamp(32px, 5vw, 46px); letter-spacing: -.05em; margin: 0 0 22px;}
.faq details {border-top: 1px solid #cfc7bc; padding: 16px 0;}
.faq details:last-child {border-bottom: 1px solid #cfc7bc;}
.faq summary {cursor: pointer; font-weight: 750; width: fit-content;}
.faq details p {color: #405566; margin: 12px 0 0; line-height: 1.6;}
.faq details a {text-decoration: underline; text-underline-offset: .2em;}
@media (max-width: 850px) {
  .gallery {grid-template-columns: repeat(4, minmax(0, 1fr));}
  .gallery figure {grid-column: span 2;}
  .gallery figure:last-child:nth-child(odd) {grid-column: 2 / span 2;}
  .launch-hero {padding: 46px 0 60px;}
  .launch-grid {grid-template-columns: 1fr; gap: 30px;}
  .launch-hero::before {
    background: linear-gradient(180deg, #fbf6eb 3%, #fbf6ebf7 43%, #fbf6eb55 71%), url("classroom-hero.webp") 62% center / cover;
  }
  .launch-visual {width: min(100%, 475px); justify-self: center;}
  .launch-alert {left: 0;}
}
@media (max-width: 580px) {
  .launch-copy h1 {font-size: clamp(42px, 10.9vw, 59px);}
  .launch-copy .actions {gap: 17px;}
  .launch-copy .hero-detail-link {font-size: 14px;}
  .launch-visual {padding-left: 25px;}
  .launch-alert {width: min(89%, 355px);}
  .workflow {padding: 62px 0;}
  .workflow-grid {grid-template-columns: 1fr;}
  .workflow-preview {padding-inline: 18px;}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto;}
  .gallery img {transition: none;}
}
