/*
 * Vulken by AIx Solutions Group, Inc. — corporate site.
 *
 * A standalone static site. It borrows the Vulken palette and type so the two
 * sites read as one business, but it shares no code with the Vulken app and is
 * deployed on its own (see deploy.sh).
 */

:root {
  --paper: #FAF7F2;
  --paper-soft: #F2EDE3;
  --paper-elevated: #FFFFFF;
  --rule: #E1DBCD;
  --rule-soft: #ECE7DA;
  --ink: #1A1814;
  --ink-soft: #3A3730;
  --ink-muted: #6E6A60;
  --ink-faint: #A39E92;
  --accent: #B23C0C;
  --accent-hover: #8E2F08;
  --accent-tint: #F7E6D7;

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Capped on a phone so the email button always keeps its place. */
.brand { display: block; max-width: 58%; text-decoration: none; line-height: 1.05; }

.brand-mark {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* The registered name is part of the wordmark, not a footnote under it: same
   serif, near the same size, so it reads at a glance on every page. It wraps
   on a narrow phone rather than crowding the email button. */
.brand-entity {
  display: block;
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  /* Splits it evenly on a phone instead of orphaning "Inc." on its own line.
     Browsers without it just wrap normally. */
  text-wrap: balance;
}

.brand:hover .brand-mark,
.brand:hover .brand-entity { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 22px; }

.site-nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
}

.site-nav a:hover { color: var(--accent); }

/* The nav link rules above also match the button, and they are more specific
   than .btn, which would paint its label muted grey on a near-black pill and
   accent-on-accent when hovered. Put the button's own colors back. */
.site-nav a.btn,
.site-nav a.btn:hover { color: var(--paper); font-weight: 600; }

.nav-hide-sm { display: none; }

.btn {
  display: inline-block;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { background: var(--accent); }
.btn-lg { font-size: 15px; padding: 15px 30px; }

/* ---------- sections ---------- */

section { border-top: 1px solid var(--rule); padding: 88px 0; }
section:first-of-type { border-top: 0; }

.bg-soft { background: var(--paper-soft); }
.bg-paper { background: var(--paper); }

.eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}

h1 {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.accent-italic { font-style: italic; color: var(--accent); }
.italic { font-style: italic; }

.lede {
  margin: 30px 0 0;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.sub {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.prose p { margin: 0 0 20px; font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- hero facts strip ---------- */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-muted);
}

.facts .dot { color: var(--rule); }

/* ---------- contact block ---------- */

.contact-band {
  margin-top: 44px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-elevated);
  padding: 28px 30px;
}

.contact-band .label {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.contact-band .value {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.contact-band .value a { color: var(--accent); text-decoration: none; }
.contact-band .value a:hover { text-decoration: underline; }

.contact-grid { display: grid; gap: 24px; }

/* ---------- service index ---------- */

.index-list { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }

.index-row { display: flex; gap: 20px; padding: 30px 0; }

.numeral {
  flex: none;
  width: 38px;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  line-height: 1;
  color: var(--accent);
}

.index-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

.index-title { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--ink); }

.index-body { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper-elevated);
  padding: 4px 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  white-space: nowrap;
}

.chip::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }


/* ---------- card grid ---------- */

.cards {
  display: grid;
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--rule);
  overflow: hidden;
}

.card { background: var(--paper-elevated); padding: 30px; }
.card .row { display: flex; align-items: flex-start; gap: 12px; }
.card .tick { flex: none; margin-top: 2px; font-family: var(--serif); font-size: 18px; color: var(--accent); }
.card p { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

.card dt {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.card dd {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.card dd a { color: var(--accent); text-decoration: none; }
.card dd a:hover { text-decoration: underline; }

/* ---------- steps ---------- */

.steps { list-style: none; display: grid; gap: 38px; margin: 48px 0 0; padding: 0; }
.step .n { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--accent); }
.step h3 { margin-top: 10px; }
.step p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- comparison ---------- */

.table { margin-top: 48px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }

.table .tr { display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: center; padding: 16px 18px; gap: 12px; }

.table .th {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-soft);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.table .th .us { color: var(--accent); }
.table .tr:nth-child(odd of .body-row) { background: var(--paper-elevated); }
.table .body-row { background: var(--paper); }
.table .body-row:nth-of-type(even) { background: var(--paper-elevated); }
.table .c-label { font-size: 15px; color: var(--ink-soft); }
.table .c-them { text-align: center; font-size: 15px; color: var(--ink-muted); }
.table .c-us { text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- faq ---------- */

.faq { margin-top: 44px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 24px 0; }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; margin-top: 2px; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--accent); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { margin: 18px 0 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

/* ---------- cta ---------- */

.cta { text-align: center; }
.cta .wrap { max-width: 640px; }
.cta h2 { font-size: 38px; line-height: 1.1; }
.cta p { margin: 22px auto 0; max-width: 560px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.cta .actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta .email-line { margin-top: 22px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.cta .email-line a { color: var(--ink); text-decoration: none; }
.cta .email-line a:hover { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--rule); background: var(--paper); padding: 60px 0 40px; }
.footer-grid { display: grid; gap: 40px; }

.footer-brand .mark { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); display: block; }
.footer-brand .entity { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.footer-brand address { margin: 16px 0 0; font-style: normal; font-size: 14px; line-height: 1.7; color: var(--ink-muted); }
.footer-brand .email { display: inline-block; margin-top: 14px; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer-brand .email:hover { color: var(--accent); }

.footer-col .label {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.footer-col ul { list-style: none; margin: 16px 0 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }

.legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--rule-soft); font-size: 12px; line-height: 1.7; color: var(--ink-faint); }

/* ---------- legal documents ---------- */

.doc { padding: 64px 0 80px; }
.doc h1 { font-size: 34px; margin-top: 0; }
.doc .updated { margin: 10px 0 0; font-size: 14px; color: var(--ink-muted); }
.doc .doc-section { margin-top: 40px; }
.doc .doc-section h2 { font-size: 22px; }
.doc .doc-section p, .doc .doc-section li { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.doc .doc-section p { margin: 14px 0 0; }
.doc .doc-section ul { margin: 14px 0 0; padding-left: 22px; }
.doc .doc-section li { margin-bottom: 8px; }
.doc a { color: var(--accent); }
.back { display: inline-block; font-family: var(--sans); font-size: 13px; color: var(--ink-muted); text-decoration: none; }
.back:hover { color: var(--accent); }

/* ---------- responsive ---------- */

@media (min-width: 640px) {
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  .cta h2 { font-size: 48px; }
  .nav-hide-sm { display: inline; }
  .brand { max-width: none; }
  .brand-mark { font-size: 24px; }
  .brand-entity { font-size: 19px; }
  .facts { gap: 12px 28px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .index-row { gap: 32px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 62px; }
}
