@font-face {
  font-family: "Obviously";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Obviously-Semibold.woff2") format("woff2");
}

:root {
  --night: #0a0e14;
  --deep: #053b36;
  --green: #006757;
  --mint: #36cbb5;
  --ink: #ffffff;
  --muted: #b9d4cf;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.14);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night) linear-gradient(180deg, var(--night) 0, var(--deep) 60rem, var(--deep) 100%) no-repeat;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .wordmark, .brand {
  font-family: "Obviously", "Arial Black", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--mint); color: var(--night); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; }

.nav { border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.15rem; }
.nav nav { display: flex; gap: 20px; margin-left: auto; }
.nav nav a, .lang { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover, .lang:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 640px) {
  .nav nav { display: none; }
  .lang { margin-left: auto; }
}

section { padding: 56px 0; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.05rem; line-height: 1.3; }
.intro { color: var(--muted); max-width: 46rem; margin-bottom: 26px; }
.intro.after { margin: 26px 0 0; }

.hero { text-align: center; padding: 48px 0 40px; }
.hero .icon { width: 128px; height: 128px; border-radius: 22%; margin: 0 auto 18px; }
.wordmark { color: var(--mint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.1rem; margin-bottom: 14px; }
h1 { font-size: clamp(2rem, 6.5vw, 3.5rem); max-width: 18ch; margin: 0 auto 18px; text-wrap: balance; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; margin: 0 auto 26px; }
.meta { color: var(--muted); font-size: 0.95rem; margin-top: 16px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #a6a6a6; border-radius: 12px; padding: 9px 18px 9px 14px;
  font-size: 1.45rem; font-weight: 600; line-height: 1.1; text-align: left;
}
.store-badge small { display: block; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.01em; }
.store-badge:hover { border-color: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { counter-increment: step; }
.step img { width: 100%; border-radius: 18px; margin-bottom: 16px; }
.step h3::before { content: counter(step) ". "; color: var(--mint); }
.step p { color: var(--muted); margin-top: 6px; font-size: 0.98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .step img { max-width: 300px; margin-left: auto; margin-right: auto; }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.cards p { color: var(--muted); margin-top: 6px; font-size: 0.98rem; }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.72rem; font-weight: 700;
  color: var(--night); background: var(--mint); border-radius: 999px; padding: 2px 9px;
}
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.three { grid-template-columns: 1fr; } }

.faq > div { border-top: 1px solid var(--line); padding: 18px 0; }
.faq dt { font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.faq dd { color: var(--muted); }

.cta { text-align: center; }
.cta h2 { margin-bottom: 24px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.footer p + p { margin-top: 4px; }

.legal { padding: 40px 0 56px; }
.legal h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); max-width: none; margin: 0 0 18px; text-wrap: initial; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p { margin-bottom: 14px; color: #dcebe8; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; color: #dcebe8; }
.legal li { margin-bottom: 6px; }
.legal section { padding: 0; }

.notfound h1 + .lead { margin-bottom: 40px; }
.notfound .h1 { font-family: "Obviously", "Arial Black", system-ui, sans-serif; font-weight: 600; font-size: 1.5rem; margin-bottom: 12px; }

.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.guides a {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.guides a::after { content: " →"; color: var(--mint); }
.guides a:hover { border-color: var(--mint); }
@media (max-width: 560px) { .guides { grid-template-columns: 1fr; } }

.page { padding-top: 40px; }
.page h1 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); max-width: none; margin: 0 0 16px; }
.page .lead { margin: 0 0 8px; max-width: none; }
.page article h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.page article p { color: #dcebe8; margin-bottom: 14px; }
.page article > ul, .page article > ol { color: #dcebe8; padding-left: 24px; margin-bottom: 14px; }
.page article > ul { list-style: disc; }
.page article > ol:not(.questions) { list-style: decimal; }
.page article > ul > li, .page article > ol:not(.questions) > li { margin-bottom: 8px; }
.table { overflow-x: auto; margin-bottom: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { color: var(--mint); font-weight: 700; }
tbody th { font-weight: 700; }
@media (max-width: 560px) { th, td { padding: 10px 8px; font-size: 0.92rem; } }
td { color: #dcebe8; }

.page article > ol.questions { padding-left: 0; }
.questions > li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.questions h3 { font-family: inherit; font-weight: 700; font-size: 1.08rem; margin-bottom: 12px; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.options li { background: rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 8px 12px; font-size: 0.98rem; }
@media (max-width: 460px) { .options { grid-template-columns: 1fr; } }
summary { cursor: pointer; color: var(--mint); font-weight: 600; }
details p { margin: 10px 0 0 !important; }
.related { padding-bottom: 56px; }
.related h2 { font-size: 1.3rem; }
