@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #191b1a;
  --muted: #525550;
  --line: #d4d2c7;
  --white: #fffdf5;
  --amber: #f2b735;
  --red: #b93224;
  --dark: #1c1e1d;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #265eb6; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, strong, summary { font-weight: 800; }
p { line-height: 1.65; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.055em; }
h3 { font-size: 1.35rem; line-height: 1.22; letter-spacing: -.035em; }
section[id] { scroll-margin-top: 1.5rem; }

.frame {
  width: min(100% - 6rem, 76rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  color: var(--white);
  background: var(--ink);
}

.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.8rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: inherit;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -.065em;
  text-decoration: none;
  flex-shrink: 0;
}

.top-nav { display: flex; align-items: center; gap: 1.75rem; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.mobile-menu { display: none; }
.language-nav { display: inline-flex; flex: none; align-items: center; border: 1px solid var(--line); border-radius: .18rem; }
.language-nav > * { display: grid; place-items: center; min-width: 2rem; min-height: 2.65rem; padding: .2rem; font-size: .76rem; font-weight: 800; text-decoration: none; }
.language-nav > [aria-current] { background: var(--ink); color: var(--white); }
.language-nav > a:hover { background: #eae7dc; }
.top-nav a {
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.top-nav a:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.top-nav a[aria-current="page"], .mobile-menu a[aria-current="page"], .footer-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .28em;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  min-height: 3.6rem;
  padding: .8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .18rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.compact { min-height: 2.8rem; padding: .58rem .85rem; font-size: .88rem; }
.primary { background: var(--amber); color: var(--ink); }
.primary:hover { background: #ffd06a; }
.dark { background: var(--ink); color: var(--white); }
.dark:hover { background: #353a36; }
.outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.outline:hover { background: #eae7dc; }
.text-link { font-weight: 800; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(20rem, .86fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .62rem;
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot { width: .63rem; height: .63rem; background: var(--red); border-radius: 100%; }
.hero h1 {
  font-size: clamp(3.1rem, 6.2vw, 6.15rem);
  line-height: .98;
  letter-spacing: -.073em;
}

.hero h1 em { display: block; color: var(--red); font-style: normal; }
.intro { max-width: 29rem; margin-top: 1.4rem; font-size: clamp(1rem, 1.45vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.35rem; margin-top: 1.75rem; }
.availability { display: flex; align-items: center; gap: .45rem; margin-top: 1.75rem; color: var(--muted); font-size: .83rem; }

.preview {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  min-height: 32.5rem;
  padding: 3.4rem 1rem 0;
  overflow: hidden;
  border-radius: .22rem;
  background: var(--amber);
}

.preview::before, .preview::after {
  position: absolute;
  align-self: center;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgb(25 27 26 / 17%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.preview::after { width: 100%; }
.preview figcaption {
  position: absolute;
  inset: 1.15rem 1.25rem auto;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.phone-frame {
  z-index: 1;
  width: min(100%, 17.25rem);
  padding: .3rem .65rem .65rem;
  border: .31rem solid #080a09;
  border-bottom: 0;
  border-radius: 1.8rem 1.8rem 0 0;
  color: var(--white);
  background: var(--dark);
  box-shadow: 0 1rem 2.6rem rgb(50 28 0 / 28%);
}

.phone-top { display: flex; align-items: center; justify-content: space-between; padding: .35rem .5rem; font-size: .68rem; font-weight: 800; }
.camera { width: 2.35rem; height: .52rem; border-radius: 1rem; background: #090a09; }
.phone-power { width: .85rem; height: .42rem; border: 1px solid var(--white); border-radius: .12rem; }
.phone-header { display: flex; align-items: center; justify-content: space-between; padding: .2rem .25rem .45rem; }
.phone-header .brand { font-size: 1.3rem; }
.phone-alerts { display: grid; gap: .32rem; }
.phone-tile { display: flex; align-items: center; gap: .5rem; min-height: 2.62rem; padding: .28rem .54rem; border-radius: .1rem; font-size: clamp(.68rem, 2.9vw, .79rem); font-weight: 800; }
.phone-tile .symbol, .phone-tile .icon { width: 1.22rem; height: 1.22rem; flex: none; }
.red { background: var(--red); }
.amber { background: var(--amber); color: var(--ink); }
.neutral { background: var(--white); color: var(--ink); }
.phone-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; margin-top: .55rem; color: #e2ded0; }
.phone-nav span { display: grid; justify-items: center; gap: .15rem; padding: .3rem; font-size: .62rem; }
.phone-nav span:first-child { color: #ffda83; background: #3d3321; }

.section { margin-top: clamp(3.25rem, 6.7vw, 6.4rem); }
.section-head { max-width: 41rem; margin-bottom: 1.6rem; }
.section-head > p:last-child:not(.eyebrow) { margin-top: .75rem; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.steps li { padding: clamp(1rem, 2.3vw, 1.7rem); border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--white); }
.steps li p { margin-top: .55rem; color: var(--muted); font-size: .94rem; }
.step-mark { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1.5rem; }
.step-mark .icon { width: 1.75rem; height: 1.75rem; color: var(--red); }
.step-mark span { color: var(--muted); font-size: .75rem; font-weight: 800; }

.school {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(1.4rem, 5vw, 4.8rem);
  border-radius: .2rem;
  background: var(--dark);
  color: var(--white);
}

.school .eyebrow { color: #ffcf63; }
.school h2 + p { max-width: 31rem; margin-block: .9rem 1.4rem; color: #dfddd2; }
.school-notes { display: grid; align-content: center; }
.school-notes div { border-top: 1px solid #62635c; padding: .95rem 0; }
.school-notes div:last-child { padding-bottom: 0; }
.school-notes p { margin-top: .3rem; color: #dfddd2; font-size: .91rem; }

.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.platform {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
}

a.platform:hover { border-color: var(--ink); }
.platform-icon { display: grid; place-items: center; flex: none; width: 2.55rem; height: 2.55rem; border-radius: .22rem; background: var(--dark); color: var(--white); }
.platform-icon .icon { width: 1.35rem; height: 1.35rem; }
.platform-copy { min-width: 0; }
.platform-copy strong, .platform-copy small { display: block; }
.platform-copy small { margin-top: .2rem; color: var(--muted); font-size: .84rem; }
.platform-badge { height: 40px; width: auto; max-width: none; }
.platform-badge[src$=".png"] { height: 60px; }
.store-attribution { margin-top: .7rem; color: var(--muted); font-size: .77rem; }

.faq { display: grid; grid-template-columns: .72fr 1fr; gap: 1.5rem 3rem; }
.faq h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 1rem .4rem; }
details p { padding: 0 .4rem 1rem; color: var(--muted); }

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2rem;
  padding: clamp(1.35rem, 4.8vw, 3.8rem);
  background: var(--amber);
  border-radius: .2rem;
}

.contact .eyebrow { color: #382903; }
.contact h2 { font-size: clamp(1.9rem, 4vw, 3.05rem); }
.contact p:last-child { margin-top: .65rem; }
.contact .button { flex: none; }

.site-footer { margin-top: clamp(2rem, 6vw, 4.4rem); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 1.6rem 1rem;
  padding-block: 2.3rem;
}
.footer-identity .brand { font-size: 1.55rem; }
.footer-identity p { margin-top: .65rem; color: var(--muted); font-size: .82rem; }
.footer-links { display: grid; align-content: start; justify-items: start; gap: .55rem; }
.footer-links h2 { margin-bottom: .23rem; font-size: .83rem; letter-spacing: .03em; }
.footer-links a, .footer-settings { color: var(--muted); font-size: .87rem; text-underline-offset: .24em; }
.footer-links a:not(:hover):not([aria-current]) { text-decoration: none; }
.footer-settings { grid-column: 1 / -1; justify-self: start; border: 0; background: transparent; padding: .25rem 0; text-decoration: underline; }

.consent {
  position: fixed;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  width: min(25rem, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--ink);
  border-top: 4px solid var(--amber);
  background: var(--white);
  box-shadow: 0 .5rem 2rem rgb(25 27 26 / 20%);
}

.consent h2 { font-size: 1.25rem; letter-spacing: -.03em; }
.consent p { margin-block: .5rem .9rem; font-size: .9rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

.interior {
  width: min(100% - 3rem, 42rem);
  min-height: 45vh;
  margin: clamp(2.5rem, 8vw, 7rem) auto;
}

.interior h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.06em; }
.interior h2 { font-size: 1.5rem; letter-spacing: -.04em; margin-block: 1.65rem .45rem; }
.interior p { margin-top: .65rem; }
.interior-card { margin-top: 1.45rem; padding: clamp(1.2rem, 3.5vw, 2rem); border: 1px solid var(--line); border-top: 3px solid var(--amber); background: var(--white); }
.interior-card h2 { margin: 0; }
.interior-card .button { margin-top: 1.15rem; }
.interior li { margin-block: .45rem; line-height: 1.6; }
.interior a { overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .frame { width: calc(100% - 3.5rem); }
  .top-nav { display: none; }
  .mobile-menu { display: block; position: relative; border: 0; z-index: 2; }
  .mobile-menu summary { padding: .65rem .55rem; font-size: .88rem; }
  .mobile-menu nav {
    position: absolute;
    inset: calc(100% + .45rem) 0 auto auto;
    min-width: 12rem;
    padding: .45rem;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 .6rem 1.4rem rgb(25 27 26 / 12%);
  }
  .mobile-menu a { display: block; padding: .55rem .65rem; font-size: .9rem; font-weight: 800; text-decoration: none; }
  .mobile-menu a:hover { background: var(--paper); }
  .hero { gap: 2rem; }
  .preview { min-height: 29.5rem; }
}

@media (max-width: 720px) {
  .frame { width: calc(100% - 2rem); }
  .header-row { min-height: 4.35rem; gap: .55rem; }
  .header-row .brand { font-size: 1.65rem; }
  .header-row .brand img { width: 36px; height: 36px; }
  .top-nav { display: none; }
  .header-actions { gap: .5rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 2rem; }
  .preview { min-height: 28.6rem; }
  .steps, .school, .faq { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: .7rem; }
  .step-mark { margin-bottom: .75rem; }
  .contact { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 450px) {
  .header-demo { display: none; }
  .platform-grid:has(.platform-badge) { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.1rem); }
  .platform-grid { grid-template-columns: 1fr; }
  .availability { margin-top: 1.2rem; }
  .header-row .brand { font-size: 1.45rem; gap: .3rem; }
  .header-row .brand img { width: 30px; height: 30px; }
  .header-row .button { font-size: .81rem; padding-inline: .55rem; }
  .header-row .button .icon { display: none; }
  .language-nav > * { min-width: 1.75rem; }
}
