@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sky: #d3e3f7;
  --navy: #012156;
  --ink: #0b1d56;
  --blue: #0049db;
  --blue-dark: #003bb5;
  --muted: #43557f;
  --card: #ffffff;
  --line: #e3ebf7;
  --soft: #eaf1fc;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 10px 30px rgba(1, 33, 86, 0.1);
  --shadow-lg: 0 24px 60px rgba(1, 33, 86, 0.18);
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--sky);
  background-image:
    url("../assets/circuit-tile-light.svg"),
    radial-gradient(rgba(0, 73, 219, 0.1) 1.3px, transparent 1.6px);
  background-size: 300px 300px, 22px 22px;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
main { flex: 1; }
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.navy :focus-visible,
footer :focus-visible,
.btn-primary:focus-visible,
.nav-cta:focus-visible,
.send:focus-visible {
  outline-color: #fff;
}
::selection { background: #b9d0f5; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); }
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ph {
  display: inline-block;
  background: #fff6d6;
  color: #6b4c00;
  border: 1.5px dashed #d8a520;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 800;
  font-size: 0.92em;
  line-height: 1.4;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 73, 219, 0.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.7; cursor: wait; }
.textlink {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid rgba(1, 33, 86, 0.28);
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.textlink:hover { color: var(--blue); border-color: var(--blue); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(211, 227, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(1, 33, 86, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(1, 33, 86, 0.25));
}
.brand span {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.brand span b { color: var(--blue); font-weight: 900; }
.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.nav-links a:hover { color: var(--blue); }
.lab-link { display: inline-flex; align-items: center; gap: 6px; }
.lab-link i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16b67a;
  box-shadow: 0 0 0 3px rgba(22, 182, 122, 0.2);
}
.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  padding: 8px 10px;
  min-height: 36px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: #2f7bff; }
.nav-cta.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(1, 33, 86, 0.14); }
.nav-cta.ghost:hover { background: #eaf1fc; }
.burger {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }
body.menu-open header { background: var(--sky); backdrop-filter: none; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: var(--sky);
  padding: 96px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/circuit-tile-light.svg");
  background-size: 360px;
  opacity: 0.45;
  pointer-events: none;
}
body.menu-open .overlay { opacity: 1; visibility: visible; transform: none; }
.overlay a.big {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  text-decoration: none;
  padding: 12px 0;
  width: max-content;
}
.overlay a.big:hover { color: var(--blue); }
.overlay .row-btns { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.overlay .nav-cta { font-size: 16px; padding: 11px 16px; }

.section { padding: 64px 0; position: relative; }
.head { margin-bottom: 28px; }
.head h1, .head h2, .h2 { font-size: clamp(30px, 8vw, 42px); font-weight: 800; color: var(--ink); margin: 8px 0 12px; }
.nav-links a[aria-current="page"] { color: var(--blue); }
.head p, .lede { color: var(--muted); font-size: 17px; }

.hero { position: relative; overflow: hidden; padding: 28px 0 108px; }
.hero .tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("../assets/circuit-tile-light.svg"),
    radial-gradient(rgba(0, 73, 219, 0.14) 1.3px, transparent 1.6px);
  background-size: 300px 300px, 22px 22px;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 36px; }
.hero-copy { text-align: center; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(42px, 12.4vw, 74px);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 .lab { color: var(--blue); display: block; }
.tagline {
  margin: 18px 0 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.06em;
  font-size: 13px;
  text-transform: uppercase;
}
.lead { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto; }
.ctas { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; align-items: center; justify-content: center; }
.circuit { position: absolute; pointer-events: none; color: var(--blue); opacity: 0.55; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 78px; display: block; z-index: 1; }

.hchat-wrap { position: relative; padding-top: 42px; width: min(100%, 480px); margin: 0 auto; }
.peek {
  position: absolute;
  top: 0;
  left: 18px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  border: 5px solid #fff;
  box-shadow: 0 10px 24px rgba(1, 33, 86, 0.25);
  overflow: hidden;
  z-index: 3;
}
.peek img { width: 150%; max-width: none; margin: -6% 0 0 -25%; }
.hchat {
  display: block;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.hchat:hover { transform: translateY(-3px); }
.hchat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px 12px 108px;
  border-bottom: 1px solid var(--line);
  min-height: 58px;
}
.hchat-head .t {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hchat-head .t i,
.mode .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16b67a;
  box-shadow: 0 0 0 3px rgba(22, 182, 122, 0.18);
}
.example, .demo-chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b4c00;
  background: #fff6d6;
  border: 1.5px dashed #d8a520;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.hmsgs { padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(#fbfdff, #f3f7fd); }
.m { max-width: 92%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.m.kid { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.m.bot { align-self: flex-start; background: var(--soft); color: var(--ink); border-bottom-left-radius: 6px; }
.m.bot b, .bubble b { color: var(--blue); }
.typing { display: flex; gap: 5px; padding: 12px 16px; background: var(--soft); border-radius: 18px; border-bottom-left-radius: 6px; }
.hmsgs .typing { align-self: flex-start; }
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa4d6;
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.35; } }
.hcomp { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.hinput {
  flex: 1;
  display: flex;
  align-items: center;
  color: #6b7ba3;
  font-size: 15px;
  font-weight: 600;
  background: #f2f6fd;
  border: 2px solid #c9d8f0;
  border-radius: 999px;
  padding: 0 16px;
  height: 48px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hsend {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
}
.hchat-foot { display: flex; justify-content: center; margin-top: 14px; }
.hchat-foot small { color: var(--muted); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; text-align: left; }
.hchat-foot svg { color: #0a9a6b; flex: none; }

.navy { background: var(--navy); color: #e6eeff; position: relative; overflow: hidden; }
.navy .tex, footer .tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("../assets/circuit-tile-navy.svg"),
    radial-gradient(rgba(143, 186, 255, 0.12) 1.3px, transparent 1.6px);
  background-size: 300px 300px, 22px 22px;
}
.navy > .wrap, footer > .wrap { position: relative; z-index: 1; }
.classes { padding: 28px 0 56px; }
.classes .head h1, .classes .head h2 { color: #fff; }
.mail-line { margin: 14px 0 18px; font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.classes .mail-line a { color: #fff; text-underline-offset: 3px; }
.copy a { overflow-wrap: anywhere; }
.classes .head p { color: #d0dcf8; }
.classes .eyebrow { color: #7fb0ff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
}
.chip svg { width: 16px; height: 16px; color: #7fb0ff; flex: none; }
.class-grid { display: grid; gap: 18px; }
.class-card { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22); }
.class-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.class-card h2, .class-card h3 { color: var(--ink); font-size: 24px; font-weight: 800; }
.class-card .tag {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}
.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 12px; background: #eef4fd; border-radius: 14px; padding: 12px 14px; color: var(--ink); }
.row .ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.row .ic svg { width: 18px; height: 18px; }
.row strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.row small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; margin-top: 2px; font-weight: 700; }
.placeholder-line { margin: 14px 0 0; }
.class-card .btn { margin-top: 16px; width: 100%; }
.notify {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: 20px;
}
.notify h2, .notify h3 { color: #fff; font-size: 20px; font-weight: 800; }
.notify p { color: #cfdcfb; font-size: 15px; margin-top: 4px; }
.notify form, .inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.notify input, .inline-form input[type="email"] {
  flex: 1 1 160px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  height: 52px;
  min-width: 0;
}
.notify .btn { height: 52px; padding: 0 20px; flex: 1 1 100%; }
.inline-form .btn { flex: 1 1 100%; }
.return-wave { display: block; width: 100%; height: 70px; background: var(--sky); }

.lab-grid, .ac, .band, .home-card { display: grid; gap: 22px; }
.lab-grid .big, .home-card .big, .mini p { color: var(--muted); font-size: 17px; }
.lab-grid .btn { margin-top: 8px; }
.features { display: grid; gap: 14px; }
.feat { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.feat .ic, .info-line .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.feat h2, .feat h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 15.5px; }

.home-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 22px;
  justify-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.home-card img { width: 160px; filter: drop-shadow(0 14px 22px rgba(1, 33, 86, 0.18)); }
.home-top { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.soon {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a2a00;
  background: #ffd84d;
  border-radius: 999px;
  padding: 5px 12px;
}
.home-meta { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.home-meta small {
  display: block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.home-card .inline-form { justify-content: center; }
.home-card .inline-form input[type="email"] {
  background: #f4f8fe;
  border: 1.5px solid #cbd9ef;
  text-align: left;
}
.home-card .btn { width: 100%; }

.mini {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.mini h2, .mini h3 { font-size: 22px; font-weight: 800; }
.mini .btn { margin-top: 10px; }
.mini.dark { background: var(--navy); color: #fff; }
.mini.dark .eyebrow { color: #7fb0ff; }
.mini.dark p { color: #d0dcf8; }
.mini.dark h2, .mini.dark h3, .mini.dark p strong { color: #fff; }

.ig-row {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.ig-card {
  scroll-snap-align: start;
  min-height: 180px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(45deg, #e8f0fb 0 10px, #dbe7f8 10px 20px);
  border: 1px solid rgba(1, 33, 86, 0.08);
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}
.ig-note { margin-top: 12px; color: var(--muted); font-size: 15px; }
.ig-embed { margin-top: 16px; }

.about { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.photo {
  flex: none;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, #e8f0fb 0 10px, #dbe7f8 10px 20px);
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.photo .ph {
  white-space: normal;
  line-height: 1.25;
  font-size: 12px;
  max-width: 100px;
}
.about h3 { font-size: 22px; font-weight: 800; }
.role { color: var(--blue); font-weight: 800; font-family: "Montserrat", sans-serif; font-size: 14px; margin: 4px 0 8px; }
.info-line { display: flex; gap: 12px; align-items: center; margin-top: 14px; font-weight: 800; }
.info-line .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; margin: 0; }
.cform {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; color: var(--ink); }
.cform input, .cform select, .cform textarea, .code-row input {
  font-size: 16px;
  color: var(--ink);
  background: #f4f8fe;
  border: 1.5px solid #cbd9ef;
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
.cform textarea { min-height: 110px; resize: vertical; }
.hp { display: none; }
.thanks {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}
.notify .thanks, .home-card .thanks {
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: #fff;
  font-size: 18px;
}
.home-card .thanks { color: var(--navy); }
.form-error { color: #8d1d1d; font-weight: 800; margin: 0; }
.notify .form-error, .mini.dark .form-error { color: #ffd2d2; }

footer { background: var(--navy); color: #c9d7f8; padding: 36px 0 24px; position: relative; overflow: hidden; margin-top: auto; }
.foot { display: grid; gap: 16px; }
.foot .brand span { color: #fff; }
.foot .brand span b { color: #7fb0ff; }
.foot .tl {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7fb0ff;
  text-transform: uppercase;
  font-size: 13px;
}
.foot-links { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; }
.ig-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #c9d7f8;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.ig-icon:hover { color: #fff; border-color: #fff; }
.ig-follow { margin-top: 16px; }
.foot-links a { text-decoration: none; font-weight: 700; color: #c9d7f8; }
.foot-links a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 22px; padding-top: 16px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

.page { padding: 36px 0 72px; }
.prose {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 26px 20px 32px;
}
.prose h1 { font-size: clamp(32px, 8vw, 44px); margin: 12px 0; }
.prose h2 { font-size: 22px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose p + p, .prose ul { margin-top: 10px; }
.prose ul { padding-left: 1.15rem; display: grid; gap: 6px; }
.prose .btn { margin-top: 22px; }
.draft-banner {
  background: #fff6d6;
  color: #6b4c00;
  border: 1.5px dashed #d8a520;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
}

body.lab {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  background-image: url("../assets/circuit-tile-light.svg");
  background-size: 340px 340px;
}
.lab-app {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  flex: 1 0 auto;
}
.solo { max-width: 640px; }
body.home main { display: flex; }
body.home .hero {
  flex: 1;
  width: 100%;
  display: grid;
  align-content: safe center;
  min-height: 0;
  padding: 28px 0 36px;
  overflow: visible;
}
.lab-nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 10px; }
.teacher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 44px;
  background: transparent;
}
.teacher:hover { background: var(--navy); color: #fff; }
.lab-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; }
.lab-top img { width: 64px; height: auto; filter: drop-shadow(0 8px 14px rgba(1, 33, 86, 0.22)); }
.lab-top h1 { font-weight: 900; font-size: 32px; color: var(--navy); }
.lab-top h1 b { color: var(--blue); }
.lab-top p { color: var(--muted); font-size: 15px; font-weight: 700; margin-top: 4px; }
.lab-top p strong { color: var(--ink); display: block; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.act {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  padding: 10px;
  min-height: 64px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}
.act .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; }
.act svg { width: 22px; height: 22px; }
.act span.label { line-height: 1.2; }
.a1 { background: #7a3ff0; }
.a2 { background: #f08a00; }
.a3 { background: #0a9a6b; }
.a4 { background: #e5376b; }
.a5 { background: var(--blue); grid-column: 1 / -1; }
.act.on { outline: 3px solid #fff; outline-offset: -5px; box-shadow: 0 0 0 3px var(--navy), 0 6px 0 rgba(0, 0, 0, 0.12); }
.chat {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-head, .composer, .note { flex: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mode { display: flex; align-items: center; gap: 8px; font-family: "Montserrat", sans-serif; font-weight: 800; color: var(--navy); font-size: 15px; }
.msgs {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(#fbfdff, #f3f7fd);
}
.msg { display: flex; gap: 10px; max-width: 92%; align-items: flex-end; }
.msg .av {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 11px;
  overflow: hidden;
}
.kid { align-self: flex-end; flex-direction: row-reverse; }
.kid .av { background: #ffd84d; color: #3a2a00; }
.kid .bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bot .av { background: var(--navy); }
.bot .av img { width: 36px; height: 36px; object-fit: cover; }
.bot .bubble { background: var(--soft); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble { padding: 12px 14px; border-radius: 18px; font-size: 16px; line-height: 1.45; font-weight: 650; }
.bubble p { margin: 0; white-space: pre-wrap; }
.safe .bubble { background: #e7f7ef; border: 2px solid #9bdcbc; }
.safe-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #0a7a55;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip-btn {
  background: #fff;
  border: 2px solid #c5d6f2;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
}
.chip-btn:hover { border-color: var(--blue); }
.composer { display: flex; gap: 10px; align-items: center; padding: 12px; border-top: 1px solid var(--line); }
.composer input {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
  background: #f2f6fd;
  border: 2px solid #c9d8f0;
  border-radius: 999px;
  padding: 0 16px;
  height: 52px;
}
.composer input::placeholder { color: #6b7ba3; }
.send {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 73, 219, 0.3);
}
.note, .lab-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}
.note { padding: 0 14px 12px; }
.note svg { color: var(--blue); flex: none; }
.lab-foot { padding: 8px 8px 0; }
.lab-foot a { color: var(--navy); font-weight: 800; }
.code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin: 0 0 12px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.code-row label { flex: 1 1 180px; }
.code-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff6d6;
  color: #6b4c00;
  border: 1.5px dashed #d8a520;
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
  font-weight: 800;
  font-size: 13px;
}
.code-chip button {
  border: 0;
  background: rgba(107, 76, 0, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
}
.noscript {
  background: #fff6d6;
  border: 1.5px dashed #d8a520;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

@media (min-width: 420px) {
  .brand img { height: 44px; }
  .brand span { font-size: 15px; }
  .nav-cta { font-size: 14px; padding: 9px 12px; }
  .wrap { width: min(1160px, calc(100% - 40px)); }
}
@media (min-width: 700px) {
  body { font-size: 17px; }
  :root { --nav-h: 78px; }
  .features { grid-template-columns: 1fr 1fr; }
  .cform { grid-template-columns: 1fr 1fr; padding: 28px; }
  .cform .full, .cform .btn { grid-column: 1 / -1; }
  .cform .btn { justify-self: start; width: auto; }
  .home-card .btn, .notify .btn, .inline-form .btn { width: auto; flex: 0 0 auto; }
  .ig-row { grid-auto-columns: 32%; }
  .acts { grid-template-columns: repeat(6, 1fr); }
  .act { grid-column: span 2; }
  .a4, .a5 { grid-column: span 3; }
  .lab-top h1 { font-size: 36px; }
  .prose { padding: 36px 40px 40px; }
}
@media (min-width: 980px) {
  .hero { padding: 56px 0 150px; }
  body.home .hero { padding: 40px 0 48px; }
  .wave { height: 120px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
  .tagline { font-size: 16px; letter-spacing: 0.08em; margin: 22px 0 16px; }
  .lead { font-size: 19px; }
  .hchat-wrap { margin-left: auto; padding-top: 46px; }
  .peek { width: 96px; height: 96px; left: 28px; }
  .hchat-head { padding-left: 136px; }
  .class-grid, .band { grid-template-columns: 1fr 1fr; gap: 22px; }
  .lab-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
  .home-card {
    grid-template-columns: auto 1fr;
    text-align: left;
    justify-items: start;
    padding: 40px 48px;
    gap: 40px;
    align-items: center;
  }
  .home-card img { width: 210px; }
  .home-top, .home-meta, .home-card .inline-form { justify-content: flex-start; }
  .ac { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
  .notify { grid-template-columns: auto 1fr; align-items: center; padding: 24px 28px; }
  .foot { grid-template-columns: auto 1fr auto; align-items: center; }
  .section { padding: 84px 0; }
  .classes { padding: 36px 0 64px; }
}
@media (min-width: 1060px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .brand { gap: 12px; }
  .brand img { height: 52px; }
  .brand span { font-size: 19px; }
  .nav-cta { font-size: 15px; padding: 9px 14px; }
}
@media (min-width: 1100px) {
  .acts { grid-template-columns: repeat(5, 1fr); }
  .act, .a4, .a5 { grid-column: auto; }
  .act { font-size: 15px; min-height: 68px; padding: 12px; }
  .msg { max-width: 78%; }
  .bubble { font-size: 18px; padding: 13px 16px; }
  .lab-top { padding-bottom: 14px; }
  .lab-top img { width: 84px; }
  .lab-top h1 { font-size: 40px; }
  .chat { min-height: 0; }
}
@media (max-height: 820px) {
  .lab-nav { height: 54px; }
  .lab-top { padding-bottom: 8px; }
  .lab-top img { width: 64px; }
  .lab-top h1 { font-size: 32px; }
  .lab-top p { font-size: 14px; margin-top: 2px; }
  .acts { margin-bottom: 8px; }
  .act { min-height: 52px; padding: 8px 10px; }
  .chat { min-height: 0; }
  .msgs { padding: 12px 16px; }
  .composer input, .send { height: 48px; }
  .send { width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
