:root {
  color-scheme: light;
  --ink: #171714;
  --muted: #66645d;
  --paper: #f7f4ec;
  --surface: #fffdf7;
  --line: #ded8c8;
  --gold: #c9a652;
  --gold-deep: #9a7627;
  --night: #171a1e;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.compact { border-bottom: 1px solid var(--line); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: .04em; }
.brand img { border-radius: 11px; box-shadow: 0 8px 20px rgba(20, 25, 30, .18); }
nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover, nav a:focus-visible, .footer-links a:hover { color: var(--gold-deep); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 84px 0 110px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}

.eyebrow { margin: 0 0 18px; color: var(--gold-deep); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: 1.08; letter-spacing: -.05em; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.primary-action, .secondary-action { min-height: 48px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.primary-action { color: #fff; background: var(--night); }
.secondary-action { border: 1px solid var(--line); background: rgba(255, 255, 255, .48); }
.release-note { margin: 20px 0 0; color: #8b887f; font-size: 13px; }

.product-preview {
  min-height: 470px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 34px;
  color: #fff;
  background: radial-gradient(circle at 80% 15%, rgba(201, 166, 82, .25), transparent 32%), linear-gradient(145deg, #252a31, #101216);
  box-shadow: 0 34px 80px rgba(24, 26, 29, .25);
  transform: rotate(1.2deg);
}
.preview-topline, .renewal-card, .calendar-row { display: flex; align-items: center; justify-content: space-between; }
.preview-topline { color: #b8bbc0; font-size: 13px; }
.preview-topline b { color: #dbc478; }
.amount { display: block; margin-top: 58px; font-size: clamp(46px, 6vw, 68px); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.amount-caption { display: block; margin-top: 7px; color: #989da5; font-size: 12px; }
.renewal-card { margin-top: 54px; padding: 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .06); }
.renewal-card > div:nth-child(2) { flex: 1; display: grid; gap: 5px; margin-left: 14px; }
.renewal-card span { color: #9da1a8; font-size: 12px; }
.neutral-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #171714; background: var(--gold); font-size: 22px; }
.calendar-row { margin-top: 36px; color: #858a91; font-size: 12px; }
.calendar-row span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.calendar-row .active { color: #171714; background: var(--gold); font-weight: 800; }

.features { padding: 110px max(20px, calc((100% - 1180px) / 2)); background: var(--surface); border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; }
h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.16; letter-spacing: -.04em; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 58px; }
.feature-grid article { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.feature-grid article > span { color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 56px 0 14px; font-size: 21px; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }

.about { padding: 110px max(20px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; border-top: 1px solid var(--line); }
.about h2 { max-width: 560px; font-size: clamp(32px, 4vw, 52px); }
.about-copy { align-self: end; }
.about-copy p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.about-copy > p > a { color: var(--gold-deep); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.about-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 14px; font-weight: 700; }
.about-links a { padding-bottom: 4px; border-bottom: 1px solid var(--gold); }

footer { padding: 54px max(20px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 24px; color: var(--muted); border-top: 1px solid var(--line); }
footer > div:first-child { display: grid; gap: 8px; }
footer strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: start; font-size: 14px; }
footer small { grid-column: 1 / -1; color: #8d8a82; }
.filing { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 14px; }
.filing a:hover, .filing a:focus-visible { text-decoration: underline; }

.content-page { width: min(920px, calc(100% - 40px)); min-height: 650px; margin: 0 auto; padding: 88px 0 110px; }
.content-page > h1 { font-size: clamp(46px, 7vw, 72px); }
.page-lead { max-width: 700px; margin: 24px 0 42px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.contact-card { padding: 30px; border-radius: 24px; color: #fff; background: var(--night); }
.contact-card span { display: block; margin-bottom: 8px; color: #a7abb1; font-size: 12px; }
.contact-card a { color: #e3c876; font-size: clamp(24px, 4vw, 38px); font-weight: 750; word-break: break-all; }
.contact-card p { margin: 18px 0 0; color: #b5b8bd; line-height: 1.7; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.content-grid section, .legal-page section { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.content-grid h2, .legal-page h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; }
.content-grid p, .legal-page p, .legal-page li { margin: 0; color: var(--muted); line-height: 1.85; }
.notice, .candidate-banner { margin-top: 30px; padding: 24px 28px; border-left: 4px solid var(--gold); border-radius: 4px 18px 18px 4px; background: #f0e7cf; }
.notice p, .candidate-banner p { margin: 8px 0 0; line-height: 1.75; }
.candidate-banner { margin: 34px 0; }
.legal-page section { margin-top: 16px; }
.legal-page ul { margin: 0; padding-left: 20px; }
.legal-page a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.not-found { width: min(760px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 { font-size: clamp(42px, 8vw, 72px); }
.not-found > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

@media (max-width: 820px) {
  .site-header { height: 70px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding: 58px 0 80px; }
  .product-preview { min-height: 420px; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 560px) {
  .site-header, .hero { width: min(100% - 28px, 1180px); }
  .site-header nav { gap: 14px; }
  h1 { font-size: 45px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .product-preview { min-height: 390px; padding: 25px; border-radius: 26px; }
  .amount { margin-top: 42px; }
  .renewal-card { margin-top: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .content-page { width: min(100% - 28px, 920px); padding-top: 58px; }
  .content-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
