/* Nakhre — company site.
 *
 * Shared by index.html, privacy.html and delete-account.html. Three static
 * files, no build step, no framework, no webfont CDN. The font choice is not
 * laziness: a privacy policy that phones a third-party font host on load is
 * arguing against itself, and Play reviewers read these pages in a browser with
 * no JS enabled surprisingly often.
 *
 * The palette is the app's own plum and rose (frontend/src/theme.css), but the
 * gradient the app leans on is deliberately absent. This site's job is trust,
 * not seduction — a deletion form that looks like a nightclub flyer undermines
 * the thing it exists to do. Rose appears as a hairline and nothing more.
 */

:root {
  --ink:    #0b0711;
  --plum:   #140d1c;
  --raise:  #1b1326;
  --veil:   rgba(255, 255, 255, .08);
  --hair:   rgba(255, 255, 255, .05);
  --chalk:  #f2ecf7;
  --ash:    #a99fc0;
  --dim:    #7d7391;
  --rose:   #ff3d9a;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --measure: 68ch;
  --gut: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 var(--gut); }

/* ── masthead ──────────────────────────────────────────────────────────── */
.top {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--hair);
}
.mark {
  font: 600 19px/1 var(--serif);
  letter-spacing: .04em; color: var(--chalk); text-decoration: none;
}
.mark span { color: var(--rose); }
.top nav { margin-left: auto; display: flex; gap: 22px; }
.top nav a {
  font-size: 14px; color: var(--ash); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.top nav a:hover, .top nav a[aria-current="page"] {
  color: var(--chalk); border-bottom-color: var(--rose);
}

/* Six links do not fit a phone, and wrapping them pushed the page sideways.
   Below 760px they fold behind a hamburger. A checkbox, not a script: these
   pages must work with JS off. The checkbox is the focusable control (Space
   toggles it); the label is only its picture. */
.menu-t, .burger { display: none; }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; }
  .menu-t { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
  .burger {
    display: flex; align-items: center; justify-content: center;
    margin-left: auto; width: 40px; height: 40px; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    content: ""; display: block; position: relative;
    width: 20px; height: 1.5px; background: var(--chalk);
  }
  .burger span::before { position: absolute; top: -6px; }
  .burger span::after  { position: absolute; top: 6px; }
  .menu-t:focus-visible + .burger { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 3px; }

  .top nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; margin: 0; }
  .menu-t:checked ~ nav { display: flex; }
  .top nav a { padding: 12px 0; border-bottom-color: var(--hair); }
}

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { padding: clamp(56px, 12vw, 110px) 0 0; }
.hero h1 {
  font: 400 clamp(44px, 9vw, 88px)/1.02 var(--serif);
  letter-spacing: -.02em; margin: 0 0 22px; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--ash); }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ash); max-width: 46ch; margin: 0; }

/* The thesis line. The single most useful thing this site can say about an AI
   companion app is that nobody on the other end is a person — for the reader
   and for the reviewer both. It gets its own rule and its own air. */
.thesis {
  margin: clamp(44px, 8vw, 76px) 0 0;
  padding: 26px 0 0; border-top: 1px solid var(--rose);
  font: 400 clamp(20px, 3.4vw, 27px)/1.35 var(--serif);
  max-width: 30ch;
}
.thesis small {
  display: block; margin-top: 14px;
  font: 400 14px/1.6 var(--sans); color: var(--dim); max-width: 52ch;
}

/* ── the one call to action ────────────────────────────────────────────── */
/* Rose stays a hairline here too. It is the only rose-bordered element on the
   page, which is all the prominence a single CTA needs — a filled button would
   be the nightclub flyer this site is written to avoid. */
.get { margin: clamp(38px, 6vw, 60px) 0 0; }
.get a {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--rose); border-radius: 2px;
  font: 600 14px/1 var(--sans); letter-spacing: .02em;
  color: var(--chalk); text-decoration: none;
}
.get a:hover { background: var(--raise); }
.get small {
  display: block; margin-top: 13px;
  font: 400 13px/1.6 var(--sans); color: var(--dim);
}

/* ── sections ──────────────────────────────────────────────────────────── */
section { padding: clamp(52px, 9vw, 88px) 0; border-top: 1px solid var(--hair); }
section:first-of-type { border-top: 0; }

.eyebrow {
  font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); margin: 0 0 20px;
}
h2 { font: 400 clamp(26px, 4vw, 34px)/1.2 var(--serif); margin: 0 0 18px; letter-spacing: -.01em; }
h3 { font: 600 15px/1.4 var(--sans); margin: 30px 0 8px; color: var(--chalk); }
p  { margin: 0 0 16px; max-width: var(--measure); color: var(--ash); }
p.tight { margin-bottom: 8px; }
strong { color: var(--chalk); font-weight: 600; }
a { color: var(--chalk); text-decoration-color: var(--rose); text-underline-offset: 3px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

ul { margin: 0 0 16px; padding-left: 20px; color: var(--ash); max-width: var(--measure); }
li { margin-bottom: 7px; }
li::marker { color: var(--dim); }

/* ── price ─────────────────────────────────────────────────────────────── */
.price { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 22px; }
.price div {
  flex: 1 1 190px; padding: 18px 20px;
  background: var(--plum); border: 1px solid var(--veil); border-radius: 10px;
}
.price b { display: block; font: 400 27px/1.1 var(--serif); margin-bottom: 5px; }
.price small { color: var(--dim); font-size: 13.5px; }

/* ── data table: the privacy page's spine ──────────────────────────────── */
.data { width: 100%; border-collapse: collapse; margin: 6px 0 24px; font-size: 14.5px; }
.data caption { text-align: left; color: var(--dim); font-size: 13px; padding-bottom: 12px; }
.data th {
  text-align: left; font: 600 11px/1.4 var(--mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim);
  padding: 0 14px 10px 0; border-bottom: 1px solid var(--veil);
}
.data td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--hair); color: var(--ash); vertical-align: top; }
.data td:first-child { color: var(--chalk); font-weight: 600; width: 26%; }
.data td:last-child { padding-right: 0; }
@media (max-width: 720px) {
  .data, .data tbody, .data tr, .data td { display: block; width: 100%; }
  .data thead { display: none; }
  .data tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .data td { border: 0; padding: 2px 0; }
  .data td:first-child { width: auto; margin-bottom: 4px; }
  .data td[data-l]::before {
    content: attr(data-l); display: block;
    font: 600 10px/1.4 var(--mono); letter-spacing: .12em;
    text-transform: uppercase; color: var(--dim); margin-top: 8px;
  }
}

/* ── callout ───────────────────────────────────────────────────────────── */
.note {
  background: var(--plum); border: 1px solid var(--veil);
  border-left: 2px solid var(--rose); border-radius: 0 10px 10px 0;
  padding: 20px 22px; margin: 26px 0; max-width: var(--measure);
}
.note p:last-child { margin-bottom: 0; }
.note.plain { border-left-color: var(--veil); }

/* ── steps: a real sequence, so it is numbered ─────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: s; max-width: var(--measure); }
.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 26px 46px; border-left: 1px solid var(--veil); margin-left: 13px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: -13px; top: -2px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--raise); border: 1px solid var(--veil);
  font: 600 12px/24px var(--mono); text-align: center; color: var(--chalk);
}
.steps b { display: block; color: var(--chalk); margin-bottom: 3px; }

/* ── footer ────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--hair); padding: 40px 0 60px;
  color: var(--dim); font-size: 13.5px;
}
footer .rows { display: flex; flex-wrap: wrap; gap: 30px 56px; margin-bottom: 30px; }
footer h4 {
  font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); margin: 0 0 10px;
}
footer a { color: var(--ash); text-decoration: none; display: block; margin-bottom: 6px; }
footer a:hover { color: var(--chalk); }
footer .fine { padding-top: 22px; border-top: 1px solid var(--hair); }

.stamp { font: 400 13px/1.6 var(--mono); color: var(--dim); margin: 0 0 34px; }
.stamp b { color: var(--ash); font-weight: 400; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
