:root {
      color-scheme: dark;
      --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
      --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
      --bg: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.12), transparent 55%), #010513;
      --grid-line: rgba(148, 163, 184, 0.08);
      --surface: rgba(10, 15, 32, 0.74);
      --surface-strong: rgba(15, 23, 42, 0.92);
      --surface-soft: rgba(24, 34, 58, 0.5);
      --border: rgba(148, 163, 184, 0.28);
      --border-strong: rgba(148, 163, 184, 0.42);
      --text: #f8fafc;
      --text-dim: #cbd5f5;
      --text-muted: rgba(148, 163, 184, 0.88);
      --primary: #38bdf8;
      --primary-strong: #0ea5e9;
      --primary-soft: rgba(56, 189, 248, 0.12);
      --accent: #f97316;
      --success: #34d399;
      --danger: #f87171;
      --radius-lg: 28px;
      --radius-md: 20px;
      --radius-sm: 12px;
      --shadow-lg: 0 32px 80px rgba(6, 12, 32, 0.55);
      --shadow-md: 0 20px 60px rgba(8, 16, 40, 0.38);
      --ring-glow: rgba(56, 189, 248, 0.35);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100%;
      font-family: var(--font-sans);
      background: var(--bg);
      color: var(--text);
      display: flex;
      justify-content: center;
      padding: clamp(24px, 5vw, 64px);
      position: relative;
      overflow-x: hidden;
      --pointer-x: 38%;
      --pointer-y: 24%;
    }

    .auto-gaap-body {
      background: var(--bg);
      color: var(--text);
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
      background-size: 90px 90px;
      opacity: 0.38;
      pointer-events: none;
      z-index: -2;
      animation: gridPulse 22s linear infinite;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      background:
        radial-gradient(620px circle at var(--pointer-x) var(--pointer-y), rgba(56, 189, 248, 0.18), transparent 72%),
        radial-gradient(460px circle at calc(var(--pointer-x) + 10%) calc(var(--pointer-y) + 18%), rgba(249, 115, 22, 0.12),
          transparent 70%);
      pointer-events: none;
      transition: background-position 0.2s ease-out;
      z-index: -1;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      margin: 0;
      font-weight: 650;
      color: var(--text);
      letter-spacing: -0.01em;
    }

    h1 {
      font-size: clamp(2.4rem, 4.5vw, 3.8rem);
      line-height: 1.08;
      font-family: var(--font-display);
    }

    h2 {
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-family: var(--font-display);
    }

    h3 {
      font-size: clamp(1.2rem, 2.5vw, 1.6rem);
      font-family: var(--font-display);
    }

    p {
      margin: 0;
      line-height: 1.7;
      color: var(--text-dim);
    }

    ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--primary);
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
      outline: 3px solid rgba(56, 189, 248, 0.6);
      outline-offset: 3px;
    }

    .page-shell {
      width: min(1160px, 100%);
      display: flex;
      flex-direction: column;
      gap: clamp(32px, 6vw, 60px);
      position: relative;
    }

    .auto-gaap-shell {
      gap: clamp(40px, 7vw, 72px);
    }

    .auto-gaap-shell .hero-visual {
      justify-items: center;
    }

    .auto-gaap-shell .hero-visual .hero-device {
      margin-top: -120px;
      z-index: 2;
      box-shadow: 0 32px 64px rgba(6, 12, 32, 0.6);
    }

    .auto-gaap-shell .hero-visual .hero-illustration {
      max-width: clamp(320px, 48vw, 520px);
    }

    .site-header {
      display: flex;
      flex-direction: column;
      gap: clamp(24px, 4vw, 36px);
    }

    .top-nav {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 18px clamp(20px, 4vw, 32px);
      padding-bottom: 28px;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.65));
      border: 1px solid rgba(148, 163, 184, 0.35);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      position: sticky;
      top: clamp(14px, 3vw, 28px);
      z-index: 40;
      backdrop-filter: blur(16px);
      overflow: visible;
    }

    .top-nav::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      border: 1px solid rgba(56, 189, 248, 0.12);
      pointer-events: none;
    }

    .scroll-progress {
      position: absolute;
      left: clamp(20px, 4vw, 32px);
      right: clamp(20px, 4vw, 32px);
      bottom: 12px;
      height: 3px;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.16);
      overflow: hidden;
      pointer-events: none;
    }

    .scroll-progress span {
      display: block;
      width: var(--progress, 12%);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.6));
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
      transition: width 0.24s ease;
    }

    nav .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.1rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text);
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(14, 165, 233, 0.12));
      border: 1px solid rgba(56, 189, 248, 0.45);
      box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12);
      font-size: 1.05rem;
      font-family: var(--font-display);
    }

    .brand-logo {
      display: block;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(12px, 3vw, 22px);
      flex-wrap: wrap;
    }

    .nav-links a {
      font-size: 0.95rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 8px 12px;
      border-radius: 999px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover {
      background: rgba(56, 189, 248, 0.16);
      color: var(--primary);
    }

    .nav-item {
      position: relative;
    }

    .nav-button {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.95rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 8px 12px;
      border-radius: 999px;
      border: none;
      background: transparent;
      font-family: inherit;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-button:hover,
    .nav-item.open .nav-button,
    .nav-button:focus-visible {
      background: rgba(56, 189, 248, 0.16);
      color: var(--primary);
    }

    .nav-button .caret {
      font-size: 0.8rem;
      transition: transform 0.2s ease;
    }

    .nav-item.open .nav-button .caret {
      transform: rotate(180deg);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      min-width: 220px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 12px;
      border-radius: var(--radius-md);
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(148, 163, 184, 0.28);
      box-shadow: var(--shadow-md);
      opacity: 0;
      pointer-events: none;
      transform: translateY(-6px);
      transition: opacity 0.18s ease, transform 0.18s ease;
      z-index: 44;
    }

    .nav-item.open .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .nav-dropdown a {
      padding: 10px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      color: var(--text-muted);
      text-transform: none;
      letter-spacing: normal;
      transition: background 0.18s ease, color 0.18s ease;
    }

    .nav-dropdown a:hover,
    .nav-dropdown a:focus-visible {
      background: rgba(56, 189, 248, 0.16);
      color: var(--text);
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: rgba(15, 23, 42, 0.6);
      color: var(--text);
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .button.primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-strong));
      box-shadow: 0 20px 36px rgba(14, 165, 233, 0.32);
    }

    .button.outline {
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: rgba(15, 23, 42, 0.45);
    }

    .button:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 32px rgba(56, 189, 248, 0.16);
      border-color: rgba(56, 189, 248, 0.3);
      color: var(--text);
    }

    .button.primary:hover {
      box-shadow: 0 26px 38px rgba(14, 165, 233, 0.4);
    }

    .button:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .hero {
      display: flex;
      flex-direction: column;
      gap: clamp(32px, 6vw, 48px);
      padding: clamp(36px, 7vw, 64px);
      background: linear-gradient(135deg, rgba(10, 19, 45, 0.92), rgba(6, 12, 32, 0.78));
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.32);
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .auto-gaap-howto {
      display: grid;
      grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
      gap: clamp(24px, 5vw, 40px);
      padding: clamp(28px, 6vw, 40px);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.32);
      background: linear-gradient(140deg, rgba(10, 19, 45, 0.94), rgba(6, 12, 32, 0.82));
      box-shadow: 0 30px 64px rgba(6, 12, 32, 0.55);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .auto-gaap-howto:hover {
      transform: translateY(-4px);
      box-shadow: 0 40px 88px rgba(6, 12, 32, 0.6);
      border-color: rgba(56, 189, 248, 0.32);
    }

    .hero-highlight img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
    }


    .howto-intro {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .howto-intro p {
      color: var(--text-muted);
    }

    .howto-steps {
      display: grid;
      gap: 14px;
    }

    .howto-step {
      position: relative;
      border: 1px solid rgba(148, 163, 184, 0.24);
      border-radius: var(--radius-md);
      background: rgba(15, 23, 42, 0.6);
      box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12);
      transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
      overflow: hidden;
    }

    .howto-step[open] {
      border-color: rgba(56, 189, 248, 0.32);
      box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.2);
    }

    .howto-step:not([open]):hover {
      transform: translateY(-2px);
      border-color: rgba(56, 189, 248, 0.28);
      box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.16), 0 12px 28px rgba(6, 12, 32, 0.5);
    }

    .howto-step summary {
      list-style: none;
      cursor: pointer;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 18px;
      align-items: flex-start;
      padding: 20px clamp(18px, 3vw, 24px);
      position: relative;
    }

    .howto-step summary::after {
      content: "▾";
      position: absolute;
      top: 22px;
      right: clamp(16px, 3vw, 24px);
      font-size: 0.9rem;
      color: var(--text-muted);
      transition: transform 0.2s ease;
    }

    .howto-step summary::-webkit-details-marker {
      display: none;
    }

    .howto-step summary h3 {
      font-size: 1.05rem;
      margin-bottom: 6px;
    }

    .howto-step summary p {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .howto-step p {
      padding: 0 clamp(18px, 3vw, 24px) clamp(18px, 3vw, 24px);
      color: var(--text-dim);
      line-height: 1.7;
    }

    .step-index {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--primary-strong));
      color: #ffffff;
      font-weight: 700;
      font-size: 1.05rem;
      box-shadow: 0 12px 24px rgba(56, 189, 248, 0.35);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .howto-step:hover .step-index,
    .howto-step[open] .step-index {
      transform: scale(1.05);
      box-shadow: 0 18px 32px rgba(56, 189, 248, 0.45);
    }

    .howto-step[open] summary::after {
      transform: rotate(180deg);
    }

    @media (max-width: 980px) {
      .auto-gaap-howto {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 720px) {
      .auto-gaap-shell {
        gap: 36px;
      }

      .auto-gaap-howto {
        padding: clamp(22px, 6vw, 32px);
      }

      .howto-step summary {
        gap: 14px;
        padding: 18px clamp(16px, 5vw, 22px);
      }

      .howto-step summary::after {
        top: 20px;
        right: clamp(12px, 4vw, 20px);
      }

      .howto-step p {
        padding: 0 clamp(16px, 5vw, 22px) clamp(16px, 5vw, 22px);
      }
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      mix-blend-mode: screen;
      opacity: 0.6;
    }

    .hero::before {
      background: radial-gradient(340px circle at 10% 20%, rgba(56, 189, 248, 0.22), transparent 70%);
      z-index: 0;
    }

    .hero::after {
      background: radial-gradient(520px circle at 82% 22%, rgba(56, 189, 248, 0.18), transparent 72%);
      z-index: 0;
      filter: blur(0.6px);
    }

    .hero > * {
      position: relative;
      z-index: 1;
    }

    .hero-ribbon {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      align-self: stretch;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(15, 118, 170, 0.28);
      box-shadow: 0 12px 24px rgba(14, 165, 233, 0.25);
    }

    .hero-ribbon .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--success);
      position: relative;
      display: inline-flex;
    }

    .hero-ribbon .pulse-dot::after {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      border: 1px solid rgba(52, 211, 153, 0.5);
      animation: pulse 1.8s ease-out infinite;
    }

    .hero-ribbon .ribbon-pill {
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(8, 14, 36, 0.65);
      color: rgba(248, 250, 252, 0.85);
      letter-spacing: 0.08em;
    }

    .crypto-ticker-wrap {
      flex: 1 1 auto;
      width: auto;
      max-width: none;
      border: 1px solid rgba(14, 165, 233, 0.28);
      border-radius: 999px;
      background: rgba(2, 6, 23, 0.35);
      box-shadow: inset 0 0 0 1px rgba(8, 47, 73, 0.55);
      overflow: hidden;
    }

    .crypto-ticker-canvas {
      width: 100%;
      height: 24px;
      line-height: 0;
    }

    .crypto-ticker-canvas canvas {
      display: block;
      background: transparent !important;
    }

    .hero-main {
      display: grid;
      gap: clamp(24px, 4vw, 36px);
      grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
      align-items: start;
    }

    .hero-copy {
      display: flex;
      flex-direction: column;
      gap: 22px;
      max-width: 100%;
    }

    .hero-copy h1 {
      font-family: var(--font-display);
      font-weight: 600;
      letter-spacing: -0.02em;
      width: 100%;
      line-height: 1.05;
    }

    .hero-highlight {
      display: inline;
      color: rgba(248, 250, 252, 0.96);
    }

    .hero-highlight--portrait {
      display: block;
      width: 100%;
      max-width: 100%;
      aspect-ratio: 5 / 6;
      border-radius: var(--radius-xl);
      border: none;
      background: transparent;
      box-shadow: none;
      position: relative;
      overflow: hidden;
      align-self: flex-start;
    }

    .hero-highlight::after {
      content: none;
    }

    .hero-summary {
      font-size: 1.05rem;
      color: rgba(226, 232, 240, 0.86);
    }

    .hero-list {
      display: grid;
      gap: 10px;
      padding: 0;
      margin: 0;
      list-style: none;
      color: rgba(203, 213, 225, 0.82);
      font-size: 0.98rem;
    }

    .hero-list li {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      background: rgba(15, 23, 42, 0.55);
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.24);
      backdrop-filter: blur(6px);
    }

    .hero-list li::before {
      content: "✶";
      color: var(--primary);
      font-size: 0.85rem;
      transform: translateY(-1px);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 4%;
    }

    .hero-actions .button {
      flex: 0 0 48%;
      justify-content: center;
    }

    .hero-visual {
      position: relative;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
      justify-content: flex-end;
      padding-top: 6px;
    }

    .home-page .hero-main {
      grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    }

    .home-page .hero-copy h1 {
      line-height: 0;
    }

    .home-page .hero-highlight--portrait {
      border: none;
      background: transparent;
      box-shadow: none;
    }

    .home-page .hero-highlight--portrait::after {
      content: none;
    }

    .home-page .hero-actions {
      gap: 4%;
    }

    .home-page .hero-actions .button {
      flex: 0 0 48%;
      justify-content: center;
    }

    .home-page .hero-visual {
      display: flex;
      flex-direction: column;
      gap: 14px;
      justify-content: flex-end;
    }

    .hero-illustration {
      width: min(420px, 100%);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.28);
      box-shadow: 0 30px 60px rgba(6, 12, 32, 0.55);
      background: linear-gradient(135deg, rgba(13, 22, 42, 0.92), rgba(15, 23, 42, 0.7));
      object-fit: cover;
      position: relative;
      z-index: 1;
    }

    .hero-illustration--wide {
      width: min(480px, 100%);
    }

    .glow-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(0.8px);
      opacity: 0.6;
      mix-blend-mode: screen;
      animation: float 16s ease-in-out infinite;
    }

    .orb-one {
      width: 240px;
      height: 240px;
      background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 70%);
      animation-delay: -4s;
    }

    .orb-two {
      width: 180px;
      height: 180px;
      background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%);
      animation-delay: 2s;
    }

    .hero-device {
      position: relative;
      width: 100%;
      max-width: 380px;
      margin-left: auto;
      border-radius: 26px;
      border: 1px solid rgba(148, 163, 184, 0.28);
      background: linear-gradient(160deg, rgba(13, 22, 42, 0.88), rgba(15, 23, 42, 0.65));
      box-shadow: 0 24px 44px rgba(8, 16, 40, 0.55);
      overflow: hidden;
      display: grid;
      gap: 16px;
      padding: 20px;
      backdrop-filter: blur(8px);
      animation: float 18s ease-in-out infinite;
      animation-delay: -6s;
    }

    .hero-device::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(200px circle at 20% 15%, rgba(56, 189, 248, 0.18), transparent 70%);
      opacity: 0.6;
    }

    .hero-device > * {
      position: relative;
      z-index: 1;
    }

    .hero-device-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 0.78rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(148, 163, 184, 0.7);
    }

    .device-dots {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .device-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(148, 163, 184, 0.38);
    }

    .device-dot.primary {
      background: rgba(56, 189, 248, 0.7);
      box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12);
    }

    .hero-device-body {
      display: grid;
      gap: 12px;
      font-size: 0.92rem;
      color: rgba(226, 232, 240, 0.86);
    }

    .hero-device-body strong {
      font-family: var(--font-display);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--primary);
      font-size: 0.78rem;
    }

    .hero-device-body .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .hero-chip {
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(14, 165, 233, 0.2);
      color: rgba(248, 250, 252, 0.9);
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-device-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 0.8rem;
      color: rgba(148, 163, 184, 0.8);
    }

    .hero-device-footer span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .hero-device-footer span::before {
      content: "▣";
      color: var(--accent);
      font-size: 0.7rem;
    }

    .hero-metrics {
      display: grid;
      gap: 18px;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .card {
      position: relative;
      background: linear-gradient(160deg, rgba(13, 22, 42, 0.9), rgba(15, 23, 42, 0.6));
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: var(--radius-md);
      padding: clamp(22px, 3vw, 28px);
      display: flex;
      flex-direction: column;
      gap: 16px;
      box-shadow: 0 24px 48px rgba(6, 12, 32, 0.5);
      overflow: hidden;
      transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .media-card {
      gap: 18px;
    }

    .card-image {
      width: 100%;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(148, 163, 184, 0.22);
      box-shadow: 0 20px 40px rgba(6, 12, 32, 0.5);
      object-fit: cover;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: -1px;
      background: radial-gradient(240px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.24), transparent 65%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    .card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(56, 189, 248, 0.2), transparent 65%);
      pointer-events: none;
      opacity: 0.28;
    }

    .card > * {
      position: relative;
      z-index: 1;
    }

    .card:hover {
      border-color: rgba(56, 189, 248, 0.45);
      transform: translateY(-4px);
      box-shadow: 0 30px 54px rgba(6, 12, 32, 0.58);
    }

    .card:hover::before {
      opacity: 1;
    }

    .stat-card {
      gap: 12px;
    }

    .stat-card small {
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--text-muted);
    }

    .stat-card strong {
      font-size: clamp(1.9rem, 4vw, 2.6rem);
      color: var(--primary);
      font-weight: 700;
    }

    .section {
      position: relative;
      padding: clamp(32px, 6vw, 54px);
      background: linear-gradient(150deg, rgba(9, 16, 36, 0.92), rgba(13, 22, 44, 0.76));
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      display: flex;
      flex-direction: column;
      gap: clamp(24px, 4vw, 36px);
      overflow: hidden;
      isolation: isolate;
    }

    .section::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(520px circle at 88% 18%, rgba(56, 189, 248, 0.16), transparent 75%);
      pointer-events: none;
      opacity: 0.55;
      z-index: 0;
    }

    .section::before {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: calc(var(--radius-lg) - 1px);
      border: 1px solid rgba(56, 189, 248, 0.08);
      pointer-events: none;
      z-index: 1;
    }

    .section > * {
      position: relative;
      z-index: 2;
    }

    .section-heading {
      display: grid;
      gap: 12px;
      max-width: 720px;
    }

    .section-heading p {
      color: rgba(203, 213, 225, 0.85);
    }

    #location-info {
      display: none !important;
      visibility: hidden !important;
    }

    .cards-grid {
      display: grid;
      gap: 20px;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.18);
      color: var(--primary);
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .badge.success {
      background: rgba(52, 211, 153, 0.18);
      color: var(--success);
    }

    .badge.accent {
      background: rgba(249, 115, 22, 0.2);
      color: var(--accent);
    }

    .badge.danger {
      background: rgba(248, 113, 113, 0.2);
      color: var(--danger);
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.14);
      color: var(--primary);
      font-size: 0.82rem;
      letter-spacing: 0.03em;
    }

    .tag::before {
      content: "•";
      font-size: 0.7rem;
      line-height: 1;
    }

    .project-card h3 {
      font-size: 1.28rem;
    }

    .project-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      color: var(--text-muted);
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

    .icon-link {
      padding: 0;
      width: 64px;
      height: 64px;
      border-radius: 18px;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(14, 165, 233, 0.35));
      box-shadow: 0 14px 30px rgba(8, 47, 73, 0.45);
    }

    .icon-btn {
      width: 64px;
      height: 64px;
      object-fit: cover;
      object-position: center;
      display: block;
      border-radius: 14px;
      border: 1px solid rgba(56, 189, 248, 0.5);
      box-shadow: 0 10px 22px rgba(56, 189, 248, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
      background: rgba(15, 23, 42, 0.85);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .icon-link:hover {
      background: linear-gradient(145deg, rgba(30, 41, 59, 1), rgba(14, 165, 233, 0.48));
      box-shadow: 0 20px 34px rgba(8, 47, 73, 0.55);
    }

    .icon-btn:hover {
      transform: translateY(-2px) scale(1.04);
      border-color: rgba(125, 211, 252, 0.85);
      box-shadow: 0 16px 30px rgba(56, 189, 248, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    }

    .book-card {
      gap: 16px;
    }

    .book-cover {
      height: 260px;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      font-weight: 700;
      font-size: 1.2rem;
      letter-spacing: 0.2em;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(14, 165, 233, 0.08));
      border: 1px solid rgba(56, 189, 248, 0.3);
    }

    .book-cover.image {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(165deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
      border-color: rgba(148, 163, 184, 0.42);
      padding: 18px;
      text-decoration: none;
    }

    .book-cover.image::before {
      content: "";
      position: absolute;
      inset: 10px;
      border-radius: calc(var(--radius-sm) - 8px);
      background: linear-gradient(155deg, rgba(148, 163, 184, 0.22), rgba(56, 189, 248, 0.1));
      box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24);
    }

    .book-cover.image::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(220px circle at 50% 16%, rgba(56, 189, 248, 0.2), transparent 72%);
      pointer-events: none;
    }

    .book-cover.image img {
      position: relative;
      z-index: 1;
      width: clamp(150px, 58%, 192px);
      height: 100%;
      object-fit: contain;
      object-position: center top;
      display: block;
      border-radius: calc(var(--radius-sm) - 4px);
      box-shadow: 0 18px 30px rgba(2, 6, 23, 0.55);
    }

    .book-cover.alt {
      background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(15, 118, 110, 0.1));
      border-color: rgba(52, 211, 153, 0.35);
    }

    .book-cover.accent {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.28), rgba(217, 119, 6, 0.12));
      border-color: rgba(249, 115, 22, 0.38);
    }

    .book-body {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    .book-top {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 4px;
    }

    .book-top h3 {
      margin: 0;
    }

    .book-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: baseline;
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: auto;
    }

    .book-meta .price {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--accent);
    }

    .single-book .section-heading {
      text-align: left;
      max-width: 680px;
    }

    .single-book .section-heading p {
      color: var(--text-dim);
    }

    .book-feature {
      display: grid;
      gap: clamp(24px, 4vw, 40px);
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      align-items: start;
    }

    .book-feature figure {
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .book-feature img {
      width: 100%;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
    }

    .book-feature figcaption {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .book-details {
      display: grid;
      gap: 18px;
    }

    .book-details ul {
      list-style: disc;
      padding-left: 20px;
      margin: 0;
      color: var(--text-dim);
    }

    .book-details li {
      margin-bottom: 8px;
    }

    .book-details li:last-child {
      margin-bottom: 0;
    }

    .book-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .feature-list {
      display: grid;
      gap: 10px;
      font-size: 0.95rem;
      color: rgba(226, 232, 240, 0.88);
    }

    .feature-list li {
      position: relative;
      padding-left: 22px;
    }

    .feature-list li::before {
      content: "⟶";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--primary);
    }

    .service-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
    }

    .service-rate {
      font-size: 0.95rem;
      color: var(--accent);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .assistant-layout {
      display: grid;
      gap: 22px;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
      align-items: start;
    }

    .assistant-card {
      gap: 18px;
    }

    .assistant-log {
      background: rgba(15, 23, 42, 0.55);
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: var(--radius-sm);
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-height: 320px;
      overflow-y: auto;
      scrollbar-width: thin;
    }

    .assistant-log::-webkit-scrollbar {
      width: 8px;
    }

    .assistant-log::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.32);
      border-radius: 8px;
    }

    .message {
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(30, 41, 59, 0.7);
      color: var(--text);
      align-self: flex-start;
      line-height: 1.6;
      white-space: pre-line;
      border: 1px solid rgba(148, 163, 184, 0.24);
      max-width: 100%;
    }

    .message.user {
      background: rgba(56, 189, 248, 0.18);
      color: var(--primary);
      align-self: flex-end;
      border-color: rgba(56, 189, 248, 0.24);
    }

    .badge-log {
      gap: 16px;
    }

    .badge-group {
      display: grid;
      gap: 10px;
      padding: 12px;
      border-radius: var(--radius-sm);
      background: rgba(15, 23, 42, 0.82);
      border: 1px solid rgba(56, 189, 248, 0.28);
    }

    .badge-group h4 {
      font-size: 1rem;
      color: var(--text);
      letter-spacing: 0.01em;
    }

    .badge-stack {
      display: grid;
      gap: 10px;
    }

    .title-badge-link {
      display: block;
      width: 100%;
      border-radius: 10px;
      overflow: hidden;
    }

    .title-badge-link img {
      display: block;
      max-width: 100%;
      height: auto;
      filter: drop-shadow(0 6px 16px rgba(14, 165, 233, 0.18));
    }

    .assistant-form {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
    }

    .assistant-form input {
      width: 100%;
    }

    .assistant-playbook {
      gap: 18px;
    }

    .assistant-footnote {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .contact-grid {
      display: grid;
      gap: 22px;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-form {
      gap: 16px;
    }

    label span {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
    }

    label {
      display: grid;
      gap: 6px;
    }

    input,
    textarea {
      width: 100%;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.65);
      color: var(--text);
      font: inherit;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    input::placeholder,
    textarea::placeholder {
      color: rgba(148, 163, 184, 0.6);
    }

    textarea {
      resize: vertical;
      min-height: 150px;
    }

    .form-status {
      font-size: 0.92rem;
      color: var(--success);
      opacity: 0;
      transition: opacity 0.3s ease;
      margin-top: -4px;
    }

    .form-status.visible {
      opacity: 1;
    }

    .contact-meta {
      gap: 16px;
    }

    .availability {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      font-size: 0.92rem;
      color: var(--text-muted);
    }

    .contact-list {
      display: grid;
      gap: 10px;
    }

    .contact-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      color: rgba(226, 232, 240, 0.9);
    }

    .contact-list li::before {
      content: "↘";
      color: var(--primary);
    }

    .contact-note p {
      color: rgba(226, 232, 240, 0.85);
    }

    .site-main {
      display: flex;
      flex-direction: column;
      gap: clamp(32px, 5vw, 56px);
    }

    .site-footer {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      padding: 28px;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.28);
      background: rgba(15, 23, 42, 0.78);
      box-shadow: var(--shadow-md);
      text-align: center;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      justify-content: center;
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .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;
    }

    @keyframes pulse {
      0% {
        transform: scale(0.6);
        opacity: 1;
      }
      100% {
        transform: scale(1.6);
        opacity: 0;
      }
    }

    @keyframes float {
      0%,
      100% {
        transform: translate3d(0, 0, 0);
      }
      50% {
        transform: translate3d(12px, -14px, 0);
      }
    }

    .hidden {
      display: none !important;
    }

    .card.compact {
      padding: 18px 20px;
      gap: 12px;
    }

    .auto-gaap-section {
      gap: clamp(32px, 5vw, 48px);
    }

    .auto-gaap-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: clamp(28px, 4vw, 40px);
      align-items: flex-start;
    }

    .auto-gaap-panel {
      display: flex;
      flex-direction: column;
      gap: clamp(18px, 3vw, 26px);
      background: linear-gradient(150deg, rgba(9, 16, 36, 0.92), rgba(13, 22, 44, 0.76));
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.28);
      box-shadow: var(--shadow-lg);
    }

    .auto-gaap-panel.assistant-panel .assistant-log {
      min-height: 220px;
    }

    .auto-gaap-panel.assistant-panel .assistant-footnote {
      border-top: 1px solid rgba(148, 163, 184, 0.18);
      padding-top: 12px;
    }

    .auto-gaap-panel.insights-panel {
      background: linear-gradient(160deg, rgba(8, 20, 44, 0.92), rgba(12, 28, 58, 0.78));
      border-color: rgba(56, 189, 248, 0.26);
    }

    .auto-gaap-header {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: space-between;
      align-items: flex-start;
    }

    .auto-gaap-header .button-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .auto-gaap-description {
      color: var(--text-muted);
      margin-top: 6px;
    }

    .auto-gaap-form {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .auto-gaap-form fieldset {
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: var(--radius-sm);
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      background: rgba(15, 23, 42, 0.55);
    }

    .auto-gaap-form legend {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      padding: 0 6px;
    }

    .form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .form-field span {
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    .form-field textarea {
      min-height: 120px;
    }

    .form-columns {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 18px;
    }

    .checkbox-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .checkbox-field {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      color: var(--text-dim);
    }

    .conditional-group {
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding: 16px;
      border-radius: var(--radius-sm);
      background: rgba(15, 23, 42, 0.5);
      border: 1px solid rgba(148, 163, 184, 0.2);
    }

    .conditional-group h4 {
      font-size: 0.9rem;
      color: var(--text);
    }

    .form-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .auto-gaap-kpis {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 16px;
    }

    .auto-gaap-kpi {
      display: grid;
      gap: 6px;
      padding: 14px;
      border-radius: var(--radius-sm);
      background: rgba(56, 189, 248, 0.08);
      border: 1px solid rgba(56, 189, 248, 0.18);
      text-align: left;
    }

    .auto-gaap-kpi-label {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .auto-gaap-kpi-value {
      font-size: 1.2rem;
      font-weight: 600;
    }

    .auto-gaap-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 999px;
      font-weight: 600;
      background: rgba(148, 163, 184, 0.16);
      color: var(--text);
    }

    .auto-gaap-status.balanced {
      background: rgba(52, 211, 153, 0.16);
      color: #34d399;
    }

    .auto-gaap-status.unbalanced {
      background: rgba(248, 113, 113, 0.16);
      color: #f87171;
    }

    .auto-gaap-status-banner {
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .auto-gaap-status-banner.issue {
      background: rgba(248, 113, 113, 0.18);
      color: #fca5a5;
      border: 1px solid rgba(248, 113, 113, 0.35);
    }

    .auto-gaap-status-banner.warning {
      background: rgba(251, 191, 36, 0.16);
      color: #f59e0b;
      border: 1px solid rgba(251, 191, 36, 0.3);
    }

    .auto-gaap-chart {
      height: 260px;
    }

    .auto-gaap-chart.secondary {
      height: 220px;
    }

    .auto-gaap-summary,
    .ledger-feed,
    .depreciation-feed,
    .location-feed {
      display: grid;
      gap: 14px;
    }

    .auto-gaap-summary p,
    .depreciation-feed p,
    .location-feed {
      color: var(--text-dim);
    }

    .auto-gaap-recommendations {
      display: grid;
      gap: 12px;
    }

    .auto-gaap-recommendations h4,
    .auto-gaap-ledger h4 {
      font-size: 1rem;
      color: var(--text);
    }

    .auto-gaap-recommendations ul {
      margin: 0;
      padding-left: 20px;
      color: var(--text-dim);
      display: grid;
      gap: 6px;
    }

    .payment-gate-note {
      margin: 6px 0 0;
      color: var(--text-muted);
      font-size: 0.88rem;
      line-height: 1.5;
    }

    .auto-gaap-health {
      display: grid;
      gap: 12px;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      background: rgba(148, 163, 184, 0.08);
      border: 1px solid rgba(148, 163, 184, 0.16);
    }

    .auto-gaap-issue-group,
    .auto-gaap-warning-group {
      display: grid;
      gap: 8px;
    }

    .auto-gaap-issue-group h5,
    .auto-gaap-warning-group h5 {
      margin: 0;
      font-size: 0.85rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .auto-gaap-issue-group ul,
    .auto-gaap-warning-group ul {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 6px;
      color: var(--text-dim);
    }

    .ledger-feed article {
      display: grid;
      gap: 10px;
    }

    .ledger-feed header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.86rem;
      color: var(--text-muted);
    }

    .auto-gaap-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
      background: rgba(15, 23, 42, 0.6);
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    .auto-gaap-table th,
    .auto-gaap-table td {
      padding: 10px 12px;
      border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    }

    .auto-gaap-table th {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.74rem;
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.75);
    }

    .auto-gaap-table tbody tr:last-child td {
      border-bottom: none;
    }

    .auto-gaap-placeholder {
      color: var(--text-muted);
      font-style: italic;
    }

    .auto-gaap-ledger {
      display: grid;
      gap: 12px;
    }

    .ledger-description {
      margin: 4px 0 0;
      color: var(--text-dim);
      font-size: 0.9rem;
      max-width: 680px;
    }

    .auto-gaap-ledger + .auto-gaap-ledger {
      border-top: 1px solid rgba(148, 163, 184, 0.12);
      padding-top: 18px;
      margin-top: 12px;
    }

    .payment-dialog {
      width: min(760px, calc(100vw - 32px));
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 28px;
      padding: 0;
      background: linear-gradient(160deg, rgba(13, 22, 42, 0.96), rgba(15, 23, 42, 0.9));
      color: var(--text);
      box-shadow: 0 32px 70px rgba(2, 6, 23, 0.6);
    }

    .payment-dialog::backdrop {
      background: rgba(2, 6, 23, 0.74);
      backdrop-filter: blur(8px);
    }

    .payment-dialog-card {
      display: grid;
      gap: 22px;
      padding: clamp(24px, 4vw, 32px);
    }

    .payment-dialog-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .payment-dialog-eyebrow {
      margin: 0 0 8px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-size: 0.74rem;
      color: var(--text-muted);
    }

    .payment-dialog-header h2 {
      margin: 0;
      font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .payment-dialog-close {
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.72);
      color: var(--text);
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .payment-dialog-copy {
      margin: 0;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .payment-dialog-target {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 14px 16px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.64);
      border: 1px solid rgba(56, 189, 248, 0.18);
    }

    .payment-dialog-target span {
      color: var(--text-muted);
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .payment-option-grid {
      display: grid;
      gap: 14px;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .payment-option-card {
      display: grid;
      gap: 12px;
      padding: 18px;
      border-radius: 18px;
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(148, 163, 184, 0.2);
      box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.08);
    }

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

    .payment-option-top h3 {
      margin: 0;
      font-size: 1rem;
    }

    .payment-option-price {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 48px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.16);
      color: var(--primary);
      font-size: 0.82rem;
      font-weight: 700;
    }

    .payment-option-detail,
    .payment-option-note {
      margin: 0;
      color: var(--text-muted);
      line-height: 1.5;
      word-break: break-word;
    }

    .payment-option-detail {
      font-family: var(--font-display);
      color: var(--text);
    }

    .payment-option-footer {
      display: flex;
      justify-content: flex-start;
    }

    .payment-option-action[disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .payment-confirm {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .payment-confirm input {
      width: 18px;
      height: 18px;
      margin-top: 3px;
      flex: 0 0 auto;
    }

    .payment-dialog-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      flex-wrap: wrap;
    }

    .ledger-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

    .financial-statements-output {
      display: grid;
      gap: 14px;
    }

    .financial-statements-output article {
      display: grid;
      gap: clamp(18px, 3vw, 28px);
    }

    .statement-card {
      display: grid;
      gap: clamp(18px, 3vw, 26px);
      background: linear-gradient(155deg, rgba(13, 23, 46, 0.92), rgba(20, 32, 58, 0.78));
      border: 1px solid rgba(148, 163, 184, 0.3);
      border-radius: var(--radius-md);
      padding: clamp(22px, 4vw, 32px);
      box-shadow: var(--shadow-md);
    }

    .statement-header {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
    }

    .statement-header h5 {
      font-size: 1.12rem;
      color: var(--text);
      margin: 0;
    }

    .statement-subtitle {
      margin: 6px 0 0;
      font-size: 0.92rem;
      color: var(--text-muted);
    }

    .statement-tagline {
      margin: 4px 0 0;
      font-size: 0.85rem;
      color: var(--text-dim);
    }

    .statement-meta {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
      min-width: 220px;
      font-size: 0.85rem;
    }

    .statement-meta li {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      background: rgba(12, 19, 38, 0.72);
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
    }

    .statement-meta .label {
      color: var(--text-muted);
      font-weight: 600;
    }

    .statement-table {
      width: 100%;
      border-collapse: collapse;
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: rgba(9, 15, 30, 0.66);
    }

    .statement-table th,
    .statement-table td {
      padding: 12px 16px;
      font-size: 0.92rem;
      color: var(--text-dim);
      border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .statement-table thead th {
      background: rgba(56, 189, 248, 0.12);
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.75rem;
    }

    .statement-table tbody tr.statement-section th {
      font-size: 0.74rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.62);
      border-bottom: 1px solid rgba(148, 163, 184, 0.22);
      padding-top: 18px;
    }

    .statement-table tbody tr.statement-subtotal td {
      font-weight: 600;
      color: var(--text);
      background: rgba(15, 23, 42, 0.68);
    }

    .statement-table tbody tr.statement-empty td {
      font-style: italic;
      color: var(--text-muted);
    }

    .statement-table td.numeric,
    .statement-table th.numeric {
      text-align: right;
      font-variant-numeric: tabular-nums;
    }

    .statement-metrics {
      display: grid;
      gap: 12px;
    }

    .statement-metrics h6 {
      margin: 0;
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .metrics-grid {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .metrics-grid li {
      display: grid;
      gap: 6px;
      padding: 14px 16px;
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.24);
      border-radius: var(--radius-sm);
    }

    .metrics-grid span {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .metrics-grid strong {
      color: var(--text);
      font-size: 1.04rem;
      font-weight: 600;
      font-variant-numeric: tabular-nums;
    }

    .metrics-grid small {
      color: var(--text-dim);
      font-size: 0.75rem;
    }

    .statement-footnotes {
      display: grid;
      gap: 10px;
    }

    .statement-footnotes h6 {
      margin: 0;
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .statement-footnotes ol {
      margin: 0;
      padding-left: 20px;
      display: grid;
      gap: 6px;
      color: var(--text-dim);
      font-size: 0.86rem;
    }

    @keyframes gridPulse {
      0% {
        background-position: 0 0, 0 0;
      }
      100% {
        background-position: 90px 90px, 90px 90px;
      }
    }

    @media (max-width: 1020px) {
      .assistant-layout {
        grid-template-columns: 1fr;
      }

      .auto-gaap-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 880px) {
      body {
        padding: clamp(20px, 5vw, 40px);
      }

      .hero-main {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        min-height: 220px;
      }

      .hero-device {
        margin-inline: auto;
      }

      .auto-gaap-shell .hero-visual .hero-device {
        margin-top: 0;
      }

      .hero-metrics {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }

      .form-row {
        flex-direction: column;
      }

      .form-actions {
        flex-direction: column;
        align-items: stretch;
      }
    }

    @media (max-width: 720px) {
      .top-nav {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 24px;
      }

      .nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      }

      .nav-cta {
        width: 100%;
        justify-content: center;
      }

      .scroll-progress {
        position: static;
        width: 100%;
        margin-top: 6px;
        height: 4px;
      }

      .hero,
      .section {
        padding: clamp(26px, 7vw, 38px);
      }
    }

    @media (max-width: 560px) {
      .card-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .hero-actions .button {
        flex: 1 1 100%;
      }

      .assistant-form {
        grid-template-columns: 1fr;
      }
    }

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