:root {
  --ink: #10231d;
  --muted: #63736d;
  --green: #0c6b55;
  --green-2: #18a178;
  --gold: #d5a84a;
  --ivory: #fbf8ef;
  --paper: #fffdf7;
  --line: rgba(16, 35, 29, 0.12);
  --shadow: 0 24px 70px rgba(16, 35, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 168, 74, 0.12), transparent 32rem),
    linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 12px 35px rgba(16, 35, 29, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(12, 107, 85, 0.25);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.35;
}

.brand strong {
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(16, 35, 29, 0.8);
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--green);
  background: rgba(12, 107, 85, 0.08);
}

.nav-cta,
.primary-btn,
.ghost-btn,
.program-card a,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-cta,
.primary-btn,
.signup-form button {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 18px 34px rgba(12, 107, 85, 0.24);
}

.nav-cta {
  padding: 0 22px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 35, 29, 0.1);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 130px clamp(18px, 5vw, 72px) 96px;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 253, 247, 0.86) 38%, rgba(255, 253, 247, 0.32) 68%, rgba(255, 253, 247, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.15), #fffdf7 100%);
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 900;
}

.eyebrow.dark {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #40514a;
  font-size: clamp(1.04rem, 1.7vw, 1.32rem);
  line-height: 2;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.compact-actions {
  margin-top: 28px;
}

.primary-btn,
.ghost-btn {
  min-width: 158px;
  padding: 0 24px;
}

.ghost-btn {
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 107, 85, 0.18);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
  width: min(600px, 100%);
  margin-top: 46px;
}

.hero-metrics div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(12, 107, 85, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
}

.hero-metrics strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.quick-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 52px);
  background: var(--paper);
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--green);
  border: 1px solid rgba(12, 107, 85, 0.2);
  border-radius: 50%;
  font-weight: 900;
}

.quick-item p {
  margin: 0;
  font-weight: 900;
}

.section,
.teachers {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 98px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.18;
  font-weight: 900;
}

.program-grid,
.portal-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-card,
.portal-preview-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(16, 35, 29, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.portal-preview-card {
  min-height: 240px;
}

.program-card:hover,
.portal-preview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 107, 85, 0.28);
  box-shadow: var(--shadow);
}

.program-card span,
.portal-preview-card span {
  color: var(--gold);
  font-weight: 900;
}

.program-card h3,
.portal-preview-card h3 {
  margin: 16px 0 14px;
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 900;
}

.program-card p,
.method-copy p,
.teacher-text p,
.contact-copy p,
.portal-preview-card p {
  color: var(--muted);
  line-height: 1.9;
  font-weight: 600;
}

.program-card a {
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  color: var(--green);
  background: rgba(12, 107, 85, 0.08);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 16px;
  color: var(--green);
  font-weight: 900;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  padding: 92px clamp(18px, 5vw, 72px);
  background: #f0f7f2;
}

.method-copy {
  max-width: 560px;
  margin-inline-start: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: min(620px, 100%);
}

.timeline div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(12, 107, 85, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
}

.timeline span {
  color: #51645d;
  font-weight: 700;
  line-height: 1.8;
}

.teacher-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(213, 168, 74, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 107, 85, 0.95), rgba(16, 35, 29, 0.95)),
    var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}

.teacher-text h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  font-weight: 900;
}

.teacher-text p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-list span {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.portal-preview-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 98px 0;
}

.page-main {
  padding-top: 108px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 22px;
}

.subpage-copy {
  max-width: 760px;
}

.subpage-copy h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  margin-bottom: 16px;
}

.subpage-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.9;
  font-weight: 700;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.subpage-grid div {
  min-height: 92px;
  padding: 20px;
  border: 1px solid rgba(12, 107, 85, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(16, 35, 29, 0.05);
}

.subpage-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.subpage-grid span {
  color: #50635c;
  font-weight: 700;
  line-height: 1.8;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 98px;
  padding: 28px;
  border: 1px solid rgba(12, 107, 85, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 107, 85, 0.95), rgba(24, 161, 120, 0.92));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}

.standalone-contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 96px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: 96px clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(rgba(16, 35, 29, 0.88), rgba(16, 35, 29, 0.88)),
    url("../images/furqan-hero.png") center/cover;
}

.contact-copy {
  max-width: 650px;
  margin-inline-start: auto;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.signup-form,
.auth-form {
  display: grid;
  gap: 15px;
}

.signup-form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.signup-form label,
.auth-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.signup-form label {
  color: rgba(255, 255, 255, 0.86);
}

.signup-form input,
.signup-form select,
.signup-form textarea,
.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  border-radius: 8px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.signup-form textarea {
  min-height: 92px;
  padding-block: 12px;
  resize: vertical;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus,
.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(213, 168, 74, 0.18);
}

.signup-form button {
  min-height: 54px;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.form-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.7;
}

.form-alert.success {
  color: #dff8ea;
  background: rgba(24, 161, 120, 0.22);
  border: 1px solid rgba(223, 248, 234, 0.24);
}

.form-alert.error {
  color: #8c1f1f;
  background: #fff0f0;
  border: 1px solid rgba(140, 31, 31, 0.16);
}

.form-alert p {
  margin: 0;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 74, 0.18), transparent 30rem),
    radial-gradient(circle at bottom left, rgba(12, 107, 85, 0.12), transparent 26rem),
    linear-gradient(180deg, #fcfaf5 0%, #f3ecdf 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(360px, 1fr);
  align-items: stretch;
}

.register-shell {
  grid-template-columns: minmax(0, 640px) minmax(320px, 1fr);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.auth-brand {
  margin-bottom: 42px;
}

.auth-copy {
  max-width: 540px;
  margin-bottom: 28px;
}

.auth-copy h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1.08;
}

.auth-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.9;
  font-weight: 700;
}

.auth-form {
  max-width: 540px;
  padding: 28px;
  border: 1px solid rgba(12, 107, 85, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.auth-form label {
  color: #23443a;
}

.auth-form input,
.auth-form select {
  border: 1px solid var(--line);
  background: #fff;
}

.auth-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 6px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 18px 34px rgba(12, 107, 85, 0.24);
  cursor: pointer;
  font-weight: 900;
}

.auth-switch {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.auth-switch a {
  color: var(--green);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
  background:
    linear-gradient(rgba(10, 36, 29, 0.58), rgba(10, 36, 29, 0.82)),
    url("../images/furqan-hero.png") center/cover;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(213, 168, 74, 0.2), transparent 40%),
    linear-gradient(45deg, rgba(24, 161, 120, 0.18), transparent 55%);
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-visual-content span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.auth-visual-content h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
}

.auth-visual-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  font-weight: 700;
}

.app-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(213, 168, 74, 0.12), transparent 32rem),
    #f6f1e8;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(180deg, #10231d, #0c6b55);
}

.dashboard-sidebar .brand small,
.dashboard-sidebar .brand strong {
  color: #fff;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  font-weight: 900;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-main {
  padding: clamp(22px, 5vw, 56px);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-top h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dashboard-card,
.table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(16, 35, 29, 0.06);
}

.dashboard-card {
  min-height: 210px;
  padding: 24px;
}

.dashboard-card span {
  color: var(--gold);
  font-weight: 900;
}

.dashboard-card strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 900;
}

.dashboard-card p {
  color: var(--muted);
  line-height: 1.8;
  font-weight: 700;
}

.requests-count {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--green);
  border: 1px solid rgba(12, 107, 85, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  white-space: nowrap;
}

.table-card {
  overflow: hidden;
}

.responsive-table {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: #2d443c;
  background: rgba(12, 107, 85, 0.08);
  font-weight: 900;
}

td {
  color: #4b5e57;
  font-weight: 700;
  line-height: 1.7;
}

.empty-state {
  margin: 0;
  padding: 30px;
  color: var(--muted);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #53655f;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: 92vh;
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 48%, rgba(255, 253, 247, 0.62) 100%),
      linear-gradient(90deg, rgba(255, 253, 247, 0.75), rgba(255, 253, 247, 0.18));
  }

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

  .hero-metrics,
  .quick-band,
  .program-grid,
  .portal-preview-grid,
  .subpage-hero,
  .method-section,
  .teacher-panel,
  .contact-section,
  .dashboard-cards {
    grid-template-columns: 1fr;
  }

  .quick-item {
    min-height: 92px;
  }

  .method-copy,
  .contact-copy {
    margin-inline-start: 0;
  }

  .timeline,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .dashboard-shell,
  .auth-shell,
  .register-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
  }

  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-visual {
    min-height: 360px;
    order: -1;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-actions {
    display: grid;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

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

  .section,
  .teachers,
  .portal-preview-section {
    padding: 70px 0;
  }

  .method-section,
  .contact-section {
    padding-block: 70px;
  }

  .site-footer {
    display: grid;
  }

  .auth-panel,
  .auth-visual {
    padding: 22px 18px;
  }

  .auth-form {
    padding: 20px;
  }
}
