:root {
  --ink: #13251f;
  --muted: #5e6d66;
  --paper: #f4f2ea;
  --surface: #fffef9;
  --line: #ced6cf;
  --green: #1e6b4f;
  --green-dark: #124433;
  --mint: #cbe9d8;
  --lime: #d9ef70;
  --yellow: #f4c95d;
  --red: #ad4539;
  --shadow: 8px 8px 0 #173d31;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body, input, textarea, select, button { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 74px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 234, .96);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.2rem; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 8px; background: var(--surface); }
.brand-mark i { display: block; width: 4px; border-radius: 5px 5px 0 0; background: var(--green); }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 14px; }
.brand-mark i:nth-child(3) { height: 20px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); flex-wrap: wrap; }
.site-nav a, .link-button { border: 0; padding: 4px 0; background: none; color: var(--ink); font-weight: 750; text-decoration: none; cursor: pointer; border-bottom: 1px solid transparent; }
.site-nav a:hover, .link-button:hover { border-bottom-color: currentColor; }
.inline-form { display: inline; margin: 0; }

main { min-height: calc(100vh - 190px); }
.eyebrow { display: block; margin-bottom: 16px; color: var(--green); font-size: .75rem; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 999px; padding: 12px 24px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
.button-dark { color: #fff; background: var(--ink); }
.button-accent { color: var(--ink); background: var(--lime); }
.button-light { color: var(--ink); background: var(--surface); }

.home-hero {
  padding: clamp(60px, 9vw, 130px) clamp(20px, 8vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  background: var(--mint);
  border-bottom: 1px solid var(--ink);
}
.hero-copy { max-width: 870px; }
.hero-copy h1, .offer-hero h1, .simple-page h1 { max-width: 1000px; margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
.hero-copy > p { max-width: 760px; margin: 0 0 34px; color: #29483d; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; }
.hero-copy h1 { font-size: clamp(3rem, 6.2vw, 6.5rem); }
.hero-copy > p.hero-terms { margin-top: -16px; margin-bottom: 30px; font-size: 1rem; font-weight: 750; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-action { font-weight: 850; text-underline-offset: 5px; }
.hero-principle { padding: 30px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-principle > span { display: block; margin-bottom: 22px; color: var(--green); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.hero-principle strong { display: block; font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; font-weight: 500; }
.hero-principle p { margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.principle-list { margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); line-height: 1.55; }
.principle-list li { position: relative; padding: 9px 0 9px 24px; border-top: 1px solid var(--line); }
.principle-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.directions, .how-section { padding: clamp(70px, 9vw, 120px) clamp(20px, 8vw, 130px); }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading h2, .contact-banner h2, .request-copy h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 4.8rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.section-heading p, .contact-banner p, .request-copy p { max-width: 700px; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.catalog-search { max-width: 820px; margin: -12px 0 42px; }
.catalog-search label { display: block; margin-bottom: 10px; font-size: .8rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.catalog-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); overflow: hidden; }
.catalog-search input { width: 100%; min-height: 58px; padding: 14px 22px; border: 0; outline: 0; background: transparent; }
.catalog-search input:focus { box-shadow: inset 0 0 0 3px var(--mint); }
.catalog-search span { padding: 0 22px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.catalog-empty { max-width: 760px; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); line-height: 1.6; }
.offer-card[hidden], .catalog-empty[hidden] { display: none; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer-card { min-height: 410px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(19, 37, 31, .12); }
.card-topline { display: flex; justify-content: space-between; color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card-topline b { color: var(--line); font-size: 1.6rem; }
.offer-card h3 { margin: 46px 0 18px; font-family: Georgia, serif; font-size: 2rem; line-height: 1.08; font-weight: 500; }
.offer-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.card-footer { margin-top: auto; padding-top: 34px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.card-footer small { max-width: 66%; color: var(--muted); line-height: 1.4; }
.card-footer a { font-weight: 850; text-underline-offset: 4px; }

.how-section { color: #fff; background: var(--green-dark); }
.how-section .eyebrow { color: var(--lime); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.25); }
.steps li { min-height: 210px; padding: 34px 32px; display: grid; grid-template-columns: 48px 1fr; gap: 20px; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.steps li:nth-child(even) { border-right: 0; }
.steps > li > span { color: var(--lime); font-weight: 900; }
.steps h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.steps p { margin: 0; color: #bfd0c9; line-height: 1.6; }
.contact-banner { padding: clamp(70px, 9vw, 120px) clamp(20px, 12vw, 180px); text-align: center; background: var(--yellow); }
.contact-banner .eyebrow { color: var(--ink); }
.contact-banner p { margin: 0 auto 30px; color: #3c463f; }
.tevio-section { padding: clamp(60px, 8vw, 100px) clamp(20px, 8vw, 130px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; color: #fff; background: var(--green-dark); }
.tevio-section > div { max-width: 860px; }
.tevio-section .eyebrow { color: var(--lime); }
.tevio-section h2 { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 4.4rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.tevio-section p { margin: 0; color: #bfd0c9; font-size: 1.1rem; line-height: 1.7; }

.offer-page { background: var(--paper); }
.offer-hero { padding: clamp(56px, 8vw, 110px) clamp(20px, 8vw, 130px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .55fr); align-items: end; gap: clamp(40px, 8vw, 110px); background: var(--mint); border-bottom: 1px solid var(--ink); }
.offer-hero .lead { max-width: 770px; margin: 0 0 32px; color: #29483d; font-size: 1.25rem; line-height: 1.6; }
.back-link { display: inline-block; margin-bottom: 34px; font-weight: 800; text-underline-offset: 4px; }
.offer-price { padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.offer-price span, .offer-details span { display: block; margin-bottom: 12px; color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.offer-price strong { display: block; font-family: Georgia, serif; font-size: 2rem; line-height: 1.2; font-weight: 500; }
.offer-price small { display: block; margin-top: 20px; color: var(--muted); line-height: 1.5; }
.offer-details { padding: clamp(60px, 8vw, 110px) clamp(20px, 8vw, 130px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.offer-details > div { min-height: 240px; padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.offer-details > div.wide { grid-column: 1 / -1; min-height: auto; }
.offer-details p { margin: 0; font-size: 1.12rem; line-height: 1.7; }
.request-section { padding: clamp(60px, 8vw, 110px) clamp(20px, 8vw, 130px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 110px); color: #fff; background: var(--green-dark); }
.request-copy .eyebrow { color: var(--lime); }
.request-copy p { color: #bfd0c9; }
.request-form, .admin-form, .login-card { display: grid; gap: 20px; }
label { display: grid; gap: 8px; font-weight: 800; }
label > span { color: var(--muted); font-size: .82rem; font-weight: 500; }
input, textarea, select { width: 100%; border: 1px solid #9caaa3; border-radius: 10px; padding: 14px 15px; color: var(--ink); background: #fff; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,107,79,.18); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-note { margin: 0; color: #aebfb8; font-size: .85rem; line-height: 1.5; }
.consent-label { align-items: flex-start; gap: 10px; color: #d9e3df; font-size: .9rem; line-height: 1.45; }
.consent-label span { color: inherit; font-size: inherit; }
.consent-label a { text-underline-offset: 3px; }
.trap-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.simple-page { max-width: 1050px; margin: 0 auto; padding: clamp(70px, 10vw, 140px) 24px; }
.simple-page > p { max-width: 700px; margin: 0 0 32px; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.legal-page h2 { max-width: 760px; margin: 52px 0 14px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 42px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.legal-grid > div { min-height: 120px; padding: 24px; display: grid; align-content: center; gap: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.legal-grid span { color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.legal-grid strong { font-size: 1.08rem; }
.site-footer { padding: 36px clamp(20px, 8vw, 130px); display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); line-height: 1.5; }
.footer-note { max-width: 480px; text-align: right; }
.footer-note a, .footer-note span { margin-left: 18px; }
.footer-note a { font-weight: 750; text-underline-offset: 3px; }

.flash { position: fixed; top: 88px; right: 20px; z-index: 40; max-width: 480px; padding: 15px 20px; border: 1px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); background: var(--surface); font-weight: 750; }
.flash-success { background: var(--mint); }
.flash-error { background: #ffd9d5; }
.admin-body { background: #eef0eb; }
.admin-shell { width: min(1500px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 90px; }
.admin-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.admin-heading h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.04em; }
.admin-heading p { max-width: 760px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.stat-grid { margin-bottom: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-grid > div, .admin-panel, .recommendation { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat-grid span, .stat-grid small { display: block; color: var(--muted); }
.stat-grid strong { display: block; margin: 10px 0 2px; font-family: Georgia, serif; font-size: 2.5rem; font-weight: 500; }
.admin-panel { margin-bottom: 24px; }
.admin-panel h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 500; }
.panel-title { display: flex; align-items: center; justify-content: space-between; }
.panel-title a { font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
td { line-height: 1.5; }
td a { font-weight: 750; text-underline-offset: 3px; }
td small { color: var(--muted); }
.status-chip { display: inline-block; border: 1px solid #9eb5aa; border-radius: 999px; padding: 4px 9px; color: var(--green-dark); background: #eef8f1; font-size: .76rem; font-weight: 850; white-space: nowrap; }
.admin-form { max-width: 1000px; }
.admin-actions { margin: 24px 0; display: flex; gap: 14px; flex-wrap: wrap; }
.version-list { list-style: none; padding: 0; margin: 0; }
.version-list li { padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.version-list span, .version-list code { color: var(--muted); }
.login-page { min-height: 75vh; display: grid; place-items: center; padding: 40px 20px; background: var(--mint); }
.login-card { width: min(100%, 460px); padding: 36px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.login-card h1 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 2.7rem; font-weight: 500; }
.lead-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-list { display: grid; grid-template-columns: 140px 1fr; gap: 16px 24px; margin: 0; }
.detail-list dt { color: var(--muted); font-weight: 800; }
.detail-list dd { margin: 0; line-height: 1.65; }
.check-label { display: flex; align-items: center; grid-template-columns: auto 1fr; }
.check-label input { width: auto; }
.check-label.consent-label { align-items: flex-start; }
.muted-row { opacity: .55; }
.report-table { font-size: .87rem; }
.report-table em { color: var(--red); font-size: .75rem; font-style: normal; font-weight: 800; }
.compact-form { max-width: none; grid-template-columns: repeat(3, minmax(160px, 1fr)); align-items: end; }
.recommendation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.recommendation h2 { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.recommendation h3 { margin: 22px 0 6px; color: var(--green); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.recommendation p { margin: 0; line-height: 1.6; }
.recommendation small { display: block; margin-top: 24px; color: var(--muted); }
.empty-state { color: var(--muted); }

@media (max-width: 1050px) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero, .offer-hero, .request-section, .tevio-section { grid-template-columns: 1fr; }
  .hero-principle, .offer-price { max-width: 580px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-form { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { position: static; align-items: flex-start; padding: 14px 18px; }
  .site-nav { justify-content: flex-end; gap: 10px 16px; font-size: .86rem; }
  .public-body .site-nav a:nth-child(2) { display: none; }
  .home-hero { padding-top: 64px; }
  .hero-copy h1, .offer-hero h1, .simple-page h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .offer-grid, .steps, .offer-details, .form-grid, .lead-layout, .recommendation-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1, .offer-hero h1, .simple-page h1, .offer-card h3 { overflow-wrap: anywhere; }
  .steps li, .steps li:nth-child(even) { border-right: 0; }
  .offer-details > div.wide { grid-column: auto; }
  .legal-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 350px; }
  .site-footer { flex-direction: column; }
  .footer-note { text-align: left; }
  .footer-note a, .footer-note span { display: block; margin: 8px 0 0; }
  .admin-shell { width: min(100% - 24px, 1500px); padding-top: 32px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .compact-form { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; gap: 5px; }
  .detail-list dd { margin-bottom: 14px; }
  .flash { left: 12px; right: 12px; top: 12px; }
}

@media (max-width: 480px) {
  .brand > span:last-child { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .catalog-search > div { grid-template-columns: 1fr; border-radius: var(--radius); }
  .catalog-search span { padding: 0 22px 14px; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .card-footer small { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.footer-products { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
.footer-products a { color: inherit; font-weight: 750; text-underline-offset: 3px; }
.footer-products a:hover { color: var(--green-dark); }
