/* Twelvia Lite — support site stylesheet */

:root {
  color-scheme: light dark;

  --brand: #0FB5BA;
  --brand-dark: #0A8A8E;
  --brand-soft: #E6F7F8;

  --bg: #FFFFFF;
  --bg-alt: #F6F8F9;
  --surface: #FFFFFF;
  --border: #E2E8EA;

  --text: #14212B;
  --text-muted: #5A6B76;

  --radius: 14px;
  --maxw: 760px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2DD4D9;
    --brand-dark: #6FE6EA;
    --brand-soft: #10292B;

    --bg: #0E1618;
    --bg-alt: #131F22;
    --surface: #162225;
    --border: #23353A;

    --text: #EAF2F3;
    --text-muted: #9BB0B7;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  flex: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-left: auto;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
}

/* ---------- Hero ---------- */

.hero {
  padding: 44px 0 8px;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 12px;
}

.lede {
  font-size: 17.5px;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Sections ---------- */

main { padding-bottom: 56px; }

section { margin-top: 40px; }

h2 {
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  scroll-margin-top: 20px;
}

h3 {
  font-size: 16.5px;
  margin: 24px 0 6px;
}

p { margin: 0 0 14px; }

a { color: var(--brand-dark); }

ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 8px; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card + .card { margin-top: 14px; }

.card h2, .card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.contact-card {
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card > :last-child { margin-bottom: 0; }

.email {
  font-size: clamp(18px, 4.6vw, 23px);
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.btn {
  display: inline-block;
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 15.5px;
  padding: 12px 22px;
  border-radius: 10px;
  margin-top: 6px;
}

.btn:hover { filter: brightness(1.08); }

/* ---------- FAQ ---------- */

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px 18px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  flex: none;
}

details[open] summary::after { content: "\2013"; }

details > :not(summary) { margin-bottom: 14px; }

/* ---------- Tables ---------- */

.table-scroll { overflow-x: auto; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  min-width: 420px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { font-weight: 650; }

/* ---------- Callout ---------- */

.note {
  border-left: 3px solid var(--brand);
  background: var(--bg-alt);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
}

.note > :last-child { margin-bottom: 0; }

.muted { color: var(--text-muted); }
.small { font-size: 14.5px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 14.5px;
  color: var(--text-muted);
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px;
}

.site-footer a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--brand-dark); }
.site-footer p { margin: 0 0 6px; }
