@layer base, component;

@layer base {
  *,
  ::after,
  ::before {
    box-sizing: border-box;
  }
  * {
    margin: 0;
    padding: 0;
  }
  :root {
    --bg-page: #171717;
    --bg-card: #27272a;
    --bg-card-hover: #3f3f46;
    --border: #52525b;
    --text: #fafafa;
    --text-muted: #d4d4d8;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --gradient-start: #ffde4c;
    --gradient-end: #ffb22e;
    --gradient: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 67%);
    --gradient-hover: linear-gradient(180deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
    --font-head: "Geologica", sans-serif;
    --font-body: "Open Sans", sans-serif;
  }
}

@layer component {
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: var(--bg-page);
    text-decoration: none;
    font-weight: 600;
  }
  .skip-link:focus {
    top: 0;
  }

  .page {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
    background: var(--bg-page);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
  }

  .wrap {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  @media (min-width: 640px) {
    .wrap { max-width: 576px; }
  }
  @media (min-width: 768px) {
    .wrap { max-width: 720px; }
  }
  @media (min-width: 1024px) {
    .wrap { max-width: 960px; }
  }
  @media (min-width: 1280px) {
    .wrap { max-width: 1280px; }
  }

  .wrap--flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
  }
  @media (min-width: 1024px) {
    .wrap--flex > *:first-child { flex: 0 0 50%; }
    .wrap--flex > *:last-child { flex: 0 0 50%; }
  }

  /* Mast / Header */
  .mast {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  @media (max-width: 1024px) {
    .mast {
      position: fixed;
      background: var(--bg-page);
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
      max-height: 100vh;
      overflow-y: auto;
    }
  }

  .mast-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-right: 1rem;
  }
  .logo img {
    max-width: 10rem;
    max-height: 2.5rem;
    height: auto;
    vertical-align: middle;
  }
  .logo-icon {
    display: block;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    vertical-align: middle;
  }
  .logo-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, #b8860b 0%, #ffc107 25%, #ffde4c 50%, #ffb22e 75%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    white-space: nowrap;
  }
  .logo:hover .logo-text {
    background: linear-gradient(135deg, #f59e0b 0%, #ffde4c 30%, #ffc107 60%, #ffb22e 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  @media (max-width: 1024px) {
    .logo img { max-width: 9rem; }
    .logo-text { font-size: 1.1rem; }
    .logo-icon { width: 2rem; height: 2rem; }
  }
  @media (max-width: 480px) {
    .logo-text { font-size: 1rem; }
    .logo-icon { width: 1.75rem; height: 1.75rem; }
    .logo { gap: 0.375rem; }
  }

  .nav-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
  @media (max-width: 1024px) {
    .nav-toggle { display: block; }
  }

  .nav-toggle-icon::before {
    content: "☰";
  }

  .nav {
    margin-left: auto;
  }
  @media (max-width: 1024px) {
    .nav { display: none; width: 100%; margin-top: 1.25rem; }
    .nav.is-open { display: block; }
  }

  .nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1.5rem;
  }
  @media (max-width: 1024px) {
    .nav-list {
      flex-direction: column;
      align-items: stretch;
      background: rgba(255,255,255,0.05);
      padding: 0.5rem;
      border-radius: 1rem;
    }
  }

  .nav-a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .nav-a:hover,
  .nav-a:focus {
    color: var(--accent);
  }
  .nav-a--active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
  }
  @media (max-width: 1024px) {
    .nav-a {
      color: var(--text);
      border-bottom: 1px solid var(--border);
      padding: 0.625rem;
    }
    .nav-a--active { border-bottom-color: var(--border); }
  }

  .nav-lang {
    display: flex;
    align-items: center;
    gap: 0.375rem;
  }
  .lang-flag img {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    object-fit: cover;
  }
  .lang-txt {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
  }

  .btn-prim,
  .btn-fill {
    display: inline-block;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    color: var(--bg-page);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.15s ease, transform 0.15s ease;
  }
  .btn-prim::before,
  .btn-fill::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--gradient);
    transition: opacity 0.2s ease;
  }
  .btn-prim:hover,
  .btn-fill:hover {
    color: var(--accent-light);
  }
  .btn-prim::after,
  .btn-fill::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--gradient-hover);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .btn-prim:hover::after,
  .btn-fill:hover::after {
    opacity: 1;
  }

  .btn-outline {
    display: inline-block;
    padding: 1rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .btn-outline:hover,
  .btn-outline:focus {
    color: var(--bg-page);
    border-color: transparent;
    background: var(--gradient);
  }

  /* Lead / Hero */
  .lead {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background: #0d1017 url("https://visergold.us/assets/images/frontend/banner/674edccd2c0a91733221581.png") 50% / cover no-repeat;
    padding-top: 16rem;
    padding-bottom: 12rem;
  }
  .lead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 13rem;
    background: linear-gradient(0deg, #0d1017 0%, transparent 70%);
    pointer-events: none;
  }
  @media (max-width: 1280px) {
    .lead { padding-top: 14rem; padding-bottom: 8rem; }
  }
  @media (max-width: 1024px) {
    .lead { padding-top: 8rem; padding-bottom: 6rem; }
  }
  @media (max-width: 768px) {
    .lead { padding-top: 8rem; padding-bottom: 4rem; }
  }
  @media (max-width: 640px) {
    .lead { padding-top: 6rem; padding-bottom: 2.75rem; }
  }

  .lead-inner {
    position: relative;
    z-index: 3;
  }
  @media (min-width: 1024px) {
    .lead-inner { max-width: 58.333%; }
  }
  @media (min-width: 1280px) {
    .lead-inner { max-width: 58.333%; }
  }

  .lead-title {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
  }
  .lead-highlight {
    color: var(--accent);
    display: inline-block;
  }
  @media (max-width: 1280px) {
    .lead-title { font-size: 3.75rem; margin-bottom: 2rem; }
  }
  @media (max-width: 1024px) {
    .lead-title { font-size: 3.75rem; margin-bottom: 1.5rem; }
  }
  @media (max-width: 768px) {
    .lead-title { font-size: 2.25rem; margin-bottom: 1.5rem; }
  }
  @media (max-width: 640px) {
    .lead-title { font-size: 1.875rem; margin-bottom: 1rem; }
  }

  .lead-p {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.4;
    max-width: 36rem;
    margin-bottom: 3.5rem;
  }
  @media (max-width: 1024px) {
    .lead-p { font-size: 1.125rem; margin-bottom: 2.25rem; }
  }
  @media (max-width: 768px) {
    .lead-p { font-size: 1rem; margin-bottom: 2rem; }
  }
  @media (max-width: 640px) {
    .lead-p { margin-bottom: 1.25rem; }
  }

  .lead-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
  }
  .lead-btns .btn-fill { margin-right: 0.25rem; }
  @media (max-width: 640px) {
    .lead-btns { gap: 0.625rem; margin-bottom: 1.25rem; }
  }

  /* Bands / Sections */
  .band {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .band--dark {
    background: var(--bg-page);
  }
  @media (min-width: 640px) {
    .band { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  }
  @media (min-width: 1024px) {
    .band { padding-top: 4rem; padding-bottom: 4rem; }
  }

  .sect-head {
    margin-bottom: 2rem;
  }
  @media (min-width: 1024px) {
    .sect-head { margin-bottom: 4rem; }
  }

  .sect-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
  }
  .sect-head--row .btn-outline {
    flex-shrink: 0;
  }

  .sect-title {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  @media (min-width: 768px) {
    .sect-title { font-size: 2.5rem; }
  }
  @media (min-width: 1024px) {
    .sect-title { font-size: 2.5rem; margin-bottom: 1rem; }
  }
  @media (min-width: 1280px) {
    .sect-title { font-size: 1.875rem; }
  }

  .sect-p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
  }
  @media (max-width: 1024px) {
    .sect-p { font-size: 0.875rem; }
  }

  .services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  @media (min-width: 1024px) {
    .services-content { flex: 0 0 50%; }
    .services-visual { flex: 0 0 50%; }
  }

  .tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3.5rem;
    padding: 0;
    margin-bottom: 0;
  }
  @media (max-width: 640px) {
    .tabs { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; background: transparent; }
  }

  .tab-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
  }
  .tab-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .tab-btn span,
  .tab-btn .tab-btn-inner {
    position: relative;
    z-index: 5;
  }
  .tab-btn.is-active {
    color: var(--bg-page);
  }
  .tab-btn.is-active::before {
    opacity: 1;
  }
  .tab-btn:hover:not(.is-active) {
    color: var(--accent);
  }
  @media (max-width: 1280px) {
    .tab-btn { padding: 0.75rem 1rem; font-size: 1rem; border-radius: 2.875rem; }
  }
  @media (max-width: 640px) {
    .tab-btn { padding: 0.5rem; font-size: 0.875rem; }
  }

  .panels {
    margin-top: 2rem;
  }
  @media (max-width: 640px) {
    .panels { margin-top: 1rem; }
  }

  .panel {
    display: none;
  }
  .panel.is-open {
    display: block;
  }

  .panel-title {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 2rem;
  }
  @media (max-width: 1024px) {
    .panel-title { font-size: 1.125rem; margin-bottom: 1.5rem; }
  }

  .feat-list {
    list-style: none;
  }
  .feat-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
  }
  .feat-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
  }
  .feat-item:last-child {
    margin-bottom: 0;
  }
  @media (max-width: 1280px) {
    .feat-item { padding-left: 1.75rem; margin-bottom: 1.25rem; font-size: 1rem; }
  }
  @media (max-width: 640px) {
    .feat-item { padding-left: 1.5rem; margin-bottom: 1rem; font-size: 0.875rem; }
  }

  .services-visual {
    position: relative;
  }
  .services-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 3;
  }
  @media (min-width: 1024px) {
    .services-visual::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 2.5rem;
      transform: translateX(-50%);
      width: 24rem;
      height: 18rem;
      background: rgba(253, 224, 71, 0.6);
      filter: blur(125px);
      z-index: 0;
    }
  }

  .two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: -1.5rem;
  }
  .two-col > * {
    margin-top: 1.5rem;
    flex: 1 1 100%;
  }
  @media (min-width: 1024px) {
    .two-col > *:first-child { flex: 0 0 calc(41.666% - 0.75rem); }
    .two-col > *:last-child { flex: 0 0 calc(58.333% - 0.75rem); }
  }

  .card {
    position: relative;
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    border: 1px solid transparent;
  }
  .card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #464d59 0%, rgba(255, 178, 44, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  @media (max-width: 768px) {
    .card { padding: 1.25rem; border-radius: 1rem; }
  }

  .card-title {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  @media (max-width: 1024px) {
    .card-title { font-size: 1rem; margin-bottom: 1rem; }
  }

  .rate-list {
    list-style: none;
  }
  .rate-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text);
  }
  .rate-list li:first-child {
    padding-bottom: 1rem;
  }
  .rate-list li:last-of-type {
    padding-top: 1rem;
    padding-bottom: 0;
    border-bottom-style: dashed;
  }
  .rate-list span:last-child {
    text-align: right;
  }

  .calc-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 2.5rem;
  }
  .calc-row {
    flex: 1 1 auto;
    min-width: 0;
  }
  @media (max-width: 1280px) {
    .calc-row:first-of-type { flex: 0 0 calc(50% - 1rem); }
    .calc-row:last-of-type { flex: 0 0 calc(50% - 1rem); }
  }
  @media (max-width: 640px) {
    .calc-row { flex: 1 1 100%; }
  }
  .calc-label {
    display: block;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
  }
  .calc-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1;
    color: var(--text);
    background: rgba(212, 212, 216, 0.05);
    border: 1px solid var(--text);
    border-radius: 0.5rem;
    outline: none;
    -moz-appearance: textfield;
  }
  .calc-input::placeholder {
    color: var(--text-muted);
  }
  .calc-input:focus {
    border-color: var(--accent);
    background: transparent;
  }
  .calc-input:disabled {
    color: var(--text-muted);
    border-color: transparent;
    background: rgba(250, 250, 250, 0.08);
  }
  .calc-eq {
    color: var(--text);
    font-size: 1rem;
    align-self: center;
    flex-shrink: 0;
  }
  @media (max-width: 640px) {
    .calc-eq { order: 0; width: 100%; text-align: center; }
  }
  .calc-rate {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  .calc-note {
    width: 100%;
    color: var(--text);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
  }

  .why-visual {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    position: relative;
  }
  .why-img-wrap {
    width: 100%;
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
  }
  .why-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
  }
  .why-img-sm {
    width: calc(50% - 0.5rem);
    border-radius: 2.5rem;
    overflow: hidden;
    object-fit: cover;
  }
  @media (max-width: 1280px) {
    .why-img-wrap { border-radius: 1.875rem; }
    .why-img-sm { width: calc(50% - 4px); border-radius: 1.875rem; }
  }
  @media (max-width: 768px) {
    .why-img-wrap { border-radius: 1.5rem; }
    .why-img-sm { border-radius: 1.5rem; }
  }
  @media (max-width: 640px) {
    .why-img-wrap { border-radius: 1rem; }
    .why-img-sm { border-radius: 1rem; }
  }

  .why-copy {
    padding-left: 0;
  }
  @media (min-width: 1024px) {
    .why-copy { padding-left: 4rem; padding-right: 2.75rem; }
  }
  @media (max-width: 1280px) {
    .why-copy { padding-left: 0; padding-right: 0; }
  }

  .why-list {
    list-style: none;
  }
  .why-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
    margin-bottom: 1.5rem;
  }
  .why-item:last-child {
    margin-bottom: 0;
  }
  .why-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
  }
  .why-icon::before {
    content: "◆";
  }
  .why-item-title {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
  }
  @media (max-width: 1024px) {
    .why-item-title { font-size: 1.25rem; }
  }
  .why-item-p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
  }

  .band--how {
    background: #0d1017 url("https://visergold.us/assets/images/frontend/how/_it/_works/674fed40c01d21733291328.png") 50% / cover no-repeat;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  @media (min-width: 1024px) {
    .band--how { padding-top: 4rem; padding-bottom: 4rem; }
  }

  .steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: -1.5rem;
  }
  .steps > * {
    margin-top: 1.5rem;
    flex: 1 1 100%;
  }
  @media (min-width: 768px) {
    .steps > * { flex: 0 0 calc(50% - 0.75rem); }
  }
  @media (min-width: 1024px) {
    .steps > * { flex: 0 0 calc(33.333% - 1rem); }
  }

  .step-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 6rem 1.5rem 2.25rem;
    height: 100%;
    border: 1px solid transparent;
  }
  .step-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #464d59 0%, rgba(255, 178, 44, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  .step-num {
    position: absolute;
    left: 1.5rem;
    top: 0.625rem;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 6rem;
    line-height: 1;
    color: rgba(255,255,255,0.1);
  }
  .step-icon {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    z-index: 2;
  }
  @media (max-width: 1280px) {
    .step-icon { width: 2.75rem; height: 2.75rem; right: 1rem; top: 1rem; }
  }
  .step-title {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }
  .step-p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
  }

  .testimonial-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
  }
  @media (max-width: 768px) {
    .testimonial-card { flex-direction: column; }
  }
  .testimonial-img {
    width: 20rem;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
  }
  @media (max-width: 1280px) {
    .testimonial-img { width: 18rem; }
  }
  @media (max-width: 1024px) {
    .testimonial-img { width: 14rem; }
  }
  @media (max-width: 640px) {
    .testimonial-img { width: 7rem; height: 7rem; border-radius: 50%; margin: 1rem auto; object-fit: cover; }
  }
  .testimonial-body {
    flex: 1;
    padding: 2.5rem 5rem 2.5rem 2.5rem;
    min-width: 0;
  }
  @media (max-width: 1280px) {
    .testimonial-body { padding: 2rem 2rem 2rem 2rem; }
  }
  @media (max-width: 640px) {
    .testimonial-body { padding: 1rem; text-align: center; }
  }
  .testimonial-quote {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 2.5rem;
  }
  @media (max-width: 640px) {
    .testimonial-text { margin-bottom: 1.25rem; }
  }
  .testimonial-name {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .testimonial-role {
    color: var(--text-muted);
    font-size: 1.125rem;
  }

  /* FAQ */
  .faq-list-wrap {
    flex: 1 1 100%;
    min-width: 0;
  }
  @media (min-width: 1024px) {
    .faq-list-wrap { flex: 0 0 50%; padding-right: 2.75rem; }
  }

  .accordion {
    margin-top: 0;
  }
  .accordion-item {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .accordion-item:first-of-type {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
  }
  .accordion-item:last-of-type {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
  }
  .accordion-trigger {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem 3.5rem 1.5rem 1.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
  }
  .accordion-trigger::-webkit-details-marker {
    display: none;
  }
  .accordion-trigger::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--border);
  }
  details[open] .accordion-trigger::after {
    content: "−";
  }
  @media (max-width: 768px) {
    .accordion-trigger { padding: 1rem 2.5rem 1rem 1rem; font-size: 0.875rem; }
  }
  .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
  }
  @media (max-width: 1024px) {
    .accordion-body { font-size: 0.875rem; }
  }

  .faq-visual {
    flex: 1 1 100%;
    position: relative;
    min-width: 0;
  }
  @media (min-width: 1024px) {
    .faq-visual { flex: 0 0 50%; }
  }
  .faq-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    display: block;
  }
  .faq-cta-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 3rem;
    background: linear-gradient(0deg, var(--bg-page) 0%, transparent 100%);
    border-radius: 0 0 1.5rem 1.5rem;
  }
  @media (max-width: 1280px) {
    .faq-cta-box { padding: 1.5rem 1.5rem; }
  }
  @media (max-width: 640px) {
    .faq-cta-box { padding: 1rem; }
  }
  .faq-cta-title {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
  }
  @media (max-width: 1024px) {
    .faq-cta-title { font-size: 1.5rem; }
  }
  @media (max-width: 640px) {
    .faq-cta-title { font-size: 1.25rem; }
  }
  .faq-cta-p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
  .faq-cta-box .btn-fill {
    display: inline-block;
  }

  /* Blog */
  .blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: -1.5rem;
  }
  .blog-grid > * {
    margin-top: 1.5rem;
    flex: 1 1 100%;
  }
  @media (min-width: 640px) {
    .blog-grid > * { flex: 0 0 calc(50% - 0.75rem); }
  }
  @media (min-width: 1024px) {
    .blog-grid > * { flex: 0 0 calc(33.333% - 1rem); }
  }

  .blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .blog-card-link {
    display: block;
    color: var(--accent);
    text-decoration: none;
    overflow: hidden;
    border-radius: 0.75rem;
  }
  .blog-card-link:hover {
    color: var(--accent-light);
  }
  .blog-card-img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
  }
  .blog-card-link:hover .blog-card-img {
    transform: scale(1.05);
  }
  .blog-card-body {
    padding: 1rem 1rem 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .blog-card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  .blog-card-title a {
    color: var(--text);
    text-decoration: none;
    background: linear-gradient(transparent calc(100% - 1px), currentColor 1px);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.7s ease, color 0.2s ease;
  }
  .blog-card-title a:hover {
    color: var(--accent);
    background-size: 100% 100%;
  }
  .blog-card-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card-more {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    margin-top: auto;
    transition: color 0.2s ease;
  }
  .blog-card-more:hover {
    color: var(--accent-light);
  }

  .payments-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  .payments-logo {
    max-width: 9rem;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
  }
  @media (max-width: 1280px) {
    .payments-logo { max-width: 8rem; }
  }
  @media (max-width: 640px) {
    .payments-logo { max-width: 7rem; }
  }

  .band--cta {
    padding-bottom: 4rem;
  }
  @media (min-width: 1024px) {
    .band--cta { padding-bottom: 6rem; }
  }
  .cta-box {
    position: relative;
    background: #0d1017 url("https://visergold.us/assets/images/frontend/subscribe/67501bdf1ffc91733303263.png") 50% / cover no-repeat;
    border-radius: 1.5rem;
    padding: 6rem 2rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  .cta-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.75);
    z-index: 2;
    pointer-events: none;
  }
  @media (max-width: 1280px) {
    .cta-box { padding: 5rem 1.5rem; }
  }
  @media (max-width: 1024px) {
    .cta-box { padding: 4rem 1rem; border-radius: 1rem; }
  }
  @media (max-width: 640px) {
    .cta-box { padding: 2.25rem 1rem; }
  }
  .cta-box > * {
    position: relative;
    z-index: 3;
    text-align: center;
  }
  .cta-title {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  @media (max-width: 1280px) {
    .cta-title { font-size: 3.75rem; }
  }
  @media (max-width: 1024px) {
    .cta-title { font-size: 2.5rem; }
  }
  @media (max-width: 768px) {
    .cta-title { font-size: 2rem; }
  }
  @media (max-width: 640px) {
    .cta-title { font-size: 1.875rem; margin-bottom: 0.625rem; }
  }
  .cta-p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2.5rem;
  }
  @media (max-width: 1280px) {
    .cta-p { margin-bottom: 2rem; }
  }
  @media (max-width: 640px) {
    .cta-p { margin-bottom: 1.25rem; font-size: 0.875rem; }
  }
  .cta-form {
    max-width: 42rem;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .cta-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    line-height: 1;
    color: var(--text);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 3.5rem;
    outline: none;
  }
  .cta-input::placeholder {
    color: var(--text-muted);
  }
  .cta-input:focus {
    border-color: var(--accent);
    background: transparent;
  }
  .cta-btn {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 3.5rem;
  }
  @media (max-width: 1024px) {
    .cta-btn { right: 2.5px; top: 2.5px; }
  }
  @media (max-width: 768px) {
    .cta-btn { position: static; width: 100%; border-radius: 3.5rem; }
  }
  @media (max-width: 768px) {
    .cta-form { flex-direction: column; }
    .cta-input { padding-right: 1.5rem; }
  }

  .foot {
    background: #111827;
    margin-top: auto;
    padding-top: 12rem;
  }
  @media (max-width: 1280px) {
    .foot { padding-top: 15rem; }
  }
  @media (max-width: 1024px) {
    .foot { padding-top: 14rem; }
  }
  @media (max-width: 768px) {
    .foot { padding-top: 12rem; }
  }
  @media (max-width: 640px) {
    .foot { padding-top: 10rem; }
  }
  .foot-inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  @media (min-width: 1024px) {
    .foot-inner { padding-bottom: 4rem; }
  }
  .foot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: -1.5rem;
  }
  .foot-grid > * {
    margin-top: 1.5rem;
  }
  .foot-brand {
    flex: 1 1 100%;
    min-width: 0;
  }
  @media (min-width: 640px) {
    .foot-brand { flex: 0 0 calc(50% - 0.75rem); }
  }
  @media (min-width: 1024px) {
    .foot-brand { flex: 0 0 calc(33.333% - 1rem); }
  }
  @media (min-width: 1280px) {
    .foot-brand { flex: 0 0 33.333%; padding-right: 1.5rem; }
  }
  .foot .logo {
    margin-bottom: 1.5rem;
  }
  .foot .logo img {
    max-width: 10rem;
  }
  .foot .logo-text {
    font-size: 1.125rem;
  }
  .foot .logo-icon {
    width: 2rem;
    height: 2rem;
  }
  .foot-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  @media (min-width: 1024px) {
    .foot-desc { margin-bottom: 2.25rem; }
  }
  .foot-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .foot-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s ease, background 0.3s ease;
  }
  .foot-social a:hover,
  .foot-social a:focus {
    color: var(--bg-page);
    background: var(--accent);
  }
  .foot-col {
    flex: 0 0 auto;
    min-width: 0;
  }
  @media (min-width: 640px) {
    .foot-col { flex: 0 0 calc(50% - 0.75rem); }
  }
  @media (min-width: 1024px) {
    .foot-col { flex: 0 0 16.666%; }
  }
  .foot-col-title {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
  }
  .foot-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.5rem;
    height: 3px;
    background: var(--accent-light);
    border-radius: 3px;
  }
  .foot-links {
    list-style: none;
  }
  .foot-links li {
    margin-bottom: 1rem;
  }
  .foot-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    padding-left: 1.25rem;
    position: relative;
    transition: color 0.2s ease;
  }
  .foot-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gradient);
  }
  .foot-links a:hover {
    color: var(--accent);
  }
  .foot-addr,
  .foot p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .foot-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .foot-link:hover {
    color: var(--accent-light);
  }
  .foot-bar {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
  }
  .foot-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
  }
  .foot-copy a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .foot-copy a:hover {
    color: var(--accent-light);
  }

  .order-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(23, 23, 23, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
  }
  .order-overlay[hidden] {
    display: none;
  }
  .order-overlay__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: order-spin 0.8s linear infinite;
  }
  @keyframes order-spin {
    to { transform: rotate(360deg); }
  }
  .order-overlay__text {
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
  }
  .order-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
  }
  .order-modal[hidden] {
    display: none;
  }
  .order-modal.is-open {
    pointer-events: auto;
  }
  .order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .order-modal.is-open .order-modal__backdrop {
    opacity: 1;
  }
  .order-modal__box {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    max-width: 28rem;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .order-modal.is-open .order-modal__box {
    transform: scale(1);
    opacity: 1;
  }
  .order-modal__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 0.75rem;
  }
  .order-modal__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
  }
  .order-modal__close {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-page);
    background: var(--gradient);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  .order-modal__close:hover {
    opacity: 0.95;
  }
  .order-modal__box--form {
    max-width: 26rem;
  }
  .buy-details-form {
    margin: 0 0 1rem;
  }
  .buy-details-field {
    margin-bottom: 1rem;
  }
  .buy-details-field:last-of-type {
    margin-bottom: 1.25rem;
  }
  .buy-details-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.375rem;
  }
  .buy-details-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
  }
  .buy-details-input:focus {
    outline: none;
    border-color: var(--accent);
  }
  .buy-details-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.375rem;
  }
  .buy-details-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text);
  }
  .buy-details-option input {
    accent-color: var(--accent);
  }
  .buy-details-submit {
    margin-top: 0.5rem;
  }
  .order-modal--alert .order-modal__text {
    margin-bottom: 1rem;
  }

  .page-login {
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .page-login .login-root {
    width: 100%;
    max-width: 28rem;
    position: relative;
  }
  .page-login .login-card {
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    padding: 2rem 2rem 2.25rem;
    position: relative;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  .page-login .login-card::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
  }
  .page-login .login-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
  }
  .page-login .login-close:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  .page-login .login-head {
    margin-bottom: 1.75rem;
    padding-right: 2rem;
  }
  .page-login .login-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0.5rem;
  }
  .page-login .login-title-accent {
    color: var(--accent);
  }
  .page-login .login-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.45;
    font-weight: 400;
  }
  .page-login .login-form {
    position: relative;
    z-index: 1;
  }
  .page-login .login-field {
    margin-bottom: 1.25rem;
  }
  .page-login .login-label {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.375rem;
    font-weight: 400;
  }
  .page-login .login-input-wrap {
    position: relative;
    display: block;
  }
  .page-login .login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .page-login .login-input-wrap .login-input {
    padding-right: 2.75rem;
  }
  .page-login .login-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
  }
  .page-login .login-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
  }
  .page-login .login-toggle-pwd {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--text);
    cursor: pointer;
    opacity: 0.85;
  }
  .page-login .login-toggle-pwd:hover {
    opacity: 1;
  }
  .page-login .login-eye {
    display: block;
    width: 100%;
    height: 100%;
    background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fafafa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  }
  .page-login .login-toggle-pwd.is-visible .login-eye {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fafafa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
  }
  .page-login .login-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .page-login .login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 400;
  }
  .page-login .login-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--accent);
    cursor: pointer;
  }
  .page-login .login-forgot {
    font-size: 0.9375rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .page-login .login-forgot:hover {
    color: var(--accent);
  }
  .page-login .login-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #171717;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    background: var(--gradient);
    transition: opacity 0.2s ease, transform 0.15s ease;
  }
  .page-login .login-submit:hover {
    opacity: 0.95;
  }
  .page-login .login-submit:active {
    transform: scale(0.99);
  }
  .page-login .login-register {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
  }
  .page-login .login-register-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  .page-login .login-register-link:hover {
    color: var(--accent);
  }

  .auth-page {
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 100vh;
    background: var(--bg-page);
    position: relative;
  }
  .auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse 80% 50% at 20% 80%, rgba(255, 193, 7, 0.04) 0%, transparent 45%),
                radial-gradient(ellipse 80% 50% at 80% 60%, rgba(255, 178, 46, 0.04) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
  }
  .auth-page .auth-section {
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
  }
  .auth-page .auth-wrap {
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  @media (min-width: 992px) {
    .auth-page .auth-wrap {
      margin-left: auto;
      margin-right: auto;
      max-width: 26rem;
    }
  }
  .auth-page .auth-card {
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.98) 0%, rgba(23, 23, 23, 0.99) 100%);
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 222, 76, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.25rem 2rem 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .auth-page .auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.5), rgba(255, 222, 76, 0.6), rgba(255, 193, 7, 0.5), transparent);
    opacity: 0.9;
  }
  @media (max-width: 767px) {
    .auth-page .auth-card {
      border-radius: 16px;
      padding: 1.75rem 1.5rem 2rem;
    }
  }
  .auth-page .auth-card__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .auth-page .auth-card__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .auth-page .auth-card__brand-text {
    min-width: 0;
  }
  .auth-page .auth-card__gold-bar {
    height: 2px;
    margin: 0 0 1.5rem;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 178, 46, 0.4), rgba(255, 193, 7, 0.6), rgba(255, 178, 46, 0.4), transparent);
  }
  .auth-page .auth-heading {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1.25;
    margin: 0 0 0.25rem;
    letter-spacing: 0.01em;
  }
  @media (max-width: 767px) {
    .auth-page .auth-heading { font-size: 1.375rem; }
  }
  .auth-page .auth-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    margin: 0;
  }
  .auth-page .auth-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .auth-page .auth-close:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(255, 193, 7, 0.08);
  }
  @media (max-width: 767px) {
    .auth-page .auth-close {
      width: 2rem;
      height: 2rem;
      font-size: 1.125rem;
      top: 1rem;
      right: 1rem;
    }
  }
  .auth-page .auth-form {
    position: relative;
    z-index: 1;
  }
  .auth-page .auth-error {
    font-size: 0.875rem;
    color: #f87171;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
  }
  .auth-page .auth-error[hidden] {
    display: none;
  }
  .auth-page .auth-field {
    margin-bottom: 24px;
  }
  @media (max-width: 767px) {
    .auth-page .auth-field { margin-bottom: 12px; }
  }
  .auth-page .auth-label {
    display: block;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
  }
  .auth-page .auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  .auth-page .auth-input::placeholder {
    color: var(--text-muted);
  }
  .auth-page .auth-input:focus {
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
    background: rgba(255, 255, 255, 0.06);
  }
  .auth-page .auth-pwd-wrap {
    position: relative;
    display: block;
  }
  .auth-page .auth-pwd-wrap .auth-input {
    padding-right: 3rem;
  }
  .auth-page .auth-pwd-toggle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.75rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: color 0.15s ease;
  }
  .auth-page .auth-pwd-toggle:hover {
    color: var(--text);
  }
  .auth-page .auth-pwd-icon {
    display: block;
    width: 1.25em;
    height: 1.25em;
    background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4d4d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
  }
  .auth-page .auth-pwd-toggle.is-showing .auth-pwd-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4d4d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  }
  .auth-page .auth-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 24px;
  }
  @media (max-width: 767px) {
    .auth-page .auth-row { margin-bottom: 12px; }
  }
  .auth-page .auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text);
    font-weight: 400;
  }
  .auth-page .auth-check {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid var(--border);
    background: transparent;
  }
  .auth-page .auth-check:checked {
    border-color: var(--accent);
  }
  .auth-page .auth-forgot {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .auth-page .auth-forgot:hover {
    color: var(--accent);
  }
  .auth-page .auth-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: #171717;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  }
  .auth-page .auth-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, #ffde4c 0%, #f59e0b 50%, #d97706 100%);
  }
  .auth-page .auth-submit:hover {
    opacity: 0.95;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  }
  .auth-page .auth-submit:active {
    transform: translateY(1px);
  }
  .auth-page .auth-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 1.5rem 0 0;
    position: relative;
    z-index: 1;
  }
  .auth-page .auth-register-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
  }
  .auth-page .auth-register-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
  }
  .auth-page .auth-form[hidden] {
    display: none;
  }
  .auth-page .auth-register-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
  }
  .auth-page .auth-register-modal[hidden] {
    display: none;
  }
  .auth-page .auth-register-modal.is-open {
    pointer-events: auto;
  }
  .auth-page .auth-register-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
  }
  .auth-page .auth-register-modal__box {
    position: relative;
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.98) 0%, rgba(23, 23, 23, 0.99) 100%);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    max-width: 22rem;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  .auth-page .auth-register-modal__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 0.25rem;
  }
  .auth-page .auth-register-modal__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
  }
  .auth-page .auth-register-form .auth-field {
    margin-bottom: 1rem;
  }
  .auth-page .auth-register-form .auth-submit {
    margin-top: 0.5rem;
  }
  .auth-page .auth-register-message {
    padding: 2rem 0;
    text-align: center;
  }
  .auth-page .auth-register-message[hidden] {
    display: none;
  }
  .auth-page .auth-register-message__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.2), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.4);
    position: relative;
  }
  .auth-page .auth-register-message__icon::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
  }
  .auth-page .auth-register-message__text {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    margin: 0 0 1.5rem;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
  }
  .auth-page .auth-register-message__back {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 8px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .auth-page .auth-register-message__back:hover {
    color: var(--accent-light);
    border-color: var(--accent);
    background: rgba(255, 193, 7, 0.08);
  }

  .dashboard-page {
    min-height: 100vh;
    background: var(--bg-page);
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .dashboard-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse 80% 60% at 100% 50%, rgba(255, 193, 7, 0.04) 0%, transparent 45%),
                radial-gradient(ellipse 80% 60% at 0% 80%, rgba(255, 178, 46, 0.04) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
  }
  @keyframes vault-dial-spin {
    from { transform: translate(100px, 100px) rotate(0deg); }
    to { transform: translate(100px, 100px) rotate(360deg); }
  }
  @keyframes vault-circle-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  @keyframes vault-lock-pulse {
    0%, 100% { opacity: 0.5; filter: brightness(1); }
    50% { opacity: 0.9; filter: brightness(1.15); }
  }
  @keyframes gold-shine-sweep {
    0% { transform: translateX(-100%) skewX(-12deg); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateX(100%) skewX(-12deg); opacity: 0.4; }
    80% { opacity: 0; }
    100% { transform: translateX(200%) skewX(-12deg); opacity: 0; }
  }
  @keyframes vault-border-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
  }
  @keyframes gold-logo-shimmer {
    0% { transform: translateX(-100%) skewX(-18deg); }
    100% { transform: translateX(200%) skewX(-18deg); }
  }
  @keyframes gold-logo-glow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 6px rgba(255, 193, 7, 0.4)); }
    50% { filter: brightness(1.12) drop-shadow(0 0 12px rgba(255, 193, 7, 0.6)); }
  }
  @keyframes corner-shine {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.5; }
  }
  @media (prefers-reduced-motion: reduce) {
    .dashboard-bg-vault-dial,
    .dashboard-bg__gold-bars .dashboard-bg-gold-shine,
    .dashboard-page .dashboard-card::before,
    .dashboard-page .dashboard-card__corner,
    .dashboard-gold-logo__shine,
    .dashboard-gold-logo,
    .dashboard-page .dashboard-header__gold-bar { animation: none !important; }
  }

  .dashboard-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .dashboard-bg__vault {
    position: absolute;
    width: 320px;
    height: 320px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
  }
  .dashboard-bg-vault-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .dashboard-bg-vault-outer {
    transform-origin: 100px 100px;
    animation: vault-circle-spin 24s linear infinite;
  }
  .dashboard-bg-vault-mid {
    transform-origin: 100px 100px;
    animation: vault-circle-spin 20s linear infinite reverse;
  }
  .dashboard-bg-vault-inner {
    transform-origin: 100px 100px;
    animation: vault-circle-spin 16s linear infinite;
  }
  .dashboard-bg-vault-dial {
    transform-origin: 0 0;
    animation: vault-dial-spin 12s linear infinite;
  }
  .dashboard-bg-vault-lock {
    transform-origin: 100px 100px;
    animation: vault-lock-pulse 2.5s ease-in-out infinite;
  }
  .dashboard-bg__gold-bars {
    position: absolute;
    width: 280px;
    height: 280px;
    left: -60px;
    bottom: -40px;
    border-radius: 50%;
    overflow: hidden;
  }
  .dashboard-bg__gold-bars::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 178, 46, 0.06) 0%, transparent 65%);
    border-radius: 50%;
  }
  .dashboard-bg__gold-bars::after {
    content: "";
    position: absolute;
    inset: 25%;
    border: 1px solid rgba(255, 178, 46, 0.08);
    border-radius: 50%;
    animation: corner-shine 4s ease-in-out infinite;
  }
  .dashboard-bg-gold-shine {
    position: absolute;
    inset: -50%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 193, 7, 0.08) 40%, rgba(255, 222, 76, 0.12) 50%, rgba(255, 193, 7, 0.08) 60%, transparent 100%);
    animation: gold-shine-sweep 6s ease-in-out infinite;
  }
  .dashboard-page .dashboard-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-bottom: 3rem;
  }
  @media (min-width: 768px) {
    .dashboard-page .dashboard-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
  }
  @media (min-width: 1024px) {
    .dashboard-page .dashboard-wrap {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto 1fr;
      gap: 0;
      min-height: 100vh;
    }
  }

  .dashboard-page .dashboard-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .dashboard-gold-logo {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(30, 28, 24, 0.95) 0%, rgba(23, 23, 23, 0.98) 100%);
    border: 1px solid rgba(255, 193, 7, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 222, 76, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: gold-logo-glow 3s ease-in-out infinite;
  }
  .dashboard-gold-logo__text {
    position: relative;
    z-index: 1;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    background: linear-gradient(105deg, #b8860b 0%, #ffc107 18%, #ffde4c 35%, #ffb22e 50%, #f59e0b 68%, #ffde4c 85%, #b8860b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-logo-text-shine 5s linear infinite;
  }
  @keyframes gold-logo-text-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
  }
  .dashboard-gold-logo__shine {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(105deg, transparent 0%, transparent 35%, rgba(255, 222, 76, 0.15) 50%, transparent 65%, transparent 100%);
    background-size: 200% 100%;
    animation: gold-logo-shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
  }
  @media (min-width: 640px) {
    .dashboard-gold-logo__text { font-size: 1rem; }
  }
  .dashboard-page .dashboard-header__gold-bar {
    height: 3px;
    margin: 0 0 1rem;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 178, 46, 0.2) 20%, rgba(255, 193, 7, 0.5) 50%, rgba(255, 178, 46, 0.2) 80%, transparent 100%);
    background-size: 200% 100%;
    animation: gold-logo-text-shine 6s linear infinite;
  }
  @media (min-width: 768px) {
    .dashboard-page .dashboard-header {
      padding: 1.5rem 0;
      margin-bottom: 1rem;
    }
  }
  .dashboard-page .dashboard-header__text {
    min-width: 0;
  }
  .dashboard-page .dashboard-welcome {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.3;
    color: var(--text);
    margin: 0 0 0.25rem;
  }
  @media (min-width: 640px) {
    .dashboard-page .dashboard-welcome { font-size: 1.625rem; }
  }
  .dashboard-page .dashboard-name {
    color: var(--accent);
    font-weight: 700;
  }
  .dashboard-page .dashboard-vault-intro {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .dashboard-page .dashboard-vault-num {
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    padding: 0.2em 0.5em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.8125rem;
  }
  .dashboard-page .dashboard-header__actions {
    flex-shrink: 0;
  }
  .dashboard-page .dashboard-back-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .dashboard-page .dashboard-back-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.08);
  }

  .dashboard-page .dashboard-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 1.25rem;
    padding: 1.5rem;
    color: var(--text);
    overflow: hidden;
  }
  .dashboard-page .dashboard-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, var(--border), rgba(255, 178, 44, 0.5), rgba(255, 193, 7, 0.6), rgba(255, 222, 76, 0.5), rgba(255, 178, 44, 0.5), var(--border));
    background-size: 200% 100%;
    animation: vault-border-flow 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  .dashboard-page .dashboard-card__corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(255, 193, 7, 0.35);
    border-style: solid;
    border-width: 0;
    pointer-events: none;
    animation: corner-shine 3s ease-in-out infinite;
  }
  .dashboard-page .dashboard-card__corner--tr { animation-delay: 0.5s; }
  .dashboard-page .dashboard-card__corner--bl { animation-delay: 1s; }
  .dashboard-page .dashboard-card__corner--br { animation-delay: 1.5s; }
  .dashboard-page .dashboard-card__corner--tl {
    top: 12px;
    left: 12px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-radius: 8px 0 0 0;
  }
  .dashboard-page .dashboard-card__corner--tr {
    top: 12px;
    right: 12px;
    border-top-width: 2px;
    border-right-width: 2px;
    border-radius: 0 8px 0 0;
  }
  .dashboard-page .dashboard-card__corner--bl {
    bottom: 12px;
    left: 12px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-radius: 0 0 0 8px;
  }
  .dashboard-page .dashboard-card__corner--br {
    bottom: 12px;
    right: 12px;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-radius: 0 0 8px 0;
  }
  @media (min-width: 768px) {
    .dashboard-page .dashboard-card { padding: 2rem 2.25rem; border-radius: 1.5rem; }
    .dashboard-page .dashboard-card__corner { width: 52px; height: 52px; }
    .dashboard-page .dashboard-card__corner--tl { top: 16px; left: 16px; border-radius: 10px 0 0 0; }
    .dashboard-page .dashboard-card__corner--tr { top: 16px; right: 16px; border-radius: 0 10px 0 0; }
    .dashboard-page .dashboard-card__corner--bl { bottom: 16px; left: 16px; border-radius: 0 0 0 10px; }
    .dashboard-page .dashboard-card__corner--br { bottom: 16px; right: 16px; border-radius: 0 0 10px 0; }
  }

  .dashboard-page .dashboard-section {
    margin-bottom: 2rem;
  }
  .dashboard-page .dashboard-section:last-child {
    margin-bottom: 0;
  }
  .dashboard-page .dashboard-section__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .dashboard-page .dashboard-section--kin .dashboard-section__title {
    margin-top: 0.5rem;
  }

  .dashboard-page .dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: transparent;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .dashboard-page .dashboard-table th,
  .dashboard-page .dashboard-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: background 0.15s ease;
  }
  .dashboard-page .dashboard-table tbody tr:hover th,
  .dashboard-page .dashboard-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
  }
  .dashboard-page .dashboard-table tr:last-child th,
  .dashboard-page .dashboard-table tr:last-child td {
    border-bottom: 0;
  }
  .dashboard-page .dashboard-th {
    font-weight: 600;
    color: var(--text-muted);
    width: 42%;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
  }
  .dashboard-page .dashboard-td {
    font-weight: 400;
    color: var(--text);
    font-variant-numeric: tabular-nums;
  }
  .dashboard-page .dashboard-table tbody tr:nth-child(n+8):nth-child(-n+11) th,
  .dashboard-page .dashboard-table tbody tr:nth-child(n+8):nth-child(-n+11) td {
    background: rgba(255, 255, 255, 0.02);
  }
  .dashboard-page .dashboard-table tbody tr:nth-child(8) th,
  .dashboard-page .dashboard-table tbody tr:nth-child(8) td {
    border-top: 1px solid var(--border);
  }
}
