/* Zorevo — site stylesheet */
:root {
  --ink: #10222b;
  --ink-2: #2a3b44;
  --muted: #53646d;
  --teal: #0b6e69;
  --teal-700: #08524e;
  --teal-50: #e8f3f2;
  --teal-100: #cfe7e5;
  --marigold: #f5a524;
  --marigold-600: #b86f00;
  --marigold-50: #fef5e4;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #e3e7e4;
  --danger: #b42318;
  --success: #067647;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 34, 43, .05), 0 8px 24px rgba(16, 34, 43, .06);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { background: var(--teal-50); color: var(--teal-700); }
.site-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-50); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a { background: var(--teal); color: #fff; padding: 9px 16px; }
.site-nav .nav-cta a:hover, .site-nav .nav-cta a[aria-current="page"] { background: var(--teal-700); color: #fff; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 8px 0 0; }
  .site-nav .nav-cta a { text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-700); }
.btn-light { background: #fff; color: var(--teal-700); }
.btn-light:hover { background: var(--marigold-50); color: var(--teal-700); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 10px; }
.lead { font-size: 1.125rem; color: var(--muted); }
@media (max-width: 640px) { .section { padding: 52px 0; } }

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--teal); }
.hero .lead { max-width: 540px; margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.hero-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 40px 0 52px; } .hero-art { max-width: 480px; margin: 0 auto; } }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--teal-50) 0%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
.page-hero .lead { max-width: 680px; margin: 0; }
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9aa7ad; }
.breadcrumb a { color: var(--muted); }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); margin-bottom: 16px; }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.warm { background: var(--marigold-50); color: var(--marigold-600); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps > li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Lifecycle */
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.lifecycle li { position: relative; padding: 0 16px 0 0; }
.lifecycle .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--teal); position: relative; z-index: 1; margin-bottom: 14px; }
.lifecycle li::after { content: ""; position: absolute; top: 7px; left: 18px; right: 0; height: 4px; background: var(--teal-100); }
.lifecycle li:last-child::after { display: none; }
.lifecycle li:last-child .dot { background: var(--marigold); border-color: var(--marigold); }
.lifecycle h3 { margin-bottom: 4px; }
.lifecycle p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 760px) {
  .lifecycle { grid-template-columns: 1fr; gap: 22px; }
  .lifecycle li { padding: 0 0 0 36px; }
  .lifecycle .dot { position: absolute; left: 0; top: 3px; }
  .lifecycle li::after { top: 21px; left: 7px; right: auto; width: 4px; height: calc(100% + 8px); }
}

/* Callout */
.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--marigold-50); border: 1px solid #f3d9a6; border-radius: var(--radius); padding: 22px 24px; }
.callout svg { width: 24px; height: 24px; flex: none; color: var(--marigold-600); margin-top: 2px; }
.callout h3 { margin-bottom: 6px; }
.callout p, .callout ul { color: var(--ink-2); margin-bottom: 0; }
.callout ul { margin-top: 6px; }
.callout.teal { background: var(--teal-50); border-color: var(--teal-100); }
.callout.teal svg { color: var(--teal); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b6e69' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E") center/20px no-repeat; }
.checklist.cross li::before { background: #fdecea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b42318' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%3E%3C/svg%3E") center/20px no-repeat; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f5f7f6; font-weight: 700; color: var(--ink); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq.center { margin: 0 auto; text-align: left; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--teal); color: #fff; border-radius: 20px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(245, 165, 36, .22); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #d7ecea; max-width: 560px; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-band { padding: 30px 24px; } }

/* Offers */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .925rem; cursor: pointer; font-family: inherit; min-height: 40px; }
.chip:hover { border-color: var(--teal); color: var(--teal-700); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.category-card { display: flex; flex-direction: column; }
.category-card[hidden] { display: none; }
.category-card .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-700); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.category-card dl { margin: 14px 0 0; display: grid; gap: 10px; font-size: .925rem; border-top: 1px dashed var(--line); padding-top: 14px; }
.category-card dt { font-weight: 700; color: var(--ink); }
.category-card dd { margin: 0; color: var(--muted); }
.offer-anatomy { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.offer-anatomy .card h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.offer-anatomy .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--marigold-50); color: var(--marigold-600); font-size: .85rem; font-weight: 800; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid #cdd5d2; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 110, 105, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .85rem; margin-top: 6px; min-height: 0; }
.field .error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .925rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #e7f6ee; color: var(--success); border: 1px solid #b7e2c9; }
.form-status.err { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon-badge { margin: 0; width: 42px; height: 42px; flex: none; }
.info-list .icon-badge svg { width: 20px; height: 20px; }
.info-list strong { display: block; }
.info-list span, .info-list a { color: var(--muted); word-break: break-word; }
.info-list a { color: var(--teal); }

/* Legal / prose */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: .9rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--teal); border-left-color: var(--teal); }
@media (max-width: 880px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; } }
.legal-layout > * { min-width: 0; }
.prose { max-width: 760px; }
.prose code { word-break: break-all; }
.prose h2 { font-size: 1.375rem; margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose .meta { font-size: .925rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--ink); color: #c5d0d4; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e3eaec; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h2 { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand:hover { color: #fff; text-decoration: none; }
.footer-disclosure { border-top: 1px solid #25404b; margin-top: 40px; padding-top: 22px; font-size: .85rem; color: #9fb0b6; display: grid; gap: 8px; }
.footer-disclosure p { margin: 0; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(16, 34, 43, .18); padding: 20px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; font-size: .925rem; color: var(--ink-2); }
.cookie-banner .btn { min-height: 42px; padding: 9px 16px; font-size: .925rem; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -0.04em; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.field label.check { display: flex; font-weight: 400; font-size: .925rem; margin-bottom: 0; }
