/* =============================================================
   TACHY SCHOOL ERP — Public website stylesheet
   Modern SaaS · Light theme · Fully responsive · Print-friendly
   ============================================================= */

/* --- 1. Design tokens ---------------------------------------- */
:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f7f8fb;
  --c-bg-dark: #0b1020;
  --c-surface: #ffffff;
  --c-surface-2: #f1f4fa;
  --c-border: #e5e9f2;
  --c-border-strong: #cfd6e4;

  --c-text: #0b1020;
  --c-text-soft: #4b5563;
  --c-text-muted: #6b7280;
  --c-text-invert: #ffffff;

  --c-primary: #2563eb;        /* TACHY blue */
  --c-primary-600: #1d4ed8;
  --c-primary-50: #eef4ff;
  --c-accent: #0ea5e9;          /* sky */
  --c-success: #10b981;
  --c-warning: #f59e0b;
  --c-danger:  #ef4444;
  --c-violet:  #7c3aed;
  --c-pink:    #ec4899;

  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(37,99,235,.18), transparent 60%),
               radial-gradient(900px 500px at -10% 10%, rgba(14,165,233,.18), transparent 60%),
               linear-gradient(180deg, #ffffff, #f3f6fd);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow:    0 8px 24px rgba(15,23,42,.07);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.12);
  --container: 1200px;

  --font-sans: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- 2. Reset & base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-600); }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; color: var(--c-text-soft); }

/* --- 3. Layout primitives ----------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section   { padding: 88px 0; }
.section--tight  { padding: 56px 0; }
.section--soft   { background: var(--c-bg-soft); }
.section--dark   { background: var(--c-bg-dark); color: var(--c-text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #c7d0e2; }
.section--hero { background: var(--grad-hero); padding: 120px 0 88px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section--hero { padding: 96px 0 56px; }
}

.text-center { text-align: center; }
.muted { color: var(--c-text-muted); }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-primary); background: var(--c-primary-50);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}

/* --- 4. Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; font-weight: 600; font-size: .95rem;
  border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease;
  white-space: nowrap;
}
.btn--primary  { background: var(--c-primary); color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.32); }
.btn--primary:hover  { background: var(--c-primary-600); transform: translateY(-1px); color: #fff; }
.btn--ghost    { background: transparent; color: var(--c-text); border-color: var(--c-border-strong); }
.btn--ghost:hover { background: var(--c-surface-2); color: var(--c-text); }
.btn--light    { background: #fff; color: var(--c-text); border-color: var(--c-border); }
.btn--dark     { background: var(--c-text); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1rem; border-radius: 14px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- 5. Header / nav ---------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 18px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.nav__brand-mark {
  width: 220px;
  height: 67px;
  border-radius: 10px;
  object-fit: contain;
  border: 0;
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
  background: transparent;
}
.nav__wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #0b1020;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}
.nav__wordmark--footer {
  color: #fff;
}
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--c-text); font-weight: 500; font-size: .95rem;
}
.nav__link:hover { background: var(--c-surface-2); color: var(--c-text); }
.nav__caret { width: 12px; height: 12px; opacity: .6; }

.nav__panel {
  position: absolute; top: 100%; left: 0;
  min-width: 320px; padding: 14px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--c-text); transition: background .15s;
}
.nav__panel a:hover { background: var(--c-surface-2); }
.nav__panel-label { font-weight: 600; font-size: .95rem; color: var(--c-text); }
.nav__panel-desc  { font-size: .82rem; color: var(--c-text-muted); display: block; margin-top: 2px; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
  .nav__brand-mark {
    width: 176px;
    height: 54px;
  }
  .nav__menu { position: fixed; inset: 86px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--c-border); padding: 12px; max-height: calc(100vh - 86px); overflow-y: auto; transform: translateY(-110%); transition: transform .25s ease; }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__item { width: 100%; }
  .nav__panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 8px; min-width: 0; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn--ghost { display: none; }
}

/* --- 6. Hero ------------------------------------------------ */
.hero { text-align: center; }
.hero h1 { max-width: 900px; margin: 0 auto 18px; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--c-text-soft); max-width: 760px; margin: 0 auto 28px; }
.hero__cta { justify-content: center; }
.hero__trust { margin-top: 28px; color: var(--c-text-muted); font-size: .88rem; }

.hero__shot {
  margin: 60px auto 0; max-width: 1080px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #fff, #eef4ff);
  border: 1px solid var(--c-border);
  overflow: hidden;
}

/* --- 7. Cards ----------------------------------------------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-border-strong); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--c-primary-50); color: var(--c-primary); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }

/* Icon colour variants */
.ic-blue  { background: #eef4ff; color: #2563eb; }
.ic-sky   { background: #e0f2fe; color: #0284c7; }
.ic-green { background: #dcfce7; color: #16a34a; }
.ic-violet{ background: #ede9fe; color: #7c3aed; }
.ic-pink  { background: #fce7f3; color: #db2777; }
.ic-amber { background: #fef3c7; color: #d97706; }
.ic-rose  { background: #ffe4e6; color: #e11d48; }
.ic-teal  { background: #ccfbf1; color: #0d9488; }

/* --- 8. Stats banner --------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--c-text); margin: 0; }
.stats__lbl { color: var(--c-text-muted); font-size: .9rem; margin: 4px 0 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --- 9. Pricing -------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; padding: 32px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.price-card--popular { border-color: var(--c-primary); box-shadow: 0 20px 50px rgba(37,99,235,.15); transform: translateY(-6px); }
.price-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.price-card__name { font-size: 1.05rem; font-weight: 600; color: var(--c-text-muted); margin-bottom: 6px; }
.price-card__amt  { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.price-card__amt small { font-size: 1rem; font-weight: 500; color: var(--c-text-muted); }
.price-card__per  { color: var(--c-text-muted); font-size: .88rem; margin: 6px 0 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-card li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--c-text-soft); border-bottom: 1px dashed var(--c-border); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; background: var(--c-success); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5a1 1 0 1 1 1.4-1.4L9 13.4l7.1-7.1a1 1 0 1 1 1.4 1.4l-7.8 7.8a1 1 0 0 1-1.4 0z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5a1 1 0 1 1 1.4-1.4L9 13.4l7.1-7.1a1 1 0 1 1 1.4 1.4l-7.8 7.8a1 1 0 0 1-1.4 0z'/></svg>") center/contain no-repeat; }

/* --- 10. Comparison table ---------------------------------- */
.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: .92rem; }
.cmp th { background: var(--c-surface-2); font-weight: 600; color: var(--c-text); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--c-success); font-weight: 700; }
.cmp .no  { color: var(--c-danger); font-weight: 700; }
.cmp .col-tachy { background: rgba(37,99,235,.05); }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- 11. FAQ ----------------------------------------------- */
details.faq { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
details.faq[open] { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--c-text); list-style: none; display: flex; align-items: center; justify-content: space-between; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--c-primary); font-weight: 400; transition: transform .2s; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 12px 0 0; color: var(--c-text-soft); }

/* --- 12. Logos / trust bar --------------------------------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; opacity: .82; }
.logo-row span { font-weight: 700; letter-spacing: .04em; color: var(--c-text-muted); }

/* --- 13. Forms --------------------------------------------- */
.form { display: grid; gap: 14px; }
.form label { font-weight: 500; font-size: .9rem; color: var(--c-text); margin-bottom: 4px; display: block; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit;
  border: 1px solid var(--c-border-strong); border-radius: 10px;
  background: #fff; color: var(--c-text); transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}
.form textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* --- 14. CTA strip ----------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #fff; border-radius: var(--radius-lg);
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-strip h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-strip p  { color: rgba(255,255,255,.85); margin: 0; }
.cta-strip .btn--light { color: #1d4ed8; }

/* --- 15. Footer -------------------------------------------- */
.site-footer { background: #0b1020; color: #c5cee2; padding: 72px 0 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: #c5cee2; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1f2a44; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: #7c8ba8; }
.footer__bottom a { display: inline; color: #7c8ba8; }

/* --- 16. Misc utilities ------------------------------------ */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.badge--blue  { background: var(--c-primary-50); color: var(--c-primary); }
.badge--green { background: #dcfce7; color: #15803d; }
.badge--amber { background: #fef3c7; color: #b45309; }

.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-cta a { width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 28px rgba(37,211,102,.32); transition: transform .18s; }
.float-cta a:hover { transform: scale(1.08); color: #fff; }
.float-cta a svg { width: 28px; height: 28px; }

.kbd { background: #f1f4fa; border: 1px solid var(--c-border); border-bottom-width: 2px; padding: 2px 6px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }

/* Print friendly */
@media print {
  .site-header, .site-footer, .float-cta, .cta-strip { display: none !important; }
  body { background: #fff; }
}

/* --- 17. 2026 TACHY landing rebuild ------------------------ */
.tachy-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.48) 100%),
    linear-gradient(135deg, #eaf3ff 0%, #f7fbff 48%, #edfdf9 100%);
}
.tachy-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--c-border);
}
.tachy-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
}
.tachy-hero__copy h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
}
.tachy-hero__copy .lead {
  max-width: 680px;
  font-size: 1.12rem;
}
.tachy-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tachy-hero__proof span,
.tachy-module-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--c-text-soft);
  font-weight: 700;
  font-size: .88rem;
}
.tachy-slider {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(15,23,42,.18);
  background: #dcecff;
}
.tachy-slider img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.tachy-slider__panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 8px;
  background: rgba(8,13,28,.76);
  color: #fff;
  backdrop-filter: blur(12px);
}
.tachy-slider__panel.active { display: block; }
.tachy-slider__panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.tachy-slider__panel span {
  color: #d7e6ff;
  font-size: .92rem;
}
.tachy-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-border);
}
.tachy-metrics div {
  padding: 24px;
  background: #fff;
}
.tachy-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--c-primary);
}
.tachy-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--c-text-muted);
  font-size: .92rem;
}
.tachy-section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}
.tachy-section-head p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tachy-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tachy-feature-card {
  border-radius: 8px;
}
.tachy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #e9f4ff;
  color: var(--c-primary);
  font-weight: 900;
  letter-spacing: 0;
}
.tachy-bio__grid,
.tachy-compare,
.tachy-demo-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 42px;
  align-items: center;
}
.tachy-checks {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}
.tachy-checks li {
  display: flex;
  gap: 10px;
  color: var(--c-text-soft);
}
.tachy-checks li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--c-success);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5a1 1 0 1 1 1.4-1.4L9 13.4l7.1-7.1a1 1 0 1 1 1.4 1.4l-7.8 7.8a1 1 0 0 1-1.4 0z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5a1 1 0 1 1 1.4-1.4L9 13.4l7.1-7.1a1 1 0 1 1 1.4 1.4l-7.8 7.8a1 1 0 0 1-1.4 0z'/></svg>") center/contain no-repeat;
}
.tachy-phone {
  max-width: 360px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  background: #0b1020;
  box-shadow: 0 28px 70px rgba(15,23,42,.24);
}
.tachy-phone__screen {
  min-height: 560px;
  padding: 34px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  text-align: center;
}
.tachy-face-ring {
  display: grid;
  place-items: center;
  width: 174px;
  height: 174px;
  margin: 32px auto 24px;
  border: 3px solid #2563eb;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 48%, #dbeafe 49% 100%);
  box-shadow: 0 0 0 12px rgba(37,99,235,.08);
}
.tachy-face-ring span {
  width: 76px;
  height: 76px;
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(180deg, #f2c9a5, #d99b75);
  box-shadow: 0 78px 0 24px #1d4ed8;
}
.tachy-phone__rows {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}
.tachy-phone__rows span {
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  color: var(--c-text-soft);
  font-weight: 700;
  font-size: .9rem;
}
.tachy-face-visual {
  position: relative;
  width: min(390px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(239,246,255,.72));
  box-shadow:
    0 34px 86px rgba(15,23,42,.24),
    0 0 0 1px rgba(207,214,228,.8);
}
.tachy-face-visual::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: 52px;
  background:
    radial-gradient(circle at 50% 22%, rgba(37,99,235,.22), transparent 46%),
    radial-gradient(circle at 70% 72%, rgba(16,185,129,.18), transparent 42%);
  filter: blur(8px);
}
.tachy-face-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 32px;
  border: 10px solid #071023;
  background: #eef6ff;
}
.tachy-face-visual__badge {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5,28,71,.9);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(15,23,42,.24);
  white-space: nowrap;
}
.tachy-face-visual__badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16,185,129,.18);
}
.tachy-dark-table {
  border-color: #24314e;
}
.tachy-dark-table th,
.tachy-dark-table td {
  background: #111936;
  border-color: #24314e;
  color: #dbe7ff;
}
.tachy-dark-table th {
  color: #fff;
}
.tachy-module-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tachy-module-list a:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.tachy-demo-strip {
  grid-template-columns: 1fr auto;
  padding: 40px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 1024px) {
  .tachy-hero__grid,
  .tachy-bio__grid,
  .tachy-compare,
  .tachy-demo-strip {
    grid-template-columns: 1fr;
  }
  .tachy-slider,
  .tachy-slider img {
    min-height: 420px;
    height: 420px;
  }
  .tachy-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tachy-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tachy-hero { padding: 64px 0 48px; }
  .tachy-slider,
  .tachy-slider img {
    min-height: 330px;
    height: 330px;
  }
  .tachy-feature-grid,
  .tachy-metrics {
    grid-template-columns: 1fr;
  }
  .tachy-demo-strip {
    padding: 24px;
  }
  .tachy-demo-strip .btn {
    width: 100%;
  }
  .tachy-face-visual {
    width: min(320px, 92vw);
    padding: 10px;
    border-radius: 34px;
  }
  .tachy-face-visual img {
    border-width: 8px;
    border-radius: 26px;
  }
  .tachy-face-visual__badge {
    bottom: 24px;
  }
}

/* --- 18. Corporate SaaS homepage revision ------------------ */
.site-header {
  background: rgba(255,255,255,.94);
  border-bottom-color: rgba(203,213,225,.72);
  box-shadow: 0 8px 28px rgba(15,23,42,.05);
}
.nav__brand,
.nav__link {
  color: #0b1020;
}
.nav__brand:hover,
.nav__link:hover {
  color: #0b1020;
}
.nav__link:hover {
  background: #eef4ff;
}
.nav__panel a {
  color: var(--c-text);
}
.nav__cta .btn--ghost {
  color: #0b1020;
  border-color: #cfd6e4;
}
.nav__cta .btn--ghost:hover {
  background: #f1f5f9;
  color: #0b1020;
}
.nav__toggle {
  color: #0b1020;
}

.tachy-school-slider {
  position: relative;
  min-height: 680px;
  padding: 0;
  background: #07111f;
  color: #fff;
}
.tachy-school-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 520px at 20% 12%, rgba(37,99,235,.32), transparent 62%),
    linear-gradient(90deg, rgba(5,13,28,.98) 0%, rgba(5,13,28,.9) 35%, rgba(5,13,28,.46) 68%, rgba(5,13,28,.18) 100%),
    linear-gradient(180deg, rgba(5,13,28,.1) 0%, rgba(5,13,28,.34) 58%, rgba(5,13,28,.92) 100%);
}
.tachy-school-slider__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .7s ease, transform 4.8s ease;
}
.tachy-school-slider__bg.active {
  opacity: 1;
  transform: scale(1);
}
.tachy-school-slider__bg--main {
  background-image: url("../img/tachy-school-hero-banner.png");
}
.tachy-school-slider__bg--login {
  background-image: url("../img/tachy-hero-face-login.png");
}
.tachy-school-slider__bg--attendance {
  background-image: url("../img/tachy-hero-face-attendance.png");
}
.tachy-school-slider__bg--transport {
  background-image: url("../img/tachy-hero-transport.png");
}
.tachy-school-slider__bg--documents {
  background-image: url("../img/tachy-hero-documents.png");
}
.tachy-school-slider__bg--online-exam {
  background-image: url("../img/tachy-hero-online-exam.png");
}
.tachy-school-slider__bg--notifications {
  background-image: url("../img/tachy-hero-notifications.png");
}
.tachy-school-slider__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 680px;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 96px;
  padding-bottom: 34px;
}
.tachy-school-slider__copy {
  width: min(690px, 100%);
  min-height: 330px;
  padding-top: 24px;
}
.tachy-school-slider .tachy-slider__panel {
  position: static;
  inset: auto;
  display: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
}
.tachy-school-slider .tachy-slider__panel.active {
  display: block;
}
.tachy-school-slider__kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(147,197,253,.34);
  border-radius: 999px;
  background: rgba(37,99,235,.18);
  color: #dbeafe;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tachy-school-slider h1 {
  max-width: 640px;
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 28px rgba(0,0,0,.28);
}
.tachy-school-slider p {
  max-width: 650px;
  margin: 0;
  color: #d9e6f8;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}
.tachy-school-slider__actions {
  margin-top: 26px;
}
.tachy-school-slider__actions .btn--primary {
  background: #1164d8;
  border-color: #1164d8;
  box-shadow: 0 12px 28px rgba(17,100,216,.34);
}
.tachy-school-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 12px;
  background: rgba(7,17,31,.72);
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
}
.tachy-school-strip div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 12px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  border-right: 1px solid rgba(148,163,184,.22);
}
.tachy-school-strip div:last-child {
  border-right: 0;
}
.tachy-school-strip__icon {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(96,165,250,.34);
  border-radius: 10px;
  background: rgba(37,99,235,.2);
  color: #bfdbfe;
  font-weight: 900;
}
.tachy-school-strip strong {
  color: #fff;
  line-height: 1.15;
}
.tachy-school-strip small {
  color: #b8c7dc;
  font-size: .8rem;
  line-height: 1.25;
}

@media (max-width: 1024px) {
  .nav__menu {
    background: #fff;
    border-top-color: #e5e9f2;
  }
  .nav__panel {
    background: transparent;
  }
  .nav__panel-label,
  .nav__panel-desc {
    color: #0b1020;
  }
  .tachy-school-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tachy-school-strip div:nth-child(2) {
    border-right: 0;
  }
  .tachy-school-strip div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(148,163,184,.22);
  }
}
@media (max-width: 640px) {
  .tachy-school-slider {
    min-height: 760px;
  }
  .tachy-school-slider::before {
    background:
      linear-gradient(180deg, rgba(5,13,28,.9) 0%, rgba(5,13,28,.78) 42%, rgba(5,13,28,.96) 100%);
  }
  .tachy-school-slider__bg {
    background-position: center top;
    opacity: .82;
  }
  .tachy-school-slider__inner {
    min-height: 760px;
    padding-top: 54px;
  }
  .tachy-school-slider__copy {
    min-height: 330px;
    padding-top: 0;
  }
  .tachy-school-slider h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.55rem);
    line-height: 1.12;
  }
  .tachy-school-strip {
    grid-template-columns: 1fr;
  }
  .tachy-school-strip div,
  .tachy-school-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(148,163,184,.22);
  }
  .tachy-school-strip div:last-child {
    border-bottom: 0;
  }
}

/* --- 19. Enterprise homepage hero -------------------------- */
.tachy-enterprise-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  background:
    radial-gradient(820px 480px at 86% 8%, rgba(37,99,235,.12), transparent 62%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 58%, #f6f8fb 100%);
  border-bottom: 1px solid #e5e9f2;
}
.tachy-enterprise-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 58px;
  align-items: center;
}
.tachy-enterprise-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid #d6e3f7;
  border-radius: 6px;
  background: #fff;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tachy-enterprise-hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  color: #0b1020;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4vw, 4.15rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.tachy-enterprise-hero p {
  max-width: 650px;
  margin: 0;
  color: #465469;
  font-size: 1.08rem;
  line-height: 1.72;
}
.tachy-enterprise-hero__actions {
  margin-top: 28px;
}
.tachy-enterprise-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tachy-enterprise-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #e1e8f3;
  border-radius: 6px;
  background: #fff;
  color: #4b5563;
  font-size: .86rem;
  font-weight: 700;
}
.tachy-enterprise-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #10b981;
}
.tachy-enterprise-console {
  overflow: hidden;
  border: 1px solid #d7dfed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15,23,42,.16);
}
.tachy-console-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e9f2;
  background: #f8fafc;
}
.tachy-console-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.tachy-console-topbar strong {
  margin-left: 8px;
  color: #334155;
  font-size: .9rem;
}
.tachy-console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(241,245,249,.82) 1px, transparent 1px),
    linear-gradient(180deg, rgba(241,245,249,.82) 1px, transparent 1px),
    #fff;
  background-size: 34px 34px;
}
.tachy-console-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.tachy-console-card--wide {
  grid-row: span 2;
  min-height: 270px;
}
.tachy-console-card small,
.tachy-console-card em {
  display: block;
  color: #64748b;
  font-size: .82rem;
  font-style: normal;
}
.tachy-console-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
}
.tachy-console-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef4ff, #f8fbff);
}
.tachy-console-chart i {
  flex: 1;
  min-width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #2563eb, #60a5fa);
}

@media (max-width: 1024px) {
  .tachy-enterprise-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .tachy-enterprise-hero {
    padding: 58px 0 48px;
  }
  .tachy-enterprise-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }
  .tachy-enterprise-console {
    border-radius: 8px;
  }
  .tachy-console-grid {
    grid-template-columns: 1fr;
  }
  .tachy-console-card--wide {
    min-height: 240px;
  }
}

/* --- 20. Enterprise header and mobile menu refresh ---------- */
.site-header {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(203, 213, 225, .74);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #0f172a, #2563eb 42%, #10b981);
}
.site-header .nav {
  position: relative;
  height: 78px;
  gap: 20px;
}
.site-header .nav__brand {
  position: relative;
  z-index: 56;
  gap: 11px;
  color: #0b1020;
}
.nav__brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .98), rgba(14, 165, 233, .94)),
    #2563eb;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .24);
}
.site-header .nav__wordmark {
  min-height: auto;
  color: #08111f;
  font-size: 1.48rem;
  letter-spacing: .13em;
}
.site-header .nav__wordmark span {
  display: inline-block;
  animation: tachyLogoPulse 3.2s ease-in-out infinite;
}
.site-header .nav__wordmark span:nth-child(2) { animation-delay: .08s; }
.site-header .nav__wordmark span:nth-child(3) { animation-delay: .16s; }
.site-header .nav__wordmark span:nth-child(4) { animation-delay: .24s; }
.site-header .nav__wordmark span:nth-child(5) { animation-delay: .32s; }
@keyframes tachyLogoPulse {
  0%, 70%, 100% { transform: translateY(0); color: #08111f; text-shadow: none; }
  35% { transform: translateY(-2px); color: #2563eb; text-shadow: 0 10px 22px rgba(37, 99, 235, .22); }
}
.site-header .nav__menu {
  gap: 2px;
}
.site-header .nav__item {
  position: static;
}
.site-header .nav__link {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #172033;
  font-weight: 700;
  letter-spacing: 0;
}
.site-header button.nav__link {
  cursor: pointer;
}
.site-header .nav__link:hover,
.site-header .nav__item:focus-within > .nav__link,
.site-header .nav__item.is-hover > .nav__link,
.site-header .nav__link[aria-expanded="true"] {
  background: #eef4ff;
  color: #12346f;
}
.site-header .nav__caret {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}
.site-header .nav__item:hover .nav__caret,
.site-header .nav__item.is-hover .nav__caret,
.site-header .nav__link[aria-expanded="true"] .nav__caret {
  transform: rotate(180deg);
}
.site-header .nav__panel {
  top: calc(100% - 6px);
  left: 20px;
  right: 20px;
  width: min(1120px, calc(100% - 40px));
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .16);
  transform: translateY(12px) scale(.985);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.site-header .nav__item:hover .nav__panel,
.site-header .nav__item:focus-within .nav__panel,
.site-header .nav__item.is-hover .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav__panel-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 270px;
}
.nav__panel-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(30, 64, 175, .94)),
    #0f172a;
  color: #fff;
}
.nav__panel-feature span {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(191, 219, 254, .32);
  border-radius: 6px;
  color: #bfdbfe;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav__panel-feature strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.18;
}
.nav__panel-feature small {
  color: #d6e4f7;
  font-size: .88rem;
  line-height: 1.55;
}
.nav__panel-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  max-height: 470px;
  padding: 18px;
  overflow: auto;
}
.nav__panel-list a {
  display: block;
  min-height: 76px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #172033;
}
.nav__panel-list a:hover,
.nav__panel-list a:focus {
  border-color: #dbe7fb;
  background: #f7fbff;
  color: #102a5c;
  outline: 0;
}
.site-header .nav__panel-label {
  font-size: .92rem;
  font-weight: 800;
}
.site-header .nav__panel-desc {
  margin-top: 4px;
  color: #64748b;
  font-size: .8rem;
  line-height: 1.35;
}
.site-header .nav__cta {
  position: relative;
  z-index: 56;
}
.site-header .nav__cta .btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
}
.site-header .nav__cta .btn--primary {
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  box-shadow: 0 12px 28px rgba(29, 78, 216, .24);
}
.site-header .nav__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd6e4;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
}
.site-header .nav__toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.site-header .nav__toggle span:nth-child(1) { transform: translateY(-7px); }
.site-header .nav__toggle span:nth-child(3) { transform: translateY(7px); }
.site-header .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.site-header .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
.nav__mobile-head,
.nav__mobile-actions,
.nav__close,
.nav__backdrop {
  display: none;
}

@media (max-width: 1120px) {
  html,
  body {
    overflow-x: hidden;
  }
  .site-header .nav {
    height: 74px;
  }
  .site-header .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    z-index: 55;
    display: flex;
    width: min(420px, 92vw);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    border-top: 0;
    border-left: 1px solid #d7dfed;
    background: #fff;
    box-shadow: -26px 0 70px rgba(15, 23, 42, .18);
    transform: translateX(100%);
    transition: transform .24s ease;
  }
  .site-header .nav__menu.is-open {
    transform: translateX(0);
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 54;
    display: block;
    background: rgba(15, 23, 42, .46);
    backdrop-filter: blur(4px);
  }
  .nav__mobile-head {
    position: static;
    flex: 0 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-family: var(--font-display);
    font-weight: 900;
  }
  .nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #cfd6e4;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
  }
  .nav__close svg {
    width: 22px;
    height: 22px;
  }
  .site-header .nav__item {
    width: 100%;
    border-bottom: 1px solid #eef2f7;
  }
  .site-header .nav__link {
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 0;
    font-size: 1rem;
  }
  .site-header .nav__link:hover,
  .site-header .nav__link[aria-expanded="true"] {
    background: #f8fafc;
    color: #12346f;
  }
  .site-header .nav__panel {
    position: static;
    width: 100%;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .24s ease;
  }
  .site-header .nav__item.is-open .nav__panel {
    max-height: 1200px;
  }
  .nav__panel-inner {
    display: block;
    min-height: 0;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
  }
  .nav__panel-feature {
    display: none;
  }
  .nav__panel-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: none;
    padding: 10px 12px 14px;
    overflow: visible;
  }
  .nav__panel-list a {
    min-height: 0;
    padding: 12px;
    border-color: #e5e9f2;
    background: #fff;
  }
  .nav__mobile-actions {
    display: grid;
    gap: 10px;
    padding: 16px 18px 22px;
  }
  .site-header .nav__cta .btn {
    display: none;
  }
  .site-header .nav__toggle {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .site-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-header .nav {
    height: 68px;
  }
  .nav__brand-symbol {
    width: 38px;
    height: 38px;
  }
  .site-header .nav__wordmark {
    font-size: 1.24rem;
    letter-spacing: .09em;
  }
  .site-header .nav__menu {
    width: 100vw;
  }
  .nav__mobile-head {
    min-height: 68px;
  }
  .site-header .nav__toggle {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav__wordmark span,
  .site-header .nav__panel,
  .site-header .nav__menu,
  .site-header .nav__toggle span {
    animation: none;
    transition: none;
  }
}
