:root {
  color-scheme: light;
  --paper: #fffdf5;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #1e293b;
  --soft-line: #e2e8f0;
  --white: #ffffff;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --yellow: #fbbf24;
  --mint: #34d399;
  --blue: #38bdf8;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f172a;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --line: #020617;
  --soft-line: rgba(226, 232, 240, 0.16);
  --white: #1e293b;
  --violet: #a78bfa;
  --pink: #fb7185;
  --yellow: #facc15;
  --mint: #2dd4bf;
  --blue: #38bdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18px 18px, rgba(30, 41, 59, 0.08) 2px, transparent 2px),
    linear-gradient(180deg, #fffdf5 0%, #fff7d6 56%, #fef3c7 100%);
  background-size: 34px 34px, auto;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 18px 18px, rgba(226, 232, 240, 0.08) 2px, transparent 2px),
    linear-gradient(180deg, #0f172a 0%, #172554 54%, #1e1b4b 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 14px;
  color: #1e293b;
  font-weight: 900;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--line);
  background: rgba(255, 253, 245, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
.header-cta,
.theme-toggle,
.button,
.coffee-button,
.footer-coffee-button,
.copy-button,
.inline-copy {
  transition:
    transform 220ms var(--ease-pop),
    box-shadow 220ms var(--ease-pop),
    background 220ms ease,
    color 220ms ease;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 56% 44% 52% 48%;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.brand-face {
  width: 19px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 4px, var(--ink) 0 2px, transparent 2px),
    radial-gradient(circle at 14px 4px, var(--ink) 0 2px, transparent 2px),
    linear-gradient(var(--ink), var(--ink)) center 10px / 9px 2px no-repeat;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}

.main-nav a {
  border-bottom: 2px solid transparent;
  padding-block: 6px;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.language-switcher select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.theme-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  color: #1e293b;
  cursor: pointer;
}

.theme-toggle:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.theme-toggle:focus-visible,
.header-cta:focus-visible,
.button:focus-visible,
.coffee-button:focus-visible,
.footer-coffee-button:focus-visible,
.copy-button:focus-visible,
.inline-copy:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.theme-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.moon-icon,
:root[data-theme="dark"] .sun-icon {
  display: none;
}

:root[data-theme="dark"] .moon-icon {
  display: block;
}

.header-cta:hover,
.button:hover,
.coffee-button:hover,
.footer-coffee-button:hover,
.copy-button:hover,
.inline-copy:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.header-cta svg,
.button svg,
.coffee-button svg,
.footer-coffee-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

:root[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0.92);
}

:root[data-theme="dark"] .ticker,
:root[data-theme="dark"] .site-footer {
  background: #020617;
  color: #e2e8f0;
}

:root[data-theme="dark"] .site-footer p {
  color: #cbd5e1;
}

:root[data-theme="dark"] .hero-lede,
:root[data-theme="dark"] .page-hero p:not(.tiny-label),
:root[data-theme="dark"] .section-heading p:not(.tiny-label),
:root[data-theme="dark"] .verification-card p,
:root[data-theme="dark"] .verification-card li,
:root[data-theme="dark"] .step-card p,
:root[data-theme="dark"] .guide-card p,
:root[data-theme="dark"] .guide-card .guide-text,
:root[data-theme="dark"] .update-panel p,
:root[data-theme="dark"] .mini-card p,
:root[data-theme="dark"] .article-body p,
:root[data-theme="dark"] .tier-row p,
:root[data-theme="dark"] .timeline-item p,
:root[data-theme="dark"] .faq-list p,
:root[data-theme="dark"] .info-row,
:root[data-theme="dark"] .source-note p,
:root[data-theme="dark"] .code-reward,
:root[data-theme="dark"] .board-note {
  color: #cbd5e1;
}

:root[data-theme="dark"] .code-card {
  background: #263244;
}

:root[data-theme="dark"] .code-card:nth-child(2) {
  background: #3a2438;
}

:root[data-theme="dark"] .code-card:nth-child(3) {
  background: #3a3318;
}

:root[data-theme="dark"] .code-card:nth-child(4) {
  background: #14343a;
}

:root[data-theme="dark"] .tutorial-figure figcaption,
:root[data-theme="dark"] .article-body {
  background: rgba(30, 41, 59, 0.78);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 40px) 62px;
  overflow: hidden;
}

.hero-copy,
.hero-board {
  position: relative;
  z-index: 1;
}

.tiny-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(3rem, 7.2vw, 5.9rem);
  line-height: 0.92;
}

.hero-lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: #475569;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 1rem;
  font-weight: 900;
}

.button-primary {
  color: var(--white);
  background: var(--violet);
}

.button-secondary {
  background: var(--white);
}

.button-secondary:hover {
  background: var(--yellow);
}

.coffee-button,
.footer-coffee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #ff5f5a;
  box-shadow: 4px 4px 0 var(--ink);
  color: #fffdf5;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.coffee-button {
  align-self: center;
}

.coffee-button:hover,
.footer-coffee-button:hover {
  background: #ff7772;
}

.coffee-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 610px;
  margin: 48px 0 0;
}

.hero-stats div {
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 16px;
  box-shadow: 5px 5px 0 rgba(30, 41, 59, 0.12);
}

.hero-stats dt {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 800;
  text-transform: lowercase;
}

.hero-board {
  border: 2px solid var(--line);
  border-radius: 30px 30px 30px 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  padding: clamp(18px, 3vw, 28px);
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: -22px auto auto -22px;
  z-index: -1;
  width: 76px;
  height: 76px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.board-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.board-top > div {
  width: 100%;
  min-width: 0;
}

.board-top h2 {
  max-width: 100%;
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.section-heading h2,
.update-panel h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  align-self: flex-start;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #dcfce7;
  font-size: 0.84rem;
  font-weight: 900;
}

.status-pill span {
  width: 11px;
  height: 11px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--mint);
}

.code-stack {
  display: grid;
  gap: 13px;
}

.code-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: #f8fafc;
}

.code-card:nth-child(2) {
  background: #fdf2f8;
}

.code-card:nth-child(3) {
  background: #fef9c3;
}

.code-card:nth-child(4) {
  background: #ecfeff;
}

.code-name {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1rem, 2vw, 1.17rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.code-reward {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.copy-button,
.inline-copy {
  min-height: 42px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--violet);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.copy-button {
  padding: 0 16px;
}

.board-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape-yellow {
  width: clamp(180px, 30vw, 390px);
  height: clamp(180px, 30vw, 390px);
  top: 92px;
  left: -85px;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0.45;
}

.shape-pink {
  width: 92px;
  height: 92px;
  right: 4%;
  bottom: 12%;
  border: 2px solid var(--line);
  border-radius: 56% 44% 44% 56%;
  background: var(--pink);
  box-shadow: var(--shadow);
  transform: rotate(14deg);
}

.shape-green {
  width: 38px;
  height: 38px;
  top: 18%;
  right: 41%;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--ink);
}

.shape-ring {
  width: 72px;
  height: 72px;
  left: 49%;
  bottom: 18%;
  border: 9px solid var(--violet);
  border-radius: 999px;
  opacity: 0.35;
}

.ticker {
  overflow: hidden;
  border-block: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
}

.ticker span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--paper);
  background: var(--mint);
  transform: rotate(45deg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 40px) 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.breadcrumb a {
  border-bottom: 2px solid transparent;
}

.breadcrumb a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.page-hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 98px) clamp(18px, 4vw, 40px) clamp(38px, 6vw, 76px);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 52px;
  left: clamp(12px, 6vw, 72px);
  z-index: -1;
  width: clamp(170px, 26vw, 330px);
  height: clamp(170px, 26vw, 330px);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.5);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.tiny-label) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #475569;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.72;
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(68px, 8vw, 116px) clamp(18px, 4vw, 40px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.narrow {
  display: block;
  max-width: 740px;
}

.section-heading p:not(.tiny-label) {
  margin: 0;
  color: #475569;
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1.75;
}

.codes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 30px;
  align-items: start;
}

.table-card,
.verification-card,
.step-card,
.guide-card,
.update-panel {
  border: 2px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.table-card {
  overflow: hidden;
  border-radius: 20px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.05fr) minmax(130px, 1fr) minmax(120px, 0.75fr) auto;
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 2px solid var(--soft-line);
  font-weight: 750;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  background: var(--yellow);
  border-bottom-color: var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tag {
  display: inline-flex;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
}

.tag-green {
  background: #bbf7d0;
}

.tag-yellow {
  background: #fef08a;
}

.tag-red {
  background: #fecaca;
}

.inline-copy {
  padding: 0 14px;
}

.verification-card {
  position: relative;
  border-radius: 24px 24px 24px 0;
  padding: 58px 24px 24px;
}

.floating-icon {
  position: absolute;
  top: -26px;
  left: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.floating-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.verification-card h3,
.step-card h3,
.guide-card h3 {
  font-size: 1.35rem;
}

.verification-card p,
.verification-card li,
.step-card p,
.guide-card p,
.guide-card .guide-text,
.update-panel p {
  color: #475569;
  font-weight: 650;
  line-height: 1.65;
}

.verification-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.verification-card li {
  margin-top: 12px;
  padding-left: 25px;
  background: linear-gradient(var(--violet), var(--violet)) 0 0.72em / 12px 4px no-repeat;
}

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

.tutorial-figure {
  position: relative;
  margin: 0 0 34px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.tutorial-figure::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  pointer-events: none;
}

.tutorial-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tutorial-figure figcaption {
  position: relative;
  z-index: 1;
  border-top: 2px solid var(--line);
  background: #fffdf5;
  padding: 16px 20px;
  color: #475569;
  font-weight: 800;
  line-height: 1.55;
}

.step-card {
  position: relative;
  min-height: 240px;
  border-radius: 24px;
  padding: 74px 24px 24px;
}

.step-card:hover,
.guide-card:hover {
  transform: rotate(-1deg) scale(1.015);
}

.step-card.violet {
  box-shadow: 8px 8px 0 var(--violet);
}

.step-card.pink {
  box-shadow: 8px 8px 0 var(--pink);
}

.step-card.yellow {
  box-shadow: 8px 8px 0 var(--yellow);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.guide-card {
  border-radius: 22px;
  padding: 24px;
  transition:
    transform 220ms var(--ease-pop),
    box-shadow 220ms var(--ease-pop);
}

.guide-link {
  display: block;
  min-height: 100%;
}

.guide-text {
  display: block;
  margin-top: 16px;
}

.guide-dot {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
}

.purple {
  background: var(--violet);
}

.pink-dot {
  border-radius: 54% 46% 54% 46%;
  background: var(--pink);
}

.gold {
  border-radius: 0 999px 999px;
  background: var(--yellow);
}

.mint {
  background: var(--mint);
}

.update-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr) auto;
  gap: 30px;
  align-items: center;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 94% 18%, rgba(244, 114, 182, 0.4) 0 54px, transparent 55px),
    linear-gradient(135deg, #ffffff, #fef9c3);
}

.source-grid,
.expired-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.source-card,
.mini-card {
  display: block;
  min-height: 150px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(30, 41, 59, 0.14);
  padding: 20px;
}

.source-card span {
  display: inline-flex;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #dcfce7;
  padding: 5px 10px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-card strong {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.18rem;
  line-height: 1.15;
}

.source-card:hover,
.mini-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.mini-card .mono {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.mini-card p {
  margin: 0;
  color: #475569;
  font-weight: 650;
  line-height: 1.6;
}

.article-section {
  padding-top: 48px;
}

.article-body {
  max-width: 840px;
  border-left: 8px solid var(--violet);
  background: rgba(255, 255, 255, 0.7);
  padding: 0 0 0 clamp(20px, 4vw, 36px);
}

.article-body h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.article-body h3 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.article-body p {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.72;
}

.related-section {
  padding-top: 42px;
}

.compact-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-table {
  margin-top: 4px;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-bottom: 2px solid var(--soft-line);
  color: #475569;
  font-weight: 700;
  line-height: 1.6;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-head {
  border-bottom-color: var(--line);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.two-column-table .info-row {
  grid-template-columns: minmax(170px, 0.45fr) minmax(260px, 1fr);
}

.source-note {
  margin-top: 24px;
  border: 2px solid var(--line);
  border-radius: 22px 22px 22px 0;
  background:
    radial-gradient(circle at 96% 18%, rgba(52, 211, 153, 0.45) 0 42px, transparent 43px),
    var(--white);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.source-note strong {
  display: inline-flex;
  margin-bottom: 9px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fdf2f8;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-note p {
  margin: 0;
  color: #475569;
  font-weight: 700;
  line-height: 1.65;
}

.native-ad-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 40px) 42px;
}

.native-ad-card {
  position: relative;
  min-height: clamp(138px, 18vw, 248px);
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(30, 41, 59, 0.14);
  padding: 30px 20px 20px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  overflow: hidden;
}

.native-ad-card > div[id^="container-"] {
  min-height: 96px;
}

.long-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tier-board,
.update-timeline,
.faq-list {
  display: grid;
  gap: 18px;
}

.tier-row,
.timeline-item,
.faq-list details,
.calculator-card {
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tier-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.tier-row span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.tier-row p,
.timeline-item p {
  margin: 0;
  color: #475569;
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1.65;
}

.calculator-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.calculator-card label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calculator-card input {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 850;
}

.calculator-card input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 4px 4px 0 var(--violet);
}

.calculator-card output {
  display: block;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #dcfce7;
  padding: 16px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.timeline-item {
  padding: 24px;
}

.timeline-item time {
  display: inline-flex;
  margin-bottom: 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.timeline-item h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
  color: #475569;
  font-weight: 650;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 245, 0.78);
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-weight: 900;
}

.footer-coffee-button {
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(255, 253, 245, 0.86);
  box-shadow: none;
  font-size: 0.8rem;
}

.footer-coffee-button:hover {
  box-shadow: none;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 44px));
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--mint);
  box-shadow: var(--shadow);
  padding: 13px 18px;
  color: var(--ink);
  font-weight: 900;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-section,
  .codes-layout,
  .section-heading,
  .update-panel,
  .split-hero {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-board {
    max-width: 620px;
  }

  .steps,
  .guide-grid,
  .source-grid,
  .expired-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-table .info-row {
    grid-template-columns: 1fr;
  }

  .update-panel {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand > span:last-child {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    max-width: 98px;
    padding-inline: 8px;
  }

  .language-switcher span {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.45rem);
    line-height: 0.95;
  }

  .hero-section,
  .section {
    padding-inline: 16px;
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    display: none;
  }

  .steps,
  .guide-grid,
  .source-grid,
  .expired-grid {
    grid-template-columns: 1fr;
  }

  .hero-board {
    border-radius: 24px 24px 24px 0;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .hero-board::before {
    display: none;
  }

  .board-top {
    flex-direction: column;
  }

  .table-card {
    overflow-x: auto;
  }

  .table-row {
    grid-template-columns: 142px 132px 130px 72px;
    min-width: 520px;
    padding: 14px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .slime-head,
  .slime-row {
    grid-template-columns: 130px 210px 170px 90px;
    min-width: 640px;
  }

  .tier-row {
    grid-template-columns: 1fr;
  }

  .shape-pink,
  .shape-green,
  .shape-ring {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
