:root {
  color-scheme: light;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f6f86;
  --line: #dce6ef;
  --teal: #18b8a5;
  --teal-dark: #0f8b7e;
  --amber: #f4b84d;
  --amber-soft: #fff4d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  text-decoration: none;
}

.brand img {
  width: 220px;
  height: auto;
  display: block;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 18px 48px rgba(26, 58, 86, 0.08);
}

.hero {
  min-height: 420px;
  display: grid;
  align-content: center;
}

.eyebrow,
.updated {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

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

h1 {
  max-width: 9em;
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.08;
}

h2 {
  margin: 28px 0 8px;
  font-size: 19px;
}

p,
li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

a {
  color: var(--teal-dark);
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.nav-links a,
.button-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 14px;
  background: #e7f8f5;
  color: var(--teal-dark);
  text-decoration: none;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.plan {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fbfdff;
}

.plan.featured {
  border-color: rgba(24, 184, 165, 0.62);
  background: #f0fbf8;
}

.plan strong {
  font-size: 24px;
}

@media (max-width: 560px) {
  main {
    width: min(100% - 20px, 920px);
    padding-top: 22px;
  }

  .brand img {
    width: 190px;
  }

  .panel {
    padding: 22px;
  }

  h1 {
    font-size: 36px;
  }
}
