/* Testley subpage design system — matches index.html (2026-07 revamp).
   Reimplements the shared subpage class vocabulary in the new brand:
   Inter, #FFE237 yellow, near-black ink, white/paper grounds. */

:root {
  --yellow: #FFE237;
  --yellow-deep: #FFD700;
  --yellow-bright: #FFE132;
  --yellow-pale: #FFFBE0;
  --ink: #0F0F0B;
  --ink2: #55544E;
  --ink3: #8B8A80;
  --paper: #FFFFFE;
  --cream: #FBFAF3;
  --line: rgba(15,15,11,0.1);
  --line-md: rgba(15,15,11,0.16);
  --radius: 16px;
  --shadow: 0 2px 16px rgba(15,15,11,0.07);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── nav (fixed, matches home) ─────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5%, 80px); height: 64px;
  background: rgba(255,255,254,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; display: block; }
.btn-nav {
  padding: 10px 22px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700; border: none; border-radius: 12px;
  cursor: pointer; text-decoration: none; transition: transform 0.15s ease;
}
.btn-nav:hover { transform: translateY(-1px); }
.btn-nav:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }

/* ── page shell ────────────────────────────────────────────── */
.page {
  max-width: 760px; margin: 0 auto;
  padding: clamp(104px, 14vw, 148px) clamp(20px, 5%, 80px) 80px;
}
.page-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink3);
  display: block; margin-bottom: 14px;
}
.page-title {
  font-size: clamp(34px, 5vw, 52px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.06; color: var(--ink);
  margin-bottom: 12px; text-wrap: balance;
}
.page-title em { font-style: normal; background: var(--yellow); border-radius: 6px; padding: 0 8px; }
.page-date { font-size: 12.5px; font-weight: 500; color: var(--ink3); margin-bottom: 44px; display: block; }
.page-lead { font-size: 17px; color: var(--ink2); margin-bottom: 40px; max-width: 56ch; }
.divider {
  height: 4px; border-radius: 2px; margin-bottom: 44px;
  background: linear-gradient(90deg, var(--yellow-bright), var(--yellow-deep));
}

/* ── content sections ──────────────────────────────────────── */
.section { margin-bottom: 38px; }
.section h2 {
  font-size: 21px; font-weight: 800; color: var(--ink);
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.section h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
.section p { font-size: 15px; color: var(--ink2); line-height: 1.75; margin-bottom: 13px; }
.section a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; }
.section ul, .section ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.section ul li, .section ol li { font-size: 15px; color: var(--ink2); line-height: 1.65; display: flex; gap: 10px; align-items: flex-start; }
.section ul li::before, .section ol li::before {
  content: "→"; color: var(--yellow-deep); font-weight: 700; font-size: 13px;
  flex-shrink: 0; margin-top: 2.5px;
}
.section strong { color: var(--ink); }

/* ── callouts ──────────────────────────────────────────────── */
.highlight-box {
  background: var(--yellow-pale); border: 1px solid rgba(232,201,0,0.5);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px;
  font-size: 14.5px; color: var(--ink); line-height: 1.7;
}
.warning-box {
  background: rgba(198,40,40,0.06); border: 1px solid rgba(198,40,40,0.2);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px;
  font-size: 14.5px; color: var(--ink); line-height: 1.7;
}

/* ── pricing plans ─────────────────────────────────────────── */
.plans { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.plan {
  flex: 1; min-width: 220px; background: #fff;
  border: 1px solid var(--line-md); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow);
}
.plan.featured { border: 2px solid var(--yellow-deep); background: var(--yellow-pale); }
.plan .pname { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.plan .price { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.plan .per { font-size: 14px; font-weight: 500; color: var(--ink2); letter-spacing: 0; }
.plan .sub { font-size: 13px; color: var(--ink2); margin-top: 10px; }
.plan .badge {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}

/* ── delete-account option cards ───────────────────────────── */
.option-card {
  background: #fff; border: 1px solid var(--line-md); border-radius: 20px;
  padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.option-card.primary { border: 2px solid var(--yellow-deep); background: var(--yellow-pale); }
.option-tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; background: var(--yellow); color: var(--ink);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}
.btn-primary {
  display: inline-block; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 14.5px; padding: 12px 26px;
  border-radius: 12px; border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); }

/* ── tables (privacy sharing table) ────────────────────────── */
.table-wrap { overflow-x: auto; margin-bottom: 20px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th {
  text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink3);
  border-bottom: 2px solid var(--line-md); padding: 9px 12px;
}
.data-table td { border-bottom: 1px solid var(--line); padding: 9px 12px; color: var(--ink2); vertical-align: top; }
.data-table td:first-child { color: var(--ink); font-weight: 600; }

/* ── contact block ─────────────────────────────────────────── */
.contact-box { background: var(--ink); border-radius: 20px; padding: 30px; margin-top: 44px; }
.contact-box h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.contact-box p { font-size: 14px; color: rgba(245,245,236,0.6); margin-bottom: 6px; }
.contact-box a { color: var(--yellow); text-decoration: none; font-weight: 600; }
.contact-box a:hover { text-decoration: underline; }

/* ── footer (ink, matches home) ────────────────────────────── */
footer {
  background: var(--ink); border-top: none;
  padding: 30px clamp(20px, 5%, 80px);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-brandmark { color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: rgba(245,245,236,0.6); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-copy { font-size: 12px; color: rgba(245,245,236,0.4); }
