:root {
  --green-50: #f0faf4;
  --green-100: #d8f0e2;
  --green-200: #addfc3;
  --green-500: #2d9b63;
  --green-600: #1f7a4d;
  --blue-500: #2563eb;
  --ink: #17221b;
  --muted: #52645b;
  --soft: #f7faf8;
  --line: #d8e7dd;
  --white: #ffffff;
  --warn: #9a5b00;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

button, input, select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
}

.skip-link:focus { top: 12px; }

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1060px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  color: var(--green-600);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green-50);
  color: var(--green-600);
}

.nav-links .nav-cta {
  background: var(--green-600);
  color: var(--white);
  border-radius: 999px;
  padding-inline: 16px;
}

.hero {
  max-width: 1060px;
  margin: 24px auto 52px;
  padding: 54px 48px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.96), rgba(23, 90, 84, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.35), transparent 28%);
  border-radius: 18px;
}

.hero-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 12px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 540px;
  margin: 0 0 26px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.hero-btn.primary {
  background: var(--white);
  color: var(--green-600);
}

.hero-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.hero-visual {
  min-height: 320px;
  display: flex;
  align-items: center;
}

.class-screen {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.screen-topbar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.screen-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
}

.teacher-tile,
.student-grid div,
.topic-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.teacher-tile {
  min-height: 122px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 240, 255, 0.92));
}

.teacher-tile strong,
.student-grid strong { display: block; }

.teacher-tile span,
.student-grid span {
  color: var(--muted);
  font-size: 14px;
}

.student-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.student-grid div {
  min-height: 92px;
  padding: 16px;
}

.topic-card {
  margin-top: 10px;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--green-600);
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

section { scroll-margin-top: 82px; }

.section-title {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: var(--green-500);
}

.why-grid,
.features,
.levels {
  display: grid;
  gap: 16px;
  margin-bottom: 52px;
}

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

.why-card,
.level-card,
.pay-section,
.trial-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.why-card,
.level-card {
  padding: 22px;
}

.icon {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
}

.why-card h3,
.level-card h3,
.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.why-card p,
.level-card p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.level-card.featured {
  border-color: var(--green-500);
  background: var(--green-50);
}

.level-badge,
.plan-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-600);
  font-size: 12px;
  font-weight: 800;
}

.level-ex {
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-500) !important;
}

.steps {
  position: relative;
  list-style: none;
  margin: 0 0 52px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  text-align: center;
  padding: 0 8px;
}

.step-num {
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-bottom: 52px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
}

.trial-section {
  margin-bottom: 52px;
  padding: 36px;
  background: linear-gradient(135deg, var(--green-50), #ffffff);
}

.trial-section h2 {
  margin: 0 0 8px;
  color: var(--green-600);
  font-family: Montserrat, sans-serif;
  font-size: 28px;
}

.trial-desc {
  margin: 0 0 22px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.trial-btn,
.pay-btn {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--green-600);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.form-hint,
.note,
.pay-notice {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing-hero {
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), #175a54);
  text-align: center;
}

.price {
  font-family: Montserrat, sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.pricing-hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

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

.plan {
  min-height: 132px;
  padding: 16px 12px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.plan.selected {
  border-color: var(--green-600);
  background: var(--green-50);
  box-shadow: 0 0 0 2px var(--green-100);
}

.plan-period {
  font-weight: 900;
}

.plan strong {
  color: var(--green-600);
  font-family: Montserrat, sans-serif;
}

.plan-save {
  color: var(--muted);
  font-size: 12px;
}

.plan-tag {
  margin: 2px 0 0;
  font-size: 11px;
}

.pay-section {
  margin: 28px 0 56px;
  padding: 32px;
}

.order-summary {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.order-summary strong {
  color: var(--ink);
}

.order-summary .total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.order-summary .total strong {
  color: var(--green-600);
}

.widget-box {
  min-height: 80px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.payment-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.payment-status.warn {
  color: var(--warn);
}

.pay-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.biz-footer {
  border-top: 1px solid var(--line);
  background: #f3f7f4;
}

.biz-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 24px;
}

.biz-name {
  margin-bottom: 10px;
  font-weight: 900;
  color: var(--muted);
}

.biz-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  color: #6b7c73;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 800;
}

.biz-copy {
  margin: 18px 0 0;
  color: #87958d;
  font-size: 12px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 24px 64px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: 32px;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.result-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px;
}

.result-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--soft);
}

.result-box h1 {
  margin-top: 0;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.result-actions a {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.result-actions .primary {
  background: var(--green-600);
  color: var(--white);
}

.result-actions .secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f3f7f5 0, #f8faf9 260px, #f7f8fb 100%);
}

.admin-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 22px 72px;
}

.admin-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: start;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-kicker {
  margin: 0 0 5px;
  color: var(--green-600);
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.admin-header h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
}

.admin-subtitle,
.admin-updated,
.panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-updated {
  width: 100%;
  text-align: right;
}

.admin-login,
.admin-panel,
.admin-controls {
  margin-bottom: 16px;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(23, 34, 27, 0.06);
}

.admin-login {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 420px) auto;
  gap: 12px;
  align-items: end;
}

.admin-login.is-authenticated {
  grid-template-columns: 1fr;
  padding: 12px 16px;
  background: #f8fcfa;
}

.admin-login.is-authenticated label,
.admin-login.is-authenticated .admin-button.primary {
  display: none;
}

.admin-login strong {
  display: block;
  font-size: 14px;
}

.admin-controls {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(126px, 0.58fr) minmax(126px, 0.58fr) minmax(126px, 0.58fr) auto auto;
  gap: 10px;
  align-items: end;
}

.admin-body label {
  display: grid;
  gap: 6px;
  color: #39483f;
  font-size: 12px;
  font-weight: 900;
}

.admin-body input,
.admin-body select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 11px;
  outline: none;
}

.admin-body input:focus,
.admin-body select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(45, 155, 99, 0.14);
}

.admin-button {
  min-height: 42px;
  border: 1px solid #d5e1db;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.admin-button:hover {
  border-color: #b8c9bf;
  background: #f8faf9;
}

.admin-button.primary {
  border-color: var(--green-600);
  background: var(--green-600);
  color: var(--white);
}

.admin-button.ghost {
  background: transparent;
}

.admin-summary {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.admin-summary div {
  min-height: 112px;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background: var(--white);
  padding: 15px;
  box-shadow: 0 10px 28px rgba(23, 34, 27, 0.05);
}

.admin-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
}

.admin-summary small {
  display: block;
  margin-top: 8px;
  color: #728178;
  font-size: 12px;
  font-weight: 700;
}

.admin-panel {
  overflow: hidden;
}

.panel-heading {
  padding: 16px 18px 14px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e2ebe6;
}

.panel-heading h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.panel-count {
  min-width: 62px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue-500);
  padding: 5px 10px;
  text-align: center;
  font-size: 12px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
}

.admin-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 960px;
}

.admin-body th,
.admin-body td {
  padding: 11px 13px;
  border-bottom: 1px solid #edf2ef;
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

.admin-body th {
  position: sticky;
  top: 70px;
  z-index: 10;
  color: #5f6f66;
  background: #f7faf8;
  font-size: 12px;
  font-weight: 900;
}

.admin-body tbody tr:hover {
  background: #fbfdfc;
}

.admin-body td strong {
  display: block;
  font-weight: 900;
}

.admin-body td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-body code {
  display: inline-flex;
  max-width: 150px;
  overflow: hidden;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.muted-code {
  color: #94a3b8;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 9px;
  background: #edf2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.paid {
  background: var(--green-50);
  color: var(--green-600);
}

.status-pill.ready,
.status-pill.order_ready {
  background: #eef4ff;
  color: var(--blue-500);
}

.status-pill.failed,
.status-pill.canceled {
  background: #fff1f2;
  color: #be123c;
}

.status-select {
  min-height: 34px;
  min-width: 132px;
  border-radius: 999px;
  padding: 4px 28px 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-select.paid,
.status-select.matched {
  border-color: var(--green-200);
  background: var(--green-50);
  color: var(--green-600);
}

.status-select.ready,
.status-select.order_ready,
.status-select.trial_requested {
  border-color: #bfdbfe;
  background: #eef4ff;
  color: var(--blue-500);
}

.status-select.failed,
.status-select.canceled {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.status-select.refunded {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: #6d28d9;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.source-pill.trial {
  background: var(--green-50);
  color: var(--green-600);
}

.source-pill.payment {
  background: #eef4ff;
  color: var(--blue-500);
}

.ops-pill,
.ops-select {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d8e2dc;
  background: #f8faf9;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.ops-pill {
  padding: 4px 9px;
}

.ops-pill.contact_needed,
.ops-select.contact_needed {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.ops-pill.contacted,
.ops-select.contacted,
.ops-pill.class_ready,
.ops-select.class_ready {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.ops-pill.in_class,
.ops-select.in_class,
.ops-pill.done,
.ops-select.done {
  border-color: var(--green-200);
  background: var(--green-50);
  color: var(--green-600);
}

.ops-pill.hold,
.ops-select.hold {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #4b5563;
}

.ops-editor {
  width: min(260px, 28vw);
  min-width: 210px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.ops-editor textarea {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 56px;
  resize: vertical;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.ops-select {
  min-height: 32px;
  padding: 4px 26px 4px 9px;
}

.mini-button {
  min-height: 32px;
  border: 1px solid var(--green-600);
  border-radius: 8px;
  background: var(--green-600);
  color: var(--white);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.follow-input {
  min-width: 170px;
  min-height: 34px !important;
  font-size: 12px;
}

.link-button {
  min-height: 32px;
  border: 1px solid #cdd9e2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-500);
  padding: 0 10px;
  font-weight: 900;
  cursor: pointer;
}

.empty-table {
  height: 88px;
  color: var(--muted);
  text-align: center !important;
  font-weight: 800;
}

.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.32);
}

.drawer-card {
  width: min(620px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--white);
  padding: 22px;
  box-shadow: -18px 0 40px rgba(15, 23, 42, 0.18);
}

.drawer-close {
  float: right;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.detail-list {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  clear: both;
}

.detail-list dt,
.detail-list dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 900;
}

.detail-list pre {
  margin: 0;
  white-space: pre-wrap;
}

.detail-section {
  clear: both;
  margin-top: 18px;
}

.detail-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    margin: 16px 16px 42px;
    padding: 28px 20px;
    gap: 20px;
  }

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

  .hero-lead {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .hero-visual {
    min-height: 0;
  }

  .class-screen {
    padding: 12px;
  }

  .teacher-tile {
    min-height: 84px;
    padding: 14px;
  }

  .student-grid div {
    min-height: 64px;
    padding: 12px;
  }

  .topic-card {
    font-size: 13px;
  }

  .why-grid,
  .levels,
  .steps,
  .plans,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .trial-section,
  .pay-section {
    padding: 24px 18px;
  }

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

  .admin-header,
  .admin-login,
  .admin-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-summary {
    grid-template-columns: 1fr 1fr;
  }

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