:root {
  --ink: #17201c;
  --muted: #5b6661;
  --line: #bcbbba;
  --paper: #f5f5f1;
  --panel: #ffffff;
  --mend-orange: #e29c5f;
  --mend-blue-gray: #b4c4ce;
  --mend-warm-gray: #cab09b;
  --mend-cool-gray: #bcbbba;
  --mend-ink: #172026;
  --gold: #e29c5f;
  --danger: #7a2f2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--mend-ink);
  background: var(--paper);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: #8e5c32;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 250, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.93rem;
}

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

.nav-links .button {
  color: #fff;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid #c98043;
  background: var(--mend-orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: #8e5c32;
}

.button.disabled {
  border-color: var(--line);
  background: #edf2ee;
  color: var(--muted);
  cursor: not-allowed;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 76px 0 56px;
}

.eyebrow {
  color: #8e5c32;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.hero-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(23, 32, 28, 0.08);
}

.price {
  font-size: 2.9rem;
  font-weight: 850;
  line-height: 1;
  margin: 12px 0 8px;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #fff7ee;
  padding: 14px 16px;
  color: #514229;
  border-radius: 4px;
}

.notice.risk {
  border-color: var(--danger);
  background: #fff4f4;
  color: #552525;
}

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

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

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 22px;
}

.card ul,
.content ul {
  margin: 0;
  padding-left: 20px;
}

.card li,
.content li {
  margin: 8px 0;
}

.band {
  background: linear-gradient(135deg, rgba(226, 156, 95, 0.18), rgba(180, 196, 206, 0.42));
  border: 1px solid var(--mend-cool-gray);
  border-radius: 8px;
  padding: 28px;
}

.content {
  max-width: 840px;
  padding: 56px 0;
}

.content h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.content h2 {
  margin-top: 34px;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
}

.table th,
.table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: rgba(180, 196, 206, 0.32);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 32px 0 48px;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .two-col,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
