:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --ink: #181b1f;
  --muted: #5a6572;
  --line: #d7dee5;
  --accent: #0f766e;
  --accent-dark: #0b514d;
  --blue: #2457a6;
  --gold: #b47714;
  --shadow: 0 20px 55px rgba(24, 27, 31, 0.09);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-width: 320px;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
a,
button,
.button {
  overflow-wrap: break-word;
}

.site-header,
.site-footer {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap,
.footer-wrap,
.hero,
.vetted-band,
.newsletter,
.catalog,
.product-hero,
.product-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

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

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-links a:hover,
.brand:hover {
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0 52px;
}

.eyebrow,
.card-eyebrow,
.product-meta,
.label {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.card-actions,
.product-actions,
.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.button,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 12px 17px;
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

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

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

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

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.32);
  outline-offset: 3px;
}

.button.is-disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.button.primary.is-disabled:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.workflow-panel,
.checkout-panel,
.newsletter-box,
.catalog-card,
.vetted-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workflow-panel {
  padding: 22px;
}

.workflow-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.workflow-title {
  font-weight: 900;
}

.workflow-status {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.workflow-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.step-dot {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-weight: 900;
}

.step-text strong {
  display: block;
}

.step-text span,
.step-time,
.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.vetted-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0 34px;
}

.vetted-item {
  padding: 22px;
  box-shadow: none;
}

.vetted-item h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.vetted-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.newsletter {
  padding: 28px 0 46px;
}

.newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: #fff;
}

.newsletter h2,
.catalog h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.newsletter p {
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form label {
  font-weight: 800;
}

.newsletter-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
}

.catalog {
  padding: 22px 0 74px;
}

.catalog-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.catalog-header p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.catalog-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 22px;
  box-shadow: none;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.catalog-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-card h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.price {
  color: var(--accent-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.catalog-card p {
  color: var(--muted);
}

.target {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}

.target strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-wrap {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 34px;
  align-items: end;
  padding: 62px 0 32px;
}

.product-hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 6vw, 5.1rem);
}

.product-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.price-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.price-tile strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.05;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding: 0 0 78px;
}

.product-copy,
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-copy {
  min-width: 0;
  padding: 36px;
}

.checkout-panel {
  position: sticky;
  top: 86px;
  padding: 22px;
  box-shadow: none;
}

.checkout-panel h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.checkout-panel .button {
  width: 100%;
  margin: 14px 0;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}

.check-list li::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 900;
}

.markdown {
  color: #24282e;
}

.markdown h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.12;
}

.markdown h2:first-child {
  margin-top: 0;
}

.markdown h3 {
  margin: 26px 0 10px;
}

.markdown p {
  color: #3f4852;
}

.markdown ol,
.markdown ul {
  padding-left: 1.25rem;
}

.markdown li {
  margin: 0.5rem 0;
}

.markdown strong {
  color: var(--ink);
}

.markdown code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12em 0.36em;
  background: #f1f5f7;
  font-size: 0.9em;
}

.markdown del {
  color: var(--muted);
}

.markdown section {
  scroll-margin-top: 92px;
}

.bottom-checkout {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.bottom-checkout p {
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .hero,
  .newsletter-box,
  .product-hero,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .vetted-band,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-panel {
    position: static;
    order: -1;
  }

  .product-layout {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .footer-wrap,
  .catalog-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    padding-top: 44px;
  }

  .product-hero {
    padding-top: 44px;
  }

  .workflow-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .vetted-band,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-box,
  .product-copy,
  .checkout-panel,
  .workflow-panel {
    padding: 20px;
  }

  .catalog-card {
    min-height: auto;
  }

  .workflow-list li {
    grid-template-columns: 30px 1fr;
  }

  .step-time {
    grid-column: 2;
  }

  .button,
  button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-wrap,
  .footer-wrap,
  .hero,
  .vetted-band,
  .newsletter,
  .catalog,
  .product-hero,
  .product-layout {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    flex: 0 0 auto;
  }

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

  .hero,
  .product-hero {
    padding-top: 34px;
  }

  .newsletter-box,
  .product-copy,
  .checkout-panel,
  .workflow-panel,
  .catalog-card,
  .vetted-item,
  .price-tile {
    padding: 18px;
  }

  .catalog {
    padding-bottom: 54px;
  }
}
