:root {
  --ink: #18332f;
  --pine: #13594f;
  --meadow: #83ae69;
  --sun: #e7a577;
  --paper: #f6f8f5;
  --line: #d9e1da;
  --muted: #4e655f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 "Trebuchet MS",
    Verdana,
    sans-serif;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}
h1,
h2 {
  font-family: "Palatino Linotype", Georgia, serif;
  line-height: 1.12;
  letter-spacing: 0;
}
h1 {
  font-size: 4.5rem;
  margin: 0 0 22px;
}
h2 {
  font-size: 2rem;
}
p {
  margin: 0 0 24px;
}
.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav,
.nav-links,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  min-height: 76px;
}
.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.wordmark img {
  object-fit: contain;
}
.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.92rem;
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:hover,
.footer-inner a:hover {
  text-decoration: underline;
}
.nav-links form {
  margin: 0;
}
.nav-button {
  font: inherit;
  font-weight: 700;
  color: var(--pine);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.lang-links {
  display: inline-flex;
  gap: 7px;
  color: var(--muted);
}
.lang-links [aria-current="true"] {
  color: var(--pine);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero {
  min-height: min(72svh, 700px);
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 31, 28, 0.78), rgba(8, 31, 28, 0.06) 90%),
    url("../background_light.jpg") center 38% / cover;
}
.hero-inner {
  padding-block: 80px;
}
.hero h1 {
  font-size: 7rem;
  margin-bottom: 8px;
}
.hero p {
  max-width: 29rem;
  font-size: 1.25rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 4px;
  background: var(--pine);
  color: white;
  padding: 12px 20px;
  font:
    700 1rem "Trebuchet MS",
    Verdana,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: #0e443c;
}
.button-light {
  background: white;
  color: var(--ink);
}
.button-light:hover {
  background: #e8f3e5;
}
.intro-band {
  background: #e4ece4;
  padding: 64px 0;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.intro-layout h2 {
  margin: 0;
}
.intro-layout p {
  max-width: 31rem;
  margin: 0;
}
.page-band {
  min-height: 60vh;
  padding: 76px 0 100px;
  background: linear-gradient(140deg, #f6f8f5 65%, #e6efe5);
}
.page-band h1 {
  max-width: 880px;
}
.lede {
  font-size: 1.25rem;
  max-width: 740px;
  color: var(--muted);
}
.prose {
  max-width: 850px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--meadow);
  padding: 24px;
  border-radius: 4px;
}
.plan:nth-child(2) {
  border-top-color: var(--sun);
}
.plan:nth-child(3) {
  border-top-color: var(--pine);
}
.plan h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}
.pending {
  color: var(--pine);
  font-weight: 700;
}
.plan dl {
  margin: 0;
}
.plan dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.plan dt {
  color: var(--muted);
}
.plan dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 52px;
  align-items: start;
}
.form-heading p {
  font-size: 1.2rem;
  color: var(--muted);
}
.auth-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 30px;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.auth-form label {
  font-weight: 700;
}
.auth-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 46px;
  border: 1px solid #adbbb2;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 12px;
  font: inherit;
}
.auth-form .checkbox {
  display: flex;
  gap: 8px;
  font-size: 0.91rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.auth-form .checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
}
.auth-form .button {
  width: 100%;
}
.secondary-link {
  text-align: center;
  margin-top: 8px;
  color: var(--pine);
}
.error {
  color: #9c332e;
  font-size: 0.9rem;
  margin: 0 0 12px;
}
.account-state {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.account-state h2 {
  font-size: 1.4rem;
}
.site-footer {
  background: var(--ink);
  color: #f6f8f5;
  padding: 30px 0;
}
.footer-inner div {
  display: flex;
  gap: 24px;
}
.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(8, 31, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
}
.cover-badge .badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--meadow);
  box-shadow: 0 0 10px var(--meadow);
  flex-shrink: 0;
}
.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.cover-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(24, 51, 47, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cover-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 51, 47, 0.08);
}
.cover-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}
.cover-card h3 {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.45rem;
  color: var(--pine);
  margin: 0 0 10px;
}
.cover-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.cover-contact {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--pine);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.cover-contact-text h4 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: var(--ink);
  font-family: "Palatino Linotype", Georgia, serif;
}
.cover-contact-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pine);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.contact-button:hover {
  background: #0e443c;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 800px) {
  h1 {
    font-size: 2.9rem;
  }
  .hero h1 {
    font-size: 3.9rem;
  }
  .nav {
    flex-wrap: wrap;
    padding-block: 14px;
    gap: 12px;
  }
  .nav-links {
    justify-content: flex-start;
    gap: 12px 18px;
    width: 100%;
  }
  .hero {
    min-height: 60svh;
    background-position:
      center,
      58% 62%;
  }
  .intro-layout,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .plans {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .page-band {
    padding-block: 52px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
