:root {
  --ink: #191816;
  --muted: #726d62;
  --honey: #f4bf13;
  --honey-dark: #d7a400;
  --cream: #f7f0d9;
  --cream-soft: #fbf7e9;
  --card: rgba(255, 253, 244, 0.86);
  --line: rgba(25, 24, 22, 0.08);
  --shadow: 0 24px 80px rgba(77, 58, 7, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 14%, rgba(244, 191, 19, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(244, 191, 19, 0.18), transparent 20rem),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 52%, #f4eedc 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 64px);
  backdrop-filter: blur(18px);
}

.nav-links,
.login-button,
.primary-button,
.secondary-button,
.search-card,
.task-card,
.feature-card,
.service-card,
.legal-card,
.flow-grid > div {
  border: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 150px;
  height: 60px;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 40px rgba(87, 66, 12, 0.07);
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
  background: var(--ink);
}

.login-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.login-button,
.primary-button {
  background: var(--honey);
  box-shadow: 0 14px 34px rgba(215, 164, 0, 0.28);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.58);
}

.login-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(70, 51, 0, 0.16);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: 560px;
  padding: 54px 0 34px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--honey-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h1::after {
  display: block;
  width: min(42vw, 420px);
  height: 12px;
  margin-top: -8px;
  border-radius: 999px;
  background: var(--honey);
  content: "";
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  min-height: 410px;
  padding: 36px;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255, 253, 244, 0.78), rgba(255, 246, 209, 0.44));
  box-shadow: var(--shadow);
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 191, 19, 0.2);
  content: "";
}

.hero-panel::before {
  width: 240px;
  height: 240px;
  right: -70px;
  top: -48px;
}

.hero-panel::after {
  width: 160px;
  height: 160px;
  left: -36px;
  bottom: -42px;
}

.bee-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  height: 220px;
  place-items: center;
}

.bee-orbit::before {
  position: absolute;
  width: 230px;
  height: 128px;
  border: 3px dashed rgba(244, 191, 19, 0.55);
  border-radius: 50%;
  transform: rotate(-24deg);
  content: "";
}

.big-bee {
  position: relative;
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
  transform: rotate(-8deg);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stats-grid div {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
}

.stats-grid strong {
  display: block;
  color: var(--honey-dark);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.search-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
  padding: 13px 14px 13px 20px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 18px 54px rgba(69, 51, 0, 0.08);
}

.search-card input,
.search-card button {
  border: 0;
  font: inherit;
}

.search-card input {
  width: 100%;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.search-card button {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
}

.task-grid,
.feature-grid,
.service-grid,
.legal-grid,
.flow-grid {
  display: grid;
  gap: 22px;
}

.task-grid {
  grid-template-columns: repeat(3, 1fr);
}

.task-card,
.feature-card,
.service-card,
.legal-card,
.flow-grid > div {
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 52px rgba(67, 48, 0, 0.08);
}

.task-card {
  min-height: 270px;
  padding: 26px;
}

.task-card.highlighted {
  background: linear-gradient(145deg, rgba(255, 253, 244, 0.95), rgba(255, 242, 190, 0.8));
}

.task-topline,
.task-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.task-topline strong {
  color: var(--honey-dark);
  font-size: 34px;
}

.task-topline small {
  color: var(--muted);
  font-size: 12px;
}

.task-topline span {
  padding: 9px 14px;
  border-radius: 999px;
  color: #8f6c00;
  background: rgba(244, 191, 19, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.task-card h2 {
  margin: 20px 0 12px;
  font-size: 21px;
}

.task-card p,
.feature-card p,
.service-card p,
.legal-card p,
.flow-grid p,
.section-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.task-footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.task-footer a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--honey);
  font-weight: 900;
}

.feature-section,
.service-section,
.agreement-section,
.flow-section,
.site-footer {
  margin-top: 92px;
}

.feature-section,
.service-section,
.agreement-section {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 38px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.section-copy h2,
.flow-section h2,
.site-footer h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card,
.legal-card {
  padding: 26px;
}

.feature-card span,
.flow-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--honey);
  font-weight: 900;
}

.feature-card h3,
.service-card h3,
.legal-card h3,
.flow-grid h3 {
  margin: 26px 0 10px;
}

.service-card h3,
.legal-card h3 {
  margin-top: 0;
}

.flow-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flow-grid > div {
  padding: 28px;
}

.site-footer {
  display: grid;
  gap: 56px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  margin-bottom: 24px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 20%, rgba(244, 191, 19, 0.34), transparent 22rem),
    var(--ink);
  box-shadow: var(--shadow);
}

.footer-cta .eyebrow {
  color: var(--honey);
}

.footer-cta h2 {
  margin-bottom: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: flex-end;
  padding: 0 6px;
  color: #8b94a6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--honey-dark);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .feature-section,
  .service-section,
  .agreement-section {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

  .task-grid,
  .feature-grid,
  .service-grid,
  .legal-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    font-size: 14px;
  }

  .login-button {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-panel {
    min-height: auto;
    padding: 24px;
  }

  .stats-grid,
  .search-card {
    grid-template-columns: 1fr;
  }

  .search-card {
    border-radius: 28px;
  }

  .search-card button {
    width: 100%;
  }

  .site-footer {
    padding: 30px;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
    padding-inline: 0;
  }
}
