
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18212f;
  background: #f6f7f9;
  --orange: #ff6500;
  --orange-dark: #c94f00;
  --green: #167548;
  --border: #e4e7ec;
  --muted: #697386;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px max(22px, calc((100vw - 1240px) / 2));
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

.about-link {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: none;
}

main {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, .7fr);
  gap: 24px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid #ffd7bd;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 101, 0, .16), transparent 34%),
    linear-gradient(135deg, #fffaf6, #ffffff);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-card {
  display: grid;
  place-content: center;
  min-height: 210px;
  padding: 24px;
  border-radius: 20px;
  background: #18212f;
  color: white;
  text-align: center;
}

.hero-card span,
.hero-card small {
  color: #cbd5e1;
}

.hero-card strong {
  margin: 3px 0;
  font-size: 64px;
  line-height: 1;
}

.controls {
  display: grid;
  grid-template-columns: 1fr minmax(210px, 280px);
  gap: 14px;
  margin: 28px 0 20px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}

label {
  display: grid;
  gap: 7px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: white;
  color: #18212f;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(255, 101, 0, .14);
  border-color: var(--orange);
}

.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
}

.results-head h2,
.method h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.025em;
}

.results-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

button {
  border: 0;
  border-radius: 10px;
  padding: 11px 15px;
  cursor: pointer;
  background: #eef1f4;
  color: #18212f;
  font: inherit;
  font-weight: 800;
}

button:hover {
  background: #e4e8ed;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .04);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / .82;
  overflow: hidden;
  background: #f0f2f5;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-status {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(24, 33, 47, .86);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.product-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 46px;
  margin: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 17px;
  line-height: 1.35;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0;
}

.metric {
  padding: 10px 8px;
  border-radius: 10px;
  background: #f7f8fa;
  text-align: center;
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.metric strong {
  margin-top: 2px;
  font-size: 14px;
}

.price-block {
  margin-top: auto;
  padding-top: 4px;
}

.price-label {
  color: var(--muted);
  font-size: 12px;
}

.price {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.promo {
  margin-top: 3px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.product-cta {
  display: block;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--orange);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.product-cta:hover {
  background: var(--orange-dark);
}

.card-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.empty-state,
.error-state {
  grid-column: 1 / -1;
  padding: 48px 22px;
  border: 1px dashed #cfd5dd;
  border-radius: 16px;
  background: white;
  color: var(--muted);
  text-align: center;
}

.method {
  margin-top: 56px;
  padding: 32px;
  border-radius: 22px;
  background: #18212f;
  color: white;
}

.method .eyebrow {
  color: #ffb582;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 24px;
}

.method article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}

.method article strong {
  font-size: 17px;
}

.method article p {
  margin: 8px 0 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.disclosure {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid #cfe5d9;
  border-radius: 16px;
  background: #f3fbf6;
}

.disclosure p {
  margin: 7px 0 0;
  color: #50615a;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(22px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--border);
  background: white;
  color: var(--muted);
}

footer span:first-child {
  color: #18212f;
  font-weight: 900;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 150px;
  }

  .products-grid,
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1240px);
    padding-top: 18px;
  }

  .site-header {
    padding: 13px 14px;
  }

  .brand small,
  .about-link {
    display: none;
  }

  .hero {
    padding: 22px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .controls,
  .products-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .results-head {
    align-items: center;
  }

  .method {
    padding: 24px 20px;
  }

  footer {
    flex-direction: column;
    padding: 20px 14px;
  }
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
