:root {
  --ink: #0e1a16;
  --muted: #4d625a;
  --line: rgba(255, 255, 255, 0.45);
  --paper: #e8f2ed;
  --brand: #0d8a74;
  --brand-deep: #075c4e;
  --brand-soft: rgba(13, 138, 116, 0.14);
  --danger: #b42318;
  --ok: #127a45;
  --glass: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.62);
  --shadow: 0 20px 50px rgba(8, 28, 22, 0.12);
  --control-h: 40px;
  --control-pad-x: 0.9rem;
  --control-radius: 12px;
  --control-radius-pill: 999px;
  /* No CDN fonts — school/Pearson networks often block Google Fonts. */
  --font: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --blur: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.landing {
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: #0b1f1a;
  padding-bottom: 40px;
}

.land-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.land-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.land-backdrop-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 12% 8%, rgba(120, 220, 190, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(232, 245, 240, 0.9) 0%, rgba(236, 244, 240, 0.94) 50%, rgba(225, 238, 232, 0.96) 100%);
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(8, 28, 22, 0.08);
  backdrop-filter: blur(var(--blur)) saturate(1.25);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.25);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

a {
  color: var(--brand-deep);
}

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-radius: var(--control-radius-pill);
  height: var(--control-h);
  min-height: var(--control-h);
  max-height: var(--control-h);
  padding: 0 var(--control-pad-x);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
}

.land-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px clamp(16px, 4vw, 40px) 0;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
  z-index: 2;
}

.land-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.land-nav-brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(15, 107, 92, 0.12);
}

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

.land-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.land-nav-cta {
  color: #fff !important;
  background: var(--brand);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.land-hero {
  margin: 28px clamp(16px, 4vw, 40px) 0;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  animation: rise 0.55s ease both;
}

.land-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.land-brand img {
  opacity: 0.85;
  filter: invert(28%) sepia(42%) saturate(700%) hue-rotate(127deg);
}

.land-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.land-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42ch;
  margin-bottom: 20px;
}

.land-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.land-hero-visual {
  display: grid;
  place-items: center;
}

.land-hero-mark {
  width: min(220px, 55vw);
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.land-section {
  margin: 36px clamp(16px, 4vw, 40px) 0;
}

.land-section-head h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.land-section-head p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 60ch;
}

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

.land-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
}

.land-steps img {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
  filter: invert(28%) sepia(42%) saturate(700%) hue-rotate(127deg);
}

.land-steps strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
}

.land-steps span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.land-os-btn {
  display: grid;
  gap: 6px;
  justify-items: start;
  text-decoration: none;
  color: var(--ink);
  padding: 20px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.land-os-btn:hover,
.land-os-btn.preferred {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.land-os-btn.preferred {
  border-color: rgba(13, 138, 116, 0.55);
  box-shadow: 0 0 0 2px rgba(13, 138, 116, 0.18), var(--shadow);
}

.land-os-btn strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

.land-os-btn span {
  color: var(--muted);
  font-size: 0.9rem;
}

.land-one-cmd {
  margin-top: 1.5rem;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.land-one-cmd label {
  font-weight: 700;
  font-size: 0.9rem;
}

.land-one-cmd textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--control-radius);
  background: rgba(255, 255, 255, 0.55);
  min-height: calc(var(--control-h) * 2.4);
  padding: 0.65rem var(--control-pad-x);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.4;
  resize: vertical;
  box-sizing: border-box;
  color: var(--ink);
}

.land-one-cmd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.land-alt {
  color: var(--muted);
  font-size: 0.85rem;
}

.land-foot {
  margin: 40px clamp(16px, 4vw, 40px) 0;
  padding: 14px 18px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}

.land-foot a {
  text-decoration: none;
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 860px) {
  .land-hero,
  .land-steps,
  .land-os-actions {
    grid-template-columns: 1fr;
  }

  .land-hero-visual {
    order: -1;
  }

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