/* Halvoni product website — design 18 tokens.
   DRAFT site for internal review only. No analytics. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg:           #f5f5f2;
  --surface:      #ffffff;
  --surface2:     #eeeeeb;
  --text:         #18181a;
  --muted:        #585858;
  --subtle:       #8c8c8c;
  --accent:       #1d4b78;
  --accent-h:     #143659;
  --border:       #d2d2cc;
  --border-lt:    #e4e4de;
  --focus:        #1d4b78;
  --draft-bg:     #3a2a12;
  --draft-fg:     #f5e6c8;
  --font-serif:   Cambria, "Palatino Linotype", "Book Antiqua", "Liberation Serif", Georgia, serif;
  --font-sans:    Candara, "Segoe UI", Tahoma, Verdana, "Liberation Sans", sans-serif;
  --max-content:  680px;
  --max-site:     1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #161614;
    --surface:      #1f1f1d;
    --surface2:     #272724;
    --text:         #e4e4e0;
    --muted:        #a2a29e;
    --subtle:       #6a6a66;
    --accent:       #80b6d8;
    --accent-h:     #9ec8e8;
    --border:       #3a3a36;
    --border-lt:    #2e2e2a;
    --focus:        #80b6d8;
    --draft-bg:     #4a3518;
    --draft-fg:     #f5e6c8;
  }
}

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-h);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- DRAFT banner (every page) ---- */
.draft-banner {
  background: var(--draft-bg);
  color: var(--draft-fg);
  text-align: center;
  font: 600 13px/1.4 var(--font-sans);
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-bottom: 1px solid #5a4520;
}

/* ---- Nav ---- */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 0 24px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-brand {
  font: 700 20px/1 var(--font-serif);
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex: none;
}

.site-brand:hover { color: var(--accent); text-decoration: none; }

.lang-wrap {
  display: flex;
  gap: 1px;
  align-items: center;
}

.lang-btn {
  display: inline-block;
  font: 13px/1 var(--font-sans);
  color: var(--muted);
  padding: 5px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-decoration: none;
  min-height: 28px;
}

.lang-btn:hover { color: var(--text); text-decoration: none; }

.lang-btn[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

/* ---- Main ---- */
.site-main { flex: 1; }

.page-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 52px 24px 76px;
}

@media (max-width: 540px) {
  .site-nav-inner { padding: 0 16px; }
  .page-inner { padding: 32px 16px 56px; }
}

/* ---- Home hero ---- */
.hero {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.hero-name {
  font: 400 48px/1.1 var(--font-serif);
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.hero-tagline {
  font: 18px/1.5 var(--font-sans);
  color: var(--muted);
  margin: 0;
}

.not-approved {
  display: inline;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---- Body copy ---- */
.page-body p { margin: 0 0 20px; }

.page-body h2 {
  font: 600 20px/1.3 var(--font-serif);
  color: var(--text);
  margin: 40px 0 12px;
}

.page-body ol,
.page-body ul {
  margin: 0 0 20px;
  padding-left: 1.4em;
}

.page-body li { margin-bottom: 6px; }

.page-heading {
  font: 400 36px/1.2 var(--font-serif);
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.page-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}

.disclaimer-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.disclaimer-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.disclaimer-list strong {
  display: block;
  font: 600 15px/1.3 var(--font-serif);
  margin-bottom: 4px;
}

.disclaimer-list p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.platform-note {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
  margin-bottom: 0;
}

.cta-link {
  margin-top: 20px;
  font-size: 15px;
}

.cta-link a {
  font-weight: 600;
}

/* ---- Prices ---- */
.starter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  padding: 13px 16px;
  font-size: 15px;
  margin-bottom: 36px;
  color: var(--text);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 15px;
}

.price-table caption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.price-table thead th {
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: left;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
}

.price-table thead th.th-price { text-align: right; }

.price-table tbody tr { border-bottom: 1px solid var(--border-lt); }

.price-table tbody td {
  padding: 18px 0;
  vertical-align: middle;
}

.price-table tbody td.td-price { text-align: right; }

.pack-name {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

.pack-equiv {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.pack-price {
  font: 600 15px/1 var(--font-serif);
  color: var(--text);
  white-space: nowrap;
}

.prices-notes {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.prices-notes p { margin: 0 0 6px; }

/* ---- Legal / draft labels ---- */
.placeholder-label,
.draft-label {
  display: inline-block;
  font: 11px/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 8px;
  margin-bottom: 28px;
}

.to-confirm {
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: 2px;
  padding: 0 4px;
  font-style: italic;
  color: var(--muted);
}

.option-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 16px 18px;
  margin: 0 0 16px;
}

.option-box h3 {
  font: 600 15px/1.3 var(--font-serif);
  margin: 0 0 8px;
  color: var(--text);
}

.option-box p { margin: 0; font-size: 15px; }

.warning-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid #8a5a1a;
  border-radius: 3px;
  padding: 14px 16px;
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.warning-box strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}

.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--border-lt);
}

.data-table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Pay stub ---- */
.pay-stub {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px 18px;
  margin-top: 24px;
}

.pay-stub code {
  font-size: 13px;
  background: var(--surface2);
  padding: 1px 5px;
  border-radius: 2px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-sep {
  color: var(--subtle);
  user-select: none;
}

.footer-copy {
  font-size: 13px;
  color: var(--subtle);
  margin: 0;
}
