/* Ordelis — site styles */
:root {
  --ink: #0B3B3C;
  --teal: #0E5C55;
  --teal-600: #0A4B45;
  --teal-50: #E4F0EC;
  --marigold: #F2A541;
  --marigold-200: #FBE3BC;
  --marigold-50: #FDF4E4;
  --cream: #FBF8F3;
  --sand: #F3EDE2;
  --line: #E4DACA;
  --text: #1B2627;
  --muted: #55625F;
  --white: #FFFFFF;
  --danger: #A33A2B;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 59, 60, .06), 0 8px 24px rgba(11, 59, 60, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-600); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.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); }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.015em; line-height: 1; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; min-height: 44px; }
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: .98rem; }
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--teal-50); font-weight: 600; }
.site-nav .nav-cta { background: var(--teal); color: var(--white); margin-left: 6px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--teal-600); color: var(--white); }

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

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-600); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); }
.lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.hl { background: linear-gradient(transparent 62%, var(--marigold-200) 62%, var(--marigold-200) 92%, transparent 92%); padding: 0 .06em; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lede { margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.loop { width: 100%; max-width: 440px; margin-left: auto; }
.loop text { font-family: var(--sans); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .loop { margin: 0 auto; max-width: 360px; }
}

/* Page header (inner pages) */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--marigold-50), var(--cream)); }
.page-head p { margin-bottom: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 26px; height: 26px; }
.icon-warm { background: var(--marigold-50); color: #9A5B07; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; }
.step-num { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; background: var(--marigold); display: grid; place-items: center; margin-bottom: 16px; }

/* Timeline (how it works) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-num { position: absolute; left: 0; top: 0; margin: 0; }
.timeline h3 { margin-top: 6px; }
.timeline p { color: var(--muted); max-width: 64ch; }

/* Status chips */
.status-list { display: grid; gap: 14px; }
.status { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.status p { margin: 0; color: var(--muted); }
.chip { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .03em; padding: 5px 12px; border-radius: 999px; text-align: center; }
.chip-pending { background: var(--marigold-50); color: #8A5206; border: 1px solid var(--marigold-200); }
.chip-confirmed { background: var(--teal-50); color: var(--teal-600); border: 1px solid #C7E0D8; }
.chip-paid { background: var(--teal); color: var(--white); }
.chip-rejected { background: #F8E9E6; color: var(--danger); border: 1px solid #EDCFC9; }
@media (max-width: 560px) { .status { grid-template-columns: 1fr; gap: 8px; } .status .chip { justify-self: start; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; 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'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E5C55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checklist.cross li::before { background: #F8E9E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7l-7 7' fill='none' stroke='%23A33A2B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }

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

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Callouts */
.callout { border-radius: var(--radius); padding: 22px 24px; background: var(--marigold-50); border: 1px solid var(--marigold-200); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.callout-teal { background: var(--teal-50); border-color: #C7E0D8; }

/* CTA band */
.cta-band { background: var(--ink); color: #E8EFEC; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--cream); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #C9D8D3; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(242, 165, 65, .18); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Offers */
.offer-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn { font: inherit; font-size: .93rem; padding: 8px 16px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.offer-card { display: flex; flex-direction: column; gap: 10px; }
.offer-card .offer-cat { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.offer-card .offer-rate { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-weight: 600; }
.offer-card .offer-terms { font-size: .93rem; color: var(--muted); margin: 0; }
.offer-card .offer-meta { font-size: .82rem; color: var(--muted); margin-top: auto; }
.empty-state { text-align: center; padding: 48px 24px; background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-state .icon { margin: 0 auto 16px; }
.empty-state p { color: var(--muted); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-email { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 600; word-break: break-word; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1.5px solid #CFC4B1; border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 48px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 92, 85, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .88rem; min-height: 0; }
.field .error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.field .consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form-status { border-radius: 12px; padding: 16px 18px; background: var(--teal-50); border: 1px solid #C7E0D8; }
.form-status[hidden] { display: none; }
.form-status p { margin: 0 0 10px; }
.form-status .btn { min-height: 40px; padding: 8px 16px; font-size: .93rem; }

/* Prose / legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: .92rem; }
.toc p { font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--marigold); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; } }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.65rem); margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; font-family: var(--sans); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); color: var(--ink); }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.table-wrap table { margin: 0; }
.updated { font-size: .92rem; color: var(--muted); margin-top: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D8D3; margin-top: 72px; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #E8EFEC; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: var(--cream); }
.footer-brand p { margin-top: 14px; max-width: 38ch; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(232, 239, 236, .16); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #A9BDB7; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.no-footer-gap { margin-top: 0; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound .btn-row { justify-content: center; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 28px; } .center { text-align: center; }
.muted { color: var(--muted); }
.h3 { font-size: 1.25rem; }
.inline-icon { display: inline-block; vertical-align: -3px; }
.inline-icon svg { width: 16px; height: 16px; }
.center-row { justify-content: center; }
.cta-band a.link-light { color: var(--marigold); }
.cta-band a.link-light:hover { color: var(--cream); }
.notfound .eyebrow { justify-content: center; }
.notfound .lede { margin: 0 auto 28px; }
.section-head .eyebrow, .page-head .eyebrow { font-size: .8rem; color: var(--teal); }
@media (max-width: 560px) { .hero-visual { display: none; } }
address { font-style: normal; }
.footer-address { margin: 0 0 8px; max-width: 38ch; }
