:root {
  color-scheme: light;
  --ink: #15272d;
  --text: #30464d;
  --muted: #62747a;
  --line: #cfd9d7;
  --paper: #f8fbfa;
  --white: #ffffff;
  --teal: #087f8c;
  --teal-dark: #075c65;
  --green: #3f7651;
  --coral: #b95e46;
  --soft: #e8f0ee;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--coral);
}

.content,
.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(207, 217, 215, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.nav-wrap {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--teal);
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 900;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  border-bottom: 3px solid transparent;
  padding: 12px 10px 9px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(68vh, 650px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: url("../images/languagegenies-typing-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(244, 249, 247, 0.78);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 66px;
}

.hero-content > * {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: 3.6rem;
  font-weight: 900;
}

h2 {
  font-size: 2.25rem;
  font-weight: 850;
}

h3 {
  font-size: 1.12rem;
  font-weight: 820;
}

.hero-lead {
  margin: 22px 0 0;
  color: #294047;
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal-dark);
  border-radius: 4px;
  padding: 10px 17px;
  background: var(--teal-dark);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--teal);
  color: var(--white);
}

.text-link {
  font-weight: 800;
}

.image-note {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 1;
  margin: 0;
  color: #3b5056;
  font-size: 0.78rem;
}

.band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 76px 0;
}

.band-muted {
  background: var(--soft);
}

.status-band {
  padding: 0;
  background: var(--ink);
  color: var(--white);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-grid div {
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 23px 18px;
}

.status-grid div:first-child {
  padding-left: 0;
}

.status-grid div:last-child {
  border-right: 0;
}

.status-grid span,
.status-grid strong {
  display: block;
}

.status-grid span {
  color: #bed0ce;
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.status-grid strong {
  margin-top: 3px;
  font-size: 0.98rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.section-heading h2 {
  max-width: 430px;
}

.section-heading.compact {
  margin-bottom: 38px;
}

.section-heading.compact h2 {
  max-width: 680px;
}

.prose {
  max-width: 720px;
}

.prose p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #b8c8c5;
}

.principles article {
  min-width: 0;
  border-right: 1px solid #b8c8c5;
  padding: 28px 26px 6px 0;
}

.principles article + article {
  padding-left: 26px;
}

.principles article:last-child {
  border-right: 0;
}

.principles p {
  margin: 10px 0 0;
}

.index {
  display: block;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
}

.next-band {
  background: var(--teal-dark);
}

.next-band h2,
.next-band .eyebrow {
  color: var(--white);
}

.next-band .eyebrow {
  opacity: 0.76;
}

.next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.button-light {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--teal-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: transparent;
  color: var(--white);
}

.site-footer {
  background: var(--ink);
  color: #c8d4d2;
  padding: 28px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-row p {
  margin: 0;
  font-size: 0.85rem;
}

.page-intro {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 92px 0 82px;
}

.narrow {
  max-width: 960px;
}

.comparison {
  border-top: 1px solid var(--line);
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.comparison-row span {
  min-width: 0;
  padding: 20px;
}

.comparison-row span:first-child {
  border-right: 1px solid var(--line);
  padding-left: 0;
}

.comparison-head {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.readiness-list {
  border-top: 1px solid #b8c8c5;
}

.readiness-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #b8c8c5;
  padding: 18px 0;
}

.readiness-list strong {
  color: var(--muted);
}

.readiness-list .ready {
  color: var(--green);
}

.privacy-band {
  background: #f7e9e5;
}

@media (max-width: 820px) {
  .nav-wrap {
    min-height: 64px;
  }

  .hero {
    min-height: 64vh;
    background-position: 62% center;
  }

  .hero-shade {
    background: rgba(244, 249, 247, 0.86);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .status-grid div:nth-child(2) {
    border-right: 0;
  }

  .status-grid div:first-child,
  .status-grid div:nth-child(3) {
    padding-left: 0;
  }

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

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

  .principles article,
  .principles article + article {
    border-right: 0;
    border-bottom: 1px solid #b8c8c5;
    padding: 24px 0;
  }

  .principles article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .content,
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    align-items: flex-start;
    padding: 12px 0;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 9px 7px 6px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 66vh;
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 2.08rem;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .band {
    padding: 58px 0;
  }

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

  .status-grid div,
  .status-grid div:first-child,
  .status-grid div:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 16px 0;
  }

  .status-grid div:last-child {
    border-bottom: 0;
  }

  .next-row,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row span,
  .comparison-row span:first-child {
    border-right: 0;
    padding: 16px 0;
  }

  .comparison-row span:first-child {
    border-bottom: 1px dashed var(--line);
  }

  .comparison-head {
    display: none;
  }

  .readiness-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .page-intro {
    padding: 68px 0 60px;
  }
}
