

:root {
  --ink: #14120e;
  --ink-2: #1b1813;
  --ink-3: #231f17;
  --paper: #f2e9d5;
  --paper-2: #e9dfc5;
  --paper-ink: #2b2519;

  --line: rgba(242, 233, 213, 0.13);
  --line-2: rgba(242, 233, 213, 0.3);

  --txt: #f1ebdb;
  --muted: #b9b09b;
  --faint: #7d7462;

  --grn: #1f9d5c;
  --grn-2: #177a47;
  --grn-soft: rgba(31, 157, 92, 0.14);
  --grn-ink: #165e39;

  --blu: #4f63d8;
  --blu-2: #3b4cc0;
  --blu-soft: rgba(79, 99, 216, 0.16);
  --blu-ink: #2e3a99;

  --red: #d9564c;
  --red-soft: rgba(217, 86, 76, 0.13);
  --amber: #d9a13b;
  --amber-soft: rgba(217, 161, 59, 0.14);

  --r: 16px;
  --r-sm: 10px;

  --font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Changa', 'Tajawal', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --e: 170ms cubic-bezier(0.33, 0.8, 0.32, 1);
  --e-slow: 420ms cubic-bezier(0.2, 0, 0.15, 1);

  --sh: 0 18px 50px rgba(0, 0, 0, 0.5);
  --sh-sm: 0 8px 22px rgba(0, 0, 0, 0.38);
}

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

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

body {
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input, textarea { -webkit-user-select: text; user-select: text; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection { background: rgba(31, 157, 92, 0.35); color: var(--txt); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: -3px; }
.ic-sm { width: 15px; height: 15px; }
.ic-xs { width: 13px; height: 13px; }

h1, h2, h3 { color: var(--txt); font-family: var(--display); font-weight: 700; line-height: 1.35; }
a { color: var(--grn); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

.t-xs { font-size: 12.5px; }
.t-faint { color: var(--faint); }
.t-mono { font-family: var(--mono); font-size: 0.92em; }


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

.desk-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.06'/></svg>");
}

.desk-blot {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}
.blot-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(31, 157, 92, 0.2), transparent 65%); top: -180px; inset-inline-start: -140px; }
.blot-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(79, 99, 216, 0.16), transparent 65%); bottom: -220px; inset-inline-end: -120px; }

.desk-scratch { position: absolute; inset: 0; width: 100%; height: 100%; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--paper-ink);
  color: var(--paper-ink);
  background: transparent;
  box-shadow: 3px 3px 0 var(--paper-ink);
  transition: transform var(--e), box-shadow var(--e), background var(--e), color var(--e);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { text-decoration: none; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--paper-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--paper-ink); }
.btn:focus-visible { outline: 2px solid var(--grn); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .ic { font-size: 13px; }

.btn-ink { background: var(--paper-ink); color: var(--paper); }
.btn-ink:hover:not(:disabled) { background: #171309; box-shadow: 5px 5px 0 var(--paper-ink); }
.btn-ink:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--paper-ink); }

.btn-blue { border-color: var(--blu-ink); color: var(--blu-ink); box-shadow: 3px 3px 0 var(--blu-ink); }
.btn-blue:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--blu-ink); }
.btn-blue:active { box-shadow: 1px 1px 0 var(--blu-ink); }

.btn-ghost { border-style: dashed; box-shadow: none; }
.btn-ghost:hover:not(:disabled) { box-shadow: none; border-style: solid; }

.btn-paper { background: var(--paper); }
.btn-paper:hover:not(:disabled) { background: #f7efdc; box-shadow: 5px 5px 0 var(--paper-ink); }
.btn-paper:active { box-shadow: 1px 1px 0 var(--paper-ink); }

.btn-sm { min-height: 38px; padding: 0 15px; font-size: 13.5px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn.disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }


@media (prefers-color-scheme: light) {}
.dark-zone .btn-ink, .hero .btn-ink { border-color: var(--paper); color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.dark-zone .btn-ink:hover:not(:disabled), .hero .btn-ink:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--paper); }
.dark-zone .btn-ink:active, .hero .btn-ink:active { box-shadow: 1px 1px 0 var(--paper); }
.dark-zone .btn-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark-zone .btn-ink:hover:not(:disabled) { background: #f7efdc; }
.hero .btn-blue { border-color: var(--paper); color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.hero .btn-blue:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--paper); }
.hero .btn-blue:active { box-shadow: 1px 1px 0 var(--paper); }
.hero .btn-ghost { border-color: var(--line-2); color: var(--txt); }
.hero .btn-ghost:hover:not(:disabled) { border-style: solid; }


.tape {
  position: absolute;
  width: 80px;
  height: 22px;
  top: -11px;
  inset-inline-start: 50%;
  translate: -50% 0;
  background: linear-gradient(90deg, rgba(242, 233, 213, 0.16), rgba(242, 233, 213, 0.09) 50%, rgba(242, 233, 213, 0.16));
  border-inline: 1px dashed rgba(242, 233, 213, 0.18);
  pointer-events: none;
  z-index: 2;
}

.tape-l { inset-inline-start: 26px; translate: -4px 0; rotate: -4deg; }


.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(20, 18, 14, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 38px; height: 38px;
  color: var(--grn);
  display: grid; place-items: center;
  transform: rotate(-3deg);
}
.brand-mark svg { width: 34px; height: 34px; }

.brand-name { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--txt); letter-spacing: -0.01em; }
.brand-name .brand-mc { color: var(--grn); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 18px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--display);
  padding: 8px 12px;
  border-radius: 9px;
  transition: color var(--e), background var(--e);
}
.nav-links a:hover { color: var(--txt); background: var(--ink-2); text-decoration: none; }

.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

.chip-btn {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--e), border-color var(--e), transform var(--e);
}
.chip-btn:hover { color: var(--txt); border-color: rgba(242, 233, 213, 0.5); transform: rotate(-2deg); }

.nav-actions .btn-discord {
  background: var(--blu-soft);
  border: 2px solid var(--blu-2);
  color: #b9c2ff;
  box-shadow: 3px 3px 0 rgba(59, 76, 192, 0.5);
  min-height: 38px;
  font-size: 13.5px;
}
.nav-actions .btn-discord:hover { box-shadow: 5px 5px 0 rgba(59, 76, 192, 0.5); }
.nav-actions .btn-discord:active { box-shadow: 1px 1px 0 rgba(59, 76, 192, 0.5); }


.hero { position: relative; }

.hero-in {
  max-width: 1180px;
  margin-inline: auto;
  padding: 84px 20px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}


.stamp-row { display: inline-flex; margin-bottom: 26px; }

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2.5px solid currentColor;
  transform: rotate(-2.5deg);
  box-shadow: inset 0 0 0 2px rgba(242, 233, 213, 0.04);
}

.stamp-green { color: var(--grn); background: var(--grn-soft); }
.stamp-green .dot-pulse { background: var(--grn); box-shadow: 0 0 0 0 rgba(31, 157, 92, 0.6); }

.stamp .dot-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 157, 92, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(31, 157, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 92, 0); }
}

.stamp.closed { color: var(--red); background: var(--red-soft); transform: rotate(2deg); }
.stamp.closed .dot-pulse { background: var(--red); animation: pulse-r 2s infinite; }
@keyframes pulse-r {
  0% { box-shadow: 0 0 0 0 rgba(217, 86, 76, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(217, 86, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 86, 76, 0); }
}
.stamp.partial { color: var(--amber); background: var(--amber-soft); transform: rotate(-1deg); }
.stamp.partial .dot-pulse { background: var(--amber); animation: pulse-a 2s infinite; }
@keyframes pulse-a {
  0% { box-shadow: 0 0 0 0 rgba(217, 161, 59, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(217, 161, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 161, 59, 0); }
}

.hero h1 {
  font-size: clamp(30px, 5.4vw, 50px);
  font-weight: 800;
  line-height: 1.24;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero h1 .mark {
  color: var(--grn);
  position: relative;
  white-space: nowrap;
}

.squiggle { width: min(300px, 70%); height: 12px; margin-bottom: 16px; margin-inline-start: 2px; }

.hero p { font-size: 16px; color: var(--muted); max-width: 58ch; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }


.server-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 30px;
  padding: 9px 20px 9px 9px;
  background: var(--ink-2);
  border: 2px solid var(--paper-ink);
  border-radius: 12px;
  transform: rotate(-0.6deg);
  box-shadow: 4px 4px 0 rgba(242, 233, 213, 0.07);
}

.server-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--grn);
  flex-shrink: 0;
  background: var(--ink-3);
}

.server-info b { display: block; color: var(--txt); font-size: 14.5px; font-weight: 800; font-family: var(--display); line-height: 1.35; }
.server-info span { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 1px; }

.server-chip .tape { top: -13px; width: 66px; height: 20px; }

.hstat b {
  display: block;
  font-size: 25px;
  font-weight: 800;
  color: var(--txt);
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.hstat span { font-size: 12px; color: var(--faint); font-weight: 500; }

.hero-stats { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }


.hero-art { display: none; justify-content: center; }

.doodle {
  position: relative;
  width: 300px;
  height: 300px;
}

.d-axe {
  position: absolute;
  width: 130px; height: 130px;
  top: 30px; inset-inline-end: 10px;
  transform: rotate(14deg);
}

.d-shield {
  position: absolute;
  width: 118px; height: 118px;
  top: 150px; inset-inline-start: 26px;
  transform: rotate(-8deg);
}

.d-arrow {
  position: absolute;
  width: 66px; height: 44px;
  top: 60px; inset-inline-start: 16px;
}

.d-star {
  position: absolute;
  width: 34px; height: 34px;
  top: 200px; inset-inline-end: 30px;
}

.d-star-2 { width: 22px; height: 22px; top: 118px; inset-inline-start: 150px; }


.sec { max-width: 1180px; margin-inline: auto; padding: 60px 20px; scroll-margin-top: 78px; }
.sec-narrow { max-width: 900px; }

.sec-head { text-align: center; margin-bottom: 40px; }

.kicker {
  display: inline-block;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grn);
  margin-bottom: 10px;
}

.sec-head h2 { font-size: clamp(24px, 4vw, 33px); font-weight: 800; }


.tracks { display: grid; grid-template-columns: 1fr; gap: 26px; }

.track-card {
  position: relative;
  text-align: start;
  padding: 28px;
  border-radius: var(--r);
  background: var(--ink-2);
  border: 2px solid var(--paper-ink);
  cursor: pointer;
  font-family: inherit;
  color: var(--muted);
  transition: transform var(--e-slow), box-shadow var(--e-slow), background var(--e);
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: visible;
  box-shadow: 5px 6px 0 rgba(242, 233, 213, 0.06);
}

.track-card:nth-child(1) { transform: rotate(-0.7deg); }
.track-card:nth-child(2) { transform: rotate(0.7deg); }
.track-card:nth-child(3) { transform: rotate(-0.4deg); }

.track-card:hover { transform: translateY(-3px) rotate(0deg); box-shadow: 8px 10px 0 rgba(242, 233, 213, 0.09), var(--sh-sm); background: var(--ink-3); }

.track-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grn-soft);
  color: var(--grn);
  border: 2px solid var(--grn-2);
  transform: rotate(-4deg);
}

.t-dc .track-icon { background: var(--blu-soft); color: var(--blu); border-color: var(--blu-2); transform: rotate(3deg); }

.t-md .track-icon { background: var(--amber-soft); color: var(--amber); border-color: rgba(217, 161, 59, 0.5); transform: rotate(-2deg); }

.track-card h3 { font-size: 21px; font-weight: 700; }
.track-card > p { font-size: 14.5px; }

.track-req { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; margin-block: 4px 8px; }
.track-req li { position: relative; padding-inline-start: 26px; color: var(--muted); }
.track-req li::before {
  content: '✓';
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  color: var(--grn);
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--grn-soft);
  border: 1.5px dashed rgba(31, 157, 92, 0.5);
  display: grid; place-items: center;
}

.t-dc .track-req li::before { color: var(--blu); background: var(--blu-soft); border-color: rgba(79, 99, 216, 0.5); }

.t-md .track-req li::before { color: var(--amber); background: var(--amber-soft); border-color: rgba(217, 161, 59, 0.5); }

.track-card .btn { margin-top: auto; }


.track-stamp {
  position: absolute;
  top: 18px; inset-inline-end: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 2.5px solid var(--red);
  color: var(--red);
  border-radius: 7px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(4deg);
  background: var(--red-soft);
  animation: stamp-slap 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.track-stamp i { width: 14px; height: 14px; border-radius: 50%; border: 2px dashed var(--red); }

.track-stamp.open {
  border-color: var(--grn);
  color: var(--grn);
  background: var(--grn-soft);
  transform: rotate(-4deg);
}

.track-stamp.open i { border-color: var(--grn); }

@keyframes stamp-slap {
  from { transform: rotate(-16deg) scale(1.6); opacity: 0; }
  to { transform: rotate(4deg) scale(1); opacity: 1; }
}

.track-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red) !important;
  background: var(--red-soft);
  border: 1.5px dashed rgba(217, 86, 76, 0.5);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.track-card.closed { cursor: default; opacity: 0.92; }
.track-card.closed:hover { transform: rotate(-0.4deg); box-shadow: 5px 6px 0 rgba(242, 233, 213, 0.06); background: var(--ink-2); }
.track-card.closed .track-icon { background: var(--red-soft); color: var(--red); border-color: rgba(217, 86, 76, 0.5); }
.track-card.closed .track-req li { color: var(--faint); }
.track-card.closed .track-req li::before { color: var(--faint); background: transparent; border-color: rgba(217, 86, 76, 0.35); }
.track-card.closed .btn { background: var(--ink-3); color: var(--faint); border-color: var(--line-2); box-shadow: none; }

.track-tab.closed { opacity: 0.5; cursor: not-allowed; }
.track-tab.closed:hover { color: var(--paper-ink); background: transparent; }
.tab-lock { display: inline-flex; }


.how-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.note-card {
  position: relative;
  border-radius: 12px;
  padding: 26px 24px 22px;
  font-family: var(--font);
  border: none;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
  transition: transform var(--e-slow), box-shadow var(--e-slow);
}

.note-card:hover { transform: translateY(-4px) rotate(0deg); }

.n-hue-a { background: #f4ead1; color: #53442a; transform: rotate(-1.6deg); }
.n-hue-b { background: #e7e0c9; color: #53442a; transform: rotate(1.3deg); }
.n-hue-c { background: #e9e2ca; color: #53442a; transform: rotate(-0.8deg); }

.note-card h3 { color: inherit; font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.note-card p { font-size: 14px; color: inherit; opacity: 0.82; }

.note-n {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #3d3525;
  color: #f4ead1;
  transform: rotate(-3deg);
}

.n-hue-b .note-n { background: #4d4025; }
.note-card .tape { top: -12px; width: 70px; height: 21px; background: rgba(255, 255, 255, 0.35); border-inline: 1px dashed rgba(83, 68, 42, 0.25); }


.paper-wrap {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
}

.sheet {
  position: relative;
  background: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='150' height='150' filter='url(%23n2)' opacity='0.05'/></svg>");
  color: var(--paper-ink);
  border-radius: var(--r);
  padding: 32px 24px;
  box-shadow: 12px 14px 0 rgba(242, 233, 213, 0.07), var(--sh);
  transform: rotate(-0.3deg);
  overflow: visible;
}

.sheet::before, .sheet::after {
  content: '';
  position: absolute;
  width: 96px; height: 24px;
  background: rgba(255, 255, 255, 0.4);
  border-inline: 1px dashed rgba(43, 37, 25, 0.25);
  top: -12px;
  z-index: 3;
}
.sheet::before { inset-inline-start: 24px; rotate: -5deg; }
.sheet::after { inset-inline-end: 24px; rotate: 4deg; }

.sheet-top { display: flex; flex-direction: column; gap: 18px; }

.apply-head { text-align: center; }
.apply-head h2 { color: var(--paper-ink); font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.apply-head p { font-size: 14px; color: rgba(43, 37, 25, 0.68); }
.apply-head b { color: var(--grn-ink); }

.k-ink { color: var(--grn-ink); }

.track-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(43, 37, 25, 0.06);
  border: 1.5px dashed rgba(43, 37, 25, 0.35);
  border-radius: var(--r-sm);
  padding: 6px;
}

.track-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(43, 37, 25, 0.6);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--e), color var(--e), transform var(--e);
}

.track-tab:hover { color: var(--paper-ink); }
.track-tab.on { background: var(--paper); color: var(--grn-ink); box-shadow: 0 2px 0 rgba(43, 37, 25, 0.12); }
.track-tab.on.t-dc { color: var(--blu-ink); }
.track-tab:focus-visible { outline: 2px solid var(--grn-ink); outline-offset: 2px; }


.steps { display: flex; align-items: center; gap: 10px; margin: 30px 0 26px; }

.step { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 14px; font-weight: 700;
  background: transparent;
  border: 2px solid rgba(43, 37, 25, 0.4);
  color: rgba(43, 37, 25, 0.55);
  transition: all var(--e);
  transform: rotate(-3deg);
}

.step-label { font-size: 12.5px; font-weight: 700; color: rgba(43, 37, 25, 0.6); white-space: nowrap; font-family: var(--font); }

.step.on .step-num { background: var(--grn-ink); border-color: var(--grn-ink); color: var(--paper); transform: rotate(0); }
.step.on .step-label { color: var(--paper-ink); }

.step.done .step-num { border-color: var(--grn); color: var(--grn-ink); }
.step.done .step-label { color: var(--paper-ink); opacity: 0.8; }

.step-line { flex: 1; height: 3px; background: rgba(43, 37, 25, 0.18); border-radius: 3px; overflow: hidden; min-width: 12px; }
.step-line-fill { display: block; height: 100%; width: 0%; background: var(--grn); border-radius: 3px; transition: width var(--e-slow); }


.form-pane { animation: fade-up var(--e-slow) both; }

.fld { margin-bottom: 20px; }

.fld-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper-ink);
  margin-bottom: 6px;
}

.fld-label .req { color: var(--red); margin-inline-start: 3px; }

.inp, textarea.inp, select.inp {
  width: 100%;
  min-height: 44px;
  background: rgba(43, 37, 25, 0.035);
  border: none;
  border-bottom: 1.5px dashed rgba(43, 37, 25, 0.4);
  border-radius: 6px 6px 0 0;
  padding: 0 12px;
  color: var(--paper-ink);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color var(--e), background var(--e), box-shadow var(--e);
}

.inp::placeholder { color: rgba(43, 37, 25, 0.4); }

.inp:focus {
  outline: none;
  border-bottom-style: solid;
  border-bottom-color: var(--grn-ink);
  background: rgba(31, 157, 92, 0.06);
}

textarea.inp { min-height: 108px; padding: 10px 12px; line-height: 1.7; resize: vertical; }

.inp.bad { border-bottom-style: solid; border-bottom-color: var(--red); background: rgba(217, 86, 76, 0.07); }

.fld-hint { font-size: 12.5px; color: rgba(43, 37, 25, 0.55); margin-top: 6px; line-height: 1.6; }
.fld-hint .ic { width: 12px; height: 12px; margin-inline-end: 3px; display: inline-block; }

.fld-err { display: none; font-size: 12.5px; color: var(--red); font-weight: 700; margin-top: 6px; }
.fld-err.show { display: flex; align-items: center; gap: 6px; }
.fld-err .ic { width: 12px; height: 12px; }

.fld-count { font-size: 12px; color: rgba(43, 37, 25, 0.5); text-align: end; margin-top: 4px; }
.fld-count.bad { color: var(--red); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 18px; }


.review-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }

.review-item {
  background: rgba(43, 37, 25, 0.05);
  border: 1.5px dashed rgba(43, 37, 25, 0.3);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.review-n {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--grn-ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  font-family: var(--display);
  transform: rotate(-3deg);
}

.review-body { flex: 1; min-width: 0; }
.review-q { font-size: 12.5px; font-weight: 700; color: rgba(43, 37, 25, 0.55); margin-bottom: 3px; }
.review-a { font-size: 14.5px; color: var(--paper-ink); white-space: pre-wrap; word-break: break-word; line-height: 1.7; }

.review-head h3 { color: var(--paper-ink); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.review-head p { font-size: 12.5px; color: rgba(43, 37, 25, 0.6); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--paper-ink);
  cursor: pointer;
  line-height: 1.65;
  margin-top: 6px;
}

.check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 21px; height: 21px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(43, 37, 25, 0.45);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color var(--e), background var(--e), transform var(--e);
}

.check input:checked { border-color: var(--grn-ink); background: var(--grn-ink); }
.check input:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

.check input:focus-visible { outline: 2px solid var(--grn-ink); outline-offset: 2px; }
.check input.bad { border-color: var(--red); }

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1.5px dashed rgba(43, 37, 25, 0.3);
}
.form-nav .btn { min-width: 130px; }


.hp-zone { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }


.sheet-done { text-align: center; padding: 52px 28px; overflow: hidden; }

.stamp-big {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 4px solid var(--grn-ink);
  color: var(--grn-ink);
  display: grid; place-items: center;
  font-size: 40px;
  font-weight: 800;
  transform: rotate(-10deg);
  animation: stamp-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  background: rgba(31, 157, 92, 0.08);
}

@keyframes stamp-in {
  from { transform: rotate(-24deg) scale(1.5); opacity: 0; }
  to { transform: rotate(-10deg) scale(1); opacity: 1; }
}

.sheet-done h2 { color: var(--paper-ink); font-size: 27px; font-weight: 800; margin-bottom: 8px; }
.sheet-done p { max-width: 46ch; margin: 0 auto 28px; color: rgba(43, 37, 25, 0.75); font-size: 15px; }
.sheet-done p b { color: var(--grn-ink); font-family: var(--mono); }

.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


.faq { display: flex; flex-direction: column; gap: 12px; }

.faq details {
  background: var(--ink-2);
  border: 2px solid var(--paper-ink);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color var(--e);
}

.faq details[open] { border-color: var(--line-2); }

.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--txt);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--display);
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic:first-child { color: var(--grn); }
.faq summary .chev { margin-inline-start: auto; color: var(--faint); transition: transform var(--e); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq summary:hover .chev { color: var(--txt); }

.faq details p { padding: 0 18px 17px; font-size: 14px; color: var(--muted); }


.foot { border-top: 1px solid var(--line); background: var(--ink-2); margin-top: auto; }

.foot-in {
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.foot-note { display: flex; flex-direction: column; align-items: center; gap: 3px; }

.foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--muted); font-size: 13px; font-weight: 700; font-family: var(--display); transition: color var(--e); }
.foot-links a:hover { color: var(--txt); text-decoration: none; }


.toasts {
  position: fixed;
  bottom: 20px;
  inset-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 300;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 430px;
  width: 100%;
  background: var(--paper-2);
  border: 2px solid var(--paper-ink);
  border-radius: var(--r-sm);
  padding: 13px 17px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--paper-ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  transform: rotate(-0.5deg);
  animation: toast-in 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
}

.toast:nth-child(even) { transform: rotate(0.7deg); }

@keyframes toast-in { from { opacity: 0; transform: translateY(14px) rotate(0); } to { opacity: 1; transform: translateY(0) rotate(-0.5deg); } }

.toast.out { animation: toast-out 0.25s ease both; }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

.toast .ic { margin-top: 3px; }
.toast.ok .ic { color: var(--grn-ink); }
.toast.err .ic { color: var(--red); }
.toast.info .ic { color: var(--blu-ink); }


.dev-float {
  position: fixed;
  bottom: 16px;
  inset-inline-start: 16px;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px dashed var(--line-2);
  background: rgba(20, 18, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--faint);
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color var(--e), border-color var(--e), transform var(--e);
}

.dev-float:hover {
  color: var(--txt);
  border-color: rgba(242, 233, 213, 0.5);
  transform: rotate(-1.5deg);
}

.dev-float:active { transform: translateY(1px); }
.dev-float:focus-visible { outline: 2px solid var(--grn); outline-offset: 2px; }


@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .tracks { grid-template-columns: 1fr 1fr; gap: 34px; }
  .foot-in { flex-direction: row; }
  .toasts { inset-inline: auto; left: 50%; right: auto; transform: translateX(-50%); bottom: 26px; }
  .sheet { padding: 36px 34px; }
}

@media (min-width: 1024px) {
  .tracks { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1.25fr 0.75fr; padding-top: 100px; }
  .hero-art { display: flex; }
  .sec { padding-block: 84px; }
}