:root {
  color-scheme: light dark;
  --page: #f2efeb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #151413;
  --muted: #665f58;
  --line: rgba(34, 30, 27, 0.13);
  --accent: #ff6a00;
  --accent-dark: #11100f;
  --accent-soft: rgba(255, 106, 0, 0.13);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0f0e0d;
    --surface: rgba(36, 33, 30, 0.74);
    --surface-strong: rgba(45, 41, 38, 0.9);
    --text: #f6f1eb;
    --muted: #bdb5ad;
    --line: rgba(255, 246, 235, 0.14);
    --accent-soft: rgba(255, 122, 26, 0.18);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 42px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.section-heading > p,
.notice > p,
.doc-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-copy > p:last-of-type {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 720;
}

.primary-link {
  color: #fff;
  background: var(--accent);
}

.secondary-link {
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.product-panel,
.section,
.doc-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(40, 32, 28, 0.13);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

.product-panel {
  padding: 16px;
}

.mock-toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.mock-toolbar span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.mock-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 106, 0, 0.48), transparent 24%),
    linear-gradient(135deg, #fff, #dad5cd 52%, #11100f);
  border-radius: 8px;
}

.mock-result {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.mock-result strong {
  font-size: 13px;
}

.mock-result p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.section {
  margin-top: 22px;
  padding: 28px;
}

.section-heading {
  margin-bottom: 20px;
}

h2,
h3 {
  margin: 0;
}

h2 {
  font-size: 28px;
}

.feature-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article,
.plan-grid article {
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p,
.plan-grid p,
dd {
  color: var(--muted);
  line-height: 1.65;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-grid article {
  position: relative;
}

.plan-grid strong {
  display: block;
  font-size: 28px;
}

.plan-grid span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
}

.featured {
  border-color: rgba(255, 106, 0, 0.4) !important;
}

.featured b {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--accent);
  font-size: 12px;
}

.notice {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.notice a {
  color: var(--accent);
  font-weight: 720;
}

dl {
  display: grid;
  gap: 14px;
}

dt {
  margin-bottom: 4px;
  font-weight: 730;
}

dd {
  margin: 0;
}

footer {
  color: var(--muted);
}

.doc-page {
  max-width: 860px;
  padding: 34px;
}

.doc-page h1 {
  margin: 0 0 10px;
  font-size: 38px;
}

.doc-page section {
  margin-top: 26px;
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .feature-grid,
  .plan-grid,
  .notice {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}
