@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --bg0: #070a12;
    --bg1: #0b1020;
    --panel: rgba(255, 255, 255, 0.04);
    --panel_hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.10);
    --border_hover: rgba(255, 255, 255, 0.18);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.62);
    --muted2: rgba(255, 255, 255, 0.48);
    --accent: #ff6f91;
    --accent2: #8b5cf6;
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] {
    --bg0: #f7f8ff;
    --bg1: #eef1ff;
    --panel: rgba(10, 16, 32, 0.04);
    --panel_hover: rgba(10, 16, 32, 0.06);
    --border: rgba(10, 16, 32, 0.12);
    --border_hover: rgba(10, 16, 32, 0.22);
    --text: rgba(10, 16, 32, 0.92);
    --muted: rgba(10, 16, 32, 0.62);
    --muted2: rgba(10, 16, 32, 0.48);
}
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg0), var(--bg1));
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.site_header {
    padding: 68px 0 34px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.brand__name {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 18px;
    line-height: 1;
}

.brand__badge {
    font-size: 12px;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero__title {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero__subtitle {
    margin: 14px 0 0;
    max-width: 72ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.hero__meta {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero__meta_item {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 14px 14px;
}

.hero__meta_k {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted2);
}

.hero__meta_v {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.site_main {
    padding: 28px 0 72px;
}

.section { padding: 30px 0; }
.section:first-child { padding-top: 10px; }

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 22px;
}

.section__title {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.section__desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    max-width: 80ch;
}

.section__actions {
    margin: 18px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    padding: 11px 13px;
    border-radius: 999px;
    min-width: min(600px, 100%);
}

.search__icon {
    color: var(--muted2);
    font-size: 14px;
    line-height: 1;
}

.search__input {
    flex: 1;
    min-width: 220px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 13px;
}

.search__input::placeholder { color: rgba(255, 255, 255, 0.38); }

.search__clear {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.search__clear:hover {
    border-color: var(--border_hover);
    background: rgba(255, 255, 255, 0.05);
}

.search__meta {
    color: var(--muted2);
    font-size: 12px;
}

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

.card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
    padding: 18px 18px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    outline: none;
    min-height: 112px;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--border_hover);
    background: var(--panel_hover);
    box-shadow: var(--shadow);
}

.card:focus-visible {
    border-color: rgba(255, 111, 145, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 111, 145, 0.16);
}

.card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.card__tag {
    font-size: 11px;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
    text-transform: lowercase;
}

.card__desc {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.section--split { margin-top: 8px; }

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

.panel {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    padding: 20px 20px;
}

.panel__title {
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.panel__text {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.bullets {
    margin: 14px 0 0;
    padding: 0 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

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

.step {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    padding: 18px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.step__n {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(255, 111, 145, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.step__t {
    font-weight: 700;
    font-size: 13px;
}

.step__d {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

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

.mini_card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    padding: 18px 18px;
    min-height: 112px;
}

.mini_card__t {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.mini_card__d {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.faq {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.faq__q:hover { background: rgba(255, 255, 255, 0.03); }

.faq__ico {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--muted);
    flex: 0 0 auto;
}

.faq__a {
    padding: 0 18px 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.faq__a[hidden] { display: none; }

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is_visible {
    opacity: 1;
    transform: translateY(0);
}

.site_footer {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer__brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.88);
}

.footer__sep { color: rgba(255, 255, 255, 0.20); }
.footer__note { color: var(--muted); }
.footer__meta { color: var(--muted2); }

.footer__toggle {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    cursor: pointer;
}

html[data-theme="light"] .footer__toggle {
    border-color: rgba(10, 16, 32, 0.16);
    background: rgba(10, 16, 32, 0.03);
}

.footer__toggle:hover {
    border-color: var(--border_hover);
    background: rgba(255, 255, 255, 0.05);
}
@media (max-width: 920px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__meta { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .site_header { padding: 52px 0 24px; }
    .grid { grid-template-columns: 1fr; }
    .card { padding: 16px 16px; }
    .search { padding: 10px 10px; }
    .search__clear { width: 100%; }
    .grid--wide { grid-template-columns: 1fr; }
}