:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, .88);
  --surface-solid: #ffffff;
  --surface-blue: #f1f7ff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 113, 227, .22);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: #e8f2ff;
  --success: #248a3d;
  --warning: #9a6700;
  --danger: #d70015;
  --shadow: 0 18px 60px rgba(0, 0, 0, .08);
  --shadow-small: 0 8px 30px rgba(0, 0, 0, .06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 113, 227, .08), transparent 28rem),
    radial-gradient(circle at 92% 38%, rgba(90, 200, 250, .09), transparent 30rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 4px solid rgba(0, 113, 227, .2);
  outline-offset: 2px;
}

#network-canvas, .grid-bg, .aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

#network-canvas { opacity: .08; }
.grid-bg { display: none; }
.aurora {
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .16;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora-one { top: -22%; left: -12%; background: #8fc8ff; }
.aurora-two { inset: auto -18% -35% auto; background: #b9e7ff; animation-delay: -8s; }
@keyframes drift { to { transform: translate3d(8vw, 5vh, 0) scale(1.08); } }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #1688f8, #0064d2);
  box-shadow: 0 7px 18px rgba(0, 113, 227, .22);
}
.brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 2; }
.brand strong { display: block; font-size: 16px; font-weight: 650; letter-spacing: .06em; }
.brand small { display: block; margin-top: 1px; color: var(--subtle); font-size: 7px; letter-spacing: .18em; }

.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.session-exit {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(0, 113, 227, .2);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, .86);
  cursor: pointer;
  font-size: 11px;
}
.session-exit:hover { background: var(--blue-soft); }
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .8);
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #f5a623; }
.status.online { color: var(--success); border-color: rgba(36, 138, 61, .18); background: #f2fbf4; }
.status.online .status-dot { background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, .12); }
.status.offline { color: var(--danger); border-color: rgba(215, 0, 21, .16); background: #fff5f6; }
.status.offline .status-dot { background: #ff3b30; }
.status.partial { color: var(--warning); border-color: rgba(154, 103, 0, .16); background: #fffaf0; }
.status.partial .status-dot { background: #ff9f0a; }

.app-shell { width: min(1200px, calc(100% - 48px)); min-height: calc(100vh - 136px); margin: 0 auto; }
.view { display: none; animation: reveal .45s cubic-bezier(.2, .8, .2, 1) both; }
.view.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 70px;
  padding: 68px 0 48px;
}

.access-actions { align-items: center; }
.access-actions .primary-action,
.access-actions .secondary-action {
  min-width: 180px;
}
.access-message { margin-top: 10px; }
.access-status {
  display: grid;
  gap: 5px;
  max-width: 620px;
  margin-top: 28px;
  padding: 15px 17px;
  border: 1px solid rgba(0, 113, 227, .14);
  border-radius: 16px;
  color: #415268;
  background: rgba(232, 242, 255, .78);
}
.access-status strong { color: var(--blue); font-size: 13px; }
.access-status span { font-size: 12px; line-height: 1.6; }

.security-pill {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 113, 227, .12);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(232, 242, 255, .72);
  font-size: 12px;
  font-weight: 500;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }

.hero-kicker, .eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .18em;
}
.hero-kicker { margin-top: 31px; color: #6b7280; }

.art-title {
  max-width: 680px;
  display: grid;
  gap: 0;
  margin: 0;
  color: #151517;
  font-size: clamp(60px, 6.25vw, 88px);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.065em;
}
.art-title span { display: block; }
.art-title .title-accent {
  color: var(--blue);
  background: linear-gradient(90deg, #0069d9, #2997ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 650px;
  margin: 30px 0 12px;
  color: var(--text);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 580;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.hero-description { max-width: 600px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }

.primary-action, .secondary-action, .submit-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-actions .primary-action { min-width: 190px; }
.primary-action, .submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 20px rgba(0, 113, 227, .2);
}
.primary-action:hover, .submit-button:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 113, 227, .25); }
.secondary-action { border: 1px solid rgba(0, 113, 227, .25); color: var(--blue); background: rgba(255, 255, 255, .7); }
.secondary-action:hover { background: var(--blue-soft); }

.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: var(--subtle); font-size: 12px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--blue); font-weight: 650; }

.hero-visual {
  position: relative;
  width: min(41vw, 500px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, .12), rgba(90, 200, 250, .05) 45%, transparent 70%);
  filter: blur(6px);
}
.visual-label {
  position: absolute;
  z-index: 3;
  color: #97a7b7;
  font-size: 7px;
  letter-spacing: .23em;
}
.visual-label-top { top: 2%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.visual-label-side { top: 50%; right: 1%; transform: rotate(90deg) translateX(50%); transform-origin: right center; white-space: nowrap; }
.orbit { position: absolute; border: 1px solid rgba(0, 113, 227, .16); border-radius: 50%; animation: spin 28s linear infinite; }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #2997ff; box-shadow: 0 0 0 5px rgba(41, 151, 255, .1); }
.orbit::before { top: 12%; left: 20%; }
.orbit::after { right: 8%; bottom: 28%; }
.orbit-outer { width: 92%; height: 92%; border-style: dashed; }
.orbit-middle { width: 70%; height: 70%; animation-direction: reverse; animation-duration: 21s; }
.orbit-inner { width: 48%; height: 48%; border-color: rgba(0, 113, 227, .24); animation-duration: 15s; }
@keyframes spin { to { transform: rotate(360deg); } }

.core {
  z-index: 2;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 38px;
  color: #fff;
  background: linear-gradient(145deg, #4aa8ff, #0071e3);
  box-shadow: 0 28px 60px rgba(0, 113, 227, .26), inset 0 1px rgba(255, 255, 255, .4);
  transform: rotate(45deg);
}
.core svg { width: 65px; fill: none; stroke: currentColor; stroke-width: 1.8; transform: rotate(-45deg); }
.orbit-node { position: absolute; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #2997ff; box-shadow: 0 3px 12px rgba(0, 113, 227, .35); }
.node-one { top: 7%; left: 48%; }
.node-two { right: 8%; bottom: 31%; }
.node-three { bottom: 10%; left: 22%; }

.data-card {
  position: absolute;
  min-width: 132px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: var(--shadow-small);
  animation: float 5s ease-in-out infinite;
}
.data-card span { display: block; margin-bottom: 4px; color: var(--blue); font-size: 8px; letter-spacing: .16em; }
.data-card strong { color: #363638; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 550; }
.data-card-one { top: 20%; left: -2%; }
.data-card-two { right: -2%; bottom: 18%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-7px); } }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 28px 0 24px; }
.section-heading h2, .workspace-header h2, .login-copy h2 { margin: 0; font-size: clamp(38px, 4.7vw, 66px); font-weight: 700; line-height: 1.04; letter-spacing: -.055em; }
.workspace-header h2 span, .login-copy h2 span { color: var(--blue); }
.section-heading h2 { font-size: clamp(36px, 4vw, 52px); }
.section-heading > p, .workspace-header > p, .login-copy > p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.7; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 100px; }
.service-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 28px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: var(--shadow-small);
  cursor: pointer;
  text-align: left;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, .09), transparent 70%);
}
.service-card:hover, .service-card.featured { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card.featured { background: linear-gradient(145deg, #fff, #f3f8ff); }
.service-card.ai-card {
  background:
    radial-gradient(circle at 96% 8%, rgba(90, 200, 250, .16), transparent 12rem),
    linear-gradient(145deg, #ffffff, #f2f8ff);
}
.card-index { position: absolute; top: 25px; right: 27px; color: #b2b2b7; font-size: 11px; }
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--blue);
  background: var(--blue-soft);
}
.service-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 2; }
.service-card strong { margin-bottom: 10px; font-size: 22px; font-weight: 650; }
.service-card > span:not(.card-index, .service-icon) { color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-card em { z-index: 1; margin-top: auto; padding-top: 22px; color: var(--blue); font-size: 13px; font-style: normal; }

.services-view { min-height: calc(100vh - 136px); padding: 72px 0 100px; }
.services-header { max-width: 780px; margin-bottom: 44px; }
.services-header .eyebrow { margin-top: 34px; }
.services-header h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -.06em;
}
.services-header > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.services-page-grid { padding-bottom: 0; }

.workspace-overview {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 14px;
  margin: -12px 0 28px;
}
.overview-card {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(0, 113, 227, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-small);
}
.overview-main {
  background:
    radial-gradient(circle at 92% 20%, rgba(41, 151, 255, .16), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(239, 247, 255, .9));
}
.overview-card span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
}
.overview-card strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -.035em;
}
.overview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.project-overview {
  position: relative;
  overflow: hidden;
  margin-top: 110px;
  padding: 76px 70px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(100, 190, 255, .34), transparent 23rem),
    linear-gradient(135deg, #071f42, #073f82 62%, #006fdc);
  box-shadow: 0 30px 80px rgba(0, 67, 145, .2);
}
.project-overview::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7%;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(255, 255, 255, .035),
    0 0 0 104px rgba(255, 255, 255, .025);
  transform: translateY(-50%);
}
.project-overview .eyebrow { color: #75c1ff; }
.project-overview-copy { position: relative; z-index: 1; max-width: 790px; }
.project-overview-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.project-overview-copy h2 span { color: #75c1ff; }
.project-overview-copy > p:last-child { max-width: 660px; margin: 26px 0 0; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.8; }

.project-section { padding-top: 110px; }
.project-section-heading { max-width: 760px; margin-bottom: 36px; }
.project-section-heading h2 { margin: 0; font-size: clamp(38px, 4.5vw, 58px); font-weight: 700; letter-spacing: -.05em; }
.project-section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.capability-card { min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-small); }
.capability-card > span { color: var(--blue); font-size: 11px; font-weight: 650; letter-spacing: .12em; }
.capability-card h3 { margin: 42px 0 12px; font-size: 24px; letter-spacing: -.025em; }
.capability-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.audience-section { padding-bottom: 30px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.audience-grid article { min-height: 220px; padding: 25px; border-top: 2px solid var(--blue); background: rgba(255, 255, 255, .55); }
.audience-label { color: var(--blue); font-size: 9px; font-weight: 650; letter-spacing: .13em; }
.audience-grid h3 { margin: 50px 0 12px; font-size: 20px; }
.audience-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.demo-scope { display: grid; grid-template-columns: 170px 1fr; gap: 25px; margin: 70px 0 0; padding: 25px 28px; border: 1px solid rgba(0, 113, 227, .12); border-radius: 18px; background: var(--blue-soft); }
.demo-scope strong { color: var(--blue); font-size: 14px; }
.demo-scope p { margin: 0; color: #4f5964; font-size: 12px; line-height: 1.7; }

.workspace-view { padding: 70px 0 100px; }
.workspace-header { max-width: 830px; margin-bottom: 42px; }
.workspace-header .eyebrow { margin-top: 34px; }
.workspace-header > p:last-child { margin-top: 16px; font-size: 16px; }
.back-button { padding: 0; border: 0; color: var(--blue); background: none; cursor: pointer; font-size: 13px; }
.back-button:hover { text-decoration: underline; }

.workspace-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr); gap: 20px; align-items: start; }
.glass-panel {
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  backdrop-filter: saturate(160%) blur(18px);
}
.form-panel, .process-panel, .search-panel, .login-panel { padding: 32px; }
.panel-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.panel-heading h3, .process-panel h3, .login-panel h3 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -.02em; }
.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 650; }

form, form label { display: grid; gap: 8px; }
form { gap: 18px; }
form label { color: #3a3a3c; font-size: 13px; font-weight: 550; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, .92);
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea {
  height: auto;
  padding-block: 13px;
  resize: vertical;
  line-height: 1.7;
}
input::placeholder, textarea::placeholder { color: #a1a1a6; }
input:focus, select:focus, textarea:focus { border-color: rgba(0, 113, 227, .65); box-shadow: 0 0 0 4px rgba(0, 113, 227, .1); }

.file-drop {
  min-height: 166px;
  place-items: center;
  align-content: center;
  padding: 25px;
  border: 1px dashed rgba(0, 113, 227, .32);
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface-blue);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.file-drop:hover { border-color: var(--blue); background: #eaf4ff; }
.file-drop strong { color: var(--text); font-size: 15px; }
.file-drop > span:last-of-type { font-size: 11px; font-weight: 400; }
.file-drop input { height: auto; max-width: 310px; padding: 8px; border: 0; background: transparent; font-size: 11px; }
.upload-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 24px; font-weight: 300; }
.submit-button { width: 100%; border-radius: 12px; }
.submit-button:disabled { cursor: not-allowed; opacity: .42; transform: none; box-shadow: none; }
.message { min-height: 18px; margin: 0; color: var(--success); font-size: 12px; }
.message.error { color: var(--danger); }
.service-warning { padding: 13px 15px; border: 1px solid rgba(154, 103, 0, .14); border-radius: 12px; color: var(--warning); background: #fffaf0; font-size: 12px; line-height: 1.6; }

.upload-receipt {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(36, 138, 61, .18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 95% 10%, rgba(48, 209, 88, .14), transparent 11rem),
    rgba(246, 255, 248, .9);
}
.upload-receipt[hidden] { display: none; }
.upload-receipt > div:first-child span {
  color: var(--success);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .15em;
}
.upload-receipt > div:first-child strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 18px;
}
.upload-receipt > div:first-child p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.receipt-actions {
  display: flex;
  gap: 10px;
}
.receipt-actions .secondary-action {
  min-height: 40px;
  border-radius: 12px;
}

.process-panel h3 { margin-bottom: 28px; }
.process-list { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.process-list::before { content: ""; position: absolute; top: 25px; bottom: 25px; left: 18px; width: 1px; background: #d8e8f8; }
.process-list li { z-index: 1; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding-bottom: 25px; }
.process-list li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: 11px; font-weight: 650; }
.process-list strong { font-size: 13px; }
.process-list p, .security-note p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.security-note { padding: 16px; border-radius: 14px; background: #f5f5f7; }
.security-note strong { color: var(--blue); font-size: 12px; }

.search-panel { margin-bottom: 20px; }
.search-row { grid-template-columns: 190px 1fr 190px; align-items: end; }
.quick-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quick-searches span {
  color: var(--subtle);
  font-size: 11px;
}
.quick-searches button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(0, 113, 227, .14);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(232, 242, 255, .72);
  cursor: pointer;
  font-size: 11px;
}
.quick-searches button:hover { background: #dcedff; }
.results-meta {
  margin: 0 0 14px;
  padding: 12px 15px;
  border: 1px solid rgba(0, 113, 227, .12);
  border-radius: 14px;
  color: #415268;
  background: rgba(232, 242, 255, .68);
  font-size: 12px;
}
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.empty-state {
  grid-column: 1 / -1;
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(0, 0, 0, .12);
  border-radius: 26px;
  color: var(--muted);
  background: rgba(255, 255, 255, .55);
  text-align: center;
}
.empty-state strong { margin-top: 12px; color: var(--text); }
.empty-state p { margin: 8px 0; font-size: 12px; }
.empty-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: 28px; }
.record { padding: 25px; }
.hospital-source { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; margin: -4px -4px 19px; padding: 13px; border-radius: 16px; background: var(--surface-blue); }
.hospital-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--blue); font-size: 17px; }
.hospital-source small { display: block; margin-bottom: 3px; color: var(--subtle); font-size: 8px; letter-spacing: .12em; }
.hospital-source strong { color: var(--text); font-size: 13px; }
.department-name { padding: 5px 9px; border-radius: 999px; color: var(--blue); background: #fff; font-size: 9px; white-space: nowrap; }
.record-head { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.record-head strong { display: block; margin-top: 7px; font-size: 17px; }
.record-id { color: var(--blue); font-size: 8px; letter-spacing: .16em; }
.record-date { color: var(--muted); font-size: 11px; }
dl { display: grid; grid-template-columns: 78px 1fr; gap: 9px; margin: 18px 0; font-size: 12px; }
dt { color: var(--subtle); }
dd { margin: 0; overflow-wrap: anywhere; color: #3a3a3c; }
.copy-value {
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(0, 113, 227, .14);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(232, 242, 255, .72);
  cursor: pointer;
  font-size: 10px;
  vertical-align: 1px;
}
.copy-value:hover { background: #dcedff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.tag { padding: 5px 9px; border-radius: 999px; color: var(--blue); background: var(--blue-soft); font-size: 10px; }
.links a { color: var(--blue); font-size: 11px; text-decoration: none; }

.chain-explorer { display: grid; gap: 18px; }
.chain-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chain-metric {
  min-height: 128px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid rgba(0, 113, 227, .1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(239, 247, 255, .92));
  box-shadow: var(--shadow-small);
}
.chain-metric span { color: var(--subtle); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.chain-metric strong { overflow-wrap: anywhere; color: var(--blue); font-size: 22px; letter-spacing: -.03em; }
.chain-panel { padding: 28px; }
.chain-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.chain-panel-heading h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.chain-refresh { min-height: 40px; border-radius: 12px; }
.chain-records, .block-list { display: grid; gap: 14px; }
.chain-record, .block-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
}
.chain-record-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chain-record-title span { color: var(--blue); font-size: 10px; font-weight: 650; letter-spacing: .14em; }
.chain-record-title strong { font-size: 18px; }
.block-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.block-card > div:first-child strong { color: var(--blue); font-size: 22px; }
.block-transactions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.block-transactions span { padding: 6px 9px; border-radius: 999px; color: #415268; background: var(--blue-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }

.ai-layout { align-items: stretch; }
.ai-side-panel {
  padding: 32px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 113, 227, .12), transparent 12rem),
    rgba(255, 255, 255, .86);
}
.ai-side-panel h3 {
  margin: 0 0 24px;
  font-size: 24px;
  letter-spacing: -.025em;
}
.ai-boundary-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-boundary-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(0, 113, 227, .1);
  border-radius: 16px;
  background: rgba(232, 242, 255, .55);
}
.ai-boundary-list strong { font-size: 13px; }
.ai-boundary-list span { color: var(--muted); font-size: 11px; line-height: 1.6; }
.ai-record-summary {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 113, 227, .12);
  border-radius: 14px;
  background: rgba(232, 242, 255, .68);
}
.ai-record-summary strong { color: var(--text); font-size: 13px; }
.ai-record-summary span,
.ai-record-summary small { color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.ai-report {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.ai-report[hidden] { display: none; }
.ai-report-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(117, 193, 255, .3), transparent 18rem),
    linear-gradient(135deg, #071f42, #074c94 62%, #0071e3);
  box-shadow: 0 26px 70px rgba(0, 67, 145, .18);
}
.ai-report-header .eyebrow { color: #75c1ff; }
.ai-report-header h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -.04em;
}
.ai-report-header p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.8;
}
.ai-risk {
  width: max-content;
  height: max-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 12px;
  white-space: nowrap;
}
.ai-report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ai-metric {
  min-height: 106px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  border: 1px solid rgba(0, 113, 227, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-small);
}
.ai-metric span { color: var(--subtle); font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.ai-metric strong { overflow-wrap: anywhere; color: var(--blue); font-size: 18px; letter-spacing: -.02em; }
.ai-report-section {
  padding: 26px;
}
.ai-report-section h4 {
  margin: 0 0 14px;
  font-size: 20px;
}
.ai-report-section p,
.ai-report-section li {
  color: #3a3a3c;
  font-size: 13px;
  line-height: 1.85;
}
.ai-report-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}
.ai-ct-section {
  border: 1px solid rgba(0, 113, 227, .16);
  background:
    radial-gradient(circle at 94% 8%, rgba(0, 113, 227, .09), transparent 12rem),
    rgba(255, 255, 255, .9);
}
.ct-finding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ct-finding-card {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(0, 113, 227, .12);
  border-radius: 18px;
  background: rgba(232, 242, 255, .62);
}
.ct-finding-card span {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 11px;
  font-weight: 650;
}
.ct-finding-card strong {
  color: var(--text);
  font-size: 17px;
  letter-spacing: -.02em;
}
.ct-finding-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.ai-audit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}
.ai-audit span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #415268;
  background: var(--blue-soft);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.login-layout { min-height: calc(100vh - 210px); display: grid; grid-template-columns: 1fr 470px; align-items: center; gap: 90px; }
.login-copy h2 { margin-top: 12px; }
.login-copy > p:last-of-type { margin-top: 20px; font-size: 16px; }
.login-copy .back-button { margin-bottom: 55px; }
.login-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 35px; }
.login-points span { padding: 14px; border-radius: 14px; color: #3a3a3c; background: rgba(255, 255, 255, .7); box-shadow: 0 2px 12px rgba(0, 0, 0, .035); font-size: 12px; text-align: center; }
.login-points span::before { content: "✓"; margin-right: 7px; color: var(--success); }
.login-panel { padding: 38px; }
.login-badge { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 17px; color: var(--blue); background: var(--blue-soft); }
.login-badge svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2; }
.login-note { margin: 10px 0 25px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.login-options { display: flex; align-items: center; justify-content: space-between; }
.login-options label { display: flex; grid-template-columns: auto 1fr; align-items: center; color: var(--muted); font-weight: 400; }
.login-options input { width: 15px; height: 15px; accent-color: var(--blue); }
.login-options a { color: var(--blue); font-size: 11px; text-decoration: none; }

footer { width: min(1200px, calc(100% - 48px)); min-height: 64px; display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 22px 0; border-top: 1px solid var(--line); color: var(--subtle); font-size: 10px; letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  #network-canvas { display: none; }
}

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 10px; padding: 58px 0 36px; }
  .hero-copy { z-index: 2; }
  .hero-visual { width: min(58vw, 390px); margin: -12px auto 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .services-view { padding-top: 58px; }
  .project-overview { padding: 58px 50px; }
  .project-overview::after { right: -8%; opacity: .7; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .workspace-layout, .login-layout, .chain-summary, .workspace-overview, .ai-report-grid { grid-template-columns: 1fr; }
  .login-layout { padding-top: 35px; gap: 38px; }
  .login-copy .back-button { margin-bottom: 35px; }
}

@media (max-width: 680px) {
  .topbar { height: 66px; padding-inline: 15px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .status { max-width: none; padding: 7px 9px; }
  .status > span:last-child { font-size: 9px; }
  .app-shell, footer { width: min(100% - 28px, 1200px); }
  .hero { gap: 8px; padding: 38px 0 26px; }
  .access-actions { display: grid; gap: 12px; }
  .access-actions .primary-action,
  .access-actions .secondary-action { width: 100%; }
  .security-pill { font-size: 11px; }
  .hero-kicker { margin-top: 24px; font-size: 9px; }
  .art-title { font-size: clamp(50px, 15.8vw, 66px); line-height: 1; }
  .hero-subtitle { margin-top: 24px; font-size: 20px; line-height: 1.35; }
  .hero-description { font-size: 14px; }
  .hero-actions { display: block; }
  .section-heading, footer { align-items: stretch; flex-direction: column; }
  .primary-action, .secondary-action { width: 100%; min-height: 46px; padding-inline: 15px; font-size: 13px; }
  .primary-action { gap: 12px; }
  .hero-visual { width: min(62vw, 300px); margin: 6px auto 0; }
  .visual-label { display: none; }
  .core { width: 104px; height: 104px; border-radius: 30px; }
  .core svg { width: 50px; }
  .data-card { min-width: 104px; padding: 9px 11px; }
  .data-card-one { left: 0; }
  .data-card-two { right: 0; }
  .section-heading { margin: 12px 0 20px; }
  .section-heading h2 { font-size: 36px; }
  .workspace-header h2, .login-copy h2 { font-size: 46px; }
  .service-grid { gap: 13px; padding-bottom: 54px; }
  .service-card { min-height: 190px; padding: 23px; border-radius: 22px; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
  .service-card em { padding-top: 16px; }
  .services-view { padding: 42px 0 70px; }
  .services-header { margin-bottom: 30px; }
  .services-header .eyebrow { margin-top: 28px; }
  .services-header h2 { font-size: 46px; }
  .services-header > p:last-child { margin-top: 16px; font-size: 14px; }
  .services-page-grid { padding-bottom: 0; }
  .project-overview { margin-top: 70px; padding: 38px 24px; border-radius: 26px; }
  .project-overview::after { right: -45%; width: 220px; height: 220px; opacity: .5; }
  .project-overview-copy h2 { font-size: 40px; }
  .project-section { padding-top: 75px; }
  .project-section-heading h2 { font-size: 36px; }
  .capability-grid, .audience-grid, .service-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 210px; padding: 24px; border-radius: 22px; }
  .capability-card h3 { margin-top: 34px; }
  .audience-grid article { min-height: 180px; }
  .audience-grid h3 { margin-top: 38px; }
  .demo-scope { grid-template-columns: 1fr; gap: 10px; margin-top: 50px; padding: 21px; }
  .workspace-view { padding: 42px 0 70px; }
  .form-panel, .process-panel, .search-panel, .login-panel { padding: 21px; }
  .glass-panel, .empty-state { border-radius: 21px; }
  .form-grid, .search-row, .results, .login-points { grid-template-columns: 1fr; }
  .workspace-overview { margin-top: -4px; }
  .overview-card { min-height: 112px; padding: 19px; border-radius: 20px; }
  .quick-searches { align-items: stretch; flex-direction: column; }
  .quick-searches button { width: 100%; }
  .receipt-actions { flex-direction: column; }
  .chain-panel { padding: 21px; }
  .chain-panel-heading, .chain-record-title { align-items: flex-start; flex-direction: column; }
  .ai-report-header { flex-direction: column; padding: 25px; border-radius: 24px; }
  .ct-finding-grid { grid-template-columns: 1fr; }
  .ai-side-panel { padding: 24px; }
  .hospital-source { grid-template-columns: 40px 1fr; }
  .department-name { grid-column: 2; width: max-content; }
  .login-panel { padding: 26px; }
  footer { align-items: flex-start; }
}
