/* Leveldrops: ink + signal lime. Fonts are self-hosted (SIL OFL, see /assets/fonts/LICENSE-*.txt). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #0A0C10;
  --ink-2: #0E1117;
  --panel: #12161D;
  --line: #1D232D;
  --line-2: #2A3341;
  --text: #EEF1F5;
  --text-2: #C9D1DC;
  --muted: #9AA4B2;
  --faint: #8C96A4;
  --lime: #C3F53C;
  --lime-hover: #D6FF6E;
  --violet: #BEB2FF;
  --discord: #5865F2;
  --telegram: #1F7FBF;
  --radius: 20px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--lime); }
a:hover { color: var(--lime-hover); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
code { background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--faint); }
.lime { color: var(--lime); }
.icon { flex: none; }
.muted-icon { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 44px; padding: 8px 18px; border-radius: 10px; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752C4; color: #fff; }
.btn-telegram { background: var(--telegram); color: #fff; }
.btn-telegram:hover { background: #196A9F; color: #fff; }
.link { font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { color: var(--text-2); text-decoration: none; padding: 10px 14px; font-weight: 500; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--lime); }
.nav-links .btn { margin-left: 8px; }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-small { padding-top: 72px; padding-bottom: 40px; gap: 18px; }
.hero h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1; letter-spacing: -0.035em; max-width: 920px; }
.hero-small h1 { font-size: clamp(40px, 6vw, 72px); }
.accent { color: var(--lime); }
.lead { max-width: 640px; font-size: 19px; color: var(--muted); }
.badge { border: 1px solid var(--line-2); color: var(--text-2); padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding-top: 0; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 96px; }
.band .section { padding-top: 80px; padding-bottom: 80px; }
main > .band:last-child { margin-bottom: 0; }
.site-footer:not([id]) .footer-bottom { border-top: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 28px; }
.steps li, .features li { display: flex; flex-direction: column; gap: 10px; }
.step-no { font-family: var(--display); color: var(--lime); font-weight: 700; font-size: 15px; }

/* Cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.service-card { color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.service-card:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }
.service-card h3 { font-size: 34px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.from { margin-top: auto; padding-top: 8px; color: var(--muted); font-size: 15px; }
.from-price { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--text); }
.card-more { background: transparent; border-style: dashed; border-color: var(--line-2); justify-content: center; }
.card-more h3 { font-size: 26px; }
.tag { align-self: flex-start; font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #26301A; color: var(--lime); }
.tag-violet { background: #221E3A; color: var(--violet); }
.tag-blue { background: #14263A; color: #8CC8FF; }
.tag-orange { background: #33230F; color: #FFC078; }
.tag-pink { background: #351728; color: #FFA6D2; }
.pill { border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; font-family: var(--body); letter-spacing: 0; }
.pill-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* Pricing */
.tabs { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.tabs button { min-height: 44px; border: 0; border-radius: 10px; padding: 10px 20px; font: inherit; font-weight: 600; cursor: pointer; background: transparent; color: var(--text-2); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.group { display: flex; flex-direction: column; gap: 16px; }
.group + .group { margin-top: 24px; }
.js .tabs + .group, .js .group + .group { margin-top: 0; }
.group-title { font-size: 22px; }
.js .group-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plan { padding: 28px; gap: 12px; min-height: 290px; }
.plan.featured { border-color: var(--lime); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-name { font-size: 36px; letter-spacing: -0.03em; }
.plan-detail { font-size: 15px; }
.plan-price { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.price { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; line-height: 1.1; }
.per { color: var(--faint); font-size: 14px; }

/* FAQ */
.faq-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 48px; align-items: start; }
.faq-section > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { margin-top: 10px; }

/* Order + footer */
.order { align-items: center; text-align: center; gap: 18px; }
.order h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.order-picked { color: var(--text-2); }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-contact { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-contact h2 { font-size: 28px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--faint); font-size: 14px; }
.footer-links a { color: var(--faint); }

/* Terms */
.terms { padding-top: 64px; padding-bottom: 96px; }
.terms-body { max-width: 820px; color: var(--text-2); }
.terms-body h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; color: var(--text); }
.terms-body h1 + p { color: var(--faint); margin-bottom: 24px; }
.terms-body h2 { font-size: 24px; margin: 40px 0 12px; color: var(--text); scroll-margin-top: 24px; }
.terms-body h3 { font-size: 18px; margin: 24px 0 8px; color: var(--text); }
.terms-body p { margin: 0 0 12px; }
.terms-body ul { margin: 0 0 16px; padding-left: 22px; }
.terms-body li { margin-bottom: 6px; }
.terms-body strong { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .card { padding: 24px; }
  .nav-links .btn { display: none; }
  .contact-buttons .btn { width: 100%; }
}
