@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #10243e;
  --muted: #61748b;
  --teal: #0f9b8e;
  --teal-dark: #087f76;
  --mint: #e8f8f5;
  --line: #e3ebf2;
  --surface: #ffffff;
  --page: #f4f8fb;
  --blue: #2557d6;
  --shadow: 0 14px 40px rgba(16, 36, 62, 0.08);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 155, 142, 0.32);
  outline-offset: 3px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #2265cc);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(15, 155, 142, 0.23);
  font-size: 1.1rem;
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0;
}

.navlinks,
.footer-links {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #52677e;
  font-size: 0.9rem;
  font-weight: 620;
}

.navlinks a,
.footer-links a {
  transition: color 0.16s ease;
}

.navlinks a:hover,
.footer-links a:hover {
  color: var(--teal-dark);
}

.nav-actions,
.hero-buttons,
.demo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 7px 18px rgba(15, 155, 142, 0.18);
}

.btn-primary:hover {
  color: #fff;
  background: var(--teal-dark);
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border-color: #cbd9e5;
}

.btn-outline:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn-large {
  min-height: 49px;
  padding: 12px 20px;
  font-size: 0.94rem;
}

.mobile-toggle {
  display: none;
  min-width: 42px;
  padding-inline: 10px;
  background: #fff;
  border-color: var(--line);
  font-size: 1.1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 57px;
  background:
    radial-gradient(circle at 85% 18%, #d4f3ec 0, transparent 30%),
    linear-gradient(120deg, #f8fcff 0%, #eaf8f6 100%);
  border-bottom: 1px solid #e3f0ee;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 46px;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #cdebe5;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 650px;
  margin: 0 0 19px;
  font-size: clamp(2.45rem, 4.5vw, 4.15rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero-copy {
  max-width: 570px;
  margin: 0 0 17px;
  color: #536a80;
  font-size: 1.06rem;
}

.availability-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 570px;
  margin: 0 0 23px;
  color: #547264;
  font-size: 0.88rem;
  font-weight: 610;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 6px;
  background: #4c9c70;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(76, 156, 112, 0.12);
}

.hero-buttons {
  flex-wrap: wrap;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 17px;
  margin-top: 23px;
  color: #6b7e91;
  font-size: 0.8rem;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-line b {
  color: var(--teal-dark);
  font-size: 0.85rem;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 370px;
  place-items: center;
}

.orb {
  position: absolute;
  top: 5%;
  right: 10%;
  width: 310px;
  height: 310px;
  background: linear-gradient(140deg, #c6eee5, #dce8ff);
  border-radius: 50%;
}

.bank-illustration {
  position: relative;
  z-index: 1;
  width: min(365px, 88%);
  padding: 25px 25px 20px;
  background: #fff;
  border: 1px solid #dfe9ef;
  border-radius: 18px;
  box-shadow: 0 25px 55px rgba(31, 82, 102, 0.16);
  transform: rotate(-2deg);
}

.paper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.paper-top strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

.paper-top strong span {
  color: var(--teal);
  font-size: 1.1rem;
}

.paper-top > span {
  padding: 5px 8px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 6px;
  font-size: 0.61rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.paper-kicker {
  margin: 17px 0 2px;
  color: #8192a3;
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.13em;
}

.bank-illustration h2 {
  margin: 0;
  font-size: 1.48rem;
  letter-spacing: -0.045em;
}

.paper-subtitle {
  margin: 2px 0 17px;
  color: var(--muted);
  font-size: 0.72rem;
}

.bank-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bank-metrics div {
  padding: 10px 7px 9px;
  background: #f5faf9;
  border: 1px solid #e4f0ed;
  border-radius: 10px;
  text-align: center;
}

.bank-metrics strong,
.bank-metrics span {
  display: block;
}

.bank-metrics strong {
  color: #244e54;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.bank-metrics span {
  color: var(--muted);
  font-size: 0.66rem;
}

.paper-line {
  height: 7px;
  margin: 12px 0;
  background: #edf2f7;
  border-radius: 10px;
}

.paper-line.short {
  width: 62%;
  margin-top: 8px;
}

.bank-illustration-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  color: #688475;
  border-top: 1px solid #edf1ef;
  font-size: 0.66rem;
  font-weight: 650;
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 12px 15px;
  color: #385366;
  background: #fff;
  border: 1px solid #e3edf3;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.74rem;
}

.floating-card strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.92rem;
}

.float-a {
  top: 17%;
  left: -1%;
}

.float-b {
  right: -2%;
  bottom: 13%;
}

.floating-icon {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  margin-right: 5px;
  color: var(--teal);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 800;
}

.section {
  padding: 65px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-kicker {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.about-grid h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 6px 20px rgba(16, 36, 62, 0.025);
}

.feature-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin-bottom: 15px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 13px;
  font-size: 1.15rem;
  font-weight: 740;
}

.feature-card h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.class-section {
  background: #edf4f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.class-card {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(16, 36, 62, 0.035);
}

.class-card-available {
  border-color: #c9e5dc;
  box-shadow: 0 10px 28px rgba(15, 155, 142, 0.075);
}

.class-card-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.class-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--teal), #468aca);
  border-radius: 13px;
  font-size: 0.85rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.class-card:not(.class-card-available) .class-mark {
  color: #61748b;
  background: #eff4f7;
}

.class-heading-copy {
  min-width: 0;
}

.class-kicker {
  display: block;
  margin-bottom: 1px;
  color: #8797a7;
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.class-heading-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 9px;
  color: #7c8793;
  background: #f4f6f7;
  border: 1px solid #e8edf0;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 760;
  white-space: nowrap;
}

.availability-badge.is-available {
  color: #187868;
  background: #e8f8f5;
  border-color: #d3eee6;
}

.availability-badge.is-available span {
  font-size: 0.55rem;
}

.class-card-description {
  min-height: 42px;
  margin: 15px 0 13px;
  color: var(--muted);
  font-size: 0.84rem;
}

.subject-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.subject-tag {
  display: flex;
  min-width: 0;
  min-height: 44px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding: 6px 9px;
  color: #4a5f74;
  background: #f7fafb;
  border: 1px solid #e8eef2;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 690;
  line-height: 1.25;
}

.subject-tag small {
  color: #8b97a3;
  font-size: 0.58rem;
  font-weight: 650;
}

a.subject-tag-available {
  color: #087f76;
  background: #eaf8f4;
  border-color: #bfe5d9;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

a.subject-tag-available small {
  color: #348c77;
}

a.subject-tag-available:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(15, 155, 142, 0.12);
  transform: translateY(-1px);
}

.class-cta {
  width: 100%;
  margin-top: 14px;
}

.future-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  color: #6c7e91;
  background: #f5f8fa;
  border: 1px dashed #d8e3ea;
  border-radius: 11px;
  font-size: 0.79rem;
  font-weight: 640;
}

.future-note span {
  color: #bd9659;
}

.demo-section {
  background: #fff;
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  background: linear-gradient(115deg, #e7f8f4, #f0f6ff);
  border: 1px solid #d8eee9;
  border-radius: 20px;
}

.demo-copy h2 {
  margin: 8px 0 7px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.045em;
}

.demo-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.demo-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stat-card {
  padding: 17px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: #244e54;
  font-size: 1.42rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.73rem;
}

.about-section {
  background: #f8fbfc;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 45px;
}

.about-grid h2 {
  max-width: 430px;
}

.about-copy p {
  margin: 0 0 13px;
  color: #5e7185;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 750;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 33px 0;
  color: #d9e5f0;
  background: #10243e;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-brand-block .brand {
  color: #fff;
}

.footer-brand-block .brand small {
  color: #b3c4d2;
}

.footer-brand-block > p,
.copyright {
  margin: 7px 0 0;
  color: #a9bbcc;
  font-size: 0.77rem;
}

.footer-links {
  flex-wrap: wrap;
  gap: 17px;
  color: #c2d0dd;
  font-size: 0.81rem;
}

.copyright {
  margin: 0;
}

@media (max-width: 1000px) {
  .navlinks {
    gap: 16px;
    font-size: 0.84rem;
  }

  .hero-grid {
    gap: 22px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subject-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    gap: 10px;
  }

  .navlinks {
    position: absolute;
    top: 66px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: var(--shadow);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 10px 2px;
  }

  .navlinks a + a {
    border-top: 1px solid #eff3f5;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions > .btn-primary {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 340px;
    margin-top: -4px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .demo-card {
    grid-template-columns: 1fr;
  }

  .demo-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .navlinks {
    position: absolute;
    top: 66px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: var(--shadow);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 10px 2px;
  }

  .navlinks a + a {
    border-top: 1px solid #eff3f5;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .brand {
    gap: 8px;
    font-size: 1.03rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .hero {
    padding: 45px 0 38px;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-art {
    min-height: 305px;
  }

  .orb {
    top: 7%;
    right: 11%;
    width: 245px;
    height: 245px;
  }

  .bank-illustration {
    width: min(330px, 88%);
    padding: 19px 18px 17px;
  }

  .float-a {
    top: 4%;
    left: -2%;
  }

  .float-b {
    right: -2%;
    bottom: 3%;
  }

  .floating-card {
    padding: 9px 10px;
    font-size: 0.66rem;
  }

  .floating-card strong {
    font-size: 0.79rem;
  }

  .section {
    padding: 46px 0;
  }

  .feature-grid {
    gap: 11px;
  }

  .feature-card {
    padding: 17px 14px;
  }

  .feature-card h3 {
    font-size: 0.91rem;
  }

  .feature-card p {
    font-size: 0.78rem;
  }

  .class-grid {
    grid-template-columns: 1fr;
  }

  .class-card {
    padding: 18px;
  }

  .demo-card {
    padding: 22px 19px;
  }

  .demo-actions .btn {
    flex: 1 1 125px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-row {
    align-items: flex-start;
  }

  .footer-links {
    gap: 10px 14px;
  }
}

@media (max-width: 370px) {
  .brand {
    font-size: 0.96rem;
  }

  .brand small {
    display: none;
  }

  .nav-actions > .btn-primary {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.77rem;
  }

  .nav-actions .mobile-toggle {
    min-width: 38px;
    min-height: 38px;
  }

  .class-card-head {
    flex-wrap: wrap;
  }

  .availability-badge {
    margin-left: 55px;
  }

  .subject-list {
    grid-template-columns: 1fr;
  }

  .trust-line {
    gap: 8px 12px;
    font-size: 0.73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
