/* Yajour LLC — static pages (support, privacy, 404). Same palette and type as the main site. */

:root {
  --bg: #050505;
  --card: #0d0d0c;
  --ink: #e1e0cc;
  --ink-2: #b9b8a6;
  --muted: #8f8e80;
  --line: #2a2a26;
  --ember: #ff7a3d;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -5rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  top: 0.75rem;
}

/* ── Header ──────────────────────────────────────────────── */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  padding-block: 0.5rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand sup {
  font-size: 0.5em;
  color: var(--ember);
}

.pills {
  display: flex;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.pill:hover {
  border-color: var(--ink);
}

.pill:active {
  transform: scale(0.98);
}

.pill--solid {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.pill--solid:hover {
  border-color: var(--ember);
  background: var(--ember);
}

/* ── Page head ───────────────────────────────────────────── */

.head {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow b {
  margin-right: 0.75em;
  font-weight: 600;
  color: var(--ember);
}

.title {
  margin-top: 1.25rem;
  font-size: clamp(2.75rem, 9vw, 7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.lede {
  max-width: 44rem;
  margin-top: 1.75rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.head .pills {
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── Content ─────────────────────────────────────────────── */

.body {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4rem, 9vw, 7rem);
}

.panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--card);
}

.panel > h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.panel > h2 + p {
  margin-top: 1rem;
}

.panel h3 {
  margin-top: 2.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.panel p,
.panel li {
  max-width: 46rem;
  color: var(--ink-2);
}

.panel h3 + p,
.panel p + p,
.panel ul {
  margin-top: 0.6rem;
}

.panel li {
  position: relative;
  margin-top: 0.6rem;
  padding-left: 1.25rem;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ember);
}

.panel strong {
  color: var(--ink);
  font-weight: 600;
}

.panel a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.2em;
  transition: color 0.25s;
}

.panel a:hover {
  color: var(--ember);
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

.mail span {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  transition: transform 0.4s var(--ease);
}

.mail:hover span {
  transform: rotate(45deg);
}

/* FAQ: native disclosure, no script */

.faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.15rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 400;
  color: var(--ember);
  transition: transform 0.4s var(--ease), border-color 0.25s;
}

.faq summary:hover {
  color: var(--ember);
}

.faq summary:hover::after {
  border-color: var(--ember);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 1.25rem;
}

/* ── Footer ──────────────────────────────────────────────── */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.foot nav {
  display: flex;
  gap: 1.5rem;
}

.foot a {
  padding-block: 0.7rem;
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.center {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.75rem;
  min-height: 70vh;
}

@media (max-width: 560px) {
  .top .pills .pill:not(.pill--solid) {
    display: none;
  }

  .panel {
    border-radius: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
