/* Vacker Studio: direction A, "Clean studio".
   Light-first, neutral greys, one violet accent taken from the glow on Tank Artillery's icon.
   No web fonts, no imports, no remote resources. */

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --surface: #ffffff;
  --ink: #0d0d10;
  --text: #1d1d21;
  --muted: #62626b;
  --line: #e7e7ea;
  --line-strong: #d6d6db;

  --accent: #5b3fd6;
  --accent-hover: #4a2fc2;
  --accent-soft: #f3f0ff;
  --accent-line: #ddd5ff;
  --accent-glow: rgba(124, 98, 255, 0.14);

  --button-bg: #0d0d10;
  --button-text: #ffffff;
  --button-hover: #2a2a31;

  --header-bg: rgba(255, 255, 255, 0.82);
  --shot-shadow: 0 1px 2px rgba(16, 16, 24, 0.06), 0 16px 40px -12px rgba(16, 16, 24, 0.22);
  --icon-shadow: 0 1px 2px rgba(16, 16, 24, 0.10), 0 10px 24px -8px rgba(16, 16, 24, 0.35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4.5vw, 32px);
  --radius: 14px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e;
    --bg-soft: #121215;
    --surface: #17171b;
    --ink: #f4f4f6;
    --text: #e2e2e6;
    --muted: #a1a1aa;
    --line: #232328;
    --line-strong: #313138;

    --accent: #b4a3ff;
    --accent-hover: #cdc1ff;
    --accent-soft: #1b1828;
    --accent-line: #342d55;
    --accent-glow: rgba(140, 118, 255, 0.16);

    --button-bg: #f4f4f6;
    --button-text: #0c0c0e;
    --button-hover: #d9d9df;

    --header-bg: rgba(12, 12, 14, 0.78);
    --shot-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 48px -16px rgba(0, 0, 0, 0.8);
    --icon-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px -10px rgba(0, 0, 0, 0.9);
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 650;
  margin: 0;
}

p,
ul,
ol {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 620;
  color: var(--ink);
}

code {
  font-family: var(--mono);
  font-size: 0.875em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: var(--button-text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 2px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 680;
  font-size: 1.0625rem;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--ink);
}

/* A small pure-CSS mark: a rounded tile with an accent-lit notch. */
.mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--ink);
}

.mark::before {
  content: "";
  position: absolute;
  inset: 5px 5px auto auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px 1px var(--accent);
}

.mark::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 5px;
  width: 9px;
  height: 3px;
  border-radius: 2px;
  background: var(--bg);
  opacity: 0.85;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  list-style: none;
  padding: 0;
  margin: 0 -10px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 560px) {
  .header-inner {
    padding-block: 12px 8px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    margin: 0 -8px;
  }

  .site-nav a {
    font-size: 0.875rem;
    padding: 6px 8px;
  }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.button:hover {
  background: var(--button-hover);
  color: var(--button-text);
}

/* A drawn chevron, so no extra characters are added to the text. */
.button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-nav a,
  .toc a,
  .contact-email {
    transition: background-color 0.18s ease, color 0.18s ease;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 15vw, 176px) clamp(72px, 11vw, 136px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  margin-top: 24px;
  max-width: 12ch;
  font-size: clamp(2.75rem, 8.4vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero .lead {
  margin-top: 28px;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.1875rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.hero .actions {
  margin-top: 40px;
}

/* ---------- Game ---------- */

.game {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding-block: clamp(72px, 10vw, 128px);
}

.product-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 880px) {
  .product-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: end;
  }
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: var(--icon-shadow);
}

.label {
  margin-top: 28px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.game h2 {
  margin-top: 8px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.tagline {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.product-body p {
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.6;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-links a {
  text-decoration: none;
}

.product-links a:hover {
  text-decoration: underline;
}

/* ---------- Contact ---------- */

.contact {
  padding-block: clamp(80px, 11vw, 144px);
}

.contact-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: baseline;
  }
}

.contact h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.contact p {
  color: var(--muted);
  font-size: 1.125rem;
}

.contact-email {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.contact-email:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  padding-block: 48px 40px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-links {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Legal documents ---------- */

.doc {
  max-width: calc(70ch + 2 * var(--gutter));
  padding-block: clamp(56px, 9vw, 104px) clamp(72px, 10vw, 128px);
}

.doc > * + * {
  margin-top: 1.1em;
}

.doc h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.doc .meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.doc .meta + p {
  margin-top: 32px;
}

.doc h2 {
  margin-top: 3.25rem;
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  letter-spacing: -0.025em;
}

.doc h2 + * {
  margin-top: 0.9em;
}

.doc h3 {
  margin-top: 2.1rem;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  font-weight: 640;
}

.doc h2 + h3 {
  margin-top: 1.25rem;
}

.doc h3 + * {
  margin-top: 0.6em;
}

.doc .num {
  color: var(--muted);
  font-weight: 560;
  margin-right: 0.15em;
}

.doc ul,
.doc ol {
  padding-left: 1.35em;
}

.doc li + li {
  margin-top: 0.5em;
}

.doc li::marker {
  color: var(--muted);
}

.doc address {
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  line-height: 1.7;
}

/* Contents list on the privacy policy */

.toc {
  margin-top: 36px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-title {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc .toc ol {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.doc .toc li + li {
  margin-top: 0;
}

.toc li {
  break-inside: avoid;
  padding-block: 4px;
}

.toc a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.toc .num {
  display: inline-block;
  min-width: 1.9em;
  margin-right: 0;
}

@media (min-width: 620px) {
  .doc .toc ol {
    columns: 2;
    column-gap: 32px;
  }
}

/* Highlighted blocks: the privacy summary and the deletion request */

.doc .summary,
.doc .request {
  margin-top: 40px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 18px;
}

.doc .summary {
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.doc .request {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

.doc .summary h2,
.doc .request h2 {
  margin-top: 0;
}

.doc .summary > * + *,
.doc .request > * + * {
  margin-top: 0.9em;
}

.doc .summary ul {
  padding: 0;
  list-style: none;
}

.doc .summary li {
  position: relative;
  padding-left: 22px;
}

.doc .summary li + li {
  margin-top: 0.75em;
}

.doc .summary li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Numbered steps (deletion page) */

.doc ol.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.doc ol.steps > li {
  position: relative;
  padding-left: 40px;
  counter-increment: step;
}

.doc ol.steps > li + li {
  margin-top: 0.8em;
}

.doc ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 24px;
  text-align: center;
}

.doc .request ol.steps > li::before {
  border-color: var(--accent-line);
  color: var(--accent);
}

/* Tables */

.table-scroll {
  margin-top: 1.25em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.doc h2 + .table-scroll {
  margin-top: 1.1em;
}

.table-scroll table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.table-scroll th,
.table-scroll td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}

.table-scroll thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 620;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.table-scroll tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.table-scroll tbody td:first-child {
  color: var(--ink);
  font-weight: 520;
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .skip-link,
  .toc {
    display: none;
  }

  .site-footer {
    background: none;
  }

  .table-scroll {
    overflow: visible;
  }

  .table-scroll table {
    min-width: 0;
  }
}
