:root {
  --bg: #fdfffe;
  --surface: #fafbfa;
  --surface-hover: #f2f8f5;
  --border: #e5eeea;
  --text: #0c3124;
  --muted: #83968f;
  --green: #009859;
  --green-hover: #0caa67;
  --green-bright: #12d16b;
  --black: #0d0d0d;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 720px;
  background-image: url("/assets/bg-1.jpg");
  background-position: center 70%;
  background-size: cover;
  overflow: hidden;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.44) 0%, rgba(13, 13, 13, 0.18) 45%, rgba(13, 13, 13, 0.54) 100%);
}

.nav {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong {
  color: var(--green);
}

.brand--light {
  color: #fff;
  font-size: 20px;
}

.brand--light strong {
  color: var(--green-bright);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
}

.nav__links > a:not(.button) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.nav__links > a:not(.button):hover {
  color: #fff;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav__toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(92px, 15vh, 158px) clamp(20px, 5vw, 48px) clamp(72px, 12vh, 132px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--green-bright);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.hero__lede {
  max-width: 510px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

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

.button--small {
  min-height: 38px;
  padding-inline: 20px;
  font-size: 14px;
}

.button--black {
  background: var(--black);
  color: #fff;
}

.button--black:hover {
  filter: brightness(1.28);
}

.button--glass {
  border: 0.5px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.button--glass:hover {
  background: rgba(255, 255, 255, 0.24);
}

.button--green {
  background: var(--green);
  color: #fff;
}

.button--green:hover {
  background: var(--green-hover);
}

.button--soft {
  background: var(--surface-hover);
  color: var(--text);
}

.button--soft:hover {
  background: var(--border);
}

.button--white {
  background: #fff;
  color: var(--text);
}

.button--white:hover {
  background: var(--surface-hover);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 48px) 0;
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.section__kicker,
.model-group__label,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1;
}

.section h2 {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
}

.section__header > p:not(.section__kicker) {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.model-group {
  margin-bottom: 28px;
}

.model-group__label {
  margin-bottom: 12px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.model-card {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.model-card:hover {
  border-color: #c5ddd4;
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.model-card h3 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.model-card p,
.muted,
.fine-print {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.feature-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}

.feature-card,
.price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

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

.feature-card p {
  color: var(--green);
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.feature-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.price-card {
  min-height: 365px;
  padding: 28px 24px;
  background: var(--surface);
}

.price-card--featured {
  border-color: var(--green);
  background: #fff;
}

.price-card--dark {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.price-card__name {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.price-card--featured .price-card__name,
.price-card--dark .price-card__name {
  color: var(--green-bright);
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-card__amount span {
  color: inherit;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.price-card__amount small {
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.price-card--dark .price-card__amount small {
  color: rgba(255, 255, 255, 0.55);
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: currentColor;
  font-size: 14px;
  line-height: 1.35;
}

.price-card--dark li {
  color: rgba(255, 255, 255, 0.86);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  background: url("/assets/check.svg") center / contain no-repeat;
}

.price-card .button {
  margin-top: auto;
  min-height: 44px;
  font-size: 15px;
}

.fine-print {
  margin-top: 16px;
  font-size: 13px;
}

.institution-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 24px;
  padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(135deg, #0c3124 0%, #065f3b 50%, #009859 100%);
}

.institution-band > * {
  position: relative;
  z-index: 1;
}

.institution-band .section__kicker,
.institution-band p {
  color: rgba(255, 255, 255, 0.72);
}

.institution-band h2 {
  max-width: 500px;
  margin-bottom: 0;
  color: #fff;
}

.institution-band p:not(.section__kicker) {
  max-width: 430px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
}

.footer {
  width: min(100%, var(--max));
  margin: clamp(56px, 9vw, 104px) auto 0;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 48px) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1.5px solid var(--border);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a,
.footer__links span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.footer__links a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: 48px;
  }

  .hero__lede {
    font-size: 16px;
  }

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

  .nav {
    align-items: flex-start;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.36);
    border-radius: 18px;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(12px);
  }

  .nav__links[data-open] {
    display: flex;
  }

  .nav__links > a:not(.button),
  .nav__links .button {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
  }

  .nav__links .button {
    margin-top: 6px;
    justify-content: center;
  }

  .hero__content {
    padding-top: 102px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .section {
    padding-top: 64px;
  }

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

  .price-card {
    min-height: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
