/* manrope-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/manrope-cyrillic-ext-wght-normal.b554147c.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/manrope-cyrillic-wght-normal.26b5a940.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/manrope-greek-wght-normal.539fb847.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/manrope-vietnamese-wght-normal.4b711f5b.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/manrope-latin-ext-wght-normal.e46c8aa4.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* manrope-latin-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/manrope-latin-wght-normal.c5d858e9.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* jetbrains-mono-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../assets/fonts/jetbrains-mono-cyrillic-ext-wght-normal.d539db02.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* jetbrains-mono-cyrillic-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../assets/fonts/jetbrains-mono-cyrillic-wght-normal.37ac7420.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* jetbrains-mono-greek-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../assets/fonts/jetbrains-mono-greek-wght-normal.37f52fee.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* jetbrains-mono-vietnamese-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../assets/fonts/jetbrains-mono-vietnamese-wght-normal.b8c38c3c.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* jetbrains-mono-latin-ext-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../assets/fonts/jetbrains-mono-latin-ext-wght-normal.d4c248b9.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* jetbrains-mono-latin-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../assets/fonts/jetbrains-mono-latin-wght-normal.6724bbc0.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --ink: #111319;
  --ink-soft: #20232c;
  --paper: #f2f0e9;
  --paper-deep: #e6e3da;
  --surface: #ffffff;
  --surface-soft: #f7f7f4;
  --line: rgba(17, 19, 25, 0.14);
  --line-strong: rgba(17, 19, 25, 0.28);
  --muted: #646873;
  --muted-light: #9ca0aa;
  --acid: #c7ff63;
  --acid-deep: #a9eb3e;
  --blue: #586cff;
  --blue-deep: #3348e8;
  --coral: #ffad99;
  --teal: #77d7c8;
  --danger: #c34545;
  --warning: #a75d09;
  --success: #177c56;
  --font-sans: 'Manrope Variable', 'Segoe UI Variable', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'SFMono-Regular', Consolas, monospace;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 25, 0.07), 0 8px 30px rgba(17, 19, 25, 0.05);
  --shadow-md: 0 24px 70px rgba(17, 19, 25, 0.14);
  --shadow-dark: 0 32px 90px rgba(0, 0, 0, 0.28);
  --max-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  opacity: 0.45;
  background:
    radial-gradient(circle at 18% 9%, rgba(255, 255, 255, 0.95), transparent 31%),
    radial-gradient(circle at 83% 31%, rgba(199, 255, 99, 0.14), transparent 27%),
    linear-gradient(rgba(17, 19, 25, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 25, 0.018) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    48px 48px,
    48px 48px;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 11px 16px;
  color: var(--surface);
  background: var(--blue-deep);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.eyebrow,
.lab-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: rgba(255, 255, 255, 0.58);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button--primary {
  color: var(--surface);
  background: var(--blue-deep);
  box-shadow: 0 10px 28px rgba(51, 72, 232, 0.22);
}

.button--primary:hover {
  background: #243add;
  box-shadow: 0 14px 34px rgba(51, 72, 232, 0.3);
}

.button--secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.button--ghost {
  color: var(--muted);
  background: transparent;
}

.button--dark {
  color: var(--ink);
  background: var(--acid);
}

.button--dark:hover {
  background: #d4ff87;
}

.icon-button,
.lab-icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.avatar {
  --avatar-colour: var(--acid);
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--avatar-colour);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.avatar--small {
  width: 34px;
  height: 34px;
  font-size: 0.58rem;
}

.avatar--medium {
  width: 42px;
  height: 42px;
}

.avatar--large {
  width: 52px;
  height: 52px;
}

.avatar-stack {
  display: inline-flex;
  align-items: center;
  padding-left: 7px;
}

.avatar-stack .avatar {
  margin-left: -7px;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 19, 25, 0.62);
  backdrop-filter: blur(14px);
  animation: fade-in 160ms ease both;
}

.route-loader {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  gap: 8px;
  background: var(--paper);
}

.route-loader > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 18px;
  animation: loader-pulse 1.1s ease-in-out infinite;
}

.route-loader strong {
  font-size: 1.2rem;
}

.route-loader small {
  color: var(--muted);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes loader-pulse {
  50% {
    transform: scale(0.88) rotate(-6deg);
  }
}

.portfolio {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  width: min(calc(100% - 32px), calc(var(--max-width) + 32px));
  min-height: 68px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 18px;
  background: rgba(248, 247, 243, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  box-shadow: 0 6px 30px rgba(17, 19, 25, 0.07);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.brand__mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--acid);
  background: var(--ink);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand__name {
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: #4e525c;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: '';
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.command-trigger,
.header-lab-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
}

.command-trigger {
  color: var(--muted);
  background: transparent;
}

.command-trigger kbd {
  padding: 4px 7px;
  color: #70747f;
  background: rgba(17, 19, 25, 0.055);
  border: 1px solid rgba(17, 19, 25, 0.08);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.header-lab-button {
  color: var(--surface);
  background: var(--ink);
}

.header-contact {
  display: none;
}

.hero {
  display: grid;
  min-height: 810px;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: clamp(30px, 4vw, 80px);
  padding-block: 74px 96px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  animation: hero-rise 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  padding: 8px 12px 8px 9px;
  color: #4d515a;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 19, 25, 0.1);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.availability-pill > span {
  width: 9px;
  height: 9px;
  background: #33b978;
  border: 2px solid #c9f2dd;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(51, 185, 120, 0.1);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(4rem, 6.6vw, 7.3rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  z-index: 0;
  margin-top: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.065em;
}

.hero h1 em::after {
  position: absolute;
  right: -9px;
  bottom: -1px;
  left: -5px;
  z-index: -1;
  height: 25%;
  content: '';
  background: var(--acid);
  transform: rotate(-1.2deg);
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: #545963;
  font-size: clamp(1.02rem, 1.3vw, 1.24rem);
  font-weight: 470;
  letter-spacing: -0.022em;
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 58px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #494e58;
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.hero__social-proof {
  display: grid;
  max-width: 710px;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__social-proof div {
  display: grid;
  gap: 5px;
  padding-right: 18px;
}

.hero__social-proof div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero__social-proof strong {
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.hero__social-proof span {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.hero__visual {
  position: relative;
  min-height: 680px;
  animation: hero-preview-in 800ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(17, 19, 25, 0.16);
  border-radius: 50%;
  animation: orbit 26s linear infinite;
}

.hero-orbit::after {
  position: absolute;
  top: 7%;
  left: 16%;
  width: 13px;
  height: 13px;
  content: '';
  background: var(--blue);
  border: 3px solid var(--paper);
  border-radius: 50%;
}

.hero-orbit--one {
  inset: 1% 0 4% 6%;
}

.hero-orbit--two {
  inset: 15% 8% 17% -3%;
  animation-direction: reverse;
  animation-duration: 19s;
}

.hero-orbit--two::after {
  top: auto;
  right: 8%;
  bottom: 12%;
  left: auto;
  background: var(--coral);
}

.hero-preview {
  position: absolute;
  top: 95px;
  right: 4%;
  left: 3%;
  z-index: 2;
  overflow: hidden;
  color: #f8f9fb;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 32px;
  box-shadow: var(--shadow-dark);
  transform: rotate(1.8deg);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-preview:hover {
  transform: rotate(0deg) translateY(-6px);
}

.hero-preview::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    radial-gradient(circle at 86% 82%, rgba(88, 108, 255, 0.28), transparent 30%),
    radial-gradient(circle at 9% 2%, rgba(199, 255, 99, 0.12), transparent 24%);
}

.hero-preview__chrome {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  color: rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.window-dots span:first-child {
  background: var(--coral);
}
.window-dots span:nth-child(2) {
  background: #ffd66b;
}
.window-dots span:last-child {
  background: var(--teal);
}

.hero-preview__title {
  text-align: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acid);
}

.live-pill span {
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(199, 255, 99, 0.1);
  animation: live-pulse 1.8s ease infinite;
}

.hero-preview__body {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
}

.preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.preview-heading h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.preview-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 16px;
  transform: rotate(8deg);
}

.preview-total-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.preview-total-row div {
  display: grid;
  gap: 8px;
}

.preview-total-row div + div {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.preview-total-row span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
}

.preview-total-row strong {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.preview-transfer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.preview-transfer__avatars {
  display: flex;
  align-items: center;
}

.preview-transfer__line {
  display: inline-flex;
  width: 24px;
  align-items: center;
  justify-content: center;
  margin-inline: -3px;
  color: rgba(255, 255, 255, 0.46);
}

.preview-transfer__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.preview-transfer small,
.preview-proof {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
}

.preview-transfer__copy strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-transfer > b {
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.preview-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 4px 0;
}

.preview-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.preview-proof svg {
  color: var(--acid);
}

.hero-note {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 205px;
  gap: 11px;
  padding: 13px 14px;
  color: #4f535c;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 19, 25, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-note span {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.hero-note p {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 650;
  line-height: 1.5;
}

.hero-note--top {
  top: 50px;
  right: -8px;
  transform: rotate(2deg);
}

.hero-note--bottom {
  bottom: 63px;
  left: -28px;
  transform: rotate(-3deg);
}

.stack-rail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  overflow: hidden;
  color: var(--surface);
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-rail__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 250px;
  align-items: center;
  gap: 9px;
  padding: 19px 28px;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stack-rail__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: rail-scroll 28s linear infinite;
}

.stack-rail__track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stack-rail__track i {
  color: var(--acid);
  font-style: normal;
}

.case-study,
.approach,
.about {
  padding-block: clamp(110px, 12vw, 180px);
  scroll-margin-top: 104px;
}

.section-heading {
  margin-bottom: 62px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6.3rem);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.96;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.case-hero {
  position: relative;
  display: grid;
  min-height: 580px;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  overflow: hidden;
  color: var(--surface);
  background:
    radial-gradient(circle at 82% 18%, rgba(88, 108, 255, 0.3), transparent 27%),
    radial-gradient(circle at 56% 97%, rgba(199, 255, 99, 0.11), transparent 28%), var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.case-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(46px, 6vw, 88px);
}

.case-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  color: var(--acid);
  border: 1px solid rgba(199, 255, 99, 0.28);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-hero__copy h3 {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.5vw, 5.2rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.case-hero__copy p {
  max-width: 580px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.94rem;
  line-height: 1.75;
}

.case-hero__visual {
  position: relative;
  min-height: 580px;
}

.settle-flow {
  position: absolute;
  inset: 12% 5% 10%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.settle-flow::before,
.settle-flow::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.settle-flow::before {
  inset: 11%;
}
.settle-flow::after {
  inset: 25%;
}

.settle-person {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--ink);
  background: var(--blue);
  border: 5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.settle-person--one {
  top: 4%;
  left: 13%;
  background: #8fa8ff;
}
.settle-person--two {
  top: 14%;
  right: 5%;
  background: var(--teal);
}
.settle-person--three {
  right: 11%;
  bottom: 8%;
  background: var(--coral);
}
.settle-person--centre {
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  background: var(--acid);
  transform: translate(-50%, -50%);
}

.settle-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), var(--acid));
  transform-origin: right;
}

.settle-line::after {
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  content: '';
  background: var(--acid);
  border-radius: 50%;
}

.settle-line i {
  position: absolute;
  top: -25px;
  left: 35%;
  padding: 5px 7px;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(17, 19, 25, 0.9);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-style: normal;
  white-space: nowrap;
}

.settle-line--one {
  top: 28%;
  left: 19%;
  width: 35%;
  transform: rotate(30deg);
}
.settle-line--two {
  top: 38%;
  right: 20%;
  width: 31%;
  transform: rotate(-38deg);
}
.settle-line--three {
  right: 20%;
  bottom: 30%;
  width: 30%;
  transform: rotate(39deg);
}

.case-floating-card {
  position: absolute;
  right: 4%;
  bottom: 7%;
  z-index: 4;
  display: grid;
  min-width: 245px;
  gap: 5px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}

.case-floating-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--success);
  font-size: 0.65rem;
  font-weight: 800;
}

.case-floating-card strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.case-floating-card small {
  color: var(--muted);
  font-size: 0.6rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.case-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 36px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 19, 25, 0.1);
  border-radius: var(--radius-lg);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.case-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.case-card > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 58px;
  color: var(--blue-deep);
}

.case-card__number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.case-card h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.case-card p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.case-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 720;
}

.case-card li::before {
  width: 6px;
  height: 6px;
  content: '';
  background: var(--acid-deep);
  border-radius: 50%;
}

.case-card--system {
  background: var(--blue-deep);
  color: var(--surface);
  border-color: transparent;
}

.case-card--system::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  content: '';
  border: 50px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.case-card--system > svg,
.case-card--system p {
  color: rgba(255, 255, 255, 0.7);
}

.state-pills {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.state-pill {
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.state-pill--live {
  color: var(--acid);
}
.state-pill--expired {
  color: #ffd173;
}
.state-pill--offline {
  color: #ffb5a4;
}

.case-card--proof {
  background: #e3e9ff;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.proof-list span {
  display: grid;
  gap: 3px;
  padding: 11px 9px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.proof-list b {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.68rem;
}

.approach {
  padding-top: 20px;
}

.process-list {
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.process-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition:
    padding 180ms ease,
    background 180ms ease;
}

.process-list li:hover {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.46);
}

.process-list > li > span,
.process-list small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.process-list li div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.process-list strong {
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.process-list p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.architecture-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  padding: clamp(42px, 5vw, 72px);
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius-xl);
}

.architecture-panel__intro h3 {
  max-width: 430px;
  margin-bottom: 19px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1;
}

.architecture-panel__intro > p:last-child {
  max-width: 440px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.79rem;
  line-height: 1.7;
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-content: center;
  gap: 12px;
}

.architecture-flow div {
  position: relative;
  display: grid;
  min-height: 122px;
  align-content: center;
  gap: 5px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.architecture-flow div span {
  position: absolute;
  top: 13px;
  right: 14px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.architecture-flow div strong {
  font-size: 0.9rem;
}

.architecture-flow div small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.61rem;
}

.architecture-flow > i {
  align-self: center;
  color: var(--acid);
  font-style: normal;
}

.about {
  padding-top: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.timeline-card {
  padding: 38px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 19, 25, 0.1);
  border-radius: var(--radius-lg);
}

.timeline-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.timeline-card > header span {
  font-size: 0.8rem;
  font-weight: 800;
}

.timeline-card > header small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.timeline-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
}

.timeline-entry + .timeline-entry {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.timeline-entry__mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--surface);
  background: #080808;
  border-radius: 11px;
  font-size: 1.5rem;
  font-weight: 800;
}

.timeline-entry__mark span {
  color: #86bc25;
}

.timeline-entry__mark--school {
  color: var(--ink);
  background: var(--acid);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.timeline-entry__date {
  display: block;
  margin-bottom: 9px;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.timeline-entry h3 {
  margin-bottom: 3px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.timeline-entry strong {
  display: block;
  margin-bottom: 18px;
  color: #50545d;
  font-size: 0.72rem;
}

.timeline-entry p {
  max-width: 660px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.contact-section {
  padding-block: 20px 100px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  padding: clamp(48px, 7vw, 100px);
  color: var(--surface);
  background:
    radial-gradient(circle at 85% 5%, rgba(88, 108, 255, 0.42), transparent 25%),
    radial-gradient(circle at 12% 105%, rgba(199, 255, 99, 0.15), transparent 29%), var(--ink);
  border-radius: var(--radius-xl);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6.2rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.contact-card__actions {
  display: grid;
  gap: 9px;
}

.contact-card__actions .button {
  margin-bottom: 12px;
}

.social-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.social-link svg:last-child {
  transition: transform 180ms ease;
}

.social-link:hover svg:last-child {
  transform: translateX(5px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 28px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.58rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > span {
  text-align: right;
}

.command-menu {
  width: min(100%, 620px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 26px;
  background: #fbfbf8;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  box-shadow: var(--shadow-dark);
  animation: command-in 230ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.command-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.command-menu__header .eyebrow {
  margin-bottom: 9px;
}

.command-menu__header h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.command-list {
  display: grid;
  gap: 6px;
}

.command-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px;
  text-align: left;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
  transition:
    background 150ms ease,
    transform 150ms ease;
}

.command-item:hover,
.command-item:focus-visible {
  background: #edeee8;
  transform: translateX(4px);
}

.command-item__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.command-item > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.command-item strong {
  font-size: 0.8rem;
}

.command-item small {
  color: var(--muted);
  font-size: 0.64rem;
}

.command-menu__hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.61rem;
  text-align: center;
}

.command-menu__hint kbd {
  font-family: var(--font-mono);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-preview-in {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes live-pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(199, 255, 99, 0);
    opacity: 0.7;
  }
}

@keyframes rail-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes command-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.splitfx-lab {
  min-height: 100vh;
  color: #1a1d23;
  background: #f4f5f7;
}

.lab-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e3e5e9;
  backdrop-filter: blur(18px) saturate(1.2);
}

.lab-header__left,
.lab-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-back,
.lab-reset {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #60656f;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 720;
}

.lab-back:hover,
.lab-reset:hover {
  color: #1a1d23;
  background: #f0f1f3;
}

.lab-divider {
  width: 1px;
  height: 24px;
  margin-inline: 3px;
  background: #dedfe3;
}

.lab-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.lab-brand > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #111319;
  background: #c7ff63;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 25, 0.08);
}

.prototype-pill,
.demo-data-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: #767b84;
  background: #f0f1f3;
  border: 1px solid #e4e5e8;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 650;
}

.lab-header .button {
  min-height: 44px;
  padding-inline: 17px;
  font-size: 0.72rem;
}

.lab-shell {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: 274px minmax(0, 1fr);
}

.lab-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  height: calc(100vh - 72px);
  flex-direction: column;
  padding: 24px 17px 18px;
  overflow-y: auto;
  color: #f4f6f8;
  background:
    radial-gradient(circle at 10% 15%, rgba(199, 255, 99, 0.08), transparent 27%), #14171d;
  border-right: 1px solid #20242c;
}

.group-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.group-summary__art {
  position: relative;
  display: block;
  height: 76px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(199, 255, 99, 0.9), rgba(88, 108, 255, 0.85));
  border-radius: 13px;
}

.group-summary__art::before,
.group-summary__art::after,
.group-summary__art i {
  position: absolute;
  content: '';
  border: 1px solid rgba(17, 19, 25, 0.34);
  border-radius: 50%;
}

.group-summary__art::before {
  inset: -45px 20px 8px -30px;
}
.group-summary__art::after {
  inset: 16px -35px -55px 50px;
}
.group-summary__art i:first-child {
  width: 10px;
  height: 10px;
  top: 14px;
  right: 18px;
  background: #111319;
  border: 0;
}
.group-summary__art i:nth-child(2) {
  width: 6px;
  height: 6px;
  bottom: 13px;
  left: 22px;
  background: #fff;
  border: 0;
}

.group-summary > div {
  display: grid;
  gap: 4px;
}

.group-summary > div > span {
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.group-summary > div > strong {
  font-size: 0.78rem;
}

.group-summary > div > small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.57rem;
}

.group-summary .avatar-stack {
  margin-top: 2px;
}

.lab-nav {
  display: grid;
  gap: 5px;
}

.lab-nav button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.51);
  background: transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 680;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.lab-nav button > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lab-nav button small {
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.49rem;
}

.lab-nav button:hover,
.lab-nav button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
}

.lab-nav button.is-active svg {
  color: #c7ff63;
}

.lab-sidebar__note {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(199, 255, 99, 0.075);
  border: 1px solid rgba(199, 255, 99, 0.11);
  border-radius: 14px;
}

.lab-sidebar__note svg {
  margin-bottom: 3px;
  color: #c7ff63;
}

.lab-sidebar__note strong {
  font-size: 0.68rem;
}

.lab-sidebar__note p,
.lab-disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.56rem;
  line-height: 1.55;
}

.lab-disclaimer {
  padding: 13px 4px 0;
  text-align: center;
}

.lab-main {
  width: min(100%, 1300px);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 56px);
}

.lab-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 31px;
}

.lab-page-heading .lab-eyebrow,
.expense-dialog .lab-eyebrow,
.state-lab .lab-eyebrow {
  margin-bottom: 12px;
  color: #68707b;
}

.lab-page-heading h1 {
  margin-bottom: 11px;
  font-size: clamp(2.5rem, 4.2vw, 4.8rem);
  font-weight: 550;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.lab-page-heading > div:first-child > p {
  max-width: 550px;
  margin: 0;
  color: #747a84;
  font-size: 0.74rem;
  line-height: 1.6;
}

.lab-page-heading__total {
  display: grid;
  min-width: 230px;
  gap: 4px;
  padding-left: 24px;
  border-left: 1px solid #dcdee2;
}

.lab-page-heading__total span,
.lab-page-heading__total small {
  color: #7b8089;
  font-size: 0.58rem;
}

.lab-page-heading__total strong {
  font-size: 1.65rem;
  font-weight: 620;
  letter-spacing: -0.045em;
}

.quote-banner {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  margin-bottom: 14px;
  background: #e9f6ef;
  border: 1px solid #cde8d9;
  border-radius: 16px;
  transition:
    background 180ms ease,
    border 180ms ease;
}

.quote-banner--expired,
.quote-banner--error {
  background: #fff5e6;
  border-color: #f0d7af;
}

.quote-banner--offline {
  background: #f6f0ee;
  border-color: #e5d5d0;
}

.quote-banner--loading {
  background: #edf0ff;
  border-color: #d4d9fb;
}

.quote-banner__icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #167550;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 13px;
}

.quote-banner--expired .quote-banner__icon,
.quote-banner--error .quote-banner__icon {
  color: #9b5a0e;
}
.quote-banner--offline .quote-banner__icon {
  color: #8d5a50;
}
.quote-banner--loading .quote-banner__icon {
  color: #495cdd;
}
.quote-banner--loading .quote-banner__icon svg {
  animation: spin 1s linear infinite;
}

.quote-banner > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.quote-banner > div:nth-child(2) strong {
  font-size: 0.7rem;
}

.quote-banner > div:nth-child(2) p {
  margin: 0;
  color: #68716e;
  font-size: 0.58rem;
}

.quote-banner__rates {
  display: flex;
  gap: 9px;
}

.quote-banner__rates span {
  padding: 7px 9px;
  color: #53605b;
  background: rgba(255, 255, 255, 0.57);
  border: 1px solid rgba(20, 70, 48, 0.08);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
}

.quote-timer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #35725a;
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.quote-timer i {
  width: 7px;
  height: 7px;
  background: #29a870;
  border-radius: 50%;
  animation: live-pulse 1.8s ease infinite;
}

.quote-banner__action button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid rgba(17, 19, 25, 0.1);
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 750;
}

.lab-error {
  padding: 9px 12px;
  margin: -4px 0 14px;
  color: #8e3535;
  background: #fff0f0;
  border: 1px solid #f3cece;
  border-radius: 9px;
  font-size: 0.62rem;
}

.lab-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  gap: 14px;
}

.settlement-panel,
.balance-panel,
.expense-ledger {
  background: #fff;
  border: 1px solid #e2e4e8;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(25, 29, 38, 0.045);
}

.panel-heading {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e8e9ec;
}

.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-heading > div > div {
  display: grid;
  gap: 3px;
}

.panel-index {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #5365e3;
  background: #eff1ff;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.panel-heading h2 {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: -0.025em;
}

.panel-heading p {
  margin: 0;
  color: #858a93;
  font-size: 0.57rem;
}

.compact-pill {
  padding: 6px 8px;
  color: #525964;
  background: #f3f4f6;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
}

.settlement-list {
  padding: 4px 18px;
}

.settlement-row {
  display: grid;
  grid-template-columns:
    24px auto minmax(60px, 0.55fr) minmax(35px, 0.8fr) auto minmax(60px, 0.55fr)
    auto auto;
  align-items: center;
  gap: 8px;
  min-height: 80px;
  border-bottom: 1px solid #eef0f2;
}

.settlement-row:last-child {
  border-bottom: 0;
}

.settlement-row__index {
  color: #a4a8af;
  font-family: var(--font-mono);
  font-size: 0.49rem;
}

.settlement-row__mobile {
  display: none;
}

.settlement-row__person {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.settlement-row__person strong {
  overflow: hidden;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settlement-row__person small {
  color: #90959d;
  font-size: 0.52rem;
}

.settlement-row__path {
  display: flex;
  align-items: center;
  color: #9da2aa;
}

.settlement-row__path i {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, #c9ccd1 0 3px, transparent 3px 7px);
}

.settlement-row__amount {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.explain-button {
  padding: 6px 7px;
  color: #5668df;
  background: #f0f2ff;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.51rem;
  font-weight: 800;
}

.settlement-explanation {
  grid-column: 2 / -1;
  margin: -4px 0 14px;
  padding: 10px 12px;
  color: #555d68;
  background: #f7f8fb;
  border-left: 2px solid #5668df;
  border-radius: 0 8px 8px 0;
  font-size: 0.55rem;
  line-height: 1.55;
}

.panel-footer {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 20px;
  color: #48705f;
  background: #f2f8f5;
  border-top: 1px solid #deeee6;
  border-radius: 0 0 20px 20px;
  font-size: 0.53rem;
}

.panel-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.panel-footer small {
  color: #7d8984;
  font-size: 0.49rem;
}

.balance-panel {
  align-self: start;
}

.balance-list {
  padding: 7px 18px 0;
}

.balance-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  border-bottom: 1px solid #edf0f2;
}

.balance-row > div {
  display: grid;
  gap: 2px;
}

.balance-row strong {
  font-size: 0.63rem;
}

.balance-row small {
  color: #8b9098;
  font-size: 0.5rem;
}

.balance-row > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.is-positive {
  color: #167651;
}
.is-negative {
  color: #aa4c4c;
}

.balance-visual {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.balance-visual > span {
  position: relative;
  display: flex;
  height: 5px;
  overflow: hidden;
  background: #f0f1f3;
  border-radius: 999px;
}

.balance-visual > span.is-negative {
  justify-content: flex-end;
}

.balance-visual i {
  display: block;
  height: 100%;
  background: var(--bar-colour);
  border-radius: inherit;
}

.state-lab {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 25px;
  padding: 24px;
  color: #f5f7f9;
  background:
    radial-gradient(circle at 87% 10%, rgba(88, 108, 255, 0.25), transparent 30%), #171a20;
  border-radius: 20px;
}

.state-lab h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 570;
  letter-spacing: -0.045em;
}

.state-lab p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
}

.state-lab__buttons {
  display: flex;
  gap: 7px;
}

.state-lab__buttons button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.55rem;
  font-weight: 700;
}

.state-lab__buttons button:hover {
  color: #111319;
  background: #c7ff63;
}

.expense-ledger {
  overflow: hidden;
}

.expense-ledger .panel-heading .button {
  min-height: 40px;
  padding-inline: 13px;
  font-size: 0.59rem;
}

.expense-table {
  padding: 0 20px 12px;
}

.expense-table__head,
.expense-table__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 0.75fr) minmax(110px, 0.65fr) minmax(
      120px,
      0.65fr
    );
  align-items: center;
  gap: 15px;
}

.expense-table__head {
  min-height: 44px;
  color: #8c9199;
  border-bottom: 1px solid #e9ebee;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  text-transform: uppercase;
}

.expense-table__head span:last-child {
  text-align: right;
}

.expense-table__row {
  min-height: 76px;
  border-bottom: 1px solid #eef0f2;
  font-size: 0.66rem;
}

.expense-table__row:last-child {
  border-bottom: 0;
}

.expense-table__row > span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.expense-amount {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.expense-amount strong {
  font-family: var(--font-mono);
}

.expense-amount small {
  color: #858a93;
  font-size: 0.49rem;
}

.expense-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.expense-name > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #4b5ddd;
  background: #eff1ff;
  border-radius: 11px;
  font-size: 1rem;
  font-style: normal;
}

.expense-name > span {
  display: grid;
  gap: 3px;
}

.expense-name small {
  color: #92969d;
  font-size: 0.52rem;
  text-transform: capitalize;
}

.dialog-backdrop--lab {
  background: rgba(15, 18, 24, 0.7);
}

.expense-dialog {
  width: min(100%, 610px);
  max-height: min(850px, calc(100vh - 40px));
  overflow: auto;
  padding: 26px;
  background: #fbfbfc;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  animation: command-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.expense-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e3e5e8;
}

.expense-dialog__header h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.expense-form {
  display: grid;
  gap: 18px;
}

.field,
.share-fieldset {
  display: grid;
  gap: 8px;
}

.field > span,
.share-fieldset legend {
  color: #626873;
  font-size: 0.61rem;
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid #d9dce1;
  border-radius: 11px;
  outline: 0;
  font-size: 0.73rem;
  transition:
    border 150ms ease,
    box-shadow 150ms ease;
}

.field input:focus,
.field select:focus {
  border-color: #586cff;
  box-shadow: 0 0 0 3px rgba(88, 108, 255, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.money-input {
  position: relative;
  display: block;
}

.money-input strong {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #69707b;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  transform: translateY(-50%);
}

.money-input input {
  padding-left: 50px;
}

.share-fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.share-fieldset legend {
  margin-bottom: 8px;
}

.participant-toggles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.participant-toggle {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  color: #777c85;
  background: #fff;
  border: 1px solid #e0e2e6;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.59rem;
  font-weight: 700;
}

.participant-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.participant-toggle > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #1a1d23;
  background: var(--participant-colour);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.51rem;
}

.participant-toggle.is-selected {
  color: #1a1d23;
  border-color: #9ca8f3;
  box-shadow: inset 0 0 0 1px #9ca8f3;
}

.form-error {
  padding: 10px 12px;
  margin: 0;
  color: #913e3e;
  background: #fff0f0;
  border: 1px solid #f1caca;
  border-radius: 9px;
  font-size: 0.62rem;
}

.expense-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 19px;
  margin-top: 3px;
  border-top: 1px solid #e5e7ea;
}

.expense-dialog__footer p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #6c737c;
  font-size: 0.54rem;
}

.expense-dialog__footer > div {
  display: flex;
  gap: 6px;
}

.expense-dialog__footer .button {
  min-height: 43px;
  padding-inline: 15px;
  font-size: 0.65rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1240px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  }

  .hero h1 {
    font-size: clamp(3.8rem, 6.4vw, 5.8rem);
  }

  .hero-note--top {
    right: 4px;
  }

  .hero-note--bottom {
    left: -3px;
  }

  .case-hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .architecture-panel {
    grid-template-columns: 1fr;
  }

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

  .lab-dashboard {
    grid-template-columns: 1fr;
  }

  .balance-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .balance-panel .panel-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1020px) {
  .section-shell {
    width: min(calc(100% - 40px), var(--max-width));
  }

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

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 11vw, 7.8rem);
  }

  .hero__visual {
    min-height: 720px;
  }

  .hero-preview {
    right: 8%;
    left: 8%;
  }

  .hero-note--top {
    right: 3%;
  }

  .hero-note--bottom {
    left: 4%;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 650px;
  }

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

  .case-hero__copy {
    min-height: 500px;
  }

  .case-hero__visual {
    min-height: 500px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-card:last-child {
    grid-column: 1 / -1;
  }

  .case-card {
    min-height: 350px;
  }

  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card__actions {
    max-width: 480px;
  }

  .lab-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

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

  .quote-banner__rates {
    display: none;
  }

  .settlement-row {
    grid-template-columns:
      18px auto minmax(45px, 0.5fr) minmax(24px, 0.8fr) auto minmax(45px, 0.5fr)
      auto;
  }

  .explain-button {
    display: none;
  }

  .state-lab {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 60px;
    margin-top: 8px;
    padding: 8px 9px 8px 12px;
    border-radius: 18px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__name,
  .command-trigger,
  .header-lab-button {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .header-contact {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 12px;
  }

  .hero {
    gap: 20px;
    padding-block: 70px 76px;
  }

  .availability-pill {
    margin-bottom: 24px;
    font-size: 0.54rem;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3.6rem, 18vw, 5.3rem);
    line-height: 0.9;
  }

  .hero__lead {
    font-size: 0.93rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .hero__social-proof {
    grid-template-columns: 1fr;
  }

  .hero__social-proof div {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    align-items: center;
    padding: 12px 0;
  }

  .hero__social-proof div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero-preview {
    top: 70px;
    right: 0;
    left: 0;
    border-radius: 24px;
    transform: rotate(0.7deg);
  }

  .hero-preview__body {
    padding: 25px 20px;
  }

  .preview-heading h2 {
    font-size: 2.1rem;
  }

  .preview-icon {
    width: 42px;
    height: 42px;
  }

  .preview-transfer {
    gap: 7px;
    padding: 12px;
  }

  .preview-transfer__avatars .avatar:last-child,
  .preview-transfer__line {
    display: none;
  }

  .preview-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-note--top {
    top: 19px;
    right: -3px;
  }

  .hero-note--bottom {
    display: none;
  }

  .hero-orbit--one {
    inset: 1% -35% 4% -30%;
  }

  .hero-orbit--two {
    display: none;
  }

  .stack-rail {
    grid-template-columns: 1fr;
  }

  .stack-rail__label {
    justify-content: center;
  }

  .case-study,
  .approach,
  .about {
    padding-block: 90px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .case-hero {
    border-radius: 28px;
  }

  .case-hero__copy {
    min-height: 520px;
    padding: 38px 28px;
  }

  .case-hero__copy h3 {
    font-size: 2.9rem;
  }

  .case-hero__visual {
    min-height: 410px;
  }

  .settle-person {
    width: 50px;
    height: 50px;
  }

  .settle-person--centre {
    width: 78px;
    height: 78px;
  }

  .case-floating-card {
    right: 12px;
    bottom: 13px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card:last-child {
    grid-column: auto;
  }

  .process-list li {
    grid-template-columns: 38px 1fr;
  }

  .process-list li div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-list li > small {
    display: none;
  }

  .architecture-panel {
    gap: 38px;
    padding: 34px 24px;
    border-radius: 28px;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .architecture-flow > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    padding: 24px 18px;
  }

  .timeline-entry {
    gap: 14px;
  }

  .timeline-entry__mark {
    width: 46px;
    height: 46px;
  }

  .contact-section {
    padding-bottom: 64px;
  }

  .contact-card {
    padding: 40px 24px;
    border-radius: 28px;
  }

  .contact-card h2 {
    font-size: 3.4rem;
  }

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

  .site-footer p {
    display: none;
  }

  .command-menu,
  .expense-dialog {
    padding: 20px;
    border-radius: 20px;
  }

  .lab-header {
    min-height: 64px;
    padding: 9px 12px;
  }

  .lab-divider,
  .prototype-pill,
  .demo-data-label,
  .lab-reset,
  .lab-back span {
    display: none;
  }

  .lab-back {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .lab-brand {
    font-size: 0.75rem;
  }

  .lab-header .button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .lab-shell {
    display: block;
  }

  .lab-sidebar {
    position: static;
    display: block;
    height: auto;
    padding: 10px 12px;
    overflow: visible;
  }

  .group-summary,
  .lab-sidebar__note {
    display: none;
  }

  .lab-disclaimer {
    padding: 10px 4px 0;
  }

  .lab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lab-nav button {
    min-height: 41px;
  }

  .lab-main {
    padding: 27px 14px 50px;
  }

  .lab-page-heading {
    display: grid;
    gap: 24px;
  }

  .lab-page-heading h1 {
    font-size: 3.2rem;
  }

  .lab-page-heading__total {
    padding: 15px 0 0;
    border-top: 1px solid #dcdee2;
    border-left: 0;
  }

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

  .quote-banner__action {
    grid-column: 1 / -1;
  }

  .quote-timer {
    padding-left: 4px;
  }

  .settlement-panel,
  .balance-panel,
  .expense-ledger {
    border-radius: 16px;
  }

  .settlement-row {
    grid-template-columns: 1fr auto;
    gap: 9px;
    min-height: 82px;
  }

  .settlement-row__index,
  .settlement-row__path,
  .settlement-row > .avatar,
  .settlement-row > .settlement-row__person,
  .explain-button {
    display: none;
  }

  .settlement-row__mobile {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .settlement-row__mobile > span:last-child {
    display: grid;
    gap: 2px;
  }

  .settlement-row__mobile strong {
    font-size: 0.66rem;
  }

  .settlement-row__mobile small {
    color: #8e939b;
    font-size: 0.5rem;
  }

  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .balance-panel {
    display: block;
  }

  .state-lab__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .expense-table {
    padding-inline: 14px;
  }

  .expense-table__head {
    display: none;
  }

  .expense-table__row {
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding-block: 12px;
  }

  .expense-table__row > span:nth-child(2),
  .expense-table__row > span:nth-child(3) {
    display: none;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .participant-toggles {
    grid-template-columns: 1fr 1fr;
  }

  .expense-dialog__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .expense-dialog__footer > div {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .stack-rail__track {
    transform: none;
  }
}


/*# sourceMappingURL=main.d4bf64b1.css.map*/