/* Leonessa Desk - one stylesheet, system fonts, no external requests. */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1f1a17;
  --muted: #5e544d;
  --line: #e6ddd2;
  --brand: #8f2d1f;        /* brick red, "Leonessa" */
  --brand-ink: #ffffff;
  --brand-soft: #f6e7e2;
  --accent: #1f5f5b;       /* lake green */
  --accent-soft: #e2efed;
  --focus: #1a56db;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---- header ---- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(250, 247, 242, .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .top { background: rgba(250, 247, 242, .82); backdrop-filter: blur(6px); }
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.logo svg { width: 34px; height: 34px; flex: none; }
.lang { display: flex; gap: 4px; font-size: .9rem; }
.lang a, .lang span {
  padding: 4px 8px; border-radius: 8px; text-decoration: none; color: var(--muted);
}
.lang [aria-current] { background: var(--ink); color: #fff; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 999px;
  font-weight: 650; text-decoration: none; border: 2px solid transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #7a2618; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- hero ---- */
.hero { padding: 48px 0 40px; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 650; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 16px 0 16px; max-width: 18ch; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 0 24px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

/* chat mock (illustrative, clearly labelled) */
.chat {
  background: #e9e2d8; border-radius: 22px; padding: 16px; border: 1px solid var(--line);
  max-width: 420px; margin: 0 auto; width: 100%;
}
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.chat-head b { display: block; }
.chat-head small { color: var(--muted); }
.dot { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 14px; margin: 6px 0; font-size: .95rem; line-height: 1.45; }
.msg.in { background: #fff; border-top-left-radius: 4px; }
.msg.out { background: #d7f2c9; margin-left: auto; border-top-right-radius: 4px; }
.chat-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* ---- sections ---- */
section { padding: 48px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 12px; }
.section-lead { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }

.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
section.alt .card { background: var(--bg); }
.card h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 20px; }
.card li { margin: 4px 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icon svg { width: 24px; height: 24px; }
.icon.lake { background: var(--accent-soft); color: var(--accent); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
section.alt .steps li { background: var(--bg); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

.promise { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .promise { grid-template-columns: repeat(2, 1fr); } }
.promise li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.promise svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }

.prices { display: grid; gap: 16px; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
section.alt .price { background: var(--bg); }
.price.featured { border: 2px solid var(--brand); }
.price h3 { margin: 0 0 4px; font-size: 1.1rem; }
.price .amount { font-size: 2rem; font-weight: 750; margin: 6px 0 2px; }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price ul { padding-left: 20px; margin: 10px 0 0; color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); margin-top: 16px; max-width: 70ch; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin: 0 0 10px; }
section.alt details { background: var(--bg); }
summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style-position: outside; }
details p { margin: 0 0 14px; color: var(--muted); }

.contact { background: var(--ink); color: #fff; border-radius: 22px; padding: 32px 22px; }
.contact h2 { color: #fff; }
.contact p { color: #e8e1da; max-width: 60ch; }
.contact .btn-primary { background: #fff; color: var(--ink); }
.contact .btn-primary:hover { background: var(--brand-soft); }
.contact .btn-ghost { border-color: #fff; color: #fff; }
.contact .btn-ghost:hover { background: #fff; color: var(--ink); }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 24px 0 0; color: #e8e1da; }
.contact dt { font-weight: 650; color: #fff; }
.contact dd { margin: 0; }
.contact a { color: #fff; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* ---- legal page ---- */
.legal { max-width: 760px; padding-top: 32px; padding-bottom: 48px; }
.legal h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); max-width: none; }
.legal h2 { font-size: 1.25rem; margin-top: 32px; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
.legal .updated { color: var(--muted); }
.legal .box { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .top, .btns, .skip { display: none; }
  body { background: #fff; }
}
