/* Moonshot — Privacy, Support and Press kit.
   Loads after base.css. These pages use a near-black accent rather than the
   home page's blue, as in the design. */

:root { --accent: #1d1d1f; }
:root[data-theme="dark"] { --accent: #f5f5f7; }

a:hover { color: var(--muted); }

/* ------------------------------------------------------------- page head */

.page-head { margin: 0 auto; padding: var(--gut) var(--gut) 0; }

.page-head__row { display: flex; align-items: center; gap: 10px; }

.back-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  color: var(--muted);
}
.back-link:hover { color: var(--text); }
.back-link svg { display: block; }

.page-title {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.032em;
  font-weight: 620;
  margin: 72px 0 0;
  max-width: 22ch;
}

.page-title--narrow { max-width: 18ch; }
.page-title--wide { max-width: 20ch; }

.page-updated { margin: 24px 0 0; font-size: 13px; color: var(--faint); }

.page-section { margin: 110px auto 0; padding: 0 var(--gut); }

/* --------------------------------------------------- two-column split */

.split-grid {
  margin: 64px auto 0;
  padding: 0 var(--gut) 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
  gap: 80px;
  align-items: start;
}

.split-grid--press { margin-top: 96px; padding-bottom: 0; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid .side-card { position: static; }
  .split-grid--privacy .side-card { order: -1; }
}

.side-card {
  position: sticky; top: 40px;
  background: var(--surface);
  border-radius: 18px;
  padding: 30px 30px 34px;
}

.side-card__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--faint);
}

.side-card__list { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.side-card__list--facts { gap: 16px; }

.side-card__foot {
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.55; color: var(--faint);
}

.short-item {
  display: grid; grid-template-columns: 18px 1fr;
  gap: 12px; align-items: start;
}

.short-item svg { display: block; margin-top: 3px; color: var(--text); }
.short-item div { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

.fact__k { font-size: 12px; color: var(--faint); }
.fact__v { font-size: 15px; line-height: 1.45; margin-top: 3px; }

/* ------------------------------------------------------------ prose blocks */

.prose-block { padding: 32px 0; border-top: 1px solid var(--line2); }

.prose-block h2 {
  font-size: 17px; font-weight: 600; letter-spacing: -.012em;
  margin: 0 0 10px;
  font-family: var(--font-text);
}

.prose-block p {
  margin: 0;
  font-size: 16px; line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.prose-block p + p { margin-top: 16px; }

.prose-block--flush { padding-bottom: 0; }

.service-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.service-list a {
  font-size: 15px; color: var(--muted);
  display: flex; gap: 10px;
}
.service-list a:hover { color: var(--text); }
.service-list strong { color: var(--text); font-weight: 600; min-width: 120px; }

.link-underline {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line);
}

.contact-line {
  padding: 32px 0 0;
  border-top: 1px solid var(--line2);
  font-size: 16px; line-height: 1.62; color: var(--muted);
}

/* --------------------------------------------------------- support cards */

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.support-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 26px 28px;
  display: block;
  text-align: left;
  border: none;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease;
}
.support-card:hover { background: var(--surface2); color: var(--text); }

.support-card__title { font-size: 16px; font-weight: 600; letter-spacing: -.012em; }
.support-card__body { font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: 6px; }

.support-hero {
  margin-top: 56px;
  background: var(--surface);
  padding: 2% 0;
  display: flex; justify-content: center; align-items: center;
}

.support-hero__figure { width: 62%; aspect-ratio: 7 / 5; position: relative; }

/* ------------------------------------------------------------------ folds */

.fold {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows .55s cubic-bezier(.32, .72, 0, 1),
              opacity .3s ease,
              margin-top .45s cubic-bezier(.32, .72, 0, 1);
}

.fold > div { overflow: hidden; }

.fold[data-open="1"] { grid-template-rows: 1fr; opacity: 1; margin-top: 20px; }
.fold--wide[data-open="1"] { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { .fold { transition: none; } }

/* ------------------------------------------------------------------ forms */

.form-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 44px 32px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.form-card--wide { border-radius: 18px; }

.form-head {
  display: flex; align-items: baseline; gap: 12px;
  width: 100%; max-width: 640px;
}

.form-head__title { font-size: 16px; font-weight: 600; letter-spacing: -.012em; }

.form-close {
  border: none; background: transparent;
  color: var(--faint); font: inherit; font-size: 13px;
  cursor: pointer; padding: 0;
}
.form-close:hover { color: var(--text); }

.form-intro {
  margin: 0; width: 100%; max-width: 640px;
  font-size: 14px; line-height: 1.55; color: var(--muted);
}

.field {
  width: 100%; max-width: 640px;
  font: inherit; font-size: 15px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  outline: none;
}
.field:focus { border-color: var(--text); }

textarea.field { line-height: 1.5; resize: vertical; }

.field-pair {
  width: 100%; max-width: 640px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.field-pair .field { max-width: none; }

@media (max-width: 560px) { .field-pair { grid-template-columns: 1fr; } }

.form-actions {
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 640px;
  flex-wrap: wrap;
}

.form-submit {
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--bg); background: var(--text);
  border: none; padding: 11px 20px;
  border-radius: 10px; cursor: pointer;
  transition: filter .2s ease;
}
.form-submit:hover { filter: brightness(1.2); }
.form-submit:disabled { opacity: .65; cursor: default; filter: none; }

.form-note { font-size: 13px; color: var(--muted); }
.form-note[data-state="error"] { color: #d1453b; }

.attach-note {
  width: 100%; max-width: 640px;
  display: flex; align-items: center; gap: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 14px 15px;
  font-size: 14px; color: var(--muted);
}
.attach-note strong { font-weight: 600; color: var(--text); }

/* --------------------------------------------------------- common fixes */

.fixes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 72px 96px;
  margin-top: 48px;
}

.fix__n {
  font-size: 13px; font-weight: 600;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line2);
}

.fix__q { font-size: 17px; font-weight: 600; letter-spacing: -.012em; }
.fix__a {
  font-size: 15px; color: var(--muted); line-height: 1.6;
  margin-top: 10px; max-width: 44ch; text-wrap: pretty;
}

/* --------------------------------------------------------------- press kit */

.press-actions { display: flex; align-items: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }

.copy-block { padding: 30px 0; border-top: 1px solid var(--line2); }

.copy-block__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.copy-block h3 {
  font-size: 16px; font-weight: 600; letter-spacing: -.012em;
  margin: 0;
  font-family: var(--font-text);
}

.copy-block__meta { font-size: 12px; color: var(--faint); }

.copy-block p {
  margin: 12px 0 0;
  font-size: 16px; line-height: 1.62; color: var(--muted);
  max-width: 62ch; text-wrap: pretty;
}

.name-rules {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; line-height: 1.55; color: var(--muted);
  max-width: 62ch;
}
.name-rules strong { color: var(--text); font-weight: 600; }

.mark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.mark-tile {
  background: var(--surface);
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
}

.mark-tile--reversed { background: var(--text); }
.mark-tile--palette { padding: 26px; }

.mark-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--text); display: block; }

.mark-lockup {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 600; letter-spacing: -.02em;
}
.mark-lockup span { width: 24px; height: 24px; border-radius: 8px; background: var(--text); display: block; }

.mark-lockup--reversed { color: var(--bg); }
.mark-lockup--reversed span { background: var(--bg); }

.palette { display: flex; gap: 10px; }
.palette span { width: 34px; height: 34px; border-radius: 11px; display: block; }

.mark-caption { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.mark-caption strong { color: var(--text); font-weight: 600; }

.press-hero {
  background: var(--surface);
  padding: 3% 0;
  display: flex; justify-content: center; align-items: center;
}

.press-hero__figure { width: 72%; aspect-ratio: 7 / 5; position: relative; }

.press-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.press-shot { background: var(--surface); aspect-ratio: 16 / 10; position: relative; }

.press-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
