:root {
  --canvas: #f7f7f2;
  --ink: #161831;
  --soft: #505371;
  --line: #dcddeb;
  --display: "Geist", "Segoe UI", sans-serif;
  --blue: #3f32d2;
  --night: #201776;
  --lime: #dcfa66;
}
.review { background: #eae9f5; color: #343259; min-height: 42px; }
.switcher button { border-color: #bcbbd1; }
.switcher button[aria-pressed=true] { background: #211b58; color: white; border-color: #211b58; }
.site-nav { min-height: 83px; }
.brand { font-size: 26px; font-weight: 760; letter-spacing: -.06em; }
.brand small { letter-spacing: .14em; margin-top: 6px; }
.mark, .sidebar .mark {
  width: 39px; height: 39px; font: 780 24px/1 var(--display); color: white;
  background: var(--blue); border: 0; border-radius: 11px; outline: none;
}
.site-nav nav { gap: clamp(14px, 3vw, 42px); }
.portal-link { border-color: #c8c8e0; padding: 11px 17px; }
.portal-link:hover { background: #eeedfd; }
.icon {
  display: inline-block; width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em;
}
.text-link .icon, .portal-link .icon { margin-left: .25em; }
.hero { min-height: auto; padding-block: 54px 52px; grid-template-columns: .97fr 1.03fr; gap: clamp(35px, 5.5vw, 90px); }
.hero h1 {
  font: 790 clamp(56px, 6.35vw, 96px)/.94 var(--display);
  letter-spacing: -.066em;
  margin: 23px 0 25px;
}
.hero h1 em { display: inline; color: var(--blue); font-style: normal; }
.hero-eyebrow { color: #4037aa; font-size: 11px; letter-spacing: .105em; }
.hero-deck { max-width: 34ch; line-height: 1.52; font-size: clamp(16px, 1.42vw, 21px); }
.hero-actions { margin-top: 26px; }
.button { border-radius: 999px; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #2d21ad; }
.text-link { color: #292070; border-color: #c9c7e9; }
.text-link:hover { border-color: var(--blue); }
.product-stage {
  position: relative; isolation: isolate; min-height: clamp(418px, 38vw, 535px); display: grid;
  place-items: center; overflow: clip; background: var(--blue); border-radius: 36px; padding: 30px;
}
.product-grid {
  position: absolute; inset: -40px; z-index: -2;
  background: linear-gradient(90deg, #ffffff26 1px, transparent 1px), linear-gradient(#ffffff26 1px, transparent 1px);
  background-size: 37px 37px; mask-image: radial-gradient(ellipse at 72% 35%, #000, #0008 52%, transparent 77%);
  transform: translateY(calc(var(--hero-progress, 0) * 26px));
}
.product-orbit {
  position: absolute; z-index: -1; width: 91%; height: 69%; border: 1px solid #c7c3ff99;
  border-radius: 50%; transform: translateY(calc(var(--hero-progress, 0) * 15px)) rotate(-26deg);
  box-shadow: 0 0 0 18px #cbc8ff29, 0 0 0 36px #cbc8ff22;
}
.product-card {
  width: min(92%, 382px); transform: translate(-3%, calc(var(--hero-progress, 0) * -16px));
  background: #fbfbff; padding: 20px 23px; border: 1px solid #e7e6fb; color: var(--ink);
  border-radius: 22px; box-shadow: 0 30px 65px #19105f76;
}
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #ececf6; }
.product-top span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 730; }
.product-top i { width: 10px; height: 10px; transform: rotate(18deg); border-radius: 2px; background: var(--blue); }
.product-top small { color: #45416a; background: #eeedfa; border-radius: 40px; padding: 4px 8px; font-weight: 650; white-space: nowrap; }
.product-label { margin-top: 13px; color: #555473; font-size: 13px; font-weight: 620; }
.product-value { display: block; font: 750 clamp(37px, 4.2vw, 58px)/1.02 var(--display); letter-spacing: -.07em; }
.product-period { font-size: 12px; color: #555473; margin-top: 3px; }
.product-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin: 16px 0 14px; }
.product-chart > div { display: grid; grid-template-rows: 74px auto; text-align: center; align-items: end; gap: 5px; }
.product-chart i { display: block; align-self: end; height: var(--height); border-radius: 5px 5px 3px 3px; background: #d4cffc; }
.product-chart > div:last-child i { background: var(--blue); }
.product-chart span { color: #565476; font-size: 10px; }
.product-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; gap: 2px; background: #eeedf7; border-radius: 999px; }
.product-tabs button { border: 0; border-radius: 999px; padding: 8px 3px; color: #3b3963; background: transparent; font-size: 12px; font-weight: 670; }
.product-tabs button[aria-pressed=true] { color: #23204f; background: #fff; box-shadow: 0 1px 4px #29237726; }
.product-ticket {
  position: absolute; right: 4%; bottom: 7%; display: flex; align-items: center; gap: 9px;
  padding: 11px 15px 11px 10px; border-radius: 15px; background: var(--lime); color: #1a2130;
  transform: translateY(calc(var(--hero-progress, 0) * -33px)); box-shadow: 0 9px 28px #16105445; pointer-events: none;
}
.product-ticket > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #252b2d; color: #fff; }
.product-ticket strong, .product-ticket small { display: block; font-size: 12px; }
.product-ticket small { color: #3c4a18; margin-top: 2px; font-size: 11px; }
.section-lead h2, .consult h2 { font-weight: 760; letter-spacing: -.071em; }
.service-list summary { font-weight: 670; }
.service-title { display: flex; align-items: center; gap: 12px; }
.service-icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: #eeedfd; color: #3f32d2; font-size: 17px;
}
.service-list p { margin-inline-start: 48px; }
.experience { background: #241b7c; color: #f8f7ff; }
.experience .eyebrow { color: var(--lime); }
.experience .section-lead p:not(.eyebrow) { color: #e0dcff; }
.sheet { border-color: #e1dcfb; border-radius: 17px; }
.sheet-back { background: #aaa1f6; color: #25204f; }
.sheet-middle { background: #d9d5ff; color: #25204f; }
.sheet-front { background: #fbfaff; color: #26204f; }
.sheet-meta { color: #54507a; }
.sheet-meta small { background: #ece9ff; }
.sheet h3 { font-weight: 740; letter-spacing: -.065em; }
.sheet dl div, .sample-choices button { border-color: #dddaf0; }
.sample-choices button[aria-pressed=true] { background: var(--blue); border-color: var(--blue); }

.portal { background: #f5f5fc; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar { background: #1e194e; color: #f5f3ff; }
.sidebar .mark { background: var(--lime); color: #212344; }
.workspace { border-color: #554d83; }
.initials { background: #dcd8ff; color: #272052; }
.workspace small, .sidebar .back-link { color: #d7d2f6; }
.sidebar button { color: #e7e4f8; border-radius: 10px; }
.sidebar button[aria-current=page] { background: #43378d; border-color: #6b5eb7; color: white; }
.sidebar button:hover { background: #362d73; }
.portal-top { color: #565374; border-color: #dcd9ed; }
.demo-label { border-color: #d2cde9; background: #ebe7fd; }
.panel-title { margin-top: 29px; margin-bottom: 17px; align-items: center; }
.panel-title h1 { font-size: clamp(34px, 4.3vw, 62px); font-weight: 780; letter-spacing: -.06em; }
.panel-title p, .muted { color: #565375; }
.archive-link { border-color: #d5d1e8; background: #fff; color: #332a84; }
.report-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 13px; margin: 0 0 16px; }
.range-switch { display: inline-flex; padding: 4px; gap: 2px; background: #e9e6f8; border-radius: 999px; }
.range-switch button { background: transparent; border: 0; color: #45406f; padding: 8px 13px; border-radius: 30px; font-size: 13px; font-weight: 670; }
.range-switch button[aria-pressed=true] { color: white; background: var(--blue); }
.period { color: #4d4970; }
.period select { background: #fff; border-color: #cfcce1; border-radius: 9px; }
.report-tabs { border-color: #dcd9ed; }
.report-tabs button { color: #57537a; }
.report-tabs button[aria-pressed=true] { color: #3223ac; background: #eae6ff; border-bottom-color: #4332d6; }
.report-paper { border: 1px solid #e0ddf0; background: #fff; border-radius: 18px; box-shadow: 0 12px 28px #352c790b; }
.report-top h2, .upload h2, .document-list h2, .archive-heading h2 { font: 730 clamp(25px, 3.05vw, 40px)/1.04 var(--display); letter-spacing: -.06em; }
.report-top .eyebrow { color: #50479a; }
.download { background: #f0edff; color: #382e9a; border-color: #dcd6fb; }
.download:hover { background: #e6e0ff; }
.statement-table th, .statement-table td { padding: 9px; border-color: #eae8f3; }
.statement-table thead th { color: #57537b; }
.statement-table tbody tr.total { background: #f0edff; color: #2b207c; }
.report-insight, .invoice-band { background: #292080; border-radius: 18px; color: #fff; }
.insight-top { border-color: #7368bc; }
.insight-top strong, .invoice-band strong { font-weight: 760; letter-spacing: -.075em; }
.insight-top small, .invoice-band small, .bar-row div { color: #ece9fe; }
.bar-row i { background: var(--lime); }
.bar-row:nth-child(even) i { background: #c3baff; }
.archive-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.archive-heading span { color: #595576; font-size: 13px; }
.archive-paper ul { margin: 16px 0 0; padding: 0; list-style: none; }
.archive-paper li { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 0; border-bottom: 1px solid #eae8f3; font-size: 14px; }
.archive-paper li > div { display: flex; justify-content: end; flex-wrap: wrap; gap: 6px; }
.archive-paper li button { background: #f1effa; color: #3c3484; font-size: 12px; font-weight: 670; border: 1px solid #ded9f0; border-radius: 24px; padding: 7px 10px; }
.archive-paper li button:hover { background: #e8e3fd; }
.upload { border-style: dashed; border-color: #a8a0d1; }
.upload-icon { background: #eae6ff; color: #3b2f9b; }
.upload p { color: #57537a; }
.document-list li { border-color: #eae8f3; }
dialog { color: var(--ink); background: #f8f7ff; border-color: #cac5ea; }
dialog::backdrop { background: #161047bd; }
dialog h2 { font-weight: 730; letter-spacing: -.06em; }

@media (min-width: 741px) and (max-width: 1150px) {
  .hero h1 { font-size: clamp(48px, 6.1vw, 74px); }
  .product-card { width: min(96%, 382px); }
}
@media (max-width: 740px) {
  .site-nav { min-height: 69px; gap: 10px; }
  .site-nav .portal-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 11px; font-size: 13px;
  }
  .site-nav .portal-link .icon { margin-left: 0; }
  .hero { grid-template-columns: 1fr; padding-block: 34px 32px; gap: 24px; }
  .hero h1 { font-size: clamp(53px, 12vw, 83px); margin-block: 14px 16px; }
  .hero-actions { margin-top: 20px; }
  .product-stage { min-height: 422px; border-radius: 22px; padding: 18px 15px 76px; }
  .product-card { width: min(94%, 360px); transform: translateY(calc(var(--hero-progress, 0) * -8px)); padding: 15px 17px; }
  .product-ticket { right: 5%; bottom: 12px; transform: translateY(calc(var(--hero-progress, 0) * -4px)); }
  .product-chart > div { grid-template-rows: 64px auto; }
  .portal { grid-template-columns: minmax(0, 1fr); }
  .sidebar nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .sidebar button { font-size: 12px; }
  .sidebar button span, .archive-link { display: none; }
  .panel-title { align-items: start; margin-top: 24px; }
  .report-filters { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px 10px; }
  .range-switch { grid-column: 1 / -1; justify-self: start; }
  .period select { padding: 8px 20px 8px 7px; }
  .archive-paper li button { padding: 7px 8px; }
}
@media (max-width: 375px) {
  .hero h1 { font-size: 47px; }
  .product-stage { min-height: 411px; }
  .product-card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .product-grid, .product-orbit, .product-ticket, .product-card { --hero-progress: 0; }
}
