@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/source-serif-4-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/source-serif-4-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --accent: #0f6b3d;
    --accent-tint: #e8f1ea;
    --accent-on-dark: #5cc488;
    --bg: #faf8f3;
    --surface: #ffffff;
    --surface-2: #f5f2ea;
    --ink: #1b211d;
    --ink-soft: #55605a;
    --ink-faint: #8b9089;
    --rule: #e7e2d7;
    --hero-bg: #15201b;
    --shadow-sm: 0 1px 2px rgba(20,30,24,0.05), 0 2px 8px rgba(20,30,24,0.05);
    --shadow-md: 0 6px 22px rgba(20,30,24,0.09), 0 1px 3px rgba(20,30,24,0.06);
    --radius: 14px;
    --radius-sm: 9px;
    --check-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%230f6b3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.4l3.1 3.1L13 4'/%3E%3C/svg%3E");
    --check-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%235cc488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.4l3.1 3.1L13 4'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }
body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background: var(--hero-bg);
    color: #fff;
    padding: 84px 0 72px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(58% 80% at 88% -10%, rgba(92,196,136,0.16), transparent 68%),
        radial-gradient(40% 60% at 0% 110%, rgba(92,196,136,0.07), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; }

/* Header row: logo + language switch, aligned on one baseline */
.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
}
.lang-switch .sep { color: rgba(255,255,255,0.35); }
.lang-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 8px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.lang-switch a:hover { color: var(--accent-on-dark); }
.lang-switch .current,
.lang-switch .current:hover { color: rgba(255,255,255,0.55); cursor: default; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}
.skip-link:focus {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--accent-on-dark);
    color: #0a140d;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-logo {
    height: 30px;
    width: auto;
    display: block;
}
h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 5.2vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 22px;
    max-width: 18ch;
}
.hero .subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.74);
    max-width: 60ch;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Primary action: one high-emphasis (filled) CTA reusing .cta */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
/* Secondary, low-emphasis contact channels — clearly subordinate */
.hero-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
}
.hero-contact a {
    color: rgba(255,255,255,0.92);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.32);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.15s, text-decoration-color 0.15s;
}
.hero-contact a:hover {
    color: var(--accent-on-dark);
    text-decoration-color: var(--accent-on-dark);
}
.hero-contact .sep { color: rgba(255,255,255,0.28); }

/* ---------- Main ---------- */
main { padding: 76px 0 40px; }

.lead {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--ink);
    margin-bottom: 80px;
    max-width: 720px;
}
.lead strong { color: var(--accent); font-weight: 600; }
.lead a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(15,107,61,0.35);
    text-underline-offset: 3px;
}
.lead a:hover { text-decoration-color: var(--accent); }

section { margin-bottom: 80px; }
h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 3.4vw, 2.15rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 34px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
    position: relative;
}
h2::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

/* ---------- Tiers ---------- */
.tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.tier {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.tier-standard { border-top: 3px solid var(--accent); }
.tier-private {
    background: var(--hero-bg);
    border-color: var(--hero-bg);
    color: rgba(255,255,255,0.86);
    box-shadow: var(--shadow-md);
}
.tier-num {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}
.tier-private .tier-num { color: var(--accent-on-dark); }
.tier h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.tier-private h3 { color: #fff; }
.tier-sub {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 22px;
}
.tier-private .tier-sub { color: rgba(255,255,255,0.58); }
.tier-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 18px 0;
    margin-bottom: 22px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.tier-private .tier-price {
    border-top-color: rgba(255,255,255,0.16);
    border-bottom-color: rgba(255,255,255,0.16);
}
.tier-price-amount {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.tier-private .tier-price-amount { color: #fff; }
.tier-price-period {
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.tier-private .tier-price-period { color: rgba(255,255,255,0.58); }
.tier > p {
    color: var(--ink-soft);
    font-size: 1rem;
    margin-bottom: 22px;
    line-height: 1.6;
}
.tier-private > p { color: rgba(255,255,255,0.8); }
.tier ul { list-style: none; margin-top: auto; }
.tier ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 0.97rem;
    line-height: 1.5;
    color: var(--ink-soft);
}
.tier-private ul li { color: rgba(255,255,255,0.86); }
.tier ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--accent-tint) var(--check-light) center / 13px no-repeat;
}
.tier-private ul li::before {
    background: rgba(92,196,136,0.16) var(--check-dark) center / 13px no-repeat;
}

/* ---------- Intro / callout ---------- */
.section-intro {
    color: var(--ink-soft);
    margin-bottom: 28px;
    max-width: 720px;
    line-height: 1.65;
    font-size: 1.02rem;
}
.section-intro strong { color: var(--ink); font-weight: 600; }
.section-intro em { font-style: italic; }

.crypto-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 32px;
    margin-bottom: 28px;
}
.crypto-list dt {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--accent);
    padding: 20px 0;
    border-top: 1px solid var(--rule);
    align-self: baseline;
}
.crypto-list dd {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid var(--rule);
    align-self: baseline;
}
.crypto-list dt:first-of-type,
.crypto-list dt:first-of-type + dd { border-top: none; }

.section-callout {
    color: var(--ink-soft);
    max-width: 760px;
    line-height: 1.65;
    font-size: 1rem;
    padding: 24px 26px;
    background: var(--surface-2);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 30px;
}
.section-callout strong { color: var(--ink); font-weight: 600; }
.section-callout em { font-style: italic; }

/* ---------- Services (feature rows) ---------- */
.services { list-style: none; }
.services > li {
    display: grid;
    grid-template-columns: 1fr;
    padding: 26px 0;
    border-bottom: 1px solid var(--rule);
}
.services > li:first-child { padding-top: 6px; }
.services > li:last-child { border-bottom: none; padding-bottom: 0; }
.services h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink);
    line-height: 1.3;
}
.services p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}
.services p em { font-style: italic; }

/* ---------- FAQ ---------- */
.faq {
    list-style: none;
    border-top: 1px solid var(--rule);
}
.faq > li {
    border-bottom: 1px solid var(--rule);
}
.faq details summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq .q-text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    transition: color 0.15s;
}
.faq .chevron {
    color: var(--ink-faint);
    transition: transform 0.2s, color 0.15s;
    flex-shrink: 0;
}
.faq details summary:hover .q-text,
.faq details summary:hover .chevron { color: var(--accent); }
.faq details[open] .q-text { color: var(--accent); }
.faq details[open] .chevron {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq .answer {
    padding: 0 0 26px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 720px;
}

/* ---------- Why / audience grid ---------- */
.why {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.why li {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    padding: 20px 22px 20px 50px;
    font-size: 1rem;
    line-height: 1.55;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.why li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 21px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--accent-tint) var(--check-light) center / 13px no-repeat;
}
.why li strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-block {
    background: var(--hero-bg);
    color: #fff;
    padding: 56px 48px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(92,196,136,0.45) 0%, transparent 70%);
    pointer-events: none;
}
.cta-block h2 {
    color: #fff;
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 20px;
    position: relative;
}
.cta-block h2::before { background: var(--accent-on-dark); }
.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-on-dark);
    color: #08130c;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
    position: relative;
    box-shadow: 0 4px 16px rgba(92,196,136,0.25);
}
.cta:hover {
    transform: translateY(-2px);
    background: #6fd49a;
    box-shadow: 0 8px 24px rgba(92,196,136,0.32);
}
.cta span[aria-hidden] { transition: transform 0.15s; }
.cta:hover span[aria-hidden] { transform: translateX(4px); }

.cta-secondary {
    margin-top: 26px;
    color: rgba(255,255,255,0.74);
    font-size: 0.98rem;
    position: relative;
    max-width: 540px;
}
.cta-secondary a {
    color: rgba(255,255,255,0.96);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s, color 0.15s;
}
.cta-secondary a:hover {
    color: var(--accent-on-dark);
    text-decoration-color: var(--accent-on-dark);
}

/* ---------- Footer ---------- */
footer {
    padding: 40px 0 56px;
    border-top: 1px solid var(--rule);
    margin-top: 40px;
}
.footer-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bar a {
    color: var(--ink-soft);
    text-decoration: none;
    padding: 9px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid var(--rule);
    border-radius: 999px;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-bar a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-tint);
}
.copyright {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #676c67; /* WCAG AA: ~5:1 on --bg (was --ink-faint, 3.1:1) */
}

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.hero a:focus-visible,
.tier-private a:focus-visible,
.cta-block a:focus-visible,
.cta:focus-visible {
    outline-color: #ffffff;
    outline-offset: 3px;
}
.cta:focus-visible { outline-offset: 4px; }
.footer-bar a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Device grid ---------- */
.device-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}
.device-card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s, transform 0.15s;
}
.device-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.device-name {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.device-sku {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .crypto-list { grid-template-columns: 180px 1fr; column-gap: 24px; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    main { padding: 56px 0 32px; }
    section { margin-bottom: 60px; }
    .hero { padding: 64px 0 56px; }
    .lead { margin-bottom: 60px; }
    .tiers { grid-template-columns: 1fr; }
    .crypto-list { grid-template-columns: 1fr; column-gap: 0; }
    .crypto-list dt { padding: 16px 0 2px; }
    .crypto-list dd { padding: 0 0 16px; border-top: none; }
    .crypto-list dt:first-of-type { border-top: none; }
    .why { grid-template-columns: 1fr; }
    .device-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-block { padding: 40px 26px; }
    .cta { display: inline-flex; width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
    .container { padding: 0 18px; }
    .tier { padding: 28px 22px; }
    .device-grid { grid-template-columns: 1fr; }
}

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