/* Vitala Marketing - static site stylesheet. No external dependencies. */
:root {
  --bg: #f6f4ef;
  --bg-alt: #ece9e1;
  --paper: #fcfbf8;
  --ink: #1d2226;
  --muted: #565e64;
  --line: #d6d1c6;
  --accent: #1e5e5a;
  --accent-dark: #164643;
  --accent-tint: #e4ece9;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.lang { display: inline-flex; gap: .15rem; font-size: .85rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: 1.2rem; }
.lang a { padding: .15rem .35rem; border: 0; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: .8rem 1.5rem; font-weight: 600; font-size: .98rem; border: 1px solid var(--accent);
  border-radius: 2px; cursor: pointer; font-family: inherit; line-height: 1.3;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.nav .btn { padding: .5rem 1rem; font-size: .9rem; color: #fff; border-bottom: 1px solid var(--accent); }
.nav .btn:hover { border-bottom-color: var(--accent-dark); }

/* Hero */
.hero { padding: 5.5rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 4rem; align-items: start; }
.kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 1.25rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; margin: 1.6rem 0 2.2rem; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.facts { background: var(--paper); border: 1px solid var(--line); padding: 1.7rem 1.8rem; margin: 0; }
.facts h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.facts dl { margin: 0; }
.facts dt { font-weight: 600; font-size: .92rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.facts dt:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.facts dd { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* Sections */
.hero-note { margin: 1.6rem 0 0; font-size: .92rem; color: var(--muted); max-width: 40em; }
ul.plain { margin: 0; padding-left: 1.15rem; color: var(--muted); }
ul.plain li { margin: .6rem 0; }
ul.plain li::marker { color: var(--accent); }
section { padding: 5rem 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--muted); margin: 1rem 0 0; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 4rem; }
.service { border-top: 2px solid var(--ink); padding: 1.5rem 0 2.6rem; }
.service .num { font-family: var(--serif); color: var(--accent); font-size: 1rem; margin: 0 0 .6rem; }
.service h3 { font-size: 1.55rem; margin-bottom: .8rem; }
.service p { margin: 0 0 1rem; color: var(--muted); }
.service ul { margin: 0; padding-left: 1.15rem; }
.service li { margin: .35rem 0; }
.service li::marker { color: var(--accent); }

.formats { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1rem; }
.formats th, .formats td { text-align: left; vertical-align: top; padding: 1.1rem 1.2rem 1.1rem 0; border-top: 1px solid var(--line); }
.formats thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-top: 2px solid var(--ink); }
.formats tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; width: 24%; }
.formats td { color: var(--muted); }
.formats td:first-of-type { width: 38%; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 1.2rem; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; color: var(--accent); display: block; line-height: 1; margin-bottom: .8rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.two-col h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.two-col p { color: var(--muted); margin: 0 0 1rem; }
.glossary { margin: 0; }
.glossary dt { font-weight: 600; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.glossary dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.glossary dd { margin: .15rem 0 0; color: var(--muted); font-size: .98rem; }
.glossary code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--accent-tint); padding: .05rem .35rem; border-radius: 2px; }

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.audience > div { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.audience h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.audience p { margin: 0; color: var(--muted); font-size: .98rem; }

.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--sans); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 44rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; }
.contact-list { margin: 0; font-style: normal; }
.contact-list div { margin-bottom: 1.4rem; }
.contact-list dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list dd { margin: .2rem 0 0; }
form { background: var(--paper); border: 1px solid var(--line); padding: 2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #9aa1a6; border-radius: 2px; padding: .7rem .8rem;
}
.field select { height: 3.2rem; }
.field input[type=text], .field input[type=email] { height: 3.2rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-tint); border-color: var(--accent); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 1.4rem; }
.check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.notice { border-left: 3px solid var(--accent); background: var(--accent-tint); padding: 1rem 1.2rem; margin: 0 0 1.5rem; }

/* Legal pages */
.legal { padding: 4rem 0 5rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.6rem 0 .8rem; }
.legal h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; font-family: var(--sans); font-weight: 600; }
.legal p, .legal li { color: #2f363b; }
.legal address { font-style: normal; margin: 0 0 1rem; }
.legal .meta { color: var(--muted); font-size: .92rem; }
.legal .translation { background: var(--accent-tint); border-left: 3px solid var(--accent); padding: .9rem 1.1rem; margin: 0 0 2rem; font-size: .95rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .7rem 1rem .7rem 0; border-top: 1px solid var(--line); }
.legal-table th { width: 34%; font-weight: 600; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #d7dadc; padding: 3.5rem 0 2.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration-color: #7a8388; }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #9aa3a8; margin-bottom: 1rem; font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .4rem 0; }
.legal-note { border-top: 1px solid #3a4248; margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: #aab1b5; max-width: 62rem; }

@media (max-width: 960px) {
  .hero-grid, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: 1fr; gap: 1.8rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .header-row { flex-direction: column; align-items: flex-start; gap: .6rem; padding-block: .8rem; }
  .nav { flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .9rem; }
  .lang { border-left: 0; padding-left: 0; }
  .site-header { position: static; }
  .hero { padding: 3rem 0 3rem; }
  section { padding: 3.2rem 0; }
  .formats, .formats thead, .formats tbody, .formats tr, .formats th, .formats td { display: block; width: 100% !important; }
  .formats thead { display: none; }
  .formats tr { border-top: 1px solid var(--line); padding: 1rem 0; }
  .formats th, .formats td { border: 0; padding: .15rem 0; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  form { padding: 1.3rem; }
  .legal-table th, .legal-table td { display: block; width: 100%; padding: .2rem 0; border: 0; }
  .legal-table tr { display: block; border-top: 1px solid var(--line); padding: .7rem 0; }
}
@media print { .site-header, .site-footer .nav { display: none; } body { background: #fff; } }
