/* ---------------------------------------------------------------- */
/* Public marketing pages (company-home.html and every other public  */
/* page reachable from its nav/footer). Scoped under .landing-page   */
/* so nothing here affects the dashboard pages, which have their own */
/* monochrome system in business-course.css / dashboard.css.         */
/* ---------------------------------------------------------------- */

.landing-page {
  --land-ink: #16171a;
  --land-muted: #63695c;
  --land-border: #e7e3d6;
  --land-bg-muted: #f7f5ee;
  --land-olive: #55694a;
  --land-olive-dark: #47593c;
  --land-olive-deep: #4a5b3e;
  --land-olive-tint: #eef1e7;
  --land-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  /* Alias the site-wide tokens so every generic component class
     (.pill, .card, .primary, .legal-card, .pricing-card, .beta-card,
     .login-card, .assistant, .badge, etc.) picks up this monochrome +
     olive palette automatically, without rewriting each rule. */
  --bg: #fafaf8;
  --card: #ffffff;
  --border: var(--land-border);
  --text: var(--land-ink);
  --muted: var(--land-muted);
  --accent: var(--land-olive);
  --accent-strong: var(--land-olive-dark);
  background: #ffffff;
  color: var(--land-ink);
}

.landing-page a {
  opacity: 1;
}

.landing-page .card,
.landing-page .legal-card,
.landing-page .pricing-card,
.landing-page .beta-card,
.landing-page .login-card,
.landing-page .resource-card,
.landing-page .resource-tools-card,
.landing-page .vision-card {
  box-shadow: none;
  border-radius: 14px;
}

.landing-page .assistant {
  background: var(--land-bg-muted);
  border-color: var(--land-border);
  box-shadow: none;
  border-radius: 16px;
}

.landing-page .chat {
  background: #ffffff;
}

.landing-page .bubble {
  background: var(--land-bg-muted);
}

.landing-page .chat-row.bot .bubble {
  background: var(--land-olive-tint);
  border-color: var(--land-border);
}

.landing-page .badge {
  background: var(--land-bg-muted);
}

.landing-page .program-switch-btn.active {
  background: var(--land-ink);
  border-color: var(--land-ink);
  color: #ffffff;
}

.landing-page .secondary,
.landing-page .program-switch-btn,
.landing-page .add-plan-btn {
  background: var(--land-bg-muted);
}

.landing-page .primary,
.landing-page .program-switch-btn.active {
  color: #ffffff;
}

.landing-page .programs-coming-soon-card {
  border-color: var(--land-border);
}

.landing-page .shell {
  padding: 0 40px;
}

.landing-page header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--land-border);
  padding: 18px 0;
}

.land-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.land-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--land-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.land-brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--land-olive);
  color: #ffffff;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.land-nav {
  display: flex;
  gap: 28px;
}

.land-nav a {
  color: #45483f;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.land-nav a:hover {
  color: var(--land-ink);
}

.land-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.land-login-link {
  color: var(--land-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.land-login-link:hover {
  opacity: 0.7;
}

/* Buttons */

.land-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.land-btn-dark {
  background: var(--land-ink);
  color: #ffffff;
}

.land-btn-dark:hover {
  opacity: 0.85;
}

.land-btn-olive {
  background: var(--land-olive);
  color: #ffffff;
}

.land-btn-olive:hover {
  background: var(--land-olive-dark);
}

.land-btn-outline {
  background: #ffffff;
  color: var(--land-ink);
  border: 1px solid var(--land-border);
}

.land-btn-outline:hover {
  background: var(--land-bg-muted);
}

.land-btn-white {
  background: #ffffff;
  color: var(--land-olive-deep);
}

.land-btn-white:hover {
  opacity: 0.9;
}

.land-btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.land-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Shared type */

.land-eyebrow {
  margin: 0 0 12px;
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--land-olive);
}

.land-center {
  text-align: center;
}

.land-pill {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--land-border);
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  color: var(--land-olive);
}

.land-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--land-bg-muted);
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--land-muted);
}

.land-tag-outline {
  background: transparent;
  border: 1px solid var(--land-border);
}

.land-mono-label {
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  color: var(--land-muted);
}

.land-body-copy {
  margin: 18px 0 0;
  max-width: 520px;
  color: var(--land-muted);
  font-size: 16px;
  line-height: 1.7;
}

.land-section {
  padding: 90px 0;
}

.land-section-muted {
  background: var(--land-bg-muted);
}

.land-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.land-section-head h2 {
  margin: 0;
}

.land-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: center;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--land-ink);
}

/* Hero */

.land-hero {
  padding: 70px 0 90px;
}

.land-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.land-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.08;
}

.land-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.land-mock-card {
  padding: 22px;
  border: 1px solid var(--land-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(22, 23, 26, 0.06);
}

.land-mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.land-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.land-dot-red { background: #e5766c; }
.land-dot-yellow { background: #e3b74f; }
.land-dot-green { background: #7fae6c; margin-right: auto; }

.land-mock-label {
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10.5px;
  color: var(--land-muted);
}

.land-mock-bubble {
  padding: 16px;
  border-radius: 12px;
  background: var(--land-bg-muted);
  margin-bottom: 18px;
}

.land-mock-bubble-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--land-olive);
}

.land-mock-bubble p:not(.land-mock-bubble-title) {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3a3d34;
}

.land-mock-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--land-muted);
}

/* Vision card */

.land-card {
  padding: 28px;
  border: 1px solid var(--land-border);
  border-radius: 16px;
  background: #ffffff;
}

.land-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.land-card-sub {
  margin: 0 0 18px;
  color: var(--land-muted);
  font-size: 14px;
}

.land-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.land-check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: #33362e;
}

.land-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--land-olive);
  font-weight: 700;
}

/* Curricula grid */

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

.land-curricula-card {
  padding: 22px;
  border: 1px solid var(--land-border);
  border-radius: 14px;
  background: #ffffff;
}

.land-curricula-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.land-curricula-head h3 {
  margin: 0;
  font-size: 19px;
}

.land-curricula-card p {
  margin: 0;
  color: var(--land-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Stats */

.land-stats {
  padding: 60px 0;
  border-top: 1px solid var(--land-border);
  border-bottom: 1px solid var(--land-border);
}

.land-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.land-stats-grid strong {
  display: block;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--land-olive);
}

.land-stats-grid span {
  display: block;
  margin-top: 8px;
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11.5px;
  color: var(--land-muted);
}

/* Toolkit */

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

.land-toolkit-card {
  padding: 26px;
  border: 1px solid var(--land-border);
  border-radius: 14px;
  background: #ffffff;
}

.land-toolkit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--land-olive-tint);
  color: var(--land-olive);
}

.land-toolkit-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.land-toolkit-card p {
  margin: 0;
  color: var(--land-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Methodology */

.land-methodology-inner h2 {
  margin: 8px 0 56px;
  font-size: clamp(28px, 4vw, 38px);
}

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

.land-step {
  position: relative;
  padding: 0 28px;
  border-left: 1px solid var(--land-border);
}

.land-step:first-child {
  padding-left: 0;
  border-left: none;
}

.land-step-number {
  display: block;
  margin-bottom: 18px;
  font-family: var(--land-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--land-olive);
}

.land-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.land-step p {
  margin: 0;
  color: var(--land-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Preview */

.land-preview-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 42px);
}

.land-preview-card {
  padding: 26px;
  border: 1px solid var(--land-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(22, 23, 26, 0.06);
}

.land-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.land-preview-done {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.land-preview-done i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--land-olive);
}

.land-preview-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.land-preview-units {
  border: 1px solid var(--land-border);
  border-radius: 12px;
  overflow: hidden;
}

.land-preview-unit {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--land-bg-muted);
}

.land-preview-unit + .land-preview-unit {
  border-top: 1px solid var(--land-border);
}

.land-preview-unit-complete {
  background: #ffffff;
}

.land-preview-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--land-olive);
  color: var(--land-olive);
  font-size: 12px;
  font-weight: 700;
}

.land-preview-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--land-border);
}

.land-preview-unit strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.land-preview-unit small {
  display: block;
  margin-top: 3px;
  color: var(--land-muted);
  font-size: 12.5px;
}

.land-preview-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.land-preview-progress-track {
  width: 70px;
  height: 5px;
  border-radius: 999px;
  background: var(--land-border);
  overflow: hidden;
}

.land-preview-progress-fill {
  height: 100%;
  background: var(--land-olive);
}

.land-preview-progress span {
  font-size: 12px;
  font-weight: 700;
  color: var(--land-muted);
}

/* CTA banner */

.land-cta {
  padding: 90px 0;
  background: var(--land-olive-deep);
  color: #ffffff;
}

.land-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.land-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
}

.land-cta p {
  margin: 20px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.land-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.land-cta-link {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.land-cta-link:hover {
  opacity: 0.8;
}

/* Footer */

.land-footer {
  padding: 60px 0 30px;
  background: var(--land-bg-muted);
  border-top: 1px solid var(--land-border);
}

.land-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.land-footer-brand .land-brand {
  margin-bottom: 10px;
}

.land-footer-brand p {
  margin: 0;
  color: var(--land-muted);
  font-size: 14px;
}

.land-footer-cols {
  display: flex;
  gap: 64px;
}

.land-footer-heading {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
  color: var(--land-muted);
}

.land-footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.land-footer-cols a {
  color: #40433a;
  font-size: 14px;
  text-decoration: none;
}

.land-footer-cols a:hover {
  color: var(--land-ink);
}

.land-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--land-border);
  color: var(--land-muted);
  font-size: 12.5px;
}

.land-footer-bottom p {
  margin: 0;
}

/* Compact footer for thin utility pages (login, signup) where the
   full 3-column marketing footer looks disproportionately large next
   to a single small card. */

.land-footer-simple {
  padding: 20px 0;
  background: var(--land-bg-muted);
  border-top: 1px solid var(--land-border);
}

.land-footer-simple-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--land-muted);
}

.land-footer-simple-inner p {
  margin: 0;
}

.land-footer-simple-links {
  display: flex;
  gap: 18px;
}

.land-footer-simple-links a {
  color: var(--land-muted);
}

.land-footer-simple-links a:hover {
  color: var(--land-ink);
}

/* AI helper preview page: non-interactive "how it's integrated" cards */

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

.land-integration-card {
  padding: 26px;
  border: 1px solid var(--land-border);
  border-radius: 14px;
  background: #ffffff;
}

.land-integration-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.land-integration-card > p {
  margin: 0 0 18px;
  color: var(--land-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.land-mini-preview {
  padding: 14px;
  border-radius: 10px;
  background: var(--land-bg-muted);
  border: 1px solid var(--land-border);
}

.land-mini-preview-prompt {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #3a3d34;
}

.land-mini-preview-reply {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.land-mini-preview-reply span:first-child {
  flex: 0 0 auto;
  color: var(--land-olive);
  font-size: 13px;
}

.land-mini-preview-reply p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--land-muted);
}

.land-preview-disabled-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--land-bg-muted);
  color: var(--land-muted);
  font-size: 11.5px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .land-integration-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .land-hero-grid,
  .land-split {
    grid-template-columns: 1fr;
  }

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

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

  .land-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .land-step {
    padding-left: 0;
    border-left: none;
    padding-top: 24px;
    border-top: 1px solid var(--land-border);
  }

  .land-step:first-child {
    padding-top: 0;
    border-top: none;
  }

  .land-footer-top {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .landing-page .shell {
    padding: 0 22px;
  }

  .land-nav {
    display: none;
  }

  .land-curricula-grid,
  .land-toolkit-grid {
    grid-template-columns: 1fr;
  }

  .land-section {
    padding: 60px 0;
  }

  .land-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .land-cta-actions {
    flex-direction: column;
  }

  .land-footer-cols {
    flex-direction: column;
    gap: 28px;
  }

  .land-footer-bottom {
    flex-direction: column;
  }
}

/* Roadmap status card, used on the GCSE/AP/A-Levels preview pages */

.land-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.land-roadmap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--land-border);
  font-weight: 600;
  font-size: 14px;
}

.land-roadmap-row:last-child {
  border-bottom: none;
}

.land-roadmap-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--land-bg-muted);
  color: var(--land-muted);
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10.5px;
  font-weight: 700;
}

.land-roadmap-tag-live {
  background: var(--land-olive);
  color: #ffffff;
}

/* Generic "coming soon" pill used on roadmap and feature-explainer pages */

.land-pill-muted {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--land-border);
  background: var(--land-bg-muted);
  font-family: var(--land-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  color: var(--land-muted);
}
