:root {
  color-scheme: light;
  --ink: #171614;
  --text: #3f3d39;
  --muted: #6f6b64;
  --primary: #c96f52;
  --primary-dark: #a95239;
  --canvas: #faf8f3;
  --surface: #f2ece2;
  --card: #eee5d8;
  --line: #e2d9cc;
  --dark: #1e1c19;
  --success: #32795b;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(64, 48, 36, 0.11);
  font-family: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.75;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 217, 204, 0.82);
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  font-size: 19px;
  box-shadow: 0 9px 24px rgba(201, 111, 82, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 106px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -250px;
  border: 1px solid rgba(201, 111, 82, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(201, 111, 82, 0.035), 0 0 0 180px rgba(201, 111, 82, 0.02);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary-dark);
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.button-primary {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42a778;
  box-shadow: 0 0 0 4px rgba(66, 167, 120, 0.12);
}

.product-body {
  padding: 26px;
}

.field {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 12px;
}

.field-value {
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--canvas);
  font-family: system-ui, sans-serif;
  font-size: 14px;
}

.match-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  color: #684232;
  background: #f8e9e2;
  font-family: system-ui, sans-serif;
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--surface);
}

.section-dark {
  color: #d8d3cb;
  background: var(--dark);
}

.section-dark h2,
.section-dark h3 {
  color: #fffaf3;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid,
.step-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.step-card,
.policy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.72);
}

.feature-number,
.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 12px;
  color: var(--primary-dark);
  background: #f6dfd6;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.feature-card p,
.step-card p,
.policy-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-dark .step-card {
  border-color: #3b3833;
  background: #25221e;
}

.section-dark .step-card p {
  color: #aaa49b;
}

.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf9;
}

.plan strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.plan p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--ink);
  font-size: 36px;
  white-space: nowrap;
}

.price small {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 13px;
}

.policy-card a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 13px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

.legal-main {
  padding: 80px 0 100px;
}

.legal-header {
  max-width: 780px;
  margin-bottom: 50px;
}

.legal-header h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 62px);
}

.legal-meta {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 14px;
}

.legal-content {
  max-width: 820px;
}

.legal-content section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 25px;
  letter-spacing: -0.015em;
}

.legal-content ul {
  padding-left: 1.25em;
}

.legal-content li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  border: 1px solid #e9c8bb;
  border-radius: 12px;
  color: #684232;
  background: #f9eae4;
}

.contact-email {
  color: var(--primary-dark);
  font-family: system-ui, sans-serif;
  font-weight: 750;
}

@media (max-width: 820px) {
  .nav-links a:not(.nav-primary) {
    display: none;
  }

  .hero {
    padding: 72px 0;
  }

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

  .hero-grid {
    gap: 48px;
  }

  .feature-grid,
  .step-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav {
    min-height: 62px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .product-body,
  .feature-card,
  .step-card,
  .policy-card,
  .plan {
    padding: 22px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }
}

