:root {
      --bg: #f7f8f7;
      --panel: rgba(255,255,255,.78);
      --panel-solid: #ffffff;
      --text: #171a1d;
      --muted: #606a73;
      --line: rgba(24,31,38,.11);
      --line-strong: rgba(24,31,38,.18);
      --blue: #1060d0;
      --blue-2: #4b98ff;
      --blue-soft: rgba(18,104,223,.08);
      --green: #117342;
      --shadow: 0 18px 45px rgba(20,28,36,.08);
      --shadow-sm: 0 8px 24px rgba(20,28,36,.06);
      --serif: Georgia, 'Times New Roman', serif;
      --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    html[data-theme="dark"] {
      --bg: #0b0f13;
      --panel: rgba(19,24,29,.78);
      --panel-solid: #12171c;
      --text: #f4f5f6;
      --muted: #9aa3ac;
      --line: rgba(255,255,255,.09);
      --line-strong: rgba(255,255,255,.16);
      --blue: #62a7ff;
      --blue-2: #9ac8ff;
      --blue-soft: rgba(74,145,255,.11);
      --green: #49dc92;
      --shadow: 0 22px 60px rgba(0,0,0,.28);
      --shadow-sm: 0 10px 30px rgba(0,0,0,.22);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      background:
        radial-gradient(circle at 78% 12%, rgba(54,132,255,.10), transparent 27%),
        radial-gradient(circle at 10% 78%, rgba(48,178,132,.045), transparent 25%),
        var(--bg);
      color: var(--text);
      font-family: var(--sans);
      transition: background-color .25s ease, color .25s ease;
      overflow-x: hidden;
    }

    button, a { font: inherit; }
    a { color: inherit; text-decoration: none; }
    button { color: inherit; }

    .ambient {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: -1;
      opacity: .65;
      overflow: hidden;
    }
    .ambient::before,
    .ambient::after {
      content: '';
      position: absolute;
      width: 520px;
      height: 520px;
      border: 1px solid var(--line);
      border-radius: 50%;
      animation: drift 14s ease-in-out infinite alternate;
    }
    .ambient::before { right: -230px; top: 80px; }
    .ambient::after { left: -310px; bottom: -160px; animation-duration: 18s; }
    @keyframes drift {
      from { transform: translate3d(0,0,0) scale(1); }
      to { transform: translate3d(28px,-14px,0) scale(1.06); }
    }

    .app-shell { min-height: 100vh; }

    .topbar {
      height: 78px;
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(16px);
      background: color-mix(in srgb, var(--bg) 84%, transparent);
      position: sticky;
      top: 0;
      z-index: 20;
    }
    .topbar-inner {
      height: 100%;
      max-width: 1480px;
      margin: 0 auto;
      padding: 0 34px;
      display: flex;
      align-items: center;
      gap: 34px;
    }
    .brand { min-width: 260px; }
    .brand-name {
      font-family: var(--serif);
      font-weight: 800;
      font-size: 27px;
      letter-spacing: -.5px;
      line-height: 1;
    }
    .brand-name span { color: var(--blue); }
    .brand-sub {
      margin-top: 5px;
      color: var(--muted);
      font-family: var(--serif);
      font-size: 11px;
      letter-spacing: 2.1px;
      text-transform: uppercase;
    }
    .nav {
      flex: 1;
      display: flex;
      justify-content: center;
      gap: 26px;
      font-size: 14px;
      color: var(--muted);
    }
    .nav a { position: relative; transition: color .2s ease; }
    .nav a:hover, .nav a.active { color: var(--text); }
    .nav a.active::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -15px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--blue);
      transform: translateX(-50%);
    }
    .top-actions { display: flex; align-items: center; gap: 10px; }
    .status-pill, .theme-btn {
      border: 1px solid var(--line);
      background: var(--panel);
      box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
      border-radius: 12px;
      height: 44px;
      display: inline-flex;
      align-items: center;
    }
    .status-pill { gap: 8px; padding: 0 14px; font-size: 13px; color: var(--muted); }
    .status-pill strong { color: var(--text); font-weight: 650; }
    .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 15%, transparent); }
    .theme-btn {
      width: 44px;
      justify-content: center;
      cursor: pointer;
      transition: transform .2s ease, border-color .2s ease;
    }
    .theme-btn:hover { transform: translateY(-1px); border-color: var(--line-strong); }
    .theme-icon { width: 18px; height: 18px; }

    main { max-width: 1480px; margin: 0 auto; padding: 0 34px 70px; }

    .hero {
      min-height: 470px;
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      align-items: center;
      gap: 72px;
      padding: 72px 8px 54px;
      position: relative;
    }
    .hero-copy { max-width: 780px; }
    .eyebrow {
      color: var(--muted);
      letter-spacing: 2.2px;
      text-transform: uppercase;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 18px;
    }
    h1 {
      font-family: var(--serif);
      font-size: clamp(54px, 5.2vw, 82px);
      line-height: .98;
      letter-spacing: -3px;
      margin: 0;
      font-weight: 700;
      max-width: 820px;
    }
    h1 .accent { color: var(--blue); }
    .hero-desc {
      font-family: var(--serif);
      font-size: 20px;
      line-height: 1.62;
      color: var(--muted);
      max-width: 720px;
      margin: 24px 0 0;
    }
    .hero-actions { display: flex; gap: 12px; margin-top: 30px; }
    .btn {
      border-radius: 12px;
      height: 48px;
      padding: 0 19px;
      border: 1px solid var(--line-strong);
      background: var(--panel);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      font-weight: 650;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
    .btn.primary { background: var(--text); color: var(--bg); border-color: transparent; }
    html[data-theme="dark"] .btn.primary { background: #f6f7f8; color: #11161b; }
    .btn svg { width: 17px; height: 17px; }

    .hero-note {
      margin-top: 28px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
      max-width: 700px;
    }
    .note-mark {
      width: 26px; height: 26px; flex: 0 0 26px;
      border-radius: 8px;
      display: grid; place-items: center;
      border: 1px solid var(--line);
      color: var(--blue);
      background: var(--blue-soft);
      font-weight: 700;
    }

    .hero-visual {
      min-height: 330px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .source-map {
      width: 100%;
      max-width: 570px;
      padding: 28px;
      border-radius: 26px;
      border: 1px solid var(--line);
      background: linear-gradient(145deg, var(--panel-solid), color-mix(in srgb, var(--panel-solid) 82%, var(--blue-soft)));
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }
    .source-map::after {
      content: '';
      position: absolute;
      width: 170px; height: 170px; border-radius: 50%;
      background: var(--blue-soft);
      filter: blur(2px);
      right: -80px; top: -80px;
      animation: breathe 6s ease-in-out infinite;
    }
    @keyframes breathe { 50% { transform: scale(1.18); opacity: .55; } }
    .map-label { font-size: 11px; color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; }
    .map-title { font-family: var(--serif); font-size: 26px; margin: 7px 0 26px; }
    .map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 12px; align-items: stretch; }
    .source-stack, .output-stack { display: grid; gap: 10px; }
    .mini-card {
      min-height: 64px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: color-mix(in srgb, var(--panel-solid) 88%, transparent);
      padding: 12px 14px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      z-index: 2;
      transition: transform .2s ease, border-color .2s ease;
    }
    .mini-card:hover { transform: translateX(2px); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
    .mini-card strong { font-family: var(--serif); font-size: 15px; }
    .mini-card span { font-size: 11px; color: var(--muted); margin-top: 3px; }
    .mini-card.planned {
      border-style: dashed;
      background: color-mix(in srgb, var(--panel-solid) 70%, transparent);
    }
    .mini-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
    .status-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      width: fit-content;
      border-radius: 999px;
      padding: 3px 7px;
      font-family: var(--sans);
      font-size: 9px;
      font-weight: 750;
      letter-spacing: .5px;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .status-tag.current {
      color: var(--green);
      background: color-mix(in srgb, var(--green) 10%, transparent);
      border: 1px solid color-mix(in srgb, var(--green) 24%, var(--line));
    }
    .status-tag.planned {
      color: var(--muted);
      background: color-mix(in srgb, var(--muted) 7%, transparent);
      border: 1px dashed var(--line-strong);
    }

    .map-core {
      border-left: 1px solid var(--line);
      border-right: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .map-core::before {
      content: '';
      position: absolute;
      top: 12%; bottom: 12%; left: 50%;
      width: 2px;
      transform: translateX(-50%);
      background: linear-gradient(to bottom, transparent, var(--blue), transparent);
      opacity: .55;
    }
    .scan {
      position: absolute;
      top: 9%; left: calc(50% - 8px);
      width: 16px; height: 16px;
      border-radius: 50%;
      background: var(--blue);
      box-shadow: 0 0 18px color-mix(in srgb, var(--blue) 80%, transparent);
      animation: scan 4.2s ease-in-out infinite;
      z-index: 3;
    }
    @keyframes scan {
      0%,100% { top: 9%; opacity: .35; }
      50% { top: 82%; opacity: 1; }
    }
    .core-badge {
      width: 54px; height: 54px; border-radius: 50%;
      background: var(--panel-solid);
      border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--line));
      display: grid; place-items: center;
      font-family: var(--serif); font-weight: 800;
      color: var(--blue);
      box-shadow: 0 0 0 8px var(--blue-soft);
      z-index: 4;
    }

    .metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      margin: 6px 0 62px;
    }
    .metric { padding: 22px 24px; position: relative; }
    .metric + .metric { border-left: 1px solid var(--line); }
    .metric-kicker { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; }
    .metric-value { margin-top: 7px; font-family: var(--serif); font-size: 27px; }
    .metric-note { margin-top: 4px; color: var(--muted); font-size: 12px; }

    .section { margin-top: 56px; }
    .section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 22px; }
    .section-head .left { max-width: 720px; }
    .section-kicker { color: var(--muted); text-transform: uppercase; letter-spacing: 1.8px; font-size: 11px; font-weight: 750; }
    h2 { font-family: var(--serif); font-size: 36px; letter-spacing: -1.2px; margin: 7px 0 0; }
    .section-copy { color: var(--muted); line-height: 1.6; font-size: 14px; max-width: 520px; }

    .workspace-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .workspace-card {
      min-height: 232px;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 22px;
      background: var(--panel);
      backdrop-filter: blur(10px);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
      position: relative;
      overflow: hidden;
    }
    .workspace-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); }
    .workspace-num { font-family: var(--serif); color: var(--blue); font-size: 13px; }
    .workspace-card h3 { font-family: var(--serif); font-size: 22px; margin: 26px 0 8px; }
    .workspace-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
    .workspace-link { display: inline-flex; margin-top: 22px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .2px; }
    .workspace-glow { position: absolute; width: 95px; height: 95px; right: -32px; top: -32px; border-radius: 50%; background: var(--blue-soft); opacity: 0; transform: scale(.8); transition: .25s ease; }
    .workspace-card:hover .workspace-glow { opacity: 1; transform: scale(1); }

    .sources-panel {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--panel);
      padding: 20px;
      box-shadow: var(--shadow-sm);
    }
    .source-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
    .source-tab {
      border: 1px solid var(--line);
      border-radius: 999px;
      background: transparent;
      padding: 9px 13px;
      cursor: pointer;
      color: var(--muted);
      font-size: 12px;
      transition: .2s ease;
    }
    .source-tab.active, .source-tab:hover { color: var(--text); border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); background: var(--blue-soft); }
    .source-tab { display: inline-flex; align-items: center; gap: 7px; }
    .tab-state { font-size: 9px; letter-spacing: .4px; text-transform: uppercase; opacity: 1; }
    .source-tab.planned { border-style: dashed; }
    .source-state { margin: 0 0 9px; }

    .source-content { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; align-items: stretch; }
    .source-intro { padding: 14px 10px 14px 8px; }
    .source-intro h3 { font-family: var(--serif); font-size: 29px; margin: 4px 0 10px; }
    .source-intro p { color: var(--muted); line-height: 1.7; font-size: 14px; margin: 0; }
    .source-detail { border-left: 1px solid var(--line); padding-left: 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
    .detail-chip { border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: color-mix(in srgb, var(--panel-solid) 75%, transparent); }
    .detail-chip strong { font-family: var(--serif); display: block; font-size: 16px; margin-bottom: 5px; }
    .detail-chip span { color: var(--muted); font-size: 12px; line-height: 1.45; }
    .detail-chip.planned { border-style: dashed; }
    .detail-chip .detail-status { margin-bottom: 8px; }


    .flow {
      margin-top: 24px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .flow-step { padding: 22px 18px; display: flex; gap: 13px; align-items: flex-start; position: relative; }
    .flow-step + .flow-step { border-left: 1px solid var(--line); }
    .flow-no { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--line)); color: var(--blue); font-family: var(--serif); font-weight: 700; }
    .flow-step strong { display: block; font-family: var(--serif); font-size: 17px; margin: 1px 0 5px; }
    .flow-step span { color: var(--muted); font-size: 12px; line-height: 1.45; }

    .footer {
      margin-top: 64px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 24px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.6;
    }

    .fade-up { animation: fadeUp .72s ease both; }
    .delay-1 { animation-delay: .08s; }
    .delay-2 { animation-delay: .16s; }
    .delay-3 { animation-delay: .24s; }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

    [v-cloak] { display: none; }

    @media (max-width: 1200px) {
      .nav { display: none; }
      .topbar-inner { padding: 0 20px; }
      main { padding-left: 20px; padding-right: 20px; }
      .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; }
      .hero-visual { justify-content: flex-start; }
      .workspace-grid { grid-template-columns: repeat(2, 1fr); }
      .source-content { grid-template-columns: 1fr; }
      .source-detail { border-left: 0; padding-left: 0; }
      .flow { grid-template-columns: repeat(2, 1fr); }
      .flow-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    }
    @media (max-width: 720px) {
      .brand { min-width: 0; }
      .brand-sub, .status-pill { display: none; }
      .topbar-inner { justify-content: space-between; }
      .hero { padding-top: 38px; }
      h1 { font-size: clamp(38px, 11.8vw, 52px); letter-spacing: -2px; }
      .hero-desc { font-size: 17px; }
      .map-grid { grid-template-columns: 1fr; }
      .map-core { min-height: 62px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
      .map-core::before { left: 10%; right: 10%; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-50%); background: linear-gradient(to right, transparent, var(--blue), transparent); }
      .scan { animation: none; top: calc(50% - 8px); left: 50%; }
      .metrics, .workspace-grid, .flow { grid-template-columns: 1fr; }
      .metric + .metric, .flow-step + .flow-step { border-left: 0; border-top: 1px solid var(--line); }
      .source-detail { grid-template-columns: 1fr; }
      .section-head { align-items: flex-start; flex-direction: column; }
      .footer { flex-direction: column; }
    }
  
    html { color-scheme: light; scroll-padding-top: 98px; }
    html[data-theme="dark"] { color-scheme: dark; }
    :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
    .skip-link { position: fixed; top: -80px; left: 20px; z-index: 30; padding: 12px 18px; border-radius: 10px; background: var(--panel-solid); }
    .skip-link:focus { top: 12px; }
    .workspace-entry { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 13px; font-weight: 650; white-space: nowrap; }
    .dot.offline { background: var(--muted); box-shadow: none; }
    .hero-actions { flex-wrap: wrap; }
    .btn { font-size: 14px; }
    .source-tab { min-height: 44px; }
    .source-content { scroll-margin-top: 98px; }
    .footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
    .no-script { padding: 20px; text-align: center; }
    @media (max-width: 720px) {
      .topbar-inner { gap: 12px; }
      .top-actions { gap: 8px; }
      .brand-name { font-size: 24px; }
      .workspace-entry { padding: 0 10px; }
    }
    @media (max-width: 359px) {
      .topbar-inner { padding: 0 14px; }
      .top-actions { gap: 6px; }
      .brand-name { font-size: 22px; }
      .workspace-entry { gap: 4px; font-size: 12px; }
      .source-map { padding: 22px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
    }
