:root {
  color-scheme: light;
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    sans-serif;
  color: #1e2822;
  background: #f6f3eb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #f6f3eb;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(35, 117, 82, 0.1),
      transparent 28rem
    ),
    #f6f3eb;
}

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

.site-header {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 13px;
  background: #237552;
  font-size: 22px;
  font-weight: 700;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: #738078;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.account-badge {
  padding: 7px 11px;
  color: #35624d;
  border: 1px solid #c6d6cd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.account-badge.success {
  color: #17623e;
  border-color: #b7d8c5;
  background: #e9f6ee;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 620px;
  padding: 78px 0 96px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  column-gap: 76px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #237552;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 0;
  color: #68736d;
  font-size: 18px;
  line-height: 1.8;
}

.auth-card {
  padding: 32px;
  border: 1px solid rgba(87, 106, 95, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(43, 63, 51, 0.09);
  backdrop-filter: blur(16px);
}

.auth-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.status-dot {
  width: 11px;
  height: 11px;
  margin-top: 9px;
  border-radius: 50%;
  background: #d59f36;
  box-shadow: 0 0 0 6px rgba(213, 159, 54, 0.12);
  flex: 0 0 auto;
}

.status-dot.success {
  background: #2b9667;
  box-shadow: 0 0 0 6px rgba(43, 150, 103, 0.12);
}

.status-dot.error {
  background: #c75b4d;
  box-shadow: 0 0 0 6px rgba(199, 91, 77, 0.12);
}

.auth-label {
  margin: 0 0 4px;
  color: #7b857f;
  font-size: 12px;
}

.auth-card h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.auth-message {
  min-height: 52px;
  margin: 22px 0 24px;
  color: #606b65;
  font-size: 14px;
  line-height: 1.75;
}

.auth-actions {
  display: grid;
  gap: 10px;
}

.primary-button,
.text-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.primary-button {
  color: #fff;
  border: 1px solid #237552;
  background: #237552;
  text-decoration: none;
}

.primary-button:hover {
  background: #195d40;
}

.text-button {
  min-height: 38px;
  color: #5f6e65;
  border: 0;
  background: transparent;
  font-size: 13px;
}

.text-button:hover {
  color: #237552;
}

.primary-button:disabled,
.text-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.privacy-note {
  margin: 22px 0 0;
  color: #89918c;
  font-size: 11px;
  line-height: 1.7;
}

.platform-section {
  padding: 92px 0 110px;
  border-top: 1px solid rgba(88, 104, 94, 0.16);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 24px 80px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

.section-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 0;
  color: #707a74;
  font-size: 14px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: flex;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(88, 104, 94, 0.14);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.44);
  flex-direction: column;
  justify-content: space-between;
}

.feature-number {
  color: #2d7c5a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 42px 0 12px;
  font-size: 24px;
}

.feature-card p {
  margin: 0;
  color: #707a74;
  font-size: 14px;
  line-height: 1.75;
}

.feature-status {
  display: inline-flex;
  margin-top: 18px;
  padding: 5px 9px;
  color: #6f7c74;
  border: 1px solid #d8dfda;
  border-radius: 999px;
  font-size: 11px;
}

footer {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: #808a84;
  border-top: 1px solid rgba(88, 104, 94, 0.16);
  font-size: 12px;
  justify-content: space-between;
  gap: 20px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 50px 0 78px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .auth-card {
    margin-top: 42px;
  }

  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .hero {
    padding-top: 36px;
  }

  .auth-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .platform-section {
    padding: 72px 0 84px;
  }

  footer {
    flex-direction: column;
  }
}

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