/* Venox — site styles. Plain CSS, no build step. */

@font-face {
  font-family: "Euclid Circular B";
  src: url("/assets/fonts/euclid-circular-b-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular B";
  src: url("/assets/fonts/euclid-circular-b-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy-950: #16141f;
  --navy-900: #201d30;
  --navy-800: #2c2c4c;
  --navy-700: #3f3c6b;
  --ink: #1c1a2b;
  --ink-soft: #4a4860;
  --ink-mute: #6e6c82;
  --paper: #f6f6f8;
  --paper-2: #ececf1;
  --white: #ffffff;
  --line: #dcdbe4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --brass: #0f9b78;
  --brass-soft: #6efad4;
  --danger: #a33a2c;
  --ok: #2f6b4f;

  --serif: "Euclid Circular B", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: "Euclid Circular B", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.6em 0 0.4em;
}
p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.site-header {
  background: var(--navy-950);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
}
.brand-mark { width: 30px; height: 26px; }
.brand-word { font-size: 1.3rem; letter-spacing: 0.24em; font-weight: 600; }
.brand:hover { color: var(--white); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.93rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { margin-left: 4px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--navy-950); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--white);
  border-radius: var(--radius); padding: 7px 12px; font: inherit; font-size: 0.9rem; cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-950); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav .btn { margin: 10px 0 0; width: auto; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; font: inherit; font-size: 0.93rem; font-weight: 500;
  padding: 11px 22px; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--brass-soft); color: var(--navy-950); }
.btn-primary:hover { background: #a8fde6; color: var(--navy-950); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

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

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 18%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 40%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 62%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 54% 82%, rgba(255,255,255,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,0.3) 50%, transparent 51%),
    radial-gradient(ellipse 80% 60% at 80% 110%, rgba(110,250,212,0.10), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  padding: 96px 0;
  /* Fill the screen below the sticky header (73px). */
  min-height: calc(100vh - 73px);
  min-height: calc(100svh - 73px);
  display: flex; align-items: center;
}
.hero > .wrap { width: 100%; }
.hero h1 { color: var(--white); max-width: 15em; }
.hero .lead { color: rgba(255, 255, 255, 0.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.page-hero {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--white); padding: 76px 0 64px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero .lead { color: rgba(255, 255, 255, 0.76); }

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

.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, 0.82); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brass-soft); }
.section-dark .pillar { border-top-color: var(--brass-soft); }
.section-head { max-width: 44em; margin-bottom: 52px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px;
}
.card h3 { margin-bottom: 0.5em; }
.card p:last-child { margin-bottom: 0; }

.pillar { border-top: 1px solid var(--brass); padding-top: 22px; }
.pillar h3 { font-size: 1.15rem; }
.pillar p { color: var(--ink-soft); font-size: 0.97rem; }
.section-dark .pillar p { color: rgba(255, 255, 255, 0.72); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.facts { border-top: 1px solid var(--line); margin: 0; }
.facts div {
  display: grid; grid-template-columns: 14em 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--ink-mute); font-size: 0.92rem; }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 30px; }

/* ---------- Prose pages ---------- */

.prose { padding: 72px 0 96px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose .facts { margin: 1.2em 0 1.6em; }

.note {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brass);
  padding: 18px 22px; margin: 1.4em 0; border-radius: var(--radius); font-size: 0.97rem;
}
.note p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li {
  counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 1.4em !important;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brass);
  color: var(--brass); font-family: var(--serif); display: grid; place-items: center; font-size: 1rem;
}

.toc { font-size: 0.93rem; margin-bottom: 2.4em; }
.toc ol { columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 22px; }
.form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  padding: 28px; margin: 0; min-width: 0;
}
.form legend {
  font-family: var(--serif); font-size: 1.3rem; padding: 0 8px; margin-left: -8px;
}
.form .hint { color: var(--ink-mute); font-size: 0.9rem; margin: -4px 0 18px; }
.row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.row:last-child { margin-bottom: 0; }
.row > .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .row, .row-3 { grid-template-columns: 1fr; } }

.field label, .field .label {
  display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 6px;
}
.field .opt { color: var(--ink-mute); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
select, textarea {
  width: 100%; font: inherit; font-size: 0.97rem; color: var(--ink);
  background: var(--white); border: 1px solid #c4c3d0; border-radius: var(--radius);
  padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 2px;
}

.choice { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 0.97rem; }
.choice input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy-700); flex: none; }
.choice-group { display: grid; gap: 4px; }
.choice-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0;
}
.choice-card:has(input:checked) { border-color: var(--navy-700); background: #f1f0f7; }

.repeat-item {
  border: 1px dashed #c4c3d0; border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
  position: relative;
}
.repeat-item h4 { margin-top: 0; }
.repeat-remove {
  position: absolute; top: 14px; right: 14px; background: none; border: 0; color: var(--danger);
  font: inherit; font-size: 0.85rem; cursor: pointer; text-decoration: underline;
}
.btn-add {
  background: none; border: 1px solid var(--navy-700); color: var(--navy-700);
  font: inherit; font-size: 0.9rem; padding: 8px 16px; border-radius: var(--radius); cursor: pointer;
}
.btn-add:hover { background: var(--navy-700); color: var(--white); }

[hidden] { display: none !important; }

.form-status { padding: 18px 22px; border-radius: var(--radius); font-size: 0.97rem; }
.form-status.is-ok { background: #e8f2ec; color: var(--ok); border: 1px solid #b9d6c5; }
.form-status.is-error { background: #f8eae7; color: var(--danger); border: 1px solid #e3bcb4; }

.hp { position: absolute; left: -9999px; }

/* ---------- Risk notice & footer ---------- */

.risk {
  background: var(--paper-2); border-top: 1px solid var(--line);
  padding: 34px 0; font-size: 0.9rem; color: var(--ink-soft);
}
.risk strong { color: var(--ink); }
.risk p { margin: 0; max-width: 62em; }

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 {
  color: var(--white); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-disclosure {
  border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 28px;
  font-size: 0.84rem; line-height: 1.6; color: rgba(255, 255, 255, 0.56);
}
.footer-disclosure p { margin: 0 0 0.6em; max-width: 72em; }

/* Legal tables (PAIA manual) */
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0.6em 0 1.6em; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6em 0.75em; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
