/* Standalone document pages (account deletion, and anything like it).
 *
 * Shares the Teky Card page's colourway and ambience so a link out of the app
 * still looks like the app, without pulling in the card layout it does not
 * need.
 */

:root {
  --bg: #071b34;
  --bg-2: #11407a;
  --fg: #eaf2fb;
  --accent: #5c9dff;
  --on-accent: #06152b;

  --muted: color-mix(in srgb, var(--fg) 68%, transparent);
  --faint: color-mix(in srgb, var(--fg) 42%, transparent);
  --hairline: color-mix(in srgb, var(--fg) 14%, transparent);
  --tile: color-mix(in srgb, var(--fg) 7%, transparent);

  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  padding: 40px 20px calc(48px + env(safe-area-inset-bottom));
  min-height: 100svh;
  background:
    radial-gradient(115% 70% at 50% -8%, var(--bg-2), transparent 62%),
    linear-gradient(170deg, var(--bg), var(--bg-2) 58%, var(--bg));
  background-attachment: fixed;
  overflow-x: hidden;
}

.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.aurora {
  position: absolute;
  width: 62vmax; height: 62vmax;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.24;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  top: -30vmax; right: -22vmax;
}

.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(26px, 6vw, 40px);
  border-radius: 24px;
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  border: 1px solid var(--hairline);
  box-shadow: 0 34px 70px -38px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  margin: 32px 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p, li { font-size: 16px; line-height: 1.68; color: var(--muted); }
p { margin: 0 0 14px; }
main > p:first-of-type { color: var(--fg); font-size: 17px; }

ul, ol { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

strong { color: var(--fg); font-weight: 600; }

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

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: baseline;
  background: var(--tile);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--fg);
}

.steps li::before {
  content: counter(step);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.note {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 16px;
  margin: 20px 0;
}

.note p { margin: 0; }

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

footer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--faint);
  line-height: 1.7;
}

footer a { color: inherit; }
