:root {
    --bc-bg: #080b0d;
    --bc-bg-soft: #0d1317;
    --bc-panel: rgba(13, 19, 23, 0.88);
    --bc-panel-solid: #101820;
    --bc-text: #e6f4ec;
    --bc-muted: #8ca79c;
    --bc-dim: #51665f;
    --bc-line: rgba(114, 255, 184, 0.16);
    --bc-green: #72ffb8;
    --bc-green-soft: rgba(114, 255, 184, 0.12);
    --bc-amber: #ffd27a;
    --bc-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    --bc-radius: 24px;
    --bc-radius-sm: 14px;
    --bc-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bc-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--bc-text);
    background:
        radial-gradient(circle at 18% 14%, rgba(114, 255, 184, 0.14), transparent 26rem),
        radial-gradient(circle at 82% 18%, rgba(255, 210, 122, 0.08), transparent 22rem),
        linear-gradient(180deg, #07090b 0%, var(--bc-bg) 44%, #050607 100%);
    font-family: var(--bc-font);
    line-height: 1.55;
}
body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    z-index: -1;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 999;
    padding: 10px 14px;
    background: var(--bc-green);
    color: #04100a;
    border-radius: 8px;
}
.skip-link:focus { left: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.bc-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.bc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--bc-line);
    background: rgba(8, 11, 13, 0.76);
    backdrop-filter: blur(18px);
}
.bc-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.bc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .04em;
}
.bc-brand__mark,
.bc-footer__logo {
    color: var(--bc-green);
    text-shadow: 0 0 18px rgba(114,255,184,.55);
}
.bc-brand__logo-img {
    flex: 0 0 auto;
    display: block;
    max-height: 54px;
    width: auto;
    border-radius: 8px;
}
.bc-brand__text {
    display: inline-block;
    color: var(--bc-green);
    font-family: var(--bc-mono);
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-shadow: 0 0 18px rgba(114,255,184,.48);
    white-space: nowrap;
}
.custom-logo-link img { max-height: 54px; width: auto; display: block; }
.bc-nav__list, .bc-footer__menu { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; align-items: center; }
.bc-nav__list a, .bc-footer__menu a {
    display: inline-flex;
    padding: 9px 12px;
    color: var(--bc-muted);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
}
.bc-nav__list a:hover, .bc-footer__menu a:hover { color: var(--bc-text); border-color: var(--bc-line); background: var(--bc-green-soft); }
.bc-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--bc-line); border-radius: 12px; background: var(--bc-panel); }
.bc-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--bc-green); }

.bc-main { min-height: 70vh; }
.bc-hero { padding: 92px 0 42px; }
.bc-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; }
.bc-kicker { color: var(--bc-green); font-family: var(--bc-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 84px); line-height: .95; letter-spacing: -0.06em; }
.bc-hero h1 {
    font-size: clamp(40px, 4.4vw, 52px);
}
.bc-lead { max-width: 640px; color: var(--bc-muted); font-size: clamp(18px, 2.2vw, 23px); margin: 24px 0 0; }
.bc-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.bc-hero__meta span, .bc-note-box__label {
    font-family: var(--bc-mono);
    color: var(--bc-amber);
    border: 1px solid rgba(255,210,122,.2);
    background: rgba(255,210,122,.07);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.bc-terminal {
    border: 1px solid var(--bc-line);
    background: linear-gradient(180deg, rgba(16,24,32,.86), rgba(5,10,12,.92));
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow), inset 0 0 0 1px rgba(255,255,255,.03);
    overflow: hidden;
}
.bc-terminal__top { display: flex; gap: 8px; padding: 16px; border-bottom: 1px solid var(--bc-line); }
.bc-terminal__top span { width: 10px; height: 10px; border-radius: 50%; background: var(--bc-dim); }
.bc-terminal__body { padding: 28px; min-height: 280px; font-family: var(--bc-mono); color: var(--bc-green); text-shadow: 0 0 14px rgba(114,255,184,.34); }
.bc-terminal__body p { margin: 0 0 14px; }
.bc-terminal__cursor { animation: bcBlink 1.1s steps(1) infinite; }
@keyframes bcBlink { 50% { opacity: .35; } }

.bc-actions { padding: 34px 0 44px; }
.bc-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bc-action-card {
    display: flex;
    min-height: 246px;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    color: var(--bc-text);
    text-decoration: none;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    background:
        linear-gradient(180deg, rgba(114,255,184,.07), transparent 58%),
        var(--bc-panel);
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.bc-action-card:hover { transform: translateY(-4px); border-color: rgba(114,255,184,.42); background-color: rgba(19,31,29,.88); }
.bc-action-card__icon { font-family: var(--bc-mono); color: var(--bc-green); font-size: 13px; }
.bc-action-card__title { display: block; font-size: 24px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.bc-action-card__text { color: var(--bc-muted); font-size: 15px; }
.bc-home-note { padding: 0 0 84px; }
.bc-note-box { border: 1px solid var(--bc-line); background: var(--bc-panel); border-radius: var(--bc-radius); padding: 28px; }
.bc-note-box p { margin: 18px 0 0; color: var(--bc-muted); font-size: 18px; }

.bc-page-head { padding: 42px 0 18px; }
.bc-page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.bc-content-section { padding: 20px 0 80px; }
.bc-content {
    max-width: 1180px;
    padding: 34px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    background: var(--bc-panel);
}
.bc-content :where(h2,h3,h4) { line-height: 1.15; letter-spacing: -0.03em; }
.bc-content a { color: var(--bc-green); }
.bc-content input:not([type="checkbox"]):not([type="radio"]), .bc-content textarea, .bc-content select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--bc-text);
    border: 1px solid var(--bc-line);
    border-radius: 12px;
    background: rgba(0,0,0,.22);
}
.bc-content button, .bc-content input[type="submit"], .bc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    color: #04100a;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    background: var(--bc-green);
    cursor: pointer;
}
.bc-post-list { display: grid; gap: 16px; }
.bc-post-card { border: 1px solid var(--bc-line); background: var(--bc-panel); border-radius: var(--bc-radius); padding: 24px; }
.bc-post-card h2 { margin: 0; }
.bc-post-card h2 a { text-decoration: none; }
.bc-post-card__meta { margin-top: 8px; color: var(--bc-muted); font-family: var(--bc-mono); font-size: 13px; }
.bc-post-card__excerpt { color: var(--bc-muted); }

.bc-footer { border-top: 1px solid var(--bc-line); background: rgba(5,8,9,.86); }
.bc-footer__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--bc-muted); }
.bc-footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--bc-mono); color: var(--bc-text); }
.bc-footer__copy { font-size: 14px; }

@media (max-width: 900px) {
    .bc-hero { padding-top: 56px; }
    .bc-hero__grid { grid-template-columns: 1fr; }
    .bc-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .bc-container { width: min(100% - 28px, 1240px); }
    .bc-menu-toggle { display: block; }
    .bc-nav { position: fixed; left: 14px; right: 14px; top: 86px; display: none; padding: 14px; border: 1px solid var(--bc-line); border-radius: 18px; background: rgba(9, 13, 15, .98); box-shadow: var(--bc-shadow); }
    .bc-menu-open .bc-nav { display: block; }
    .bc-nav__list { flex-direction: column; align-items: stretch; }
    .bc-nav__list a { width: 100%; justify-content: center; }
    .bc-card-grid { grid-template-columns: 1fr; }
    .bc-action-card { min-height: 190px; }
    .bc-footer__inner { flex-direction: column; align-items: flex-start; padding: 26px 0; }
    .bc-footer__menu { flex-wrap: wrap; }
}

.bc-front-content { padding: 0 0 84px; }
.bc-front-content .bc-content { max-width: 1240px; }

@media (max-width: 680px) {
    .bc-brand { gap: 9px; }
    .bc-brand__logo-img { max-height: 46px; }
    .bc-brand__text { font-size: 13px; letter-spacing: .09em; }
}


.bycards-pricing {
  margin: 32px 0;
  padding: 28px;
  border: 1px solid rgba(99, 255, 199, .22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 25, 25, .92), rgba(6, 14, 15, .92));
  color: #ecfff8;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .22);
}

.bycards-pricing__head {
  margin-bottom: 20px;
}

.bycards-pricing__label {
  display: inline-block;
  margin-bottom: 8px;
  color: #63ffc7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bycards-pricing__title {
  margin: 0 0 8px;
  color: #ecfff8;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.bycards-pricing__text {
  margin: 0;
  color: rgba(236, 255, 248, .66);
  line-height: 1.5;
}

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

.bycards-pricing__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(236, 255, 248, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.bycards-pricing__table th,
.bycards-pricing__table td {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(236, 255, 248, .1);
  text-align: left;
  font-size: 15px;
}

.bycards-pricing__table th {
  color: #63ffc7;
  font-weight: 900;
  background: rgba(99, 255, 199, .07);
}

.bycards-pricing__table td {
  color: #ecfff8;
  font-weight: 700;
}

.bycards-pricing__table th:last-child,
.bycards-pricing__table td:last-child {
  text-align: right;
}

.bycards-pricing__table tbody tr:last-child td {
  border-bottom: 0;
}

.bycards-pricing__table tbody tr:hover {
  background: rgba(99, 255, 199, .06);
}

.bycards-pricing__row--best {
  background: rgba(99, 255, 199, .1);
}

.bycards-pricing__row--best td {
  color: #63ffc7;
  font-weight: 900;
}

@media (max-width: 760px) {
  .bycards-pricing {
    padding: 20px;
    border-radius: 18px;
  }

  .bycards-pricing__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .bycards-pricing {
    margin: 24px 0;
    padding: 16px;
  }

  .bycards-pricing__title {
    font-size: 24px;
  }

  .bycards-pricing__table th,
  .bycards-pricing__table td {
    padding: 11px 12px;
    font-size: 14px;
  }
}

/* DG mobile container fix for cabinet pages - 2026-06-08 */
@media (max-width: 760px) {
    .bc-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .bc-content-section {
        padding: 12px 0 48px !important;
        overflow-x: hidden !important;
    }
    .bc-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}
