/* ============================================================================
   Inner Tempo — privacy and support pages
   Same night palette and type as index.html. The document bodies are kept
   verbatim from the previous site; this file only restyles them.
   ============================================================================ */

:root {
  --ink: #f4f1ec;
  --ink-soft: rgba(216, 228, 231, 0.86);
  --ink-mute: rgba(190, 207, 212, 0.7);
  --ink-faint: rgba(190, 207, 212, 0.52);
  --hair: rgba(214, 232, 236, 0.12);
  --coral: #f7907f;
  --ivory: #fbf3ea;
  --ivory-ink: #16222a;
  --teal-ink: #9fd8e2;
  --deep: #040e12;
  --night: #06161d;
  --gutter: clamp(20px, 5vw, 72px);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--serif);
  font-variation-settings: "opsz" 16;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

/* The hero plate, faded in behind the page title. */
.doc-sky {
  position: absolute; inset: 0 0 auto 0; height: 560px; z-index: -1;
  background: url("hero-plate-wide.webp") 50% 30% / cover no-repeat;
  opacity: 0.8;
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
          mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}

a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(247, 144, 127, 0.6); text-underline-offset: 3px; transition: text-decoration-color 200ms ease, color 200ms ease; }
a:hover { color: #fff; text-decoration-color: var(--coral); }
a:focus-visible { outline: 1.5px solid rgba(130, 214, 228, 0.9); outline-offset: 4px; border-radius: 4px; }

.wrap { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Header ---------- */

header.nav {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(4, 14, 18, 0.82), rgba(4, 14, 18, 0.5));
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--hair);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 23%; }
.brand span { font: 500 12px/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; color: rgba(240, 244, 245, 0.94); }
.back { font: 500 14px/1 var(--sans); letter-spacing: 0.02em; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: #fff; }

/* ---------- Document ---------- */

.doc { padding-block: clamp(72px, 11vw, 140px) clamp(48px, 7vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 11px/1.2 var(--sans); letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--coral); }
.doc h1 {
  margin: 22px 0 0;
  font-weight: 400; font-size: clamp(46px, 7vw, 76px);
  font-variation-settings: "opsz" 72;
  line-height: 1; letter-spacing: -0.03em;
}
.updated { margin: 18px 0 48px; font: 400 14px/1.4 var(--sans); color: var(--ink-faint); }
.doc .intro { margin: 22px 0 48px; max-width: 52ch; font-size: 20px; line-height: 1.6; color: var(--ink-soft); }

.summary {
  margin-bottom: 56px; padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--hair); border-radius: 22px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(58, 140, 158, 0.18), transparent 60%), rgba(255, 255, 255, 0.025);
}
.summary p { margin: 0; font-size: 18.5px; line-height: 1.65; color: var(--ink-soft); }

.doc h2 {
  margin: 56px 0 16px;
  font-weight: 400; font-size: clamp(26px, 3vw, 32px);
  font-variation-settings: "opsz" 36;
  line-height: 1.15; letter-spacing: -0.015em;
}
.doc p, .doc li { font-size: 18px; line-height: 1.72; color: var(--ink-soft); }
.doc p { margin: 0 0 18px; }
.doc ul { margin: 0 0 18px; padding-inline-start: 0; list-style: none; }
.doc li { position: relative; margin-bottom: 12px; padding-inline-start: 26px; }
.doc li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.doc strong { color: var(--ink); font-weight: 500; }

/* ---------- Support: contact card and FAQ ---------- */

.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 72px; padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--hair); border-radius: 26px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(58, 140, 158, 0.2), transparent 60%), rgba(255, 255, 255, 0.025);
}
.contact .ctxt h2 { margin: 0 0 10px; font-size: 30px; }
.contact .ctxt p { margin: 0; max-width: 40ch; font-size: 17px; }
.contact .reply { margin-top: 12px !important; font: 400 13.5px/1.4 var(--sans) !important; color: var(--ink-faint) !important; }
.contact .email-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ivory); color: var(--ivory-ink); text-decoration: none;
  font: 500 15.5px/1 var(--sans); white-space: nowrap;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}
.contact .email-btn:hover { color: var(--ivory-ink); transform: translateY(-1px); }

.doc h3 { margin: 0 0 22px; font-weight: 400; font-size: clamp(28px, 3.4vw, 36px); font-variation-settings: "opsz" 36; letter-spacing: -0.015em; }

details { border-top: 1px solid var(--hair); }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 20px; font-variation-settings: "opsz" 20; line-height: 1.35; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--coral), var(--coral)) 50% 50% / 100% 1.4px no-repeat,
    linear-gradient(var(--coral), var(--coral)) 50% 50% / 1.4px 100% no-repeat;
  transition: transform 300ms ease;
}
details[open] summary::after { transform: rotate(45deg); }
summary:focus-visible { outline: 1.5px solid rgba(130, 214, 228, 0.9); outline-offset: 4px; border-radius: 4px; }
details p { margin: 0; padding: 0 0 24px; max-width: 62ch; }

/* ---------- Footer ---------- */

footer { border-top: 1px solid var(--hair); padding-block: 36px 44px; background: #030c10; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font: 400 13.5px/1.5 var(--sans); color: var(--ink-faint); }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: #fff; }

@media (max-width: 560px) {
  .brand span { display: none; }
  .doc p, .doc li { font-size: 17px; }
  summary { font-size: 18px; }
}
