:root {
  color-scheme: dark;
  --bg: #07101d;
  --ink: #030914;
  --surface: #101d30;
  --surface-2: #17263d;
  --line: #2a3b56;
  --line-strong: #425674;
  --paper: #f7f5ef;
  --text: #f7f5ef;
  --muted: #aab6ca;
  --subtle: #7887a2;
  --coral: #ff655f;
  --coral-dark: #4b232c;
  --mint: #65d6ae;
  --mint-dark: #163e38;
  --yellow: #f6bf55;
  --lavender: #8fa5ff;
  --danger: #ff647d;
  --danger-dark: #3e1e2a;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgb(66 86 116 / 11%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(66 86 116 / 11%) 1px, transparent 1px);
  background-position: center top;
  background-size: 72px 72px;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgb(101 214 174 / 62%);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--mint);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

strong {
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-top: 5px solid var(--coral);
  border-bottom: 1px solid var(--line);
  background: rgb(7 16 29 / 95%);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 39px;
  height: 39px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 9px;
}

.brand-word {
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.brand-word span {
  color: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.site-nav .nav-delete {
  margin-left: 5px;
  border-color: rgb(255 100 125 / 45%);
  color: #ffabb9;
}

.page-shell {
  padding-block: 64px 96px;
}

.hero {
  min-height: min(760px, calc(100vh - 81px));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.84fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: currentcolor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.07;
}

h1 {
  max-width: 800px;
  font-size: clamp(3.35rem, 7vw, 6.4rem);
  font-weight: 950;
  letter-spacing: -0.068em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 930;
  letter-spacing: -0.052em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero h1 mark {
  display: inline-block;
  margin-top: 8px;
  padding: 0.02em 0.12em 0.09em;
  background: var(--coral);
  box-shadow: 7px 7px 0 var(--ink);
  color: var(--paper);
  line-height: 0.96;
  transform: rotate(-1deg);
}

.lede {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 7px 7px 0 var(--ink);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--bg);
  color: var(--text);
}

.button-ink {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 5px 5px 0 rgb(255 255 255 / 34%);
  color: var(--paper);
}

.button-danger {
  width: 100%;
  border-color: var(--danger);
  background: var(--danger);
  box-shadow: 5px 5px 0 var(--ink);
  color: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
  transform: none;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  list-style: none;
}

.trust-line li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--mint);
  font-weight: 950;
}

.table-demo {
  position: relative;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 13px 13px 0 var(--ink);
  overflow: hidden;
  transform: rotate(1deg);
}

.table-demo-bar {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-demo-bar span {
  display: inline-flex;
  align-items: center;
}

.table-demo-bar i {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgb(101 214 174 / 15%);
}

.table-demo-bar strong {
  color: var(--mint);
  font-size: 0.7rem;
}

.table-demo-body {
  padding: clamp(24px, 4vw, 38px);
}

.table-demo-time {
  margin: 0 0 6px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.table-demo h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}

.player-row {
  display: flex;
  margin: 24px 0 30px 10px;
}

.player-row span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-left: -10px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.player-row .avatar-coral {
  background: var(--coral);
}

.player-row .avatar-mint {
  background: var(--mint);
}

.player-row .avatar-yellow {
  background: var(--yellow);
}

.player-row .avatar-lavender {
  background: var(--lavender);
}

.player-row .player-more {
  background: var(--paper);
}

.game-ticket,
.code-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px;
  border-radius: 8px;
}

.game-ticket {
  border: 2px solid var(--lavender);
  background: #1b2942;
}

.game-ticket div {
  display: grid;
}

.game-ticket span,
.code-ticket span,
.code-ticket small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-ticket strong {
  margin-top: 2px;
  font-size: 1.25rem;
}

.game-ticket b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--lavender);
  color: var(--ink);
  font-size: 1.3rem;
}

.code-ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 13px;
  border: 2px dashed var(--yellow);
  background: #2e291d;
}

.code-ticket strong {
  grid-row: span 2;
  color: var(--yellow);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.08em;
}

.code-ticket small {
  letter-spacing: 0;
  text-transform: none;
}

.table-demo-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 11px;
}

.table-demo-colors span:nth-child(1) {
  background: var(--coral);
}

.table-demo-colors span:nth-child(2) {
  background: var(--mint);
}

.table-demo-colors span:nth-child(3) {
  background: var(--yellow);
}

.table-demo-colors span:nth-child(4) {
  background: var(--lavender);
}

.game-strip {
  display: flex;
  gap: 0;
  margin-block: 64px 20px;
  border-block: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.game-strip::-webkit-scrollbar {
  display: none;
}

.game-strip span {
  flex: 0 0 auto;
  padding: 17px 24px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-strip span:nth-child(4n + 1)::before {
  color: var(--coral);
}

.game-strip span:nth-child(4n + 2)::before {
  color: var(--mint);
}

.game-strip span:nth-child(4n + 3)::before {
  color: var(--yellow);
}

.game-strip span:nth-child(4n + 4)::before {
  color: var(--lavender);
}

.game-strip span::before {
  content: "●";
  margin-right: 10px;
  font-size: 0.66rem;
}

.section {
  padding-block: 76px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-heading > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.editorial-steps {
  border-top: 1px solid var(--line-strong);
}

.editorial-steps article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.editorial-steps article > span {
  color: var(--coral);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.editorial-steps article:nth-child(2) > span {
  color: var(--mint);
}

.editorial-steps article:nth-child(3) > span {
  color: var(--yellow);
}

.editorial-steps h3 {
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}

.editorial-steps p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--muted);
}

.principles-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.principles-intro {
  position: sticky;
  top: 120px;
}

.principle-list {
  border-top: 1px solid var(--line-strong);
}

.principle-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font-size: 1.35rem;
}

.principle-list article:last-child b {
  border-color: var(--mint);
  color: var(--mint);
}

.principle-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.final-section {
  padding-bottom: 30px;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 54px);
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--mint);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--ink);
}

.privacy-callout .eyebrow,
.privacy-callout h2 {
  color: var(--ink);
}

.privacy-callout p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: #18362f;
}

.page-hero {
  position: relative;
  max-width: 980px;
  padding: 34px 0 64px;
  border-bottom: 1px solid var(--line-strong);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 88px;
  height: 15px;
  background: var(--coral);
}

.page-hero h1 {
  font-size: clamp(3rem, 6.8vw, 6.2rem);
}

.page-hero .lede {
  margin-top: 22px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 46px;
  padding-top: 58px;
}

.content {
  min-width: 0;
}

.content-section {
  padding-block: 34px;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.content-section h3 {
  margin-top: 28px;
}

.content-section p,
.content-section ul,
.content-section ol {
  color: var(--muted);
}

.content-section ul,
.content-section ol {
  padding-left: 1.35rem;
}

.content-section li + li {
  margin-top: 8px;
}

.side-card {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--yellow);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.side-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.side-card a {
  display: block;
  margin-top: 17px;
  color: var(--mint);
  font-weight: 850;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--mint);
  border-radius: 8px;
  background: var(--surface);
}

.card:nth-child(2) {
  border-top-color: var(--coral);
}

.card:nth-child(3) {
  border-top-color: var(--yellow);
}

.card-kicker {
  margin-bottom: 22px;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 62px;
  padding: 17px 18px 17px 70px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--mint);
  font-weight: 950;
}

.delete-panel {
  margin-top: 26px;
  padding: clamp(22px, 5vw, 36px);
  border: 2px solid var(--danger);
  border-radius: 9px;
  background: var(--danger-dark);
  box-shadow: 8px 8px 0 var(--ink);
}

.delete-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.delete-panel > p {
  color: #d9bbc3;
}

.delete-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
}

.field small {
  color: var(--subtle);
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
  background: var(--bg);
  color: var(--text);
}

.field input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgb(255 101 95 / 13%);
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 11px;
  color: var(--muted);
  cursor: pointer;
}

.check-row input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--danger);
}

.form-status {
  display: none;
  margin: 0;
  padding: 13px 15px;
  border-radius: 6px;
  font-size: 0.94rem;
}

.form-status[data-state="error"] {
  display: block;
  border: 1px solid rgb(255 100 125 / 48%);
  background: var(--danger-dark);
  color: #ffb7c2;
}

.form-status[data-state="success"] {
  display: block;
  border: 1px solid rgb(101 214 174 / 45%);
  background: var(--mint-dark);
  color: #c1f1e1;
}

.assurance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--subtle);
  font-size: 0.88rem;
}

.assurance::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-weight: 950;
}

.notice {
  padding: 18px 20px;
  border: 1px solid rgb(246 191 85 / 36%);
  border-left: 6px solid var(--yellow);
  border-radius: 4px;
  background: #292417;
  color: #ead9b8;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 25px;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--mint);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-size: 1.15rem;
}

.contact-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--mint);
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  color: var(--subtle);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 13px;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .table-demo {
    width: min(100%, 600px);
    transform: none;
  }

  .principles-section {
    grid-template-columns: 1fr;
  }

  .principles-intro {
    position: static;
  }

  .card-grid,
  .privacy-callout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 560px) {
  body {
    background-size: 48px 48px;
  }

  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .page-shell {
    padding-block: 42px 70px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a,
  .site-nav .nav-delete {
    min-height: 39px;
    justify-content: center;
    margin-left: 0;
    padding-inline: 8px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero {
    gap: 54px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-line {
    display: grid;
    gap: 7px;
  }

  .table-demo-body {
    padding: 24px 18px;
  }

  .code-ticket {
    grid-template-columns: 1fr;
  }

  .code-ticket strong {
    grid-row: auto;
  }

  .game-strip {
    margin-inline: -14px;
  }

  .section {
    padding-block: 54px;
  }

  .editorial-steps article {
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }

  .privacy-callout {
    padding: 26px;
  }

  .privacy-callout .button {
    width: 100%;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
