:root {
  color-scheme: light;
  --avanoq-green: #4f6657;
  --avanoq-green-dark: #18231d;
  --paper: #f6f7f4;
  --surface: #fcfdf9;
  --ink: #18231d;
  --muted: #657166;
  --line: rgba(24, 35, 29, 0.14);
  --line-strong: rgba(24, 35, 29, 0.24);
  --error: #9c2f25;
  --success: #356947;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--avanoq-green) 0 56%, var(--paper) 56% 100%);
}

.brand-panel {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--avanoq-green);
  color: var(--paper);
  text-align: center;
}

.site-nav {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  left: clamp(18px, 4vw, 52px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 24px);
  max-width: min(620px, calc(100% - 420px));
}

.site-nav a {
  color: rgba(246, 247, 244, 0.78);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 560;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--paper);
}

.producer {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  right: clamp(18px, 4vw, 52px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(246, 247, 244, 0.88);
  font-size: clamp(0.74rem, 1vw, 0.9rem);
  font-weight: 650;
  text-decoration: none;
}

.producer img {
  display: block;
  width: clamp(34px, 4vw, 48px);
  height: clamp(34px, 4vw, 48px);
}

.brand-copy {
  width: min(820px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: rgba(246, 247, 244, 0.78);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

#page-title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
  font-weight: 350;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.brand-copy p:last-child {
  width: min(560px, 100%);
  margin: 1.2rem auto 0;
  color: rgba(246, 247, 244, 0.9);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.content-page {
  background: linear-gradient(to bottom, var(--avanoq-green) 0 38vh, var(--paper) 38vh 100%);
}

.content-hero {
  min-height: 38vh;
}

.content-hero #page-title {
  font-size: clamp(2rem, 4.25vw, 3.6rem);
}

.intro-panel {
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--paper);
}

.article-panel {
  align-items: flex-start;
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.examples-panel {
  align-items: flex-start;
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.article {
  width: min(880px, 100%);
  margin: 0 auto;
  color: var(--ink);
}

.article p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

.article p + p,
.article p + ul,
.article ul + p {
  margin-top: 1rem;
}

.article h2 {
  margin: clamp(2.2rem, 5vw, 3.2rem) 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: 0;
}

.article h3 {
  margin: 1.35rem 0 0.25rem;
  color: var(--avanoq-green-dark);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.35;
}

.article ul {
  padding-left: 1.2rem;
  color: var(--ink);
}

.article li + li {
  margin-top: 0.35rem;
}

.report-downloads {
  width: min(1040px, 100%);
  margin: clamp(2.4rem, 5vw, 3.5rem) auto 0;
}

.report-downloads h2 {
  text-align: center;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
  justify-content: center;
  margin-top: 1.4rem;
}

.report-card {
  display: grid;
  gap: 0.85rem;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.report-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(24, 35, 29, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.report-card span {
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.25;
}

.report-card:hover img {
  transform: translateY(-3px);
  border-color: rgba(79, 102, 87, 0.42);
  box-shadow: 0 22px 48px rgba(24, 35, 29, 0.13);
}

.report-card:hover span {
  color: var(--avanoq-green);
}

.pricing-panel {
  align-items: flex-start;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.pricing-card {
  width: min(560px, 100%);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(24, 35, 29, 0.08);
}

.pricing-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 560;
  line-height: 1.2;
}

.pricing-price {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.75rem;
}

.pricing-price strong {
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 650;
  line-height: 1.1;
}

.pricing-price span {
  color: var(--avanoq-green);
  font-size: 0.9rem;
  font-weight: 760;
}

.pricing-normal {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-card h3 {
  margin: 1.75rem 0 0.8rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.pricing-features {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.4;
}

.pricing-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--avanoq-green);
  content: "\2713";
  font-weight: 800;
}

.pricing-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--avanoq-green);
  color: var(--paper);
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
}

.pricing-button:hover {
  background: #405448;
}

.contact-panel {
  min-height: 40vh;
}

.contact-email {
  display: inline-block;
  color: var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 520;
  line-height: 1.35;
  text-decoration-color: rgba(79, 102, 87, 0.35);
  text-underline-offset: 0.28em;
}

.contact-email:hover {
  color: var(--avanoq-green);
  text-decoration-color: currentColor;
}

.order-box {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: start;
}

.steps {
  display: grid;
  gap: 0.7rem;
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.step span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
}

.step p {
  margin: 0;
}

.step.active,
.step.done {
  color: var(--ink);
}

.step.active span {
  border-color: var(--avanoq-green);
  background: var(--avanoq-green);
  color: var(--paper);
}

.step.done span {
  border-color: var(--line-strong);
  background: rgba(79, 102, 87, 0.12);
  color: var(--ink);
}

.panel {
  background: rgba(252, 253, 249, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.search-row,
.checkout-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

input::placeholder {
  color: rgba(101, 113, 102, 0.82);
}

input:focus {
  border-color: var(--avanoq-green);
  outline: 3px solid rgba(79, 102, 87, 0.16);
}

button {
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--avanoq-green);
  color: var(--paper);
  font-weight: 760;
  cursor: pointer;
}

button:hover {
  background: #405448;
}

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

.status {
  min-height: 24px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 650;
}

.status.error {
  color: var(--error);
}

.status.success {
  color: var(--success);
}

.result-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.result-item:hover {
  border-color: var(--avanoq-green);
  background: rgba(79, 102, 87, 0.07);
}

.result-item strong,
.result-item small {
  display: block;
}

.result-item small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.select-label {
  color: var(--avanoq-green);
  font-weight: 800;
  white-space: nowrap;
}

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

.selected-company {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(79, 102, 87, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.selected-company p,
.selected-company span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.selected-company strong {
  display: block;
  margin: 4px 0;
}

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

@media (max-width: 760px) {
  .page {
    background: linear-gradient(to bottom, var(--avanoq-green) 0 52%, var(--paper) 52% 100%);
  }

  .content-page {
    background: linear-gradient(to bottom, var(--avanoq-green) 0 34vh, var(--paper) 34vh 100%);
  }

  .brand-panel {
    min-height: 52vh;
    padding: 7rem 1.35rem 2.25rem;
  }

  .content-hero {
    min-height: 34vh;
  }

  .site-nav {
    top: 18px;
    left: 18px;
    right: 18px;
    justify-content: center;
    gap: 10px 16px;
    max-width: none;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .producer {
    top: 66px;
    left: 18px;
    right: 18px;
    justify-content: center;
  }

  #page-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
  }

  .intro-panel {
    min-height: 48vh;
    padding: 2rem 1.35rem;
  }

  .article-panel {
    padding-top: 2.4rem;
    padding-bottom: 3rem;
  }

  .examples-panel {
    padding-top: 2.4rem;
    padding-bottom: 3rem;
  }

  .report-grid {
    grid-template-columns: minmax(0, 280px);
  }

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
  }

  .step span {
    width: 28px;
    height: 28px;
  }

  .search-row,
  .checkout-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .producer span {
    max-width: 18ch;
    line-height: 1.2;
    text-align: right;
  }

  .brand-copy p:last-child {
    font-size: 1rem;
  }
}

.site-footer {
  padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.35rem, 5vw, 4rem);
  color: rgba(246, 247, 244, 0.82);
  background: var(--avanoq-green-dark);
  font-size: 0.9rem;
}

main.page {
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-company p { margin: 0; }
.footer-company a,
.footer-links a { color: inherit; text-underline-offset: 0.25em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 0.65rem; }
.footer-links a { white-space: nowrap; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { padding: 1.4rem clamp(1.35rem, 5vw, 4rem); background: var(--avanoq-green); }
.legal-header a { color: var(--paper); font-weight: 650; text-decoration: none; }
.legal-content { width: min(840px, calc(100% - 2.7rem)); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.legal-content h1 { margin: 0 0 0.35rem; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
.legal-content h2 { margin: 2.5rem 0 0.55rem; font-size: 1.2rem; }
.legal-content p { margin: 0 0 1rem; }
.legal-content .updated { margin-bottom: 2.5rem; color: var(--muted); }
.legal-content ul { padding-left: 1.3rem; }

@media (max-width: 680px) {
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
