/* AeonHue LLC — company site. One stylesheet for every page. */
:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --card: #fbfaf6;
  --ink: #141414;
  --ink-2: #3a3a38;
  --muted: #6d6a62;
  --line: #d9d3c4;
  --vermilion: #e4572e;
  --saffron: #f2a516;
  --indigo: #27306b;
  --sky: #5d9ec4;
  --emerald: #0e9f6e;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: inherit;
}
::selection {
  background: var(--saffron);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}
img,
svg {
  max-width: 100%;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  font-family: var(--serif);
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------- the mark */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.mark svg {
  width: 28px;
  height: 28px;
  display: block;
}
.mark span b {
  font-weight: 700;
}
.mark span i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

/* ----------------------------------------------------------------- nav */
.nav {
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.nav ul {
  display: flex;
  gap: 26px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.nav ul a {
  text-decoration: none;
  color: var(--ink-2);
}
.nav ul a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  background: var(--indigo);
  border-color: var(--indigo);
}
.btn.line {
  background: transparent;
  color: var(--ink);
}
.btn.line:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hues {
  display: inline-flex;
  gap: 3px;
}
.hues i {
  width: 14px;
  height: 6px;
  border-radius: 2px;
  display: block;
}
.hero h1 {
  font-size: clamp(54px, 9.6vw, 132px);
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--indigo);
}
.hero .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: end;
}
.hero .lede {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-2);
  max-width: 520px;
}
.hero .cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ------------------------------------------------------------ sections */
section {
  padding: clamp(72px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.head h2 {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 16ch;
}

/* what we do — numbered list, not three identical cards */
.services {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}
.services ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.services li {
  display: grid;
  grid-template-columns: 64px 1fr 1.3fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.services li .n {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--muted);
}
.services li h3 {
  font-size: 32px;
}
.services li p {
  color: var(--ink-2);
}

/* products */
.products {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}
.product .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product .name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}
.product .name svg {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.status.live {
  color: var(--emerald);
}
.status.soon {
  color: var(--muted);
}
.product h3 {
  font-size: 38px;
}
.product p {
  color: var(--ink-2);
  max-width: 46ch;
}
.product .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product .tags span {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.product .go {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.product .go:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product.next {
  background: transparent;
  border-style: dashed;
}

/* principles */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.principles div {
  padding: 28px 24px 0 0;
}
.principles div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.principles i {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.principles h3 {
  font-size: 26px;
  margin-bottom: 10px;
}
.principles p {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* company facts — what a verification reviewer looks for */
.company {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
}
.company .label {
  color: #a9a598;
}
.company h2 {
  font-size: clamp(38px, 5vw, 64px);
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin: 0;
  border-top: 1px solid #3b3a36;
}
.facts div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #3b3a36;
}
.facts dt {
  color: #a9a598;
  font-size: 14px;
  font-weight: 500;
}
.facts dd {
  margin: 0;
  font-size: 16px;
}
.facts a {
  color: var(--paper);
  text-underline-offset: 3px;
}
.company .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.company .btn:hover {
  background: var(--saffron);
  border-color: var(--saffron);
}

/* --------------------------------------------------------------- footer */
footer {
  padding: 40px 0;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer a {
  color: var(--ink-2);
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------- legal pages */
.legal {
  max-width: 760px;
  padding: 64px 24px 96px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(44px, 6vw, 72px);
  margin-bottom: 10px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 30px;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin: 6px 0;
}
.legal .box {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .nav ul {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .hero .row,
  .head,
  .services,
  .products,
  .facts {
    grid-template-columns: 1fr;
  }
  .head,
  .services {
    gap: 16px;
  }
  .hero .cta {
    justify-content: flex-start;
  }
  .services li {
    grid-template-columns: 48px 1fr;
  }
  .services li p {
    grid-column: 2;
  }
  .principles {
    grid-template-columns: 1fr 1fr;
  }
  .principles div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .principles div,
  .principles div + div {
    padding: 24px 0 0;
    border-left: 0;
  }
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .product {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* colour chips (classes, not inline styles — the CSP forbids inline styles) */
.h-vermilion { background: var(--vermilion); }
.h-saffron { background: var(--saffron); }
.h-emerald { background: var(--emerald); }
.h-indigo { background: var(--indigo); }
.after-facts { margin-top: 40px; }
.push { margin-left: auto; }
