:root {
  --ink: #15211f;
  --ink-soft: #354542;
  --paper: #f4f6f3;
  --white: #ffffff;
  --line: #d9e0dc;
  --green: #37b879;
  --green-dark: #176b4a;
  --green-pale: #dff4e9;
  --coral: #f47750;
  --coral-pale: #fee6dc;
  --yellow: #f2c84b;
  --yellow-pale: #fff3c8;
  --blue: #67a6d9;
  --blue-pale: #e4f0f9;
  --shadow: 0 24px 60px rgba(21, 33, 31, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(55, 184, 121, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(244, 246, 243, 0.96);
  border-bottom: 1px solid rgba(21, 33, 31, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1320px, calc(100% - 64px));
  height: 82px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 19px;
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.header-cta svg {
  width: 17px;
  height: 17px;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .header-cta:hover,
.site-header.is-open .header-cta:hover {
  color: var(--white);
  background: var(--ink);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  border: 0;
  color: inherit;
  background: transparent;
}

.mobile-menu {
  padding: 8px 24px 24px;
  background: var(--paper);
}

.mobile-menu a,
.mobile-menu button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  text-align: left;
}

.mobile-menu button svg {
  width: 18px;
}

.hero {
  position: relative;
  height: calc(100svh - 64px);
  min-height: 560px;
  max-height: 850px;
  overflow: hidden;
  color: var(--white);
  background: #101817;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 58%;
  animation: hero-enter 1.2s ease-out both;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 15, 15, 0.9) 0%, rgba(8, 15, 15, 0.62) 43%, rgba(8, 15, 15, 0.1) 78%), linear-gradient(0deg, rgba(8, 15, 15, 0.52), transparent 46%);
}

@keyframes hero-enter {
  from { opacity: 0.4; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
}

.hero-copy {
  width: min(690px, 66%);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--green);
}

.hero h1 {
  margin-top: 18px;
  font-size: 88px;
  line-height: 1;
  font-weight: 800;
}

.hero-line {
  margin-top: 24px;
  font-size: 34px;
  line-height: 1.34;
  font-weight: 650;
}

.hero-description {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}

.primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 19px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: var(--green);
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: #4ac98c;
  transform: translateY(-2px);
}

.primary-button svg,
.text-link svg {
  width: 18px;
  height: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 9px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}

.text-link.light {
  color: rgba(255, 255, 255, 0.86);
}

.hero-status {
  position: absolute;
  right: 0;
  bottom: 30px;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.hero-status div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-status svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.signal-band {
  background: var(--green);
}

.signal-track {
  min-height: 144px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.signal-track p {
  display: grid;
  grid-template-columns: 34px auto;
  align-content: center;
  padding: 20px 36px;
  border-right: 1px solid rgba(21, 33, 31, 0.2);
}

.signal-track p:first-child {
  padding-left: 0;
}

.signal-track p:last-child {
  border-right: 0;
}

.signal-track strong {
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 3px;
  font-size: 12px;
}

.signal-track span {
  font-size: 20px;
  font-weight: 750;
}

.signal-track small {
  margin-top: 7px;
  color: rgba(21, 33, 31, 0.68);
  font-size: 13px;
}

.product-section {
  padding: 130px 0 140px;
  overflow: hidden;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.section-intro h2,
.features-content h2,
.workflow-heading h2,
.closing-copy h2 {
  margin-top: 20px;
  font-size: 54px;
  line-height: 1.18;
  font-weight: 760;
}

.section-lead {
  max-width: 480px;
  padding-bottom: 8px;
  color: #60706c;
  font-size: 17px;
  line-height: 1.9;
}

.product-stage {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
  align-items: center;
  margin-top: 90px;
}

.demo-nav {
  border-top: 1px solid var(--line);
}

.demo-tab {
  width: 100%;
  min-height: 106px;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #83908c;
  background: transparent;
  text-align: left;
}

.demo-tab .tab-number {
  font-size: 12px;
}

.tab-copy {
  display: grid;
  gap: 7px;
}

.tab-copy strong {
  color: inherit;
  font-size: 22px;
}

.tab-copy small {
  font-size: 13px;
}

.demo-tab svg {
  width: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-tab.is-active {
  color: var(--ink);
}

.demo-tab.is-active .tab-number {
  color: var(--green-dark);
}

.demo-tab.is-active svg {
  opacity: 1;
  transform: translateX(0);
}

.device-wrap {
  min-height: 820px;
  display: grid;
  place-items: center;
  padding: 48px;
  background: #d8eee4;
}

.device {
  position: relative;
  width: 360px;
  height: 780px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 9px solid var(--ink);
  border-radius: 30px;
  color: var(--ink);
  background: #f6f8f6;
  box-shadow: var(--shadow);
}

.device-top {
  flex: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  font-size: 9px;
  font-weight: 700;
}

.device-top > span:last-child {
  display: flex;
  justify-content: end;
  gap: 4px;
}

.device-top svg {
  width: 12px;
  height: 12px;
}

.device-sensors {
  width: 72px;
  height: 16px;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
}

.app-topbar {
  flex: 0 0 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #e8ece9;
  background: var(--white);
}

.app-topbar > strong {
  font-size: 15px;
}

.app-topbar button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  justify-self: end;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.app-topbar svg {
  width: 17px;
}

.app-brand {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  overflow: hidden;
}

.app-brand img {
  width: 100%;
  height: 100%;
  display: block;
}

.app-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 18px 14px 20px;
  animation: screen-enter 220ms ease both;
}

.device .app-topbar,
.device .app-bottom {
  display: none;
}

.screenshot-panel {
  padding: 0;
  background: #f7f9fc;
}

.screenshot-panel > *:not(.miniapp-screen) {
  display: none;
}

.miniapp-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes screen-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-greeting small {
  color: #7e8c88;
  font-size: 9px;
}

.app-greeting h3 {
  margin-top: 4px;
  font-size: 18px;
}

.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-pale);
  font-size: 12px;
  font-weight: 700;
}

.app-highlight {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.app-highlight div {
  display: grid;
}

.app-highlight span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.app-highlight strong {
  margin-top: 8px;
  font-size: 28px;
}

.app-highlight small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.app-highlight > svg {
  width: 36px;
  height: 36px;
  color: var(--green);
}

.metric-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
  margin-top: 9px;
}

.metric-row > div {
  min-height: 76px;
  display: grid;
  align-content: center;
  padding: 11px;
  border: 1px solid #e1e7e3;
  border-radius: 7px;
  background: var(--white);
}

.metric-row span,
.metric-row small {
  color: #899590;
  font-size: 8px;
}

.metric-row strong {
  margin: 4px 0;
  font-size: 18px;
}

.app-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 9px;
}

.app-section-head h4 {
  font-size: 14px;
}

.app-section-head button,
.student-summary button {
  border: 0;
  color: var(--green-dark);
  background: transparent;
  font-size: 9px;
}

.lesson-list {
  display: grid;
  gap: 7px;
}

.lesson-item {
  min-height: 60px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  padding: 9px 10px;
  border-left: 4px solid;
  border-radius: 6px;
  background: var(--white);
}

.lesson-item.coral { border-color: var(--coral); }
.lesson-item.blue { border-color: var(--blue); }
.lesson-item.yellow { border-color: var(--yellow); }

.lesson-item time {
  font-size: 12px;
  font-weight: 700;
}

.lesson-item div {
  display: grid;
  gap: 4px;
}

.lesson-item strong {
  font-size: 10px;
}

.lesson-item span {
  color: #899590;
  font-size: 8px;
}

.lesson-item em {
  padding: 3px 5px;
  border-radius: 99px;
  color: #6d7774;
  background: #edf0ee;
  font-size: 7px;
  font-style: normal;
}

.app-bottom {
  flex: 0 0 57px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e4e9e6;
  background: var(--white);
}

.app-bottom button {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  border: 0;
  color: #8d9995;
  background: transparent;
  font-size: 7px;
}

.app-bottom button.is-active {
  color: var(--green-dark);
}

.app-bottom svg {
  width: 16px;
  height: 16px;
}

.app-add {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-dark);
}

.demo-form-title small {
  color: #7f8c88;
  font-size: 9px;
}

.demo-form-title h3 {
  margin-top: 4px;
  font-size: 18px;
}

.demo-form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.demo-form label {
  display: grid;
  gap: 6px;
}

.demo-form label span {
  color: #65726e;
  font-size: 9px;
  font-weight: 700;
}

.demo-form input,
.demo-form select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dce3df;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 10px;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.demo-balance {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 11px;
  border-radius: 7px;
  color: #577065;
  background: var(--green-pale);
}

.demo-balance span {
  display: grid;
  gap: 5px;
  font-size: 8px;
}

.demo-balance span + span {
  padding-left: 12px;
  border-left: 1px solid rgba(23, 107, 74, 0.18);
}

.demo-balance strong {
  color: var(--green-dark);
  font-size: 14px;
}

.demo-save {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
}

.demo-save svg {
  width: 14px;
}

.profile-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 46px 1fr 16px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.profile-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-pale);
  font-size: 13px;
  font-weight: 700;
}

.profile-card div {
  display: grid;
  gap: 5px;
}

.profile-card strong {
  font-size: 13px;
}

.profile-card small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.profile-card > svg {
  width: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.profile-summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-top: 10px;
  border: 1px solid #e0e6e2;
  border-radius: 7px;
  background: var(--white);
}

.profile-summary div {
  display: grid;
  gap: 5px;
  text-align: center;
}

.profile-summary div + div {
  border-left: 1px solid #e0e6e2;
}

.profile-summary strong {
  font-size: 13px;
}

.profile-summary span {
  color: #87938f;
  font-size: 7px;
}

.profile-section-title {
  margin: 20px 0 9px;
  font-size: 12px;
}

.profile-entries {
  display: grid;
  border: 1px solid #e0e6e2;
  border-radius: 7px;
  overflow: hidden;
  background: var(--white);
}

.profile-entries button {
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px 1fr 14px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid #e6ebe8;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.profile-entries button:last-child {
  border-bottom: 0;
}

.profile-entries button > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--green-dark);
  background: var(--green-pale);
}

.profile-entries button > span.coral-icon {
  color: #9d4528;
  background: var(--coral-pale);
}

.profile-entries span svg {
  width: 16px;
}

.profile-entries div {
  display: grid;
  gap: 4px;
}

.profile-entries strong {
  font-size: 10px;
}

.profile-entries small {
  color: #8a9692;
  font-size: 8px;
}

.profile-entries button > svg {
  width: 14px;
  color: #a5aeab;
}

.week-switch,
.month-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.week-switch button,
.month-switch button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.week-switch svg,
.month-switch svg {
  width: 15px;
}

.week-switch strong,
.month-switch strong {
  font-size: 11px;
}

.day-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e8e5;
}

.day-row span {
  height: 42px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.day-row small {
  color: #8c9894;
  font-size: 7px;
  font-weight: 400;
}

.day-row .today {
  color: var(--white);
  background: var(--green-dark);
}

.day-row .today small {
  color: rgba(255, 255, 255, 0.7);
}

.timeline {
  position: relative;
  margin-top: 10px;
}

.time-line {
  height: 76px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
}

.time-line time {
  color: #8c9894;
  font-size: 8px;
  transform: translateY(-4px);
}

.time-line span {
  border-top: 1px solid #e3e8e5;
}

.schedule-block {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 53px;
  right: 5px;
  min-height: 55px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px 10px;
  border-left: 4px solid var(--coral);
  border-radius: 6px;
  background: var(--coral-pale);
}

.schedule-block.second {
  top: 246px;
}

.schedule-block.blue {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.schedule-block small {
  color: #66716e;
  font-size: 8px;
}

.schedule-block strong {
  font-size: 10px;
}

.app-fab {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 8px 18px rgba(23, 107, 74, 0.25);
}

.app-fab svg {
  width: 18px;
}

.app-search {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #e0e6e2;
  border-radius: 7px;
  background: var(--white);
}

.app-search svg {
  width: 14px;
  color: #8c9894;
}

.app-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 9px;
}

.student-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 9px;
  font-size: 11px;
}

.student-summary button {
  display: flex;
  align-items: center;
  gap: 4px;
}

.student-summary svg {
  width: 12px;
}

.student-list {
  display: grid;
  gap: 8px;
}

.student-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 34px 1fr auto 13px;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e2e7e4;
  border-radius: 7px;
  background: var(--white);
}

.student-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.student-avatar.coral { color: #a94224; background: var(--coral-pale); }
.student-avatar.blue { color: #315f83; background: var(--blue-pale); }
.student-avatar.yellow { color: #745c11; background: var(--yellow-pale); }
.student-avatar.green { color: var(--green-dark); background: var(--green-pale); }

.student-item > div,
.student-item > p {
  display: grid;
  gap: 4px;
}

.student-item strong {
  font-size: 10px;
}

.student-item small {
  color: #8a9692;
  font-size: 8px;
}

.student-item > p {
  text-align: right;
}

.student-item > p strong {
  color: var(--green-dark);
}

.student-item > svg {
  width: 13px;
  color: #a3aca9;
}

.income-total {
  margin-top: 17px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.income-total span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
}

.income-total > strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.income-total p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: var(--green);
  font-size: 8px;
}

.income-total svg {
  width: 12px;
}

.chart-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 20px;
}

.chart-head div {
  display: grid;
  gap: 3px;
}

.chart-head strong {
  font-size: 12px;
}

.chart-head small,
.chart-head > span {
  color: #8a9692;
  font-size: 8px;
}

.bar-chart {
  height: 160px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
  padding: 18px 14px 8px;
  margin-top: 8px;
  border-bottom: 1px solid #dfe5e1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, #e8ece9 40px);
}

.bar-chart div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 7px;
}

.bar-chart span {
  width: 24px;
  border-radius: 4px 4px 0 0;
  background: var(--green);
}

.bar-chart div:nth-child(2) span { background: var(--coral); }
.bar-chart div:nth-child(3) span { background: var(--blue); }
.bar-chart div:nth-child(4) span { background: var(--yellow); }

.bar-chart small {
  color: #8a9692;
  font-size: 7px;
}

.stats-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px;
  border-radius: 7px;
  background: var(--green-pale);
}

.stats-note svg {
  width: 16px;
  color: var(--green-dark);
}

.stats-note div {
  display: grid;
  gap: 4px;
}

.stats-note strong {
  font-size: 10px;
}

.stats-note span {
  color: #5f6d69;
  font-size: 8px;
  line-height: 1.5;
}

.features-section {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--white);
  background: var(--ink);
}

.features-image {
  min-height: 760px;
  background: url("./assets/photos/strength-training.jpg") center / cover no-repeat;
}

.features-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px max(7vw, 64px);
}

.features-content .section-kicker {
  color: var(--green);
}

.features-content h2 {
  max-width: 600px;
}

.feature-list {
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.feature-list article {
  min-height: 128px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.feature-list article > span {
  align-self: start;
  padding-top: 32px;
  color: var(--green);
  font-size: 11px;
}

.feature-list h3 {
  font-size: 18px;
}

.feature-list p {
  max-width: 520px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

.feature-list svg {
  width: 26px;
  height: 26px;
  color: var(--coral);
  stroke-width: 1.6;
}

.workflow-section {
  padding: 140px 0;
  background: var(--white);
}

.workflow-heading h2 {
  max-width: 700px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 84px;
}

.workflow-grid article {
  min-width: 0;
  padding: 0 32px 10px;
  border-right: 1px solid var(--line);
}

.workflow-grid article:first-child {
  padding-left: 0;
}

.workflow-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.workflow-visual {
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  padding: 24px;
  border-radius: 8px;
}

.workflow-visual svg {
  width: 45px;
  height: 45px;
  margin-bottom: auto;
  stroke-width: 1.5;
}

.workflow-visual span {
  font-size: 19px;
  font-weight: 750;
}

.workflow-visual small {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.68;
}

.green-block { color: #124a35; background: var(--green-pale); }
.coral-block { color: #71331e; background: var(--coral-pale); }
.yellow-block { color: #56450b; background: var(--yellow-pale); }

.workflow-index {
  display: block;
  margin-top: 28px;
  color: #8a9692;
  font-size: 11px;
}

.workflow-grid h3 {
  margin-top: 12px;
  font-size: 23px;
}

.workflow-grid p {
  margin-top: 11px;
  color: #67736f;
  font-size: 14px;
  line-height: 1.8;
}

.closing-section {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.closing-section > img,
.closing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.closing-section > img {
  object-fit: cover;
  object-position: center 52%;
}

.closing-shade {
  background: linear-gradient(90deg, rgba(12, 20, 19, 0.88) 0%, rgba(12, 20, 19, 0.56) 45%, rgba(12, 20, 19, 0.1) 80%);
}

.closing-copy {
  position: relative;
  z-index: 1;
}

.light-kicker {
  color: var(--green);
}

.closing-copy h2 {
  margin-bottom: 40px;
  font-size: 64px;
}

.coral-button {
  color: var(--white);
  background: var(--coral);
}

.coral-button:hover {
  background: #ff8964;
}

.site-footer {
  padding: 74px 0 24px;
  color: var(--white);
  background: #101817;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  font-size: 24px;
}

.footer-main > p {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-main nav {
  grid-row: 1 / 3;
  grid-column: 2;
  display: flex;
  gap: 36px;
  font-size: 13px;
}

.footer-main nav a:hover {
  color: var(--green);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.footer-bottom > :last-child {
  text-align: right;
}

.footer-bottom a:hover {
  color: var(--green);
}

.modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(8, 15, 14, 0.74);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 42px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.modal-close svg {
  width: 20px;
}

.modal-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--green-pale);
}

.modal-icon svg {
  width: 20px;
}

.modal-panel h2 {
  margin-top: 14px;
  font-size: 32px;
  line-height: 1.3;
}

.modal-panel form {
  display: grid;
  gap: 17px;
  margin-top: 30px;
}

.modal-panel label {
  display: grid;
  gap: 8px;
  color: #53615d;
  font-size: 12px;
  font-weight: 700;
}

.modal-panel input,
.modal-panel select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #d6ddda;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  color: #8a9692;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.form-success {
  padding: 30px 0 10px;
  text-align: center;
}

.form-success > svg {
  width: 58px;
  height: 58px;
  color: var(--green-dark);
}

.form-success h3 {
  margin-top: 18px;
  font-size: 24px;
}

.form-success p {
  max-width: 360px;
  margin: 12px auto 24px;
  color: #6e7b77;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-copy {
    width: 76%;
  }

  .hero h1 {
    font-size: 72px;
  }

  .section-intro {
    gap: 40px;
  }

  .product-stage {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
  }

  .device-wrap {
    padding: 30px;
  }

  .features-section {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .features-content {
    padding-inline: 48px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .header-inner {
    width: min(100% - 40px, 560px);
  }

  .header-inner {
    height: 68px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .hero {
    height: calc(100svh - 48px);
    min-height: 560px;
  }

  .hero-image {
    object-position: 53% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(8, 15, 15, 0.92) 0%, rgba(8, 15, 15, 0.58) 60%, rgba(8, 15, 15, 0.22) 100%);
  }

  .hero-content {
    justify-content: end;
    padding: 104px 0 76px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: 56px;
  }

  .hero-line {
    margin-top: 18px;
    font-size: 27px;
  }

  .hero-description {
    max-width: 420px;
    margin-top: 14px;
    font-size: 14px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .primary-button {
    min-height: 48px;
  }

  .hero-status {
    display: none;
  }

  .signal-track {
    grid-template-columns: 1fr;
    padding-block: 16px;
  }

  .signal-track p,
  .signal-track p:first-child {
    min-height: 86px;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 33, 31, 0.2);
  }

  .signal-track p:last-child {
    border-bottom: 0;
  }

  .product-section,
  .workflow-section {
    padding: 90px 0;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-intro h2,
  .features-content h2,
  .workflow-heading h2,
  .closing-copy h2 {
    font-size: 38px;
  }

  .section-lead {
    font-size: 15px;
  }

  .product-stage {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: 52px;
  }

  .demo-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 0;
  }

  .demo-tab {
    min-height: 78px;
    grid-template-columns: 1fr 18px;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
  }

  .demo-tab.is-active {
    border-color: var(--green-dark);
    background: var(--green-pale);
  }

  .demo-tab .tab-number,
  .tab-copy small {
    display: none;
  }

  .tab-copy strong {
    font-size: 15px;
  }

  .device-wrap {
    width: 100%;
    min-height: 0;
    padding: 28px 0;
  }

  .device {
    width: min(340px, calc(100% - 28px));
    height: 680px;
  }

  .features-section {
    grid-template-columns: 1fr;
  }

  .features-image {
    min-height: 420px;
  }

  .features-content {
    padding: 80px 20px;
  }

  .feature-list {
    margin-top: 50px;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 54px;
    margin-top: 52px;
  }

  .workflow-grid article,
  .workflow-grid article:first-child,
  .workflow-grid article:last-child {
    padding: 0;
    border-right: 0;
  }

  .workflow-visual {
    height: 190px;
  }

  .closing-section {
    min-height: 620px;
  }

  .closing-section > img {
    object-position: 62% center;
  }

  .closing-shade {
    background: linear-gradient(0deg, rgba(12, 20, 19, 0.88) 0%, rgba(12, 20, 19, 0.36) 76%);
  }

  .closing-copy {
    align-self: end;
    padding-bottom: 72px;
  }

  .closing-copy h2 {
    font-size: 46px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main > p {
    grid-column: 1;
  }

  .footer-main nav {
    grid-row: auto;
    grid-column: 1;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 22px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom > :last-child {
    text-align: left;
  }

  .modal-panel {
    padding: 34px 24px 28px;
  }

  .modal-panel h2 {
    padding-right: 30px;
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .wrap,
  .header-inner {
    width: calc(100% - 28px);
  }

  .hero-line {
    font-size: 24px;
  }

  .hero-description {
    line-height: 1.65;
  }

  .hero-actions {
    gap: 18px;
  }

  .primary-button {
    gap: 16px;
    padding-inline: 15px;
  }

  .device-wrap {
    margin-inline: -14px;
    width: calc(100% + 28px);
  }

  .device {
    transform: scale(0.94);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
