/* Public landing page. Loaded only by _PublicLayout, on top of portal.css.

   The page is always light: portal tokens resolve through light-dark(), so pinning
   color-scheme here also keeps the shared account menu light when the portal is dark.

   Scroll choreography lives under html.ht-motion, which site.js sets only when motion
   is allowed and the viewport is at least 900px wide. Without that class (no script,
   reduced motion, narrow screens) every section falls back to a plain stacked layout. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/onest-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/onest-latin-wght-normal.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-italic.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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-500.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500.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;
}

/* Out-specifies portal.css's [data-theme="dark"]. */
html:has(.ht-site) { color-scheme: light; background: #f6f7fa; }

.ht-site {
  --ht-ink: #0c1633;
  --ht-blue: #2456c9;
  --ht-blue-deep: #1f3f95;
  --ht-sky: #4fa8e8;
  --ht-bg: #f6f7fa;
  --ht-muted: #4a5572;
  --ht-soft: #6b7590;
  --ht-line: #e3e7ef;
  --ht-mono: "JetBrains Mono", ui-monospace, monospace;
  --ht-serif: "Instrument Serif", Georgia, serif;
  --ht-ease: cubic-bezier(.2, .7, .2, 1);
  --ht-pad: clamp(16px, 2.5vw, 28px);

  color-scheme: light;
  margin: 0;
  background: var(--ht-bg);
  color: var(--ht-ink);
  font-family: "Onest", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.ht-site ::selection { background: #cfe3fa; }
.ht-site a { color: var(--ht-blue); text-decoration: none; }
.ht-site a:hover { color: var(--ht-blue-deep); text-decoration: underline; }
.ht-site :focus-visible { outline: 2px solid var(--ht-blue); outline-offset: 3px; }
.ht-site p, .ht-site h1, .ht-site h2, .ht-site h3, .ht-site ol { margin: 0; }
.ht-site img { display: block; }
.ht-site [id] { scroll-margin-top: 80px; }

.ht-root { background: var(--ht-bg); overflow-x: clip; }

.ht-mono { font-family: var(--ht-mono); font-weight: 500; }

.ht-eyebrow {
  font-family: var(--ht-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ht-blue);
}

.ht-site h1 em, .ht-site h2 em {
  font-family: var(--ht-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ht-blue);
}

.ht-h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}
.ht-h2-xl { font-size: clamp(40px, 5vw, 72px); line-height: .98; }
.ht-h2-sm { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }

.ht-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ht-muted);
  max-width: 460px;
  text-wrap: pretty;
}

.ht-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ht-dot-red { background: #e5484d; }
.ht-dot-blue { background: var(--ht-blue); }
.ht-dot-rec { width: 9px; height: 9px; background: #ff5a5f; }

.ht-tone-green { color: #1a8a4a; }
.ht-tone-blue { color: var(--ht-blue); }
.ht-tone-amber { color: #8a5a00; }

.ht-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.ht-chip-blue { color: var(--ht-blue); background: #e6efff; }
.ht-chip-green { color: #1a8a4a; background: #e3f6ea; }
.ht-chip-dark { color: #9fb3dd; background: rgba(255, 255, 255, .07); font-weight: 400; }
.ht-chip-sm { font-size: 10px; padding: 4px 8px; align-self: flex-start; }

.ht-line { height: 8px; border-radius: 4px; background: #e8ecf3; }

/* ── Pills and store buttons ── */

.ht-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ht-site a.ht-pill:hover { text-decoration: none; }
.ht-pill-dark, .ht-site a.ht-pill-dark { background: var(--ht-ink); color: #fff; }
.ht-pill-dark:hover, .ht-site a.ht-pill-dark:hover { background: var(--ht-blue-deep); color: #fff; }
.ht-pill-outline, .ht-site a.ht-pill-outline { align-self: flex-start; background: #fff; color: var(--ht-ink); border-color: #cfd6e3; }
.ht-site a.ht-pill-outline:hover { border-color: var(--ht-ink); color: var(--ht-ink); }
.ht-pill-light, .ht-site a.ht-pill-light { align-self: flex-start; background: #fff; color: var(--ht-ink); padding: 11px 20px; }
.ht-site a.ht-pill-light:hover { background: #cfe3fa; color: var(--ht-ink); }
.ht-pill-lg { font-size: 15px; padding: 13px 28px; }

.ht-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.ht-store, .ht-site a.ht-store {
  display: inline-flex;
  flex-direction: column;
  padding: 9px 18px;
  border-radius: 14px;
  background: var(--ht-ink);
  color: #fff;
  line-height: 1.1;
}
.ht-site a.ht-store:hover { background: var(--ht-blue-deep); color: #fff; text-decoration: none; }
.ht-store.is-disabled { cursor: default; }
.ht-store-small { font-size: 10px; opacity: .7; }
.ht-store-name { font-size: 15px; font-weight: 600; }
.ht-store-soon { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ht-soft); padding: 0 6px; }

.ht-card .ht-store { padding: 8px 16px; border-radius: 12px; }
.ht-card .ht-store-name { font-size: 14px; }

/* ── Top bar ── */

.ht-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--ht-line);
  background: rgba(246, 247, 250, .84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s;
}
/* Transparent over the hero only once the script is there to make it solid again. */
.ht-js .ht-topbar:not(.is-solid) { background: rgba(246, 247, 250, 0); border-bottom-color: transparent; }

.ht-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--ht-pad);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
}

.ht-brand, .ht-site a.ht-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ht-ink);
  flex-shrink: 0;
}
.ht-site a.ht-brand:hover { color: var(--ht-ink); text-decoration: none; }
.ht-brand img { height: 30px; width: auto; }
.ht-wordmark { font-size: 19px; letter-spacing: -0.02em; font-weight: 400; }
.ht-wordmark b, .ht-footmark b { font-weight: 800; }

.ht-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 500;
}
.ht-site .ht-nav a { color: #3b4663; }
.ht-site .ht-nav a:hover { color: var(--ht-ink); text-decoration: none; }

.ht-topbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Account menu (institution home page): the sign-in form lives in the dropdown. */
.ht-account, .ht-site a.ht-account {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #3b4663;
  padding: 6px 4px;
  margin-right: 6px;
}
.ht-site a.ht-account:hover { color: var(--ht-ink); text-decoration: none; }
.ht-account-icon { display: none; width: 20px; height: 20px; }
.ht-chevron { width: 14px; height: 14px; transition: transform .2s; }
.ht-account[aria-expanded="true"] .ht-chevron { transform: rotate(180deg); }
.ht-topbar .pt-menu { top: calc(100% + 10px); font-family: inherit; }
.ht-site .ht-topbar .pt-menu-item, .ht-site .ht-topbar .pt-menu-item:hover { color: var(--ht-ink); text-decoration: none; }
.ht-topbar .ht-login-menu { width: min(340px, calc(100vw - 32px)); padding: 0; border-radius: 20px; overflow: hidden; }

.ht-login-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.ht-login-title { font-size: 16px; font-weight: 700; color: var(--ht-ink); }
.ht-login-form .ht-field input { padding: 11px 13px; }
.ht-login-submit { justify-content: center; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.ht-login-submit:disabled { opacity: .6; cursor: progress; }
.ht-site a.ht-login-link { font-size: 13px; align-self: flex-start; }
.ht-login-hint { font-size: 12px; line-height: 1.5; color: var(--ht-soft); border-top: 1px solid var(--ht-line); padding-top: 12px; }

/* Institution brand in the top bar: its logo (or initial) and name, with the platform underneath. */
.ht-brand-tenant { gap: 12px; min-width: 0; }
.ht-brand-tenant img.ht-tenant-logo { height: 38px; width: auto; max-width: 120px; object-fit: contain; }
.ht-tenant-initial {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ht-ink);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.ht-tenant-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ht-tenant-name > span { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
.ht-tenant-name small { font-size: 11px; font-weight: 500; color: var(--ht-soft); }

.ht-split-single { grid-template-columns: minmax(0, 760px); justify-content: center; }

.ht-lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #e8ecf3;
  font-size: 11px;
  font-weight: 700;
}
.ht-site .ht-lang a { padding: 4px 9px; border-radius: 999px; color: var(--ht-soft); }
.ht-site .ht-lang a:hover { color: var(--ht-ink); text-decoration: none; }
.ht-site .ht-lang a.is-active { background: #fff; color: var(--ht-ink); box-shadow: 0 1px 2px rgba(12, 22, 51, .12); }

.ht-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #e8ecf3;
  color: var(--ht-ink);
  cursor: pointer;
}
.ht-nav-toggle svg { width: 20px; height: 20px; }

.ht-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #1f3f95, #4fa8e8);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ── Hero ── */

.ht-hero { position: relative; }

.ht-hero-sticky {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 28px 48px;
}

.ht-hero-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 32px 64px;
  align-items: end;
}
/* auto min-width lets one long word grow the cell over the column beside it. */
.ht-hero-head > * { min-width: 0; }
.ht-hero-head .ht-eyebrow { margin-bottom: 22px; }

.ht-hero-title {
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: .95;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}

.ht-hero-side { display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.ht-hero-side .ht-lead { max-width: 440px; }

.ht-teacher-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 520px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ht-line);
  font-size: 14px;
  color: var(--ht-muted);
}
.ht-teacher-note strong { color: var(--ht-ink); font-size: 15px; }

.ht-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 240px;
  margin-top: 40px;
}

.ht-hero-labels { position: relative; height: 24px; font-size: 13px; font-weight: 500; color: var(--ht-muted); }
.ht-hero-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ht-hero-label-b { opacity: 0; }

.ht-barbox {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(3px, .55vw, 9px);
}
.ht-bar { flex: 1; border-radius: 999px; }

.ht-hero-card {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px -12px rgba(12, 22, 51, .25), 0 0 0 1px rgba(12, 22, 51, .05);
}
.ht-check-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e3f6ea;
  color: #1a8a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.ht-hero-card-text { display: flex; flex-direction: column; gap: 2px; }
.ht-hero-card-text b { font-size: 14px; font-weight: 600; }
.ht-hero-card-text span { font-size: 12px; color: var(--ht-soft); }

/* ── Steps ── */

.ht-steps { position: relative; background: #fff; }

.ht-steps-grid {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 28px;
  display: grid;
  gap: 40px;
}
.ht-steps-head { display: flex; flex-direction: column; gap: 14px; }
.ht-steps-head .ht-lead { font-size: 17px; max-width: 440px; }
.ht-steps-rail { display: none; }

.ht-step { display: flex; flex-direction: column; gap: 24px; }
.ht-step-text { display: flex; flex-direction: column; gap: 12px; }
.ht-step-num { font-size: 13px; letter-spacing: .1em; color: var(--ht-blue); }
.ht-step-text h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.ht-step-text p { font-size: 17px; line-height: 1.55; color: var(--ht-muted); max-width: 380px; }

.ht-step-visual { position: relative; height: 380px; border-radius: 32px; overflow: hidden; }

.ht-rec {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(155deg, #0c1633, #1f3f95 70%, #2f6fd6);
}
.ht-rec-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.ht-rec-badge { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ht-rec-caption { opacity: .7; }
.ht-rec-time { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.02em; line-height: 1; }
.ht-rec-wave { height: 38%; display: flex; align-items: center; gap: 5px; }
.ht-live {
  flex: 1;
  height: 40%;
  border-radius: 999px;
  background: linear-gradient(#bfe0fb, #4fa8e8);
  transition: height .14s linear;
}
.ht-rec-wave .ht-live:nth-child(3n) { height: 62%; }
.ht-rec-wave .ht-live:nth-child(4n+1) { height: 28%; }
.ht-rec-wave .ht-live:nth-child(5n+2) { height: 76%; }

.ht-mock-stage {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3fb;
}
.ht-mock-card {
  width: 100%;
  max-width: 440px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(12, 22, 51, .25);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ht-mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.ht-fb-row { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid #edf0f5; }
.ht-fb-row > span { font-size: 12px; font-weight: 600; }
.ht-mock-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ht-soft); }

.ht-growth { display: flex; align-items: flex-end; }
.ht-growth-lg { height: 170px; gap: 8px; }
.ht-growth-lg > div { flex: 1; border-radius: 8px 8px 3px 3px; }
.ht-growth-sm { height: 110px; gap: 5px; }
.ht-growth-sm > div { flex: 1; border-radius: 5px 5px 2px 2px; }

/* ── Shared section frame ── */

.ht-section { padding: 160px 28px; }
.ht-split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 80px;
  align-items: center;
}
.ht-stack { display: flex; flex-direction: column; gap: 28px; }

.ht-points { list-style: none; padding: 0; display: flex; flex-direction: column; }
.ht-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--ht-line);
  font-size: 17px;
  font-weight: 500;
}
.ht-points .ht-mono { font-size: 12px; color: #8a93aa; width: 22px; flex-shrink: 0; }

.ht-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ht-line);
}
.ht-card h3 { font-size: 16px; font-weight: 600; }
.ht-card p { font-size: 15px; line-height: 1.55; color: var(--ht-muted); }

/* ── Teachers ── */

.ht-teachers { background: var(--ht-bg); }

.ht-phone-stage { position: relative; display: flex; justify-content: center; padding: 80px 0 40px; }
.ht-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #d7e8fb, rgba(215, 232, 251, 0) 70%);
  transform: translate(-50%, -50%);
}
.ht-phone {
  position: relative;
  width: 300px;
  height: 610px;
  padding: 10px;
  border-radius: 48px;
  background: var(--ht-ink);
  box-shadow: 0 50px 90px -30px rgba(12, 22, 51, .45);
}
.ht-phone-screen {
  width: 100%;
  height: 100%;
  padding: 48px 18px 18px;
  border-radius: 39px;
  background: var(--ht-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ht-phone-top { display: flex; align-items: center; justify-content: space-between; }
.ht-phone-top img { height: 22px; width: auto; }
.ht-avatar-dot { width: 30px; height: 30px; border-radius: 50%; background: #dfe6f2; }
.ht-phone-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ht-phone-card, .ht-phone-row { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e8ecf3; }
.ht-phone-card { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ht-phone-caption { font-size: 11px; color: var(--ht-soft); }
.ht-phone-row { border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 12px; }
.ht-phone-thumb { width: 34px; height: 34px; border-radius: 10px; background: #e8ecf3; flex-shrink: 0; }
.ht-phone-thumb.is-new { background: #dce9fb; }
.ht-phone-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ht-phone-lines .ht-line { height: 7px; background: #edf0f5; }
.ht-phone-lines .ht-line-strong { background: #dfe4ee; }
.ht-phone-tag { font-size: 10px; font-weight: 600; color: var(--ht-soft); }
.ht-phone-tag.ht-tone-green { color: #1a8a4a; }

/* ── Schools ── */

.ht-schools { background: var(--ht-ink); color: #fff; overflow: hidden; }
.ht-schools .ht-eyebrow { color: #7cbcf0; }
.ht-schools h2 em { color: #7cbcf0; }
.ht-schools .ht-lead { color: #aab6d3; }
.ht-schools .ht-points li { border-top-color: rgba(255, 255, 255, .1); }
.ht-schools .ht-points .ht-mono { color: #6d7ea8; }
.ht-card-dark { background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.ht-card-dark p { color: #aab6d3; }

.ht-dash {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 28px;
  background: #15214a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.ht-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 16px; font-size: 15px; font-weight: 600; }
.ht-dash-row { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
.ht-dash-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ht-ink);
  flex-shrink: 0;
}
.ht-dash-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ht-dash-lines .ht-line { height: 7px; background: rgba(255, 255, 255, .22); }
.ht-dash-lines .ht-line-faint { background: rgba(255, 255, 255, .09); }
.ht-spark { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.ht-spark > div { width: 6px; border-radius: 2px; background: var(--ht-sky); }

/* ── Trust ── */

.ht-trust { background: #fff; padding-block: 180px; }
.ht-trust-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.ht-trust-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.ht-trust-head > span { font-size: 16px; color: var(--ht-muted); }
.ht-trust-text {
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: pretty;
}
.ht-trust-end { white-space: nowrap; }
.ht-trust-dot {
  display: inline-block;
  width: .42em;
  height: .42em;
  margin: 0 .25em .08em .15em;
  border-radius: 50%;
  background: var(--ht-sky);
}

/* ── Story ── */

.ht-story { background: var(--ht-bg); }
.ht-story-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 64px 96px;
  align-items: start;
}
.ht-story-side { display: flex; flex-direction: column; gap: 28px; }
.ht-story-icon { width: 120px; height: 120px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(31, 63, 149, .5); }
.ht-story-icon img { width: 100%; height: 100%; transform: scale(1.06); }
.ht-story-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #2a3553;
}
.ht-story-body a { align-self: flex-start; font-size: 16px; font-weight: 600; }

/* ── FAQ ── */

.ht-faq { background: #fff; }
.ht-faq-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.ht-faq-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--ht-line); }
.ht-faq-list details { border-top: 1px solid var(--ht-line); }
.ht-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color .2s;
}
.ht-faq-list summary::-webkit-details-marker { display: none; }
.ht-faq-list summary:hover { color: var(--ht-blue); }
.ht-faq-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #eef1f6;
  color: var(--ht-ink);
  transition: transform .3s, background .3s, color .3s;
}
.ht-faq-icon::before, .ht-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.ht-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ht-faq-list details[open] .ht-faq-icon { transform: rotate(45deg); background: var(--ht-ink); color: #fff; }
.ht-faq-list details p { padding: 0 60px 26px 0; font-size: 17px; line-height: 1.6; color: var(--ht-muted); }

/* ── Contact ── */

.ht-contact { background: var(--ht-bg); }
.ht-contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px 96px;
  align-items: start;
}
.ht-contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--ht-line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ht-muted);
}
.ht-contact-block b { color: var(--ht-ink); font-weight: 600; }

.ht-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ht-line), 0 40px 80px -40px rgba(12, 22, 51, .2);
}
.ht-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ht-field-wide, .ht-form-alert, .ht-form-foot { grid-column: 1 / -1; }
.ht-field label { font-size: 13px; font-weight: 600; }
.ht-field input, .ht-field textarea {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ht-ink);
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid #dbe1ea;
  background: #fafbfd;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ht-field textarea { resize: vertical; }
.ht-field input:focus, .ht-field textarea:focus { border-color: var(--ht-blue); background: #fff; box-shadow: 0 0 0 4px #e6efff; }
.ht-field .input-validation-error { border-color: #d64545; }
.ht-field .input-validation-error:focus { box-shadow: 0 0 0 4px #fdecec; }
.ht-field .field-validation-error { font-size: 12px; font-weight: 500; color: #c62f2f; }
.ht-field .field-validation-valid { display: none; }

.ht-form-alert {
  padding: 12px 16px;
  border-radius: 14px;
  background: #fdecec;
  color: #b33a3a;
  font-size: 14px;
  font-weight: 500;
}
.ht-form-summary.validation-summary-valid { display: none; }
.ht-form-summary ul { margin: 0; padding-left: 18px; }

.ht-form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.ht-form-foot > span:first-child { font-size: 12px; color: var(--ht-soft); max-width: 320px; }
.ht-sent { font-size: 14px; font-weight: 600; color: #1a8a4a; background: #e3f6ea; padding: 12px 18px; border-radius: 999px; }

.ht-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ── */

.ht-footer { background: var(--ht-ink); color: #fff; padding: 96px 28px 0; overflow: hidden; }
.ht-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
}
.ht-footer-brand { display: flex; flex-direction: column; gap: 16px; grid-column: span 2; max-width: 380px; }
.ht-footer .ht-brand, .ht-site .ht-footer a.ht-brand, .ht-site .ht-footer a.ht-brand:hover { color: #fff; }
.ht-footer-icon { width: 34px; height: 34px; border-radius: 9px; }
.ht-footer .ht-brand img.ht-footer-icon { height: 34px; }
.ht-footer-brand p { font-size: 14px; line-height: 1.6; color: #aab6d3; }
.ht-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.ht-footer-col h2 {
  margin-bottom: 4px;
  font-family: var(--ht-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6d7ea8;
}
.ht-site .ht-footer-col a { color: #dce4f5; }
.ht-site .ht-footer-col a:hover { color: #7cbcf0; text-decoration: none; }
.ht-footer-bottom {
  max-width: 1280px;
  margin: 64px auto 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6d7ea8;
}
.ht-footer-lang { display: flex; gap: 6px; }
.ht-site .ht-footer-lang a { color: #6d7ea8; }
.ht-site .ht-footer-lang a:hover, .ht-site .ht-footer-lang a.is-active { color: #dce4f5; }
.ht-footmark-wrap { overflow: hidden; }
.ht-footmark {
  text-align: center;
  font-size: 16.5vw;
  line-height: .8;
  letter-spacing: -0.06em;
  padding-top: 3vw;
  white-space: nowrap;
  background: linear-gradient(180deg, #2f6fd6, #0c1633 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Motion layout (≥900px, motion allowed, script running) ── */

.ht-motion .ht-hero { height: 210vh; }
.ht-motion .ht-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: clamp(76px, 13vh, 120px) 28px clamp(16px, 4vh, 40px);
}
.ht-motion .ht-hero-title { font-size: min(7.4vw, 11vh, 108px); }
.ht-motion .ht-hero-stage { flex: 1; height: auto; min-height: 90px; margin-top: clamp(12px, 4vh, 40px); }
.ht-motion .ht-hero-card { opacity: 0; }

.ht-motion .ht-steps { height: 340vh; }
.ht-motion .ht-steps-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
/* Each step's text and visual share one <article>; display:contents lets all three texts
   stack in one grid cell and all three visuals in another, so they can crossfade in place. */
.ht-motion .ht-steps-grid {
  padding: 80px 28px 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto min(190px, 30vh);
  grid-template-areas: "head vis" "track vis";
  column-gap: clamp(24px, 5vw, 80px);
  row-gap: 28px;
  align-content: center;
}
.ht-motion .ht-steps-head { grid-area: head; align-self: end; }
.ht-motion .ht-steps-rail { display: block; grid-area: track; position: relative; width: 2px; border-radius: 2px; background: var(--ht-line); }
.ht-motion .ht-steps-rail-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(#1f3f95, #4fa8e8);
  transform-origin: 50% 0;
  transform: scaleY(0);
}
.ht-motion .ht-step { display: contents; }
.ht-motion .ht-step-text { grid-area: track; margin-left: 30px; }
.ht-motion .ht-step-visual { grid-area: vis; align-self: center; height: min(500px, 62vh); }
.ht-motion .ht-step + .ht-step .ht-step-text,
.ht-motion .ht-step + .ht-step .ht-step-visual { opacity: 0; }

.ht-motion .ht-story-side { position: sticky; top: 120px; }
.ht-motion [data-word] { opacity: .16; }

/* Wide screen without motion (reduced motion or no script): one row per step. */
@media (min-width: 900px) {
  html:not(.ht-motion) .ht-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: center;
  }
  html:not(.ht-motion) .ht-step-visual { height: 420px; }
}

/* ── Narrow screens ── */

@media (max-width: 899px) {
  .ht-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--ht-pad) 16px;
    background: var(--ht-bg);
    border-bottom: 1px solid var(--ht-line);
    box-shadow: 0 24px 40px -24px rgba(12, 22, 51, .25);
    font-size: 16px;
  }
  .ht-nav.is-open { display: flex; }
  .ht-js .ht-topbar:has(.ht-nav.is-open) { background: var(--ht-bg); border-bottom-color: var(--ht-line); }
  .ht-site .ht-nav a { padding: 12px 0; border-top: 1px solid var(--ht-line); }
  .ht-site .ht-nav a:first-child { border-top: 0; }
  .ht-topbar-actions { margin-left: auto; }
  .ht-nav-toggle { display: inline-flex; }

  .ht-section { padding-block: 104px; }
  .ht-trust { padding-block: 120px; }
  .ht-split { gap: 56px; }
  .ht-phone-stage { padding: 24px 0 0; }
  .ht-steps-grid { padding-block: 96px; gap: 56px; }
}

@media (max-width: 640px) {
  .ht-download-btn { display: none; }
  .ht-account-label, .ht-chevron { display: none; }
  .ht-account-icon { display: block; }
  .ht-tenant-name small { display: none; }
  .ht-tenant-name > span { max-width: 38vw; font-size: 15px; }
  .ht-hero-sticky { padding: 100px 20px 32px; }
  .ht-hero-stage { height: 180px; margin-top: 32px; }
  .ht-hero-card { display: none; }
  .ht-section { padding-inline: 20px; }
  .ht-steps-grid { padding-inline: 20px; }
  .ht-step-visual { height: 320px; border-radius: 26px; }
  .ht-rec, .ht-mock-stage { padding: 20px; }
  .ht-mock-card { padding: 18px; }
  .ht-growth-lg { height: 130px; }
  .ht-form { padding: 22px; border-radius: 22px; }
  .ht-faq-list details p { padding-right: 0; }
  .ht-footer { padding-inline: 20px; }
  .ht-footer-brand { grid-column: 1 / -1; }
}

/* ── Cookie banner ── */

.ht-cookie {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin-left: auto;
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  color: var(--ht-ink);
  box-shadow: 0 18px 48px rgba(12, 22, 51, .18), 0 0 0 1px var(--ht-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.ht-cookie[hidden], .ht-cookie [hidden] { display: none !important; }
.ht-cookie-title { margin: 0 0 4px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.ht-cookie-text { margin: 0; color: var(--ht-muted); }
.ht-cookie-text a { color: var(--ht-blue); text-decoration: underline; }
.ht-cookie-prefs { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ht-cookie-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ht-cookie-opt input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ht-blue); }
.ht-cookie-opt span { display: flex; flex-direction: column; }
.ht-cookie-opt small { color: var(--ht-soft); font-size: 12px; }
.ht-cookie-opt em { font-style: normal; color: var(--ht-muted); font-size: 13px; }
.ht-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ht-cookie-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ht-line);
  background: #fff;
  color: var(--ht-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ht-cookie-btn:hover { border-color: var(--ht-ink); }
.ht-cookie-btn-primary { background: var(--ht-ink); border-color: var(--ht-ink); color: #fff; }
.ht-cookie-btn-primary:hover { background: var(--ht-blue); border-color: var(--ht-blue); }
.ht-footer-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ── 404 ── */

.ht-notfound { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 140px 24px 80px; }
.ht-notfound-inner { max-width: 620px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.ht-notfound-code { font-family: var(--ht-mono); font-size: 14px; color: var(--ht-soft); letter-spacing: .1em; }
.ht-notfound-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

@media (max-width: 640px) {
  .ht-cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .ht-cookie-btn { flex: 1 1 auto; }
}
