:root {
  --ink: #111a27;
  --muted: #66717f;
  --line: #e3d8bd;
  --paper: #f8f3e8;
  --panel: #ffffff;
  --navy: #101824;
  --navy-soft: #1a2636;
  --gold: #d7ad4d;
  --gold-dark: #9b7430;
  --cream: #fff8e8;
  --blue: #6f93b8;
  --coral: #ef7d6f;
  --mint: #7cc9a5;
  --sky: #78add7;
  --sun: #f2c45c;
  --shadow: 0 18px 45px rgba(17, 26, 39, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f8f3e8 48%, #ffffff 100%);
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.landing-page {
  min-height: 100vh;
}

.landing-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0;
}

.landing-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--navy);
  font-size: 18px;
}

.landing-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(215, 173, 77, 0.6);
}

.nav-login-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(155, 116, 48, 0.35);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-decoration: none;
}

.nav-login-button {
  margin-left: auto;
}

.landing-main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 38px 0 56px;
}

.landing-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #4f5d6c;
  font-size: 19px;
  line-height: 1.65;
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin-top: 22px;
}

.hero-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 128px;
  padding: 14px;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  text-align: left;
  color: #526170;
  background: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  box-shadow: 0 10px 25px rgba(17, 26, 39, 0.06);
}

.feature-link-card {
  cursor: pointer;
}

.feature-link-card:hover {
  border-color: rgba(215, 173, 77, 0.62);
  box-shadow: 0 14px 30px rgba(17, 26, 39, 0.1);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(215, 173, 77, 0.26);
  font-size: 13px;
  font-weight: 900;
}

.audience-tag {
  width: max-content;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(215, 173, 77, 0.24);
  font-size: 12px;
  font-weight: 900;
}

.hero-feature-card strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.2;
}

.hero-feature-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.award-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.award-showcase article {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(155, 116, 48, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.92)),
    white;
  box-shadow: 0 12px 28px rgba(17, 26, 39, 0.08);
}

.award-showcase span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.award-showcase strong {
  display: block;
  margin: 12px 0 5px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.award-showcase small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.landing-actions .primary-button {
  grid-column: auto;
  min-width: 190px;
  padding: 0 22px;
}

.landing-visual {
  display: grid;
  gap: 16px;
  align-content: center;
}

.hero-logo-lockup {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 34px;
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 70% 18%, rgba(215, 173, 77, 0.3), transparent 26%),
    linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.95));
  box-shadow: var(--shadow);
}

.hero-logo-lockup img {
  width: min(88%, 420px);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-enrollment-card {
  padding: 22px;
  border: 1px solid rgba(155, 116, 48, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(17, 26, 39, 0.09);
}

.hero-enrollment-card h2 {
  margin: 6px 0 14px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.12;
}

.hero-city-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-city-list div {
  padding: 12px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--cream);
}

.hero-city-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 16px;
}

.hero-city-list span {
  display: block;
  color: #4f5d6c;
  font-size: 14px;
  line-height: 1.35;
}

.landing-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -18px 0 28px;
}

.landing-highlights article {
  min-height: 185px;
  padding: 22px;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(17, 26, 39, 0.07);
}

.landing-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.landing-highlights h2 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 24px;
}

.landing-highlights p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.spark-method-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: stretch;
  margin: 0 0 18px;
}

.spark-method-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 30px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.94)),
    var(--navy);
  box-shadow: var(--shadow);
}

.spark-method-copy .eyebrow {
  color: var(--gold);
}

.spark-method-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
}

.spark-method-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 248, 232, 0.78);
  line-height: 1.62;
}

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

.spark-pillar {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  border: 1px solid rgba(155, 116, 48, 0.2);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 26, 39, 0.07);
}

.spark-pillar span {
  width: max-content;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  color: white;
  font-weight: 900;
}

.speak-card span {
  background: var(--coral);
}

.feel-card span {
  background: var(--mint);
}

.shine-card span {
  color: var(--navy);
  background: var(--sun);
}

.spark-pillar h3 {
  margin: auto 0 10px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.12;
}

.spark-pillar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.method-teaser-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  margin: 0 0 16px;
  padding: 22px;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  color: var(--navy);
  text-align: left;
  background:
    radial-gradient(circle at 94% 18%, rgba(215, 173, 77, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.94));
  box-shadow: var(--shadow);
}

.method-teaser-section strong,
.method-teaser-section small {
  display: block;
}

.method-teaser-section strong {
  color: white;
  font-size: 27px;
  line-height: 1.15;
}

.method-teaser-section small {
  margin-top: 6px;
  color: rgba(255, 248, 232, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.method-teaser-badge,
.method-teaser-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 900;
}

.method-teaser-badge {
  color: var(--navy);
  background: var(--gold);
}

.method-teaser-action {
  color: white;
  border: 1px solid rgba(215, 173, 77, 0.55);
}

.method-teaser-section:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(17, 26, 39, 0.17);
}

.method-page-teaser-link,
.method-brand-link {
  text-decoration: none;
}

.method-standalone-main {
  padding-bottom: 76px;
}

.signup-path-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 26px;
  padding: 22px;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.92), rgba(255, 255, 255, 0.94)),
    white;
  box-shadow: 0 12px 32px rgba(17, 26, 39, 0.07);
}

.signup-path-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.16;
}

.signup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.signup-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border-radius: 8px;
  color: #4f5d6c;
  background: white;
  border: 1px solid rgba(155, 116, 48, 0.18);
  text-align: left;
}

.signup-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(215, 173, 77, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.signup-step strong {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.25;
}

.signup-path-section .primary-button {
  grid-column: auto;
  min-width: 190px;
}

.method-detail-section {
  padding-top: 20px;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
}

.method-lead-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 30px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.94)),
    var(--navy);
  box-shadow: var(--shadow);
}

.method-lead-card .eyebrow {
  color: var(--gold);
}

.method-lead-card h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.method-lead-card p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 248, 232, 0.78);
  line-height: 1.62;
}

.method-principles {
  display: grid;
  gap: 12px;
}

.method-step {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(155, 116, 48, 0.2);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 26, 39, 0.07);
}

.method-step span {
  display: inline-flex;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.method-step h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 23px;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.method-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 32px;
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(215, 173, 77, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.94));
  box-shadow: var(--shadow);
}

.method-page-hero .eyebrow {
  color: var(--gold);
}

.method-page-hero h1,
.method-page-hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.method-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 248, 232, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.method-image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 173, 77, 0.35);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 36px rgba(17, 26, 39, 0.1);
}

.method-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.method-hero-image {
  align-self: center;
}

.method-wide-image {
  max-width: 920px;
  margin: 0 0 16px;
}

.method-hero-mark {
  display: grid;
  gap: 10px;
  align-content: center;
}

.method-hero-mark span {
  display: grid;
  place-items: center;
  min-height: 64px;
  border: 1px solid rgba(215, 173, 77, 0.42);
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, #fff7dc, var(--gold));
  font-size: 22px;
  font-weight: 900;
}

.method-anchor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 10px;
  border: 1px solid rgba(155, 116, 48, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.method-anchor-strip .method-anchor-link {
  min-height: 34px;
  background: rgba(255, 248, 232, 0.72);
}

.method-content-block {
  scroll-margin-top: 18px;
  margin: 0 0 22px;
}

.method-origin-block {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1.14fr);
  gap: 20px;
  align-items: center;
  max-width: none;
  padding: 26px;
  border: 1px solid rgba(155, 116, 48, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 26, 39, 0.06);
}

.method-origin-block .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.method-origin-block p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.method-pillar-grid,
.method-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.method-pillar-grid article,
.method-path-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(155, 116, 48, 0.2);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 26, 39, 0.07);
}

.method-pillar-grid span,
.method-path-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.method-pillar-grid h3,
.method-path-grid h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.12;
}

.method-pillar-grid p,
.method-path-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.method-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.method-timeline article {
  position: relative;
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(155, 116, 48, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.72), rgba(255, 255, 255, 0.96)),
    white;
  box-shadow: 0 12px 28px rgba(17, 26, 39, 0.06);
}

.method-timeline span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
  font-weight: 900;
}

.method-timeline strong {
  display: block;
  margin-top: 26px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.method-note {
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(155, 116, 48, 0.2);
  border-radius: 8px;
  color: var(--gold-dark);
  background: #fffdf8;
  font-weight: 800;
  line-height: 1.45;
}

.method-feature-grid,
.method-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.method-feature-grid article,
.method-benefit-grid article {
  min-height: 84px;
  padding: 18px;
  border: 1px solid rgba(155, 116, 48, 0.2);
  border-radius: 8px;
  color: var(--navy);
  background: white;
  box-shadow: 0 10px 24px rgba(17, 26, 39, 0.06);
  font-weight: 900;
  line-height: 1.3;
}

.method-materials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 18px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.88), rgba(255, 255, 255, 0.95)),
    white;
  box-shadow: 0 12px 30px rgba(17, 26, 39, 0.07);
}

.method-materials-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.12;
}

.method-materials-layout p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.method-materials-mockup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mock-card,
.mock-panel {
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(155, 116, 48, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(17, 26, 39, 0.08);
}

.mock-card {
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
}

.mock-worksheet {
  background: linear-gradient(135deg, #ffffff, #fff1d4);
}

.mock-flashcards {
  background: linear-gradient(135deg, #ffffff, #e8f6ef);
}

.mock-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  background: linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.94));
}

.mock-panel span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.mock-panel strong {
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.city-detail-section {
  padding-top: 20px;
}

.city-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
  align-items: stretch;
}

.city-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding: 30px;
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 173, 77, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(16, 24, 36, 0.98), rgba(26, 38, 54, 0.94));
  box-shadow: var(--shadow);
}

.city-info-card h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.city-info-card p {
  margin: 16px 0 22px;
  color: rgba(255, 248, 232, 0.78);
  line-height: 1.62;
}

.city-info-card .secondary-link {
  width: max-content;
  color: var(--navy);
  background: var(--gold);
  border-color: transparent;
}

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

.city-group-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(155, 116, 48, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 26, 39, 0.07);
}

.city-group-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(215, 173, 77, 0.24);
  font-size: 12px;
  font-weight: 900;
}

.city-group-grid strong {
  display: block;
  margin: 14px 0 7px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.city-group-grid small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.landing-section {
  padding: 56px 0 78px;
}

.landing-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(17, 26, 39, 0.08);
}

.landing-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--navy);
  background: transparent;
  font-weight: 900;
  text-decoration: none;
}

.landing-tab.is-active {
  color: white;
  background: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.top-landing-tabs {
  position: static;
  z-index: auto;
  flex: 1 1 540px;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
  overflow: visible;
  margin: 0;
  padding: 6px;
  box-shadow: 0 10px 26px rgba(17, 26, 39, 0.06);
}

.top-landing-tabs .landing-tab {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 10;
  display: grid;
  min-width: 260px;
  padding: 8px;
  border: 1px solid rgba(155, 116, 48, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(17, 26, 39, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.method-anchor-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.method-anchor-link:hover,
.method-anchor-link:focus-visible {
  background: rgba(215, 173, 77, 0.18);
  outline: none;
}

.landing-tab-panels {
  min-height: 520px;
}

.landing-tab-panel {
  padding-top: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.15;
}

.offer-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.offer-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
  box-shadow: var(--shadow);
}

.offer-intro .eyebrow {
  color: var(--gold);
}

.offer-intro h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.offer-intro p {
  color: rgba(255, 248, 232, 0.78);
  line-height: 1.62;
}

.offer-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.offer-mini-stats span,
.course-availability span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.offer-mini-stats span {
  color: var(--navy);
  background: var(--gold);
}

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

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(17, 26, 39, 0.08);
}

.course-icon-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  border: 1px solid rgba(215, 173, 77, 0.38);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(17, 26, 39, 0.12);
}

.course-visual {
  position: relative;
  width: 100%;
  height: 108px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(215, 173, 77, 0.32), transparent 18%),
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.92));
}

.course-visual::before,
.course-visual::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.tiny-stars span {
  position: absolute;
  display: block;
  width: 38px;
  height: 38px;
  background: var(--cream);
  transform: rotate(45deg);
}

.tiny-stars span:nth-child(1) {
  left: 28px;
  top: 30px;
}

.tiny-stars span:nth-child(2) {
  left: 82px;
  top: 48px;
  width: 24px;
  height: 24px;
  background: var(--gold);
}

.tiny-stars span:nth-child(3) {
  right: 34px;
  top: 28px;
  width: 30px;
  height: 30px;
}

.book-icon::before {
  left: 38px;
  top: 28px;
  width: 76px;
  height: 54px;
  border-radius: 8px 2px 2px 8px;
}

.book-icon::after {
  right: 38px;
  top: 28px;
  width: 76px;
  height: 54px;
  border-radius: 2px 8px 8px 2px;
  background: var(--cream);
}

.book-icon span {
  position: absolute;
  left: calc(50% - 2px);
  top: 24px;
  width: 4px;
  height: 62px;
  border-radius: 8px;
  background: var(--navy);
}

.speech-icon::before {
  left: 42px;
  top: 24px;
  width: 126px;
  height: 60px;
  border-radius: 8px;
  background: var(--cream);
}

.speech-icon::after {
  left: 72px;
  top: 74px;
  width: 24px;
  height: 24px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: var(--cream);
}

.speech-icon span {
  position: absolute;
  right: 44px;
  top: 34px;
  width: 38px;
  height: 38px;
  border: 4px solid var(--gold);
  border-radius: 50%;
}

.compass-icon::before {
  left: calc(50% - 35px);
  top: 20px;
  width: 70px;
  height: 70px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.compass-icon::after {
  left: calc(50% - 10px);
  top: 34px;
  width: 20px;
  height: 48px;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  background: var(--cream);
  transform: rotate(32deg);
}

.compass-icon span {
  position: absolute;
  left: calc(50% - 5px);
  top: 55px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.featured-course {
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.9)),
    white;
}

.course-age {
  width: max-content;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  color: white;
  background: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 24px;
}

.course-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.course-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.course-availability span {
  color: var(--navy);
  background: var(--cream);
  border: 1px solid rgba(155, 116, 48, 0.24);
}

.course-visual {
  height: 118px;
  border: 1px solid rgba(215, 173, 77, 0.32);
  background:
    radial-gradient(circle at 50% 50%, rgba(215, 173, 77, 0.2), transparent 38%),
    linear-gradient(135deg, #101824, #1b293b);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.06);
}

.course-visual span {
  z-index: 2;
}

.tiny-stars::before {
  left: calc(50% - 30px);
  top: 28px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, var(--cream) 0 9px, transparent 10px),
    linear-gradient(180deg, transparent 0 36px, rgba(255, 248, 232, 0.92) 37px 52px, transparent 53px);
}

.tiny-stars::after {
  left: calc(50% - 8px);
  top: 18px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.tiny-stars span {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--cream);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transform: none;
}

.tiny-stars span:nth-child(1) {
  left: 32px;
  top: 42px;
}

.tiny-stars span:nth-child(2) {
  left: auto;
  right: 52px;
  top: 30px;
  width: 18px;
  height: 18px;
  background: var(--gold);
}

.tiny-stars span:nth-child(3) {
  left: auto;
  right: 34px;
  top: 70px;
  width: 10px;
  height: 10px;
}

.book-icon::before {
  left: calc(50% - 58px);
  top: 28px;
  width: 54px;
  height: 58px;
  border: 2px solid rgba(255, 248, 232, 0.95);
  border-right: 0;
  border-radius: 8px 2px 2px 8px;
  background: linear-gradient(135deg, var(--gold), #f4d181);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.book-icon::after {
  right: calc(50% - 58px);
  top: 28px;
  width: 54px;
  height: 58px;
  border: 2px solid rgba(255, 248, 232, 0.95);
  border-left: 0;
  border-radius: 2px 8px 8px 2px;
  background: linear-gradient(135deg, #fff8e8, #f3e3bc);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.book-icon span {
  left: calc(50% - 2px);
  top: 25px;
  width: 4px;
  height: 66px;
  border-radius: 8px;
  background: var(--navy);
  box-shadow:
    -24px 15px 0 -1px rgba(16, 24, 36, 0.28),
    -24px 29px 0 -1px rgba(16, 24, 36, 0.2),
    24px 15px 0 -1px rgba(16, 24, 36, 0.22),
    24px 29px 0 -1px rgba(16, 24, 36, 0.16);
}

.speech-icon::before {
  left: calc(50% - 58px);
  top: 27px;
  width: 116px;
  height: 56px;
  border: 2px solid rgba(215, 173, 77, 0.88);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.96);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.speech-icon::after {
  left: calc(50% - 28px);
  top: 75px;
  width: 24px;
  height: 24px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: rgba(255, 248, 232, 0.96);
}

.speech-icon span {
  position: absolute;
  right: calc(50% - 42px);
  top: 39px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.compass-icon::before {
  left: calc(50% - 38px);
  top: 22px;
  width: 76px;
  height: 76px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 248, 232, 0.95) 0 5px, transparent 6px),
    rgba(255, 248, 232, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.compass-icon::after {
  left: calc(50% - 11px);
  top: 38px;
  width: 22px;
  height: 44px;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  background: linear-gradient(180deg, var(--cream), var(--gold));
  transform: rotate(34deg);
}

.compass-icon span {
  left: calc(50% - 5px);
  top: 57px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}

.lesson-flow-section {
  padding-top: 14px;
}

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

.lesson-group-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.9), rgba(255, 255, 255, 0.86)),
    white;
}

.lesson-group-icon {
  width: 136px;
  height: 136px;
  margin-bottom: 16px;
  border: 1px solid rgba(215, 173, 77, 0.36);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(17, 26, 39, 0.1);
}

.individual-card .lesson-group-icon {
  border-color: rgba(215, 173, 77, 0.55);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.exam-card {
  background:
    linear-gradient(180deg, rgba(233, 241, 251, 0.92), rgba(255, 255, 255, 0.88)),
    white;
}

.planned-card {
  border-style: dashed;
}

.individual-card {
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.lesson-group-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
}

.lesson-group-meta span,
.lesson-group-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.lesson-group-meta span {
  color: white;
  background: var(--navy);
  text-transform: uppercase;
}

.lesson-group-meta small {
  color: var(--navy);
  background: var(--cream);
  border: 1px solid rgba(155, 116, 48, 0.22);
}

.lesson-group-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
}

.lesson-group-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.lesson-group-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.lesson-group-card li {
  position: relative;
  padding-left: 20px;
  color: #4f5d6c;
  line-height: 1.45;
}

.lesson-group-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.individual-card h3,
.individual-card p,
.individual-card li {
  color: white;
}

.individual-card p,
.individual-card li {
  color: rgba(255, 248, 232, 0.78);
}

.individual-card .lesson-group-meta span {
  color: var(--navy);
  background: var(--gold);
}

.individual-card .lesson-group-meta small {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(215, 173, 77, 0.32);
}

.promise-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.promise-copy,
.promise-list {
  border-radius: 8px;
}

.promise-copy {
  padding: 28px;
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.promise-copy .eyebrow {
  color: var(--gold);
}

.promise-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

.promise-copy p:last-child {
  color: rgba(255, 248, 232, 0.78);
  line-height: 1.65;
}

.story-panel {
  display: grid;
  gap: 12px;
}

.story-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.wide-story {
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.88)),
    white;
}

.story-card span {
  width: max-content;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 8px;
  color: white;
  background: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.story-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.highlight-story {
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.highlight-story span {
  color: var(--navy);
  background: var(--gold);
}

.highlight-story h3 {
  color: white;
}

.highlight-story p {
  color: rgba(255, 248, 232, 0.78);
}

.news-section {
  padding-top: 20px;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(17, 26, 39, 0.08);
}

.dynamic-news-grid {
  margin-bottom: 16px;
}

.news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(215, 173, 77, 0.28);
}

.featured-news {
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.news-date {
  width: max-content;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  color: white;
  background: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-news .news-date {
  color: var(--navy);
  background: var(--gold);
}

.news-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.16;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.featured-news h3 {
  color: white;
}

.featured-news p {
  color: rgba(255, 248, 232, 0.78);
}

.featured-news .news-image {
  border-color: rgba(215, 173, 77, 0.5);
}

.news-card .secondary-link {
  width: max-content;
  margin-top: auto;
}

.news-admin-list {
  display: grid;
  gap: 12px;
}

.news-admin-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.news-admin-item img {
  width: 96px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.news-admin-item span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-admin-item strong {
  display: block;
  margin: 3px 0;
  color: var(--navy);
}

.news-admin-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.enrollment-section {
  padding-top: 18px;
}

.enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.city-offer-grid {
  display: grid;
  gap: 16px;
}

.city-offer-card,
.contact-card,
.availability-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(17, 26, 39, 0.08);
}

.city-offer-card,
.contact-card,
.availability-card {
  padding: 22px;
  min-width: 0;
}

.city-offer-card h3,
.contact-card h3,
.availability-card h3,
.signup-form h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 24px;
}

.availability-calendar,
.teacher-week-calendar {
  max-width: 100%;
  overflow-x: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 64px repeat(5, minmax(112px, 1fr));
  gap: 6px;
  width: max-content;
  min-width: 700px;
}

.calendar-head,
.calendar-time,
.calendar-slot {
  border-radius: 8px;
  padding: 8px;
}

.calendar-head {
  color: var(--navy);
  background: var(--cream);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-time {
  color: white;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.calendar-slot {
  min-height: 62px;
  border: 1px solid var(--line);
  background: white;
}

.calendar-slot strong,
.calendar-slot span {
  display: block;
}

.calendar-slot strong {
  color: var(--navy);
  font-size: 12px;
}

.calendar-slot span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.calendar-slot small {
  display: block;
  margin-top: 4px;
  color: #7f5e25;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.calendar-slot-entry + .calendar-slot-entry {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.calendar-free-button {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.calendar-free-button:hover strong,
.calendar-free-button:focus-visible strong {
  color: #0f7a3b;
}

.calendar-week-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--cream);
  font-size: 12px;
  font-weight: 900;
}

.calendar-slot.is-taken {
  background: #fff4f2;
  border-color: rgba(160, 54, 46, 0.22);
}

.calendar-slot.is-free {
  background: #f7fff8;
}

.calendar-slot.is-moved-out {
  background: #f5f7fb;
  border-style: dashed;
}

.slot-moved-in strong {
  color: #0f5132;
}

.slot-blocked strong,
.slot-single-block strong {
  color: #8a4a10;
}

.slot-moved-out strong,
.slot-moved-out span {
  color: #7b8491;
}

.calendar-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.city-offer-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-offer-card li {
  position: relative;
  padding-left: 22px;
  color: #4f5d6c;
  line-height: 1.45;
}

.city-offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-card {
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.96), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.contact-card .eyebrow,
.contact-card h3 {
  color: var(--gold);
}

.contact-card a {
  color: white;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.signup-form {
  display: grid;
  gap: 13px;
  padding: 22px;
}

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

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.signup-form input,
.signup-form select {
  height: 44px;
  padding: 0 12px;
}

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

.signup-consents {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  background: #fffdf8;
}

.checkbox-field {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--gold-dark);
}

.inline-link-button {
  justify-self: start;
  min-height: 34px;
  padding: 0;
  border: 0;
  color: var(--gold-dark);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.signup-status {
  min-height: 24px;
  margin: 0;
  color: var(--gold-dark);
  font-weight: 800;
  line-height: 1.45;
}

.signup-list {
  display: grid;
  gap: 12px;
}

.signup-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.signup-item h4 {
  margin: 8px 0 5px;
  color: var(--navy);
  font-size: 18px;
}

.signup-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.signup-status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.signup-contact {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: var(--muted);
  font-size: 13px;
}

.signup-contact a {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.signup-message {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.signup-actions {
  display: grid;
  grid-template-columns: 150px minmax(190px, 1fr) auto auto;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.signup-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.signup-edit-grid .wide-field {
  grid-column: 1 / -1;
}

.signup-edit-grid label,
.signup-actions label,
.add-student-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.signup-edit-grid input,
.signup-edit-grid textarea,
.signup-actions select,
.add-student-form input,
.add-student-form select,
.add-student-form textarea {
  width: 100%;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.signup-edit-grid input,
.signup-actions select,
.add-student-form input,
.add-student-form select {
  height: 42px;
}

.signup-edit-grid textarea,
.add-student-form textarea {
  min-height: 72px;
  padding: 10px;
  resize: vertical;
}

.signup-consent-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.signup-consent-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  color: var(--gold-dark);
  background: #fffdf8;
  font-size: 12px;
  font-weight: 900;
}

.legal-section {
  padding-top: 18px;
}

.legal-notice {
  max-width: 840px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(155, 116, 48, 0.28);
  border-radius: 8px;
  background: #fffdf8;
}

.legal-notice strong,
.legal-checklist h3 {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.legal-notice p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.legal-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 35px rgba(17, 26, 39, 0.08);
}

.legal-card span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-card h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.55;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.legal-checklist {
  margin-top: 16px;
  padding: 20px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.legal-checklist h3 {
  margin: 0 0 12px;
  color: white;
}

.legal-checklist div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-checklist span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(215, 173, 77, 0.36);
  border-radius: 8px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-section {
  padding-top: 18px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.faq-grid summary {
  cursor: pointer;
  padding: 18px;
  color: var(--navy);
  font-weight: 900;
}

.faq-grid p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.landing-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 10px 0 70px;
  padding: 24px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.landing-cta .eyebrow {
  color: var(--gold);
}

.landing-cta h2 {
  margin: 0;
  font-size: 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  text-decoration: none;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.login-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  border-radius: 8px;
  object-fit: cover;
}

.login-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
}

.login-note {
  color: var(--muted);
  line-height: 1.55;
}

.login-options {
  display: grid;
  gap: 10px;
  margin: 22px 0 14px;
}

.login-option {
  min-height: 48px;
  border: 1px solid rgba(155, 116, 48, 0.35);
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-weight: 800;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.teacher-login-form {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  text-align: left;
}

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

.teacher-login-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.teacher-login-form .primary-button {
  grid-column: auto;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(215, 173, 77, 0.6);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: white;
  box-shadow: 0 10px 25px rgba(17, 26, 39, 0.18);
}

.brand h1,
.topbar h2,
.hero-copy h2,
.panel h3,
.teacher-panel h3,
.side-panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.brand h1 {
  font-size: 21px;
  line-height: 1.12;
  color: var(--navy);
}

.eyebrow,
.side-label {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.select,
.entry-form input,
.entry-form select,
.entry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.select {
  height: 44px;
  padding: 0 12px;
  margin-bottom: 22px;
}

.role-tabs {
  display: grid;
  gap: 8px;
}

.role-tab,
.ghost-button,
.primary-button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
}

.role-tab {
  color: var(--ink);
  background: transparent;
  text-align: left;
  padding: 0 14px;
}

.role-tab.is-active {
  color: white;
  background: var(--navy);
  box-shadow: inset 4px 0 0 var(--gold);
}

.side-panel {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sidebar-back {
  width: 100%;
  margin-bottom: 22px;
}

.side-panel h2 {
  font-size: 18px;
}

.side-panel p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.main-content {
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.topbar h2 {
  font-size: 30px;
}

.ghost-button {
  padding: 0 15px;
  color: var(--navy);
  border-color: rgba(155, 116, 48, 0.32);
  background: rgba(255, 255, 255, 0.7);
}

.danger-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(160, 54, 46, 0.28);
  border-radius: 8px;
  color: #8d2f28;
  background: #fff4f2;
  font-weight: 900;
}

.inline-danger {
  margin-top: 10px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  min-height: 210px;
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.96), rgba(26, 38, 54, 0.92)),
    var(--navy);
  box-shadow: var(--shadow);
}

.hero-copy h2 {
  max-width: 680px;
  font-size: 34px;
  line-height: 1.12;
  color: white;
}

.hero-copy p:last-child {
  max-width: 680px;
  color: rgba(255, 248, 232, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

.hero-panel .eyebrow {
  color: var(--gold);
}

.visual-board {
  position: relative;
  min-height: 164px;
  border: 2px solid rgba(215, 173, 77, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(rgba(215, 173, 77, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 173, 77, 0.18) 1px, transparent 1px),
    #121c2a;
  background-size: 26px 26px;
  overflow: hidden;
}

.visual-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 82px;
  height: 52px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  background: var(--cream);
  box-shadow: 0 10px 22px rgba(17, 26, 39, 0.2);
}

.card-a {
  left: 24px;
  top: 26px;
  transform: rotate(-5deg);
}

.card-b {
  right: 36px;
  top: 46px;
  background: #e9f1fb;
  transform: rotate(6deg);
}

.card-c {
  left: 84px;
  bottom: 22px;
  background: #f8e5b8;
  transform: rotate(2deg);
}

.visual-pencil {
  position: absolute;
  right: 26px;
  bottom: 28px;
  width: 92px;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold) 0 72%, #f7eee2 72% 84%, var(--gold-dark) 84%);
  transform: rotate(-20deg);
}

.parent-profile-panel {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

.parent-profile-card {
  min-height: 130px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.parent-profile-card.wide-card {
  grid-column: 1 / -1;
}

.parent-profile-card span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.parent-profile-card strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.parent-profile-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.panel-section-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.panel-section-tab {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(155, 116, 48, 0.28);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.panel-section-tab.is-active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
}

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

.panel,
.teacher-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.panel {
  min-height: 250px;
  padding: 18px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.panel h3,
.teacher-panel h3 {
  font-size: 20px;
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.date-pill {
  display: grid;
  place-items: center;
  min-height: 62px;
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  background: var(--navy);
}

.item:nth-child(2n) .date-pill {
  background: var(--gold-dark);
}

.item:nth-child(3n) .date-pill {
  background: var(--blue);
}

.item h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.item a {
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.teacher-panel {
  margin-top: 18px;
  padding: 18px;
}

.teacher-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.teacher-groups-panel,
.teacher-content-panel {
  min-width: 0;
}

.teacher-groups-panel {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.teacher-quick-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.teacher-quick-actions label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.teacher-quick-actions select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.teacher-quick-grid {
  display: grid;
  gap: 8px;
}

.teacher-quick-action {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--navy);
  background: white;
  text-align: left;
  font-weight: 900;
}

.teacher-quick-action:hover,
.teacher-quick-action:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(16, 24, 36, 0.08);
  transform: translateY(-1px);
}

.quick-action-icon {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff7ff;
}

.quick-action-icon::before,
.quick-action-icon::after {
  content: "";
  position: absolute;
}

.quick-action-journal::before {
  inset: 6px 8px;
  border: 2px solid #2b6cb0;
  border-radius: 3px;
}

.quick-action-journal::after {
  left: 11px;
  right: 7px;
  top: 11px;
  border-top: 2px solid #2b6cb0;
  box-shadow: 0 5px 0 #2b6cb0;
}

.quick-action-calendar {
  background: #fff4da;
}

.quick-action-calendar::before {
  inset: 7px 6px 5px;
  border: 2px solid var(--gold-dark);
  border-radius: 4px;
}

.quick-action-calendar::after {
  left: 6px;
  right: 6px;
  top: 12px;
  border-top: 2px solid var(--gold-dark);
}

.quick-action-attendance {
  background: #eef9f2;
}

.quick-action-attendance::before {
  left: 7px;
  top: 9px;
  width: 7px;
  height: 12px;
  border-right: 3px solid #2f9e62;
  border-bottom: 3px solid #2f9e62;
  transform: rotate(40deg);
}

.quick-action-attendance::after {
  right: 5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid #2f9e62;
  border-radius: 50%;
}

.teacher-group-tree {
  display: grid;
  gap: 18px;
}

.teacher-city-block h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
}

.teacher-city-groups {
  display: grid;
  gap: 8px;
}

.teacher-group-button,
.teacher-student-button,
.teacher-tab {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  text-align: left;
}

.teacher-group-button {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px;
}

.teacher-group-button span {
  font-weight: 900;
}

.teacher-group-button small {
  color: var(--muted);
  font-weight: 700;
}

.teacher-group-button.is-active,
.teacher-student-button.is-active,
.teacher-tab.is-active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: inset 4px 0 0 var(--gold);
}

.teacher-group-button.is-active small {
  color: rgba(255, 248, 232, 0.78);
}

.teacher-student-list {
  display: grid;
  gap: 6px;
  padding: 4px 0 6px 14px;
}

.teacher-student-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.teacher-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.teacher-tab {
  min-height: 42px;
  padding: 0 12px;
  text-align: center;
  font-weight: 900;
}

.organization-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.organization-summary article,
.organization-card,
.organization-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.organization-summary article {
  padding: 16px;
}

.organization-summary span,
.organization-item span,
.field-mini-label {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.organization-summary strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 28px;
}

.organization-summary p,
.organization-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.organization-card {
  padding: 16px;
}

.wide-organization-card {
  grid-column: 1 / -1;
}

.organization-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.compact-organization-form {
  grid-template-columns: 1fr;
}

.organization-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.organization-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: white;
}

.organization-item strong {
  display: block;
  margin: 5px 0;
  color: var(--navy);
  font-size: 18px;
}

.compact-organization-item {
  grid-template-columns: 1fr;
}

.checkbox-stack {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.ghost-button:disabled,
.danger-button:disabled {
  cursor: default;
  opacity: 0.55;
}

.student-profile-card {
  margin-bottom: 18px;
}

.student-detail-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 232, 0.78)),
    white;
  box-shadow: 0 12px 35px rgba(17, 26, 39, 0.08);
}

.student-detail-main {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.student-detail-card span,
.payment-summary span,
.payment-city-heading span,
.payment-group-card span,
.payment-student-row span,
.attendance-summary span,
.attendance-student-row span,
.attendance-record-header span,
.attendance-reminder span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.student-detail-card strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
}

.student-detail-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.student-detail-badges,
.payment-summary,
.payment-list {
  display: grid;
  gap: 10px;
}

.student-detail-badges {
  grid-template-columns: repeat(2, max-content);
}

.student-detail-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(155, 116, 48, 0.26);
  border-radius: 8px;
  background: white;
}

.student-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.student-detail-grid section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.payment-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.payment-summary article,
.payment-city-block,
.payment-group-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.payment-summary article {
  padding: 16px;
}

.payment-summary strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 26px;
}

.payment-summary p,
.payment-group-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.payment-city-block {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.payment-city-heading strong,
.payment-group-card strong,
.payment-student-row strong {
  display: block;
  color: var(--navy);
}

.payment-city-heading strong {
  font-size: 22px;
}

.payment-group-card {
  padding: 14px;
  background: white;
}

.payment-group-header {
  margin-bottom: 12px;
}

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

.payment-student-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 110px 150px minmax(160px, 1.2fr) auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.payment-student-row label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-student-row input,
.payment-student-row select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.attendance-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.attendance-summary article,
.attendance-form,
.attendance-record {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.attendance-summary article {
  padding: 16px;
}

.attendance-summary strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 26px;
}

.attendance-summary p,
.attendance-record p,
.attendance-reminder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.attendance-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px;
}

.attendance-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.attendance-form .wide-field {
  grid-column: 1 / -1;
}

.attendance-form input,
.attendance-form select,
.attendance-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.attendance-form input,
.attendance-form select {
  height: 42px;
  padding: 0 12px;
}

.attendance-form textarea {
  min-height: 90px;
  padding: 12px;
  resize: vertical;
}

.attendance-students,
.attendance-history,
.attendance-record-list {
  display: grid;
  gap: 10px;
}

.attendance-student-row,
.attendance-record-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 170px minmax(180px, 1fr);
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.attendance-student-row strong,
.attendance-record-row strong,
.attendance-record-header strong {
  display: block;
  color: var(--navy);
}

.attendance-record-row {
  align-items: center;
  background: #fffdf8;
}

.attendance-record {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.attendance-record-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.attendance-record-header small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.attendance-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(215, 173, 77, 0.2);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.attendance-obecny,
.attendance-odrobione {
  color: #113824;
  background: #dff3e8;
}

.attendance-nieobecny {
  color: #6d1d1d;
  background: #f8dfdc;
}

.attendance-do-odrobienia {
  color: #5c3a05;
  background: #fff0c7;
}

.attendance-reminder {
  display: grid;
  gap: 10px;
  margin: -2px 0 6px;
  padding: 12px;
  border: 1px solid rgba(155, 116, 48, 0.35);
  border-radius: 8px;
  background: white;
}

.reminder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-toolbar,
.calendar-reschedule-form,
.calendar-block-form,
.reschedule-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.teacher-calendar-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-tab-icon,
.calendar-form-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.calendar-tab-icon::before,
.calendar-form-icon::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 3px;
  border-top: 2px solid currentColor;
}

.calendar-tab-icon::after,
.calendar-form-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -4px;
  width: 6px;
  height: 4px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.calendar-form-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  grid-column: 1 / -1;
  min-width: 0;
}

.calendar-form-heading h4 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 20px;
}

.calendar-form-icon {
  width: 30px;
  height: 30px;
  color: var(--gold-dark);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
}

.calendar-toolbar label,
.calendar-reschedule-form label,
.calendar-block-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-toolbar p,
.current-term-note p,
.reschedule-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.calendar-toolbar input,
.calendar-reschedule-form input,
.calendar-reschedule-form select,
.calendar-reschedule-form textarea,
.calendar-block-form input,
.calendar-block-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.calendar-toolbar input,
.calendar-reschedule-form input,
.calendar-reschedule-form select,
.calendar-block-form input,
.calendar-block-form select {
  height: 42px;
  padding: 0 12px;
}

.calendar-reschedule-form textarea {
  min-height: 72px;
  padding: 12px;
  resize: vertical;
}

.calendar-reschedule-form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) 160px 160px;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding: 16px;
}

.calendar-block-form {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(160px, 1fr) minmax(220px, 1.4fr) minmax(150px, 0.9fr) minmax(130px, 0.8fr);
  gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding: 16px;
  background: #fffaf0;
}

.calendar-reschedule-form .wide-field,
.calendar-block-form .wide-field,
.current-term-note {
  grid-column: span 2;
}

.current-term-note {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
}

.current-term-note span,
.reschedule-item span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reschedule-list {
  display: grid;
  gap: 10px;
}

.reschedule-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.reschedule-item strong {
  display: block;
  margin: 5px 0;
  color: var(--navy);
  font-size: 18px;
}

.settings-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.settings-summary article,
.publication-tools article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.settings-summary span,
.publication-checklist span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-summary strong,
.publication-tools strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 20px;
}

.settings-summary p,
.publication-tools p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.settings-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

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

.publication-tools article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.publication-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.publication-checklist span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(155, 116, 48, 0.3);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.85);
}

.file-import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(155, 116, 48, 0.38);
  border-radius: 8px;
  color: var(--navy);
  background: white;
  font-weight: 900;
}

.file-import-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.course-standalone-page {
  min-height: 100vh;
}

.course-main {
  display: grid;
  gap: 24px;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(155, 116, 48, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(255, 137, 116, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(126, 199, 183, 0.16), transparent 32%),
    #fffdf8;
  box-shadow: var(--shadow);
}

.course-hero-copy {
  display: grid;
  gap: 16px;
}

.course-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.course-hero-copy p {
  max-width: 640px;
  margin: 0;
  color: #314055;
  font-size: 18px;
  line-height: 1.6;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.course-hero-actions .primary-button,
.course-final-cta .primary-button {
  grid-column: auto;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.course-image-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(155, 116, 48, 0.24);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(17, 26, 39, 0.14);
}

.course-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.course-info-grid article,
.course-text-card,
.course-location-card,
.course-final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(17, 26, 39, 0.07);
}

.course-info-grid article {
  min-height: 162px;
  padding: 18px;
}

.course-info-grid span,
.course-location-card span,
.course-mini-cards span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--gold-dark);
  background: rgba(215, 173, 77, 0.18);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-info-grid strong,
.course-location-card strong,
.course-mini-cards strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.course-info-grid p,
.course-location-card p,
.course-mini-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

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

.course-text-card {
  padding: 24px;
}

.course-text-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.12;
}

.course-text-card p {
  margin: 0 0 12px;
  color: #455466;
  line-height: 1.62;
}

.course-text-card p:last-child {
  margin-bottom: 0;
}

.course-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-check-list li {
  position: relative;
  padding-left: 24px;
  color: #455466;
  line-height: 1.5;
}

.course-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 173, 77, 0.16);
}

.course-mini-cards {
  display: grid;
  gap: 12px;
}

.course-mini-cards article {
  min-height: 140px;
  padding: 16px;
  border: 1px solid rgba(155, 116, 48, 0.22);
  border-radius: 8px;
  background: #fffdf8;
}

.course-location-card {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(16, 24, 36, 0.97), rgba(26, 38, 54, 0.94)),
    var(--navy);
}

.course-location-card span {
  color: white;
  background: rgba(215, 173, 77, 0.28);
}

.course-location-card strong {
  color: var(--gold);
}

.course-location-card p {
  color: rgba(255, 255, 255, 0.82);
}

.course-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(215, 173, 77, 0.2), transparent 30%),
    #fffdf8;
}

.course-final-cta h2 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.16;
}

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

.teacher-summary-grid article {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.teacher-summary-grid span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.teacher-summary-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 28px;
}

.teacher-summary-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.student-management-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.student-management-card label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.student-management-card .wide-field,
.student-management-actions {
  grid-column: 1 / -1;
}

.student-management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-management-card input,
.student-management-card select,
.student-management-card textarea {
  width: 100%;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.student-management-card input,
.student-management-card select {
  height: 38px;
}

.student-management-card textarea {
  min-height: 62px;
  padding: 10px;
  resize: vertical;
}

.add-student-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.group-schedule-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.group-schedule-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.group-schedule-form input,
.group-schedule-form select {
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.group-schedule-form .signup-status {
  grid-column: 1 / -1;
}

.add-student-form .signup-status {
  grid-column: 1 / -1;
}

.add-student-form .wide-field,
.add-student-form .primary-button {
  grid-column: 1 / -1;
}

.teacher-subsection {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

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

.form-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.entry-form .wide-field,
.entry-form .signup-status {
  grid-column: 1 / -1;
}

.material-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.entry-form input,
.entry-form select {
  height: 44px;
  padding: 0 12px;
}

.entry-form textarea {
  resize: vertical;
  min-height: 88px;
  padding: 12px;
}

.primary-button {
  grid-column: 1 / -1;
  color: white;
  background: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.empty-state {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fffdf8;
}

@media (max-width: 920px) {
  .landing-hero,
  .landing-highlights,
  .course-hero,
  .course-info-grid,
  .course-section-grid,
  .course-final-cta,
  .spark-method-section,
  .spark-pillars,
  .method-teaser-section,
  .signup-path-section,
  .signup-steps,
  .method-layout,
  .method-page-hero,
  .method-origin-block,
  .method-pillar-grid,
  .method-timeline,
  .method-path-grid,
  .method-feature-grid,
  .method-benefit-grid,
  .method-materials-layout,
  .city-detail-layout,
  .city-group-grid,
  .offer-showcase,
  .course-grid,
  .lesson-groups,
  .promise-section,
  .news-grid,
  .legal-grid,
  .enrollment-layout,
  .teacher-workspace,
  .teacher-summary-grid,
  .parent-profile-grid,
  .student-detail-grid,
  .payment-summary,
  .payment-student-row,
  .attendance-summary,
  .attendance-form,
  .attendance-student-row,
  .attendance-record-row,
  .calendar-toolbar,
  .calendar-reschedule-form,
  .calendar-block-form,
  .reschedule-item,
  .organization-summary,
  .organization-layout,
  .settings-summary,
  .publication-tools {
    grid-template-columns: 1fr;
  }

  .calendar-block-form .wide-field,
  .calendar-reschedule-form .wide-field,
  .current-term-note {
    grid-column: 1 / -1;
  }

  .teacher-groups-panel {
    padding-right: 0;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .landing-hero {
    min-height: auto;
  }

  .top-landing-tabs {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .nav-login-button {
    margin-left: 0;
  }

  .hero-logo-lockup {
    min-height: 340px;
  }

  .method-teaser-section,
  .city-info-card,
  .method-page-hero {
    min-height: auto;
  }

  .method-teaser-action,
  .city-info-card .secondary-link {
    width: max-content;
  }

  .method-page-hero h1,
  .method-page-hero h2,
  .course-hero-copy h1 {
    font-size: 34px;
  }

  .method-materials-mockup {
    grid-template-columns: 1fr;
  }

  .mock-panel {
    grid-column: auto;
  }

  .spark-method-copy,
  .spark-pillar {
    min-height: auto;
  }

  .signup-path-section {
    align-items: stretch;
  }

  .signup-path-section .primary-button {
    width: 100%;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .role-tab {
    text-align: center;
  }

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

@media (max-width: 620px) {
  .landing-brand strong {
    max-width: 170px;
    line-height: 1.1;
  }

  .landing-copy h1 {
    font-size: 38px;
  }

  .landing-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

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

  .award-showcase {
    grid-template-columns: 1fr;
  }

  .hero-logo-lockup {
    min-height: 300px;
    padding: 22px;
  }

  .hero-logo-lockup img {
    width: min(92%, 310px);
  }

  .hero-enrollment-card h2 {
    font-size: 22px;
  }

  .spark-method-copy {
    padding: 24px;
  }

  .spark-method-copy h2 {
    font-size: 29px;
  }

  .spark-pillar h3 {
    margin-top: 28px;
  }

  .signup-path-section h2 {
    font-size: 23px;
  }

  .landing-highlights article {
    min-height: auto;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .promise-copy h2 {
    font-size: 28px;
  }

  .landing-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .main-content,
  .sidebar {
    padding: 18px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .student-detail-main {
    align-items: stretch;
    flex-direction: column;
  }

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

  .topbar h2,
  .hero-copy h2 {
    font-size: 25px;
  }

  .role-tabs,
  .panel-section-tabs,
  .entry-form,
  .student-detail-grid,
  .payment-summary,
  .payment-student-row,
  .attendance-summary,
  .attendance-form,
  .attendance-student-row,
  .attendance-record-row,
  .calendar-toolbar,
  .calendar-reschedule-form,
  .calendar-block-form,
  .reschedule-item,
  .organization-summary,
  .organization-layout,
  .settings-summary,
  .publication-tools,
  .teacher-tabs {
    grid-template-columns: 1fr;
  }

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

  .signup-item {
    grid-template-columns: 1fr;
  }

  .signup-actions,
  .signup-edit-grid,
  .add-student-form,
  .group-schedule-form,
  .organization-item,
  .payment-student-row,
  .attendance-student-row,
  .attendance-record-row,
  .reschedule-item,
  .student-management-card,
  .news-admin-item {
    grid-template-columns: 1fr;
  }

  .news-admin-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .signup-contact {
    justify-items: start;
  }

  .date-pill {
    min-height: 40px;
  }
}

@media (min-width: 721px) and (max-width: 920px) {
  .teacher-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .teacher-groups-panel {
    padding-right: 16px;
    padding-bottom: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .teacher-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 560px) and (max-width: 720px) {
  .teacher-workspace {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .teacher-groups-panel {
    padding-right: 12px;
    padding-bottom: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}
