/* jyn.gg — one stylesheet, served from this origin. Nothing is fetched from
   anywhere else: no font CDN, no analytics, no third-party script. */

:root {
  /* Dark only, by owner decision 2026-09-01: the ground is the navy behind
     the mark, and there is no light palette to fall back to. */
  color-scheme: dark;
  --ink: #f2f2f6;
  --ink-soft: #a8abbd;
  --paper: #111322;
  --paper-soft: #191b2e;
  --line: #272a40;
  --accent: #8a7cff;
  --accent-ink: #111322;
  --measure: 34rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.masthead {
  padding: 1.5rem 0;
}

/* The masthead is the domain as a wordmark, lowercase, with no mark beside it
   (owner decision 2026-09-01): the genie appears at hero size and in the tab
   icon, where it can be read. */
.wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

/* The mark is the traced genie from docs/companies/jyn/site/brand/, one SVG
   path with its cyan-to-violet gradient baked in; it is the same file the
   favicon uses. */
.hero-mark {
  display: block;
  height: 7rem;
  width: auto;
  margin-bottom: 1.5rem;
}

section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.hero {
  padding: 3.5rem 0 3rem;
  border-top: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.lede {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sub {
  color: var(--ink-soft);
}

ul,
ol {
  max-width: var(--measure);
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.steps li {
  counter-increment: step;
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
}

.cta {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  filter: brightness(1.08);
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.faq h3 {
  margin-top: 1.75rem;
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

footer p {
  margin-bottom: 0.5rem;
}

.links {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.links li {
  margin: 0;
}

.legal {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.policy {
  padding-bottom: 3rem;
  border-top: 0;
}

.policy p,
.policy li {
  max-width: 38rem;
}

.policy h2 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.policy .updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.policy th,
.policy td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

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

.scroll {
  overflow-x: auto;
}
