:root {
  --wine-950: #3b0710;
  --wine-900: #5f0f1b;
  --wine-800: #7d1525;
  --wine-700: #9d1d32;
  --rose-50: #fff7f8;
  --rose-100: #fdebed;
  --ink: #24191b;
  --muted: #6d5b5f;
  --line: #eadcdf;
  --white: #ffffff;
  --success: #146c43;
  --shadow: 0 18px 50px rgba(82, 13, 27, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(157, 29, 50, 0.08), transparent 28rem),
    #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--wine-800);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--wine-950);
}

.site-header {
  color: var(--white);
  background: linear-gradient(135deg, var(--wine-950), var(--wine-700));
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(100% - 32px, 1040px);
  margin-inline: auto;
}

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

.brand {
  color: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand span {
  opacity: 0.75;
  font-weight: 600;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
}

.page-shell {
  padding-block: 60px 80px;
}

.hero {
  max-width: 760px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--wine-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 6vw, 3.45rem);
}

h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

p,
ul,
ol {
  margin-top: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.notice {
  margin: 26px 0;
  padding: 16px 18px;
  border: 1px solid #edc9cf;
  border-left: 4px solid var(--wine-700);
  border-radius: 10px;
  background: var(--rose-50);
}

.notice strong {
  color: var(--wine-900);
}

.policy {
  max-width: 800px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.policy h2:first-of-type {
  margin-top: 28px;
}

.policy li + li {
  margin-top: 7px;
}

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

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(82, 13, 27, 0.07);
}

.price-card.featured {
  border: 2px solid var(--wine-700);
}

.badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--wine-900);
  background: var(--rose-100);
  font-size: 0.76rem;
  font-weight: 800;
}

.price {
  margin: 6px 0 18px;
  color: var(--wine-900);
  font-size: 2.05rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.price small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}

.features {
  flex: 1;
  padding-left: 1.2rem;
}

.features li + li {
  margin-top: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid var(--wine-800);
  border-radius: 10px;
  color: #fff;
  background: var(--wine-800);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--wine-950);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button.secondary {
  color: var(--wine-900);
  background: #fff;
}

.button.secondary:hover {
  color: #fff;
  background: var(--wine-900);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 24px;
  align-items: start;
}

.form-card,
.side-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.side-card {
  box-shadow: 0 10px 32px rgba(82, 13, 27, 0.07);
}

.side-card h2,
.form-card h2 {
  margin-top: 0;
}

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

.field {
  margin-bottom: 17px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cab9bd;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.field input:focus,
.field select:focus {
  outline: 3px solid rgba(157, 29, 50, 0.16);
  border-color: var(--wine-700);
}

.field-help {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  margin: 7px 0 18px;
  font-size: 0.9rem;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--wine-800);
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 0.92rem;
}

.form-status.show {
  display: block;
}

.form-status.success {
  color: #0d5936;
  border: 1px solid #a9dbc2;
  background: #effaf4;
}

.form-status.error {
  color: #8a1428;
  border: 1px solid #efc2ca;
  background: #fff5f6;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.check-list {
  padding-left: 1.2rem;
}

.check-list li + li {
  margin-top: 8px;
}

.compare {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

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

.compare th {
  color: var(--wine-900);
  background: var(--rose-50);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fffafb;
}

.site-footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  font-size: 0.88rem;
}

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

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

@media (max-width: 720px) {
  .header-inner,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

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

  .page-shell {
    padding-block: 42px 64px;
  }

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

  .form-layout,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .compare-wrap {
    overflow-x: auto;
  }
}
.exam-table-wrap{overflow-x:auto;margin-top:14px}
.exam-table{width:100%;border-collapse:collapse;min-width:430px;background:#fff;color:#29211e}
.exam-table th,.exam-table td{border:1px solid #9b8f86;padding:9px 10px;text-align:center}
.exam-table th{background:#f7efe7;font-weight:800}
.exam-figure{margin-top:14px;padding:12px;border:1px solid #ded6cf;border-radius:14px;background:#fff;overflow:hidden}
.exam-figure svg{display:block;width:100%;height:auto;max-height:320px}
.exam-figure text{font:700 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#29211e}
.fig-line{stroke:#29211e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.fig-guide{stroke:#8d2f2f;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.fig-plot{stroke:#8d2f2f;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.fig-grid{stroke:#b8afa8;stroke-width:1.5;stroke-dasharray:5 5}
.fig-shape{fill:#fff7df;stroke:#29211e;stroke-width:4}
.fig-dimension{stroke:#8d2f2f;stroke-width:2.5}
.fig-arrow{fill:#8d2f2f}
.exam-figure .fig-area-label{font-size:19px;fill:#8d2f2f}
