@font-face {
  font-family: "Raleway";
  src: url("/static/fonts/Raleway-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("/static/fonts/Raleway-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("/static/fonts/Raleway-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #090f1e;
  --night-soft: #101a33;
  --night-glass: rgba(13, 22, 43, .68);
  --violet: #6248ff;
  --violet-bright: #806cff;
  --violet-dark: #4931dc;
  --cyan: #65ded1;
  --coral: #ff766a;
  --paper: #ffffff;
  --canvas: #f1f4f9;
  --canvas-blue: #e9edf7;
  --ink: #11182b;
  --muted: #697086;
  --line: rgba(17, 24, 43, .12);
  --line-light: rgba(255, 255, 255, .16);
  --success: #168260;
  --warning: #a36300;
  --danger: #c33342;
  --page: min(1320px, calc(100vw - 64px));
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --shadow-soft: 0 22px 70px rgba(19, 28, 55, .11);
  --shadow-glass: 0 32px 90px rgba(3, 8, 22, .35);
  color: var(--ink);
  background: var(--night);
  font-family: "Raleway", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--night);
  line-height: 1.55;
  overflow-x: hidden;
}

body::selection { color: #fff; background: var(--violet); }

button,
input { font: inherit; }

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
.dropzone:focus-within,
.compact-dropzone:focus-within,
.consent-row:focus-within {
  outline: 3px solid rgba(128, 108, 255, .42);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.ambient-canvas,
.ambient-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-canvas { z-index: -3; }

.ambient-grid {
  z-index: -2;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow--light { color: rgba(255,255,255,.62); }

.brand-lockup {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: .06em;
  text-decoration: none;
  font-weight: 700;
}

.brand-lockup--light { color: #fff; }

.brand-symbol {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.23), transparent 45%),
    linear-gradient(135deg, var(--violet-bright), #4933e4);
  box-shadow: 0 12px 28px rgba(69, 47, 222, .34), inset 0 1px 0 rgba(255,255,255,.35);
  font-size: 25px;
}

.brand-symbol::after {
  content: "";
  position: absolute;
  inset: -50% auto auto -70%;
  width: 70%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: rotate(25deg);
  animation: mark-shine 7s ease-in-out infinite;
}

.brand-symbol span { position: relative; z-index: 1; }
.brand-copy { display: grid; gap: 5px; font-size: 13px; }
.brand-copy small { font-size: 8px; letter-spacing: .25em; }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  position: fixed;
  border-color: rgba(255,255,255,.1);
  background: rgba(8, 14, 29, .78);
  box-shadow: 0 18px 50px rgba(3, 8, 20, .22);
  backdrop-filter: blur(24px) saturate(150%);
}

.main-nav {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.primary-nav {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.nav-link {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: rgba(255,255,255,.68);
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255,255,255,.11);
}

.nav-link:hover { transform: translateY(-1px); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.system-chip,
.status-chip,
.trust-status {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  background: rgba(255,255,255,.07);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(16px);
}

.system-chip i,
.trust-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9da3b4;
  box-shadow: 0 0 0 5px rgba(157,163,180,.1);
}

.system-chip.is-ready { color: #dffff8; border-color: rgba(101,222,209,.28); background: rgba(57,153,142,.13); }
.system-chip.is-ready i { background: var(--cyan); box-shadow: 0 0 0 5px rgba(101,222,209,.1), 0 0 18px rgba(101,222,209,.8); }
.system-chip.is-error { color: #ffe2e6; border-color: rgba(255,118,106,.3); background: rgba(195,51,66,.14); }
.system-chip.is-error i { background: var(--coral); }

.user-menu { position: relative; }
.user-menu summary::-webkit-details-marker { display: none; }

.user-summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 6px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  list-style: none;
  transition: background .2s ease, border-color .2s ease;
}

.user-summary:hover,
.user-menu[open] .user-summary { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.11); }

.user-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(128,108,255,.8), rgba(73,49,220,.72));
  font-size: 13px;
  font-weight: 700;
}

.user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.user-chevron { color: rgba(255,255,255,.55); transition: transform .2s ease; }
.user-menu[open] .user-chevron { transform: rotate(180deg); }

.user-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 270px;
  padding: 24px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(28px) saturate(160%);
  animation: pop-in .2s ease both;
}

.user-popover .eyebrow { margin-bottom: 8px; }
.user-popover > strong { font-size: 18px; }
.user-popover > span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.text-button {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0;
  color: var(--violet-dark);
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  cursor: pointer;
  font-weight: 600;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  padding: 14px 25px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.22) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .6s ease;
}

.button > * { position: relative; z-index: 1; }
.button:hover { transform: translateY(-3px); }
.button:hover::before { transform: translateX(130%); }
.button:active { transform: translateY(-1px) scale(.99); }
.button:disabled { cursor: wait; opacity: .58; transform: none; }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--violet-bright), var(--violet-dark)); box-shadow: 0 16px 36px rgba(73,49,220,.3), inset 0 1px 0 rgba(255,255,255,.25); }
.button--primary:hover { box-shadow: 0 20px 48px rgba(73,49,220,.4), inset 0 1px 0 rgba(255,255,255,.3); }
.button--glow { box-shadow: 0 18px 52px rgba(98,72,255,.42), inset 0 1px 0 rgba(255,255,255,.25); }
.button--glass { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.075); backdrop-filter: blur(20px); }
.button--glass:hover { border-color: rgba(255,255,255,.33); background: rgba(255,255,255,.12); }
.button--ghost { color: var(--violet-dark); border-color: rgba(98,72,255,.24); background: rgba(255,255,255,.7); }
.button--ghost:hover { border-color: rgba(98,72,255,.42); background: #fff; box-shadow: 0 14px 32px rgba(36,45,76,.1); }
.button--wide { width: 100%; }
.button-arrow { font-size: 20px; transition: transform .22s ease; }
.button:hover .button-arrow { transform: translateX(5px); }

.hero {
  position: relative;
  z-index: 0;
  min-height: 940px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 75% 34%, rgba(98,72,255,.2), transparent 34%),
    linear-gradient(155deg, rgba(9,15,30,.82), rgba(10,17,34,.94));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9,15,30,.88) 0%, rgba(9,15,30,.5) 55%, rgba(9,15,30,.12) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: 2%;
  width: 68%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(82,62,225,.18), transparent 68%);
  filter: blur(30px);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .22;
  background:
    radial-gradient(circle at 22% 16%, rgba(255,255,255,.13) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 62%, rgba(101,222,209,.14) 0 1px, transparent 1.5px);
  background-size: 80px 80px, 110px 110px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 790px;
  grid-template-columns: minmax(0, 1.02fr) minmax(520px, .98fr);
  align-items: center;
  gap: 28px;
  padding-top: 112px;
}

.hero-copy { position: relative; z-index: 4; padding-block: 80px 100px; }

.hero-label {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50px;
  background: rgba(255,255,255,.055);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(101,222,209,.9);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero h1 {
  max-width: 790px;
  margin: 28px 0 24px;
  font-size: clamp(56px, 6vw, 94px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .97;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 0%, #b6abff 48%, #72e4d8 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 670px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 34px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 600;
}

.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { display: grid; width: 19px; height: 19px; place-items: center; color: var(--cyan); border: 1px solid rgba(101,222,209,.28); border-radius: 50%; font-style: normal; font-size: 10px; }

.hero-stage {
  position: relative;
  min-height: 650px;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.visual-halo {
  position: absolute;
  inset: 13% 4% 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,98,255,.3), rgba(67,128,216,.12) 44%, transparent 70%);
  filter: blur(24px);
  animation: halo-breathe 7s ease-in-out infinite;
}

.hero-art-shell {
  position: absolute;
  inset: 0 -19% -6% -6%;
  transform: translateZ(24px) rotateY(-5deg) rotateX(1deg);
  transform-origin: center;
  animation: hero-float 8s ease-in-out infinite;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 45px 70px rgba(0,0,0,.46)) saturate(1.08);
}

.data-float {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 128px;
  padding: 15px 17px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  box-shadow: 0 22px 50px rgba(2,7,19,.27), inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter: blur(22px) saturate(150%);
  animation: data-drift 6s ease-in-out infinite;
}

.data-float small { color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.data-float strong { margin-top: 3px; font-size: 25px; font-weight: 500; }
.data-float span { color: var(--cyan); font-size: 10px; }
.data-float--one { top: 29%; left: 3%; }
.data-float--two { top: 18%; right: -1%; animation-delay: -2s; }
.data-float--three { right: 5%; bottom: 14%; animation-delay: -4s; }

.hero-metrics {
  position: relative;
  z-index: 7;
  display: grid;
  min-height: 132px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -56px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: linear-gradient(120deg, rgba(255,255,255,.13), rgba(255,255,255,.065));
  box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(28px) saturate(145%);
}

.stat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat strong { overflow: hidden; color: #fff; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.stat span { margin-top: 9px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.stat--model strong { font-size: clamp(20px, 2.2vw, 31px); }

.workspace {
  position: relative;
  z-index: 3;
  padding-block: 132px 120px;
  background:
    radial-gradient(circle at 10% 18%, rgba(98,72,255,.08), transparent 26%),
    radial-gradient(circle at 90% 46%, rgba(101,222,209,.08), transparent 24%),
    var(--canvas);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading h2,
.task-shell-head h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.02;
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 96px;
}

.process-rail article {
  display: grid;
  min-height: 150px;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 23px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 36px rgba(35,44,73,.06), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.process-rail article:hover { transform: translateY(-6px); background: rgba(255,255,255,.86); box-shadow: 0 20px 48px rgba(35,44,73,.1), inset 0 1px 0 #fff; }
.process-index { display: grid; width: 42px; height: 42px; place-items: center; color: var(--violet-dark); border: 1px solid rgba(98,72,255,.18); border-radius: 14px; background: rgba(98,72,255,.08); font-size: 11px; font-weight: 700; }
.process-rail strong { display: block; margin: 2px 0 8px; font-size: 17px; }
.process-rail p { margin: 0; color: var(--muted); font-size: 13px; }

.task-shell {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.7);
  box-shadow: 0 36px 100px rgba(31,41,72,.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(120%);
}

.task-shell-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: 46px 48px 32px;
  border-bottom: 1px solid var(--line);
}

.task-shell-head h2 { font-size: clamp(32px, 4vw, 52px); }

.task-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(17,24,43,.08);
  border-radius: 19px;
  background: rgba(232,235,244,.8);
}

.task-tab {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: var(--muted);
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.task-tab:hover { color: var(--ink); }
.task-tab.is-active { color: var(--ink); background: #fff; box-shadow: 0 10px 24px rgba(34,42,70,.1); }
.task-tab:active { transform: scale(.98); }

.tab-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--coral), #ee4d67);
  box-shadow: 0 8px 18px rgba(238,77,103,.2);
  font-size: 13px;
}

.tab-icon--calibration { background: linear-gradient(135deg, var(--cyan), #2d9f92); box-shadow: 0 8px 18px rgba(45,159,146,.2); }

.task-panel.is-active { animation: panel-enter .42s cubic-bezier(.2,.75,.2,1) both; }

.task-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 68px;
  padding: 58px 48px 52px;
}

.card-copy { padding: 12px 0; }

.mode-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  color: #a23342;
  border: 1px solid rgba(255,118,106,.22);
  border-radius: 50px;
  background: rgba(255,118,106,.1);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mode-pill--teal { color: #20786e; border-color: rgba(45,159,146,.23); background: rgba(101,222,209,.12); }

.card-copy h3 {
  max-width: 560px;
  margin: 23px 0 18px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.card-copy > p { max-width: 570px; margin: 0; color: var(--muted); font-size: 15px; }

.result-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.result-cards > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.66);
}

.result-icon {
  display: grid;
  width: 39px;
  height: 39px;
  grid-row: 1 / 3;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: #26845f;
  font-size: 13px;
  font-weight: 700;
}

.result-icon--word { background: #3267b7; }
.result-cards strong { font-size: 13px; }
.result-cards small { color: var(--muted); font-size: 10px; }

.clean-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 11px 0 11px 25px;
  color: #555d72;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--violet);
  transform: rotate(45deg);
}

.form-surface {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 26px 70px rgba(31,42,73,.12), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px);
}

.upload-form { display: flex; flex-direction: column; gap: 15px; }

.form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-number {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--coral), #e94e67);
  box-shadow: 0 10px 22px rgba(233,78,103,.22);
  font-size: 11px;
  font-weight: 700;
}

.form-number--teal { background: linear-gradient(135deg, var(--cyan), #2b9d91); box-shadow: 0 10px 22px rgba(43,157,145,.2); }
.form-heading strong { display: block; font-size: 15px; }
.form-heading small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

.field-label,
.stack-form label > span,
.activation-box label > span {
  display: block;
  margin: 2px 0 -7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

input[type="text"],
input[type="number"],
input[type="password"],
input:not([type]) {
  width: 100%;
  height: 60px;
  padding: 0 17px;
  color: var(--ink);
  border: 1px solid rgba(17,24,43,.14);
  border-radius: 15px;
  background: rgba(247,248,252,.9);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder { color: #9da3b2; }
input:focus { border-color: rgba(98,72,255,.54); outline: none; background: #fff; box-shadow: 0 0 0 5px rgba(98,72,255,.09); }

.dropzone,
.compact-dropzone {
  position: relative;
  display: flex;
  cursor: pointer;
  border: 1px dashed rgba(98,72,255,.3);
  background: linear-gradient(145deg, rgba(98,72,255,.045), rgba(101,222,209,.035));
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.dropzone {
  min-height: 205px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-radius: 20px;
  text-align: center;
}

.dropzone--compact { min-height: 174px; }

.dropzone::before {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 15px;
}

.dropzone:hover,
.dropzone.is-dragging,
.compact-dropzone:hover {
  border-color: rgba(98,72,255,.62);
  background: linear-gradient(145deg, rgba(98,72,255,.09), rgba(101,222,209,.07));
  box-shadow: 0 16px 36px rgba(45,53,83,.08);
  transform: translateY(-2px);
}

.dropzone input,
.compact-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.upload-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 13px;
  place-items: center;
  color: #fff;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--violet-bright), var(--violet-dark));
  box-shadow: 0 12px 25px rgba(73,49,220,.25), inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 23px;
  transition: transform .25s ease;
}

.dropzone:hover .upload-icon { transform: translateY(-4px); }
.upload-icon--teal { background: linear-gradient(145deg, var(--cyan), #2b9d91); box-shadow: 0 12px 25px rgba(43,157,145,.2), inset 0 1px 0 rgba(255,255,255,.28); }
.dropzone strong { position: relative; z-index: 1; font-size: 16px; }
.dropzone span:not(.upload-icon) { position: relative; z-index: 1; color: var(--muted); font-size: 12px; }
.dropzone small { position: relative; z-index: 1; margin-top: 12px; color: #949bad; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.compact-dropzone {
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
}

.compact-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: #fff; border-radius: 12px; background: #26845f; font-size: 12px; font-weight: 700; }
.compact-dropzone strong { color: var(--violet-dark); white-space: nowrap; font-size: 12px; }
.compact-dropzone > span:last-child { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }

.file-list { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.file-item { display: flex; justify-content: space-between; gap: 16px; padding: 9px 11px; border-radius: 10px; background: var(--canvas); }

.consent-row {
  display: grid;
  min-height: 58px;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: center;
  padding: 10px 3px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.consent-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--violet); }

.scope-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 28px;
  padding: 18px;
  color: #1f685f;
  border: 1px solid rgba(45,159,146,.16);
  border-radius: 17px;
  background: rgba(101,222,209,.1);
}

.scope-icon { display: grid; width: 29px; height: 29px; place-items: center; color: #fff; border-radius: 10px; background: #2b9d91; font-size: 12px; font-weight: 700; }
.scope-notice strong { display: block; margin-bottom: 3px; font-size: 12px; }
.scope-notice span { display: block; color: #557972; font-size: 11px; }

.history-section {
  position: relative;
  z-index: 2;
  padding-block: 112px 128px;
  background: #fff;
}

.section-heading--history { align-items: center; }
.job-list { display: grid; gap: 12px; }

.job-card {
  position: relative;
  display: grid;
  min-height: 118px;
  grid-template-columns: minmax(190px, 1fr) minmax(160px, .65fr) minmax(220px, 1.1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 23px 24px 23px 30px;
  border: 1px solid rgba(17,24,43,.08);
  border-radius: 21px;
  background: linear-gradient(135deg, #f7f8fb, #f0f3f8);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.job-card::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--violet-bright), var(--violet-dark)); }
.job-card[data-kind="calibration"]::before { background: linear-gradient(var(--cyan), #2b9d91); }
.job-card:hover { transform: translateY(-3px); border-color: rgba(98,72,255,.16); box-shadow: 0 18px 42px rgba(31,42,70,.09); }
.job-title { margin: 0 0 5px; font-size: 16px; font-weight: 600; }
.job-meta,
.job-message { color: var(--muted); font-size: 11px; }
.job-score { color: var(--ink); font-size: 22px; }

.status-chip {
  min-height: 34px;
  color: var(--muted);
  border-color: var(--line);
  background: #fff;
  backdrop-filter: none;
}

.status-chip--succeeded { color: var(--success); border-color: #b8dfd1; background: #eff9f5; }
.status-chip--failed { color: var(--danger); border-color: #efbbc0; background: #fff2f3; }
.status-chip--running,
.status-chip--queued { color: var(--violet-dark); border-color: #c9c1f6; background: #f5f3ff; }
.status-chip--needs_attention { color: var(--warning); border-color: #edd6a9; background: #fff8e9; }

.job-progress { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 6px; background: #dfe2eb; }
.progress-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan)); transition: width .35s ease; }
.progress-0 { width: 2%; } .progress-5 { width: 5%; } .progress-10 { width: 10%; } .progress-15 { width: 15%; } .progress-20 { width: 20%; }
.progress-25 { width: 25%; } .progress-30 { width: 30%; } .progress-35 { width: 35%; } .progress-40 { width: 40%; } .progress-45 { width: 45%; }
.progress-50 { width: 50%; } .progress-55 { width: 55%; } .progress-60 { width: 60%; } .progress-65 { width: 65%; } .progress-70 { width: 70%; }
.progress-75 { width: 75%; } .progress-80 { width: 80%; } .progress-85 { width: 85%; } .progress-90 { width: 90%; } .progress-95 { width: 95%; } .progress-100 { width: 100%; }
.job-open { min-height: 60px; padding: 9px 18px; border-radius: 15px; }

.empty-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
  border: 1px dashed rgba(17,24,43,.14);
  border-radius: 22px;
  background: var(--canvas);
  text-align: center;
}

.site-footer { position: relative; z-index: 2; color: #fff; background: #080e1c; }

.footer-grid {
  display: grid;
  min-height: 260px;
  grid-template-columns: 1.2fr .9fr .9fr auto;
  gap: 54px;
  align-items: center;
}

.footer-tagline { max-width: 330px; margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-note strong { color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-note p { max-width: 280px; margin: 9px 0 0; color: rgba(255,255,255,.44); font-size: 11px; }
.back-to-top { display: grid; width: 60px; height: 60px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.06); text-decoration: none; font-size: 20px; transition: background .2s ease, transform .2s ease; }
.back-to-top:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }

.toast-region { position: fixed; z-index: 1000; right: 24px; bottom: 24px; display: grid; gap: 10px; width: min(390px, calc(100vw - 48px)); }
.toast { padding: 17px 19px; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(10,17,34,.9); box-shadow: 0 20px 55px rgba(0,0,0,.3); backdrop-filter: blur(22px); animation: toast-in .3s ease both; }
.toast--error { background: rgba(156,39,55,.94); }

.job-dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(86vh, 920px);
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 27px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 35px 110px rgba(0,0,0,.4);
  backdrop-filter: blur(30px) saturate(150%);
}

.job-dialog::backdrop { background: rgba(4,8,19,.76); backdrop-filter: blur(8px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 30px 34px 23px; border-bottom: 1px solid var(--line); }
.dialog-head::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 5px; border-radius: 27px 27px 0 0; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--coral)); }
.dialog-head h2 { margin: 0; font-size: 31px; font-weight: 400; letter-spacing: -.035em; }
.dialog-close { display: grid; width: 60px; height: 60px; place-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: var(--canvas); cursor: pointer; font-size: 25px; transition: transform .2s ease, background .2s ease; }
.dialog-close:hover { transform: rotate(5deg); background: #fff; }
#job-dialog-content { padding: 27px 34px 34px; overflow: auto; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.detail-cell { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--canvas); }
.detail-cell span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.detail-cell strong { display: block; margin-top: 7px; font-weight: 600; }
.artifact-list { display: grid; gap: 8px; margin-top: 16px; }
.artifact-link { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 16px; color: var(--violet-dark); border: 1px solid rgba(98,72,255,.14); border-radius: 15px; background: #f5f3ff; text-decoration: none; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.artifact-link:hover { transform: translateX(3px); background: #efecff; }
.activation-box { margin: 0 34px 34px; padding: 23px; border: 1px solid #edd6a9; border-radius: 18px; background: #fff8e9; }
.activation-box h3 { margin: 0 0 8px; }
.activation-box p { color: var(--muted); font-size: 12px; }
.activation-box label { display: block; margin: 17px 0; }
.activation-box input { margin-top: 9px; }

.login-page {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 25% 30%, rgba(98,72,255,.16), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(101,222,209,.08), transparent 30%),
    var(--night);
}

.login-page .ambient-canvas { z-index: 0; }
.login-page .ambient-grid { z-index: 1; }

.login-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
}

.trust-status { min-height: 44px; }
.trust-status i { background: var(--cyan); box-shadow: 0 0 0 5px rgba(101,222,209,.1), 0 0 18px rgba(101,222,209,.75); }

.login-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100vh - 190px);
  grid-template-columns: minmax(0, 1.17fr) minmax(410px, .63fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  padding-block: 28px 64px;
}

.login-story { position: relative; min-height: 690px; display: flex; align-items: center; }
.login-copy { position: relative; z-index: 4; width: min(690px, 60%); }
.login-story h1 { margin: 16px 0 27px; font-size: clamp(54px, 6.2vw, 94px); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.login-story h1 span { color: transparent; background: linear-gradient(100deg, #fff, #b4a8ff 52%, #72e4d8); background-clip: text; -webkit-background-clip: text; }
.login-lead { max-width: 610px; margin: 0; color: rgba(255,255,255,.63); font-size: 17px; }

.login-features { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.login-features span { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 12px; color: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.12); border-radius: 50px; background: rgba(255,255,255,.055); font-size: 10px; font-weight: 600; backdrop-filter: blur(14px); }

.login-visual { position: absolute; inset: 3% -10% -1% 31%; z-index: 1; pointer-events: none; }
.login-visual img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 45px 70px rgba(0,0,0,.48)) saturate(1.05); animation: hero-float 8s ease-in-out infinite; }
.login-visual .visual-halo { inset: 18% 4% 9% 18%; }

.glass-orbit {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 25px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 24px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.23);
  backdrop-filter: blur(22px);
  font-size: 12px;
  font-weight: 700;
  animation: data-drift 6s ease-in-out infinite;
}

.glass-orbit--one { top: 23%; right: 15%; }
.glass-orbit--two { right: 6%; bottom: 18%; animation-delay: -3s; }

.login-panel-wrap { position: relative; z-index: 5; }

.liquid-card {
  border: 1px solid rgba(255,255,255,.65);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,246,252,.88));
  box-shadow: 0 45px 120px rgba(0,0,0,.36), inset 0 1px 0 #fff;
  backdrop-filter: blur(32px) saturate(145%);
}

.login-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  color: var(--ink);
  border-radius: 31px;
}

.login-panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98,72,255,.16), transparent 68%);
}

.panel-kicker { position: relative; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.panel-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; border-radius: 11px; background: linear-gradient(135deg, var(--violet-bright), var(--violet-dark)); box-shadow: 0 9px 20px rgba(73,49,220,.22); font-size: 14px; }
.login-panel h2 { position: relative; max-width: 370px; margin: 27px 0 9px; font-size: clamp(36px, 4vw, 52px); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.panel-intro { position: relative; margin: 0 0 30px; color: var(--muted); font-size: 12px; }
.stack-form { position: relative; display: grid; gap: 20px; }
.stack-form label > span { margin: 0 0 8px; }
.stack-form .button { margin-top: 4px; }

.alert { position: relative; margin-bottom: 23px; padding: 14px 16px; border-radius: 13px; }
.alert--error { color: var(--danger); border: 1px solid #efbbc0; background: #fff2f3; }

.login-assurance { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.assurance-mark { display: grid; width: 28px; height: 28px; place-items: center; color: var(--success); border-radius: 9px; background: #e8f7f1; font-size: 12px; }
.login-assurance p { margin: 0; color: var(--muted); font-size: 10px; }
.login-assurance strong { color: var(--ink); font-size: 11px; }
.dev-note { position: relative; margin-top: 18px; padding: 12px; color: var(--warning); border-radius: 12px; background: #fff8e9; font-size: 10px; }

.login-footer { position: relative; z-index: 3; display: flex; min-height: 78px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.35); border-top: 1px solid rgba(255,255,255,.08); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes mark-shine {
  0%, 68% { transform: translateX(-40px) rotate(25deg); opacity: 0; }
  74% { opacity: 1; }
  88%, 100% { transform: translateX(125px) rotate(25deg); opacity: 0; }
}

@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes halo-breathe { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(1deg); } 50% { transform: translateY(-16px) rotateY(-2deg) rotateX(2deg); } }
@keyframes data-drift { 0%, 100% { transform: translate3d(0,0,35px) rotate(-1deg); } 50% { transform: translate3d(0,-11px,55px) rotate(1deg); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes panel-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  .hero-art-shell {
    animation: hero-scroll linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes hero-scroll {
    from { transform: translateY(30px) rotateY(-8deg) rotateX(3deg) scale(.96); }
    to { transform: translateY(-80px) rotateY(2deg) rotateX(-2deg) scale(1.04); }
  }
}

@media (max-width: 1120px) {
  :root { --page: min(100% - 40px, 1040px); }
  .primary-nav { display: none; }
  .hero { min-height: 980px; }
  .hero-grid { min-height: 825px; grid-template-columns: minmax(0, 1fr) minmax(390px, .75fr); }
  .hero h1 { font-size: clamp(54px, 7vw, 78px); }
  .hero-stage { min-height: 580px; }
  .hero-art-shell { inset: 2% -28% -4% -12%; }
  .data-float--one { left: -5%; }
  .task-shell-head { align-items: start; flex-direction: column; }
  .task-card { grid-template-columns: 1fr; gap: 44px; }
  .card-copy { display: grid; grid-template-columns: 1fr; }
  .card-copy > p { max-width: 760px; }
  .clean-list { max-width: 760px; }
  .login-shell { grid-template-columns: minmax(0, 1fr) minmax(380px, .7fr); gap: 30px; }
  .login-story h1 { font-size: clamp(48px, 6vw, 70px); }
  .login-copy { width: 67%; }
  .login-visual { inset: 8% -19% 4% 25%; }
}

@media (max-width: 820px) {
  :root { --page: calc(100% - 28px); }
  html { scroll-padding-top: 86px; }
  .main-nav { min-height: 82px; }
  .brand-symbol { width: 43px; height: 43px; border-radius: 13px; font-size: 22px; }
  .brand-copy { font-size: 11px; }
  .system-chip { display: none; }
  .user-name { display: none; }
  .user-summary { padding-right: 8px; }
  .user-chevron { display: none; }
  .hero { min-height: 1120px; }
  .hero-grid { min-height: 945px; grid-template-columns: 1fr; gap: 0; padding-top: 95px; }
  .hero-copy { padding-block: 60px 0; }
  .hero h1 { max-width: 720px; font-size: clamp(49px, 10vw, 74px); }
  .hero-stage { min-height: 470px; margin-top: -10px; }
  .hero-art-shell { inset: -7% -14% -10% 6%; }
  .data-float--one { top: 17%; left: 7%; }
  .data-float--two { top: 7%; right: 4%; }
  .data-float--three { right: 7%; bottom: 7%; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); margin-top: -74px; }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
  .workspace { padding-block: 102px 88px; }
  .section-heading { align-items: start; flex-direction: column; gap: 24px; }
  .process-rail { grid-template-columns: 1fr; margin-bottom: 66px; }
  .process-rail article { min-height: 116px; }
  .task-shell-head { padding: 34px 27px 27px; }
  .task-tabs { width: 100%; }
  .task-tab { flex: 1; }
  .task-card { padding: 39px 27px 31px; }
  .result-cards { max-width: 560px; }
  .job-card { grid-template-columns: 1fr auto; }
  .job-card > :nth-child(2),
  .job-card > :nth-child(3) { grid-column: 1; }
  .job-open { grid-column: 2; grid-row: 1 / 4; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-block: 56px; }
  .back-to-top { justify-self: end; }
  .login-header { min-height: 94px; }
  .login-shell { grid-template-columns: 1fr; padding-block: 20px 58px; }
  .login-story { min-height: 570px; }
  .login-copy { width: min(620px, 74%); }
  .login-visual { inset: 0 -6% -1% 28%; }
  .login-panel-wrap { width: min(580px, 100%); justify-self: center; }
  .login-footer { margin-top: 14px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 20px); }
  .main-nav { min-height: 74px; }
  .brand-copy { display: none; }
  .hero { min-height: 1050px; }
  .hero-grid { min-height: 905px; }
  .hero-copy { padding-top: 48px; }
  .hero-label { font-size: 9px; }
  .hero h1 { margin-top: 22px; font-size: clamp(43px, 13vw, 61px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-trust { gap: 12px; }
  .hero-stage { min-height: 380px; }
  .hero-art-shell { inset: -4% -37% -7% -9%; }
  .data-float { min-width: 103px; padding: 11px 13px; border-radius: 14px; }
  .data-float strong { font-size: 19px; }
  .data-float--one { top: 17%; left: 1%; }
  .data-float--two { right: 0; }
  .data-float--three { right: 2%; bottom: 2%; }
  .hero-metrics { min-height: 202px; border-radius: 23px; }
  .stat { padding: 21px 17px; }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 8px; }
  .stat--model strong { font-size: 18px; }
  .workspace { padding-block: 88px 72px; }
  .section-heading h2,
  .task-shell-head h2 { font-size: 39px; }
  .process-rail article { padding: 21px; }
  .task-shell { border-radius: 25px; }
  .task-shell-head { padding: 29px 19px 21px; }
  .task-tabs { display: grid; }
  .task-tab { width: 100%; justify-content: start; }
  .task-card { padding: 30px 18px 20px; }
  .card-copy h3 { font-size: 38px; }
  .result-cards { grid-template-columns: 1fr; }
  .form-surface { padding: 20px 15px; border-radius: 20px; }
  .dropzone { min-height: 190px; padding-inline: 16px; }
  .compact-dropzone { align-items: flex-start; flex-wrap: wrap; }
  .compact-dropzone > span:last-child { flex-basis: 100%; padding-left: 54px; }
  .history-section { padding-block: 80px 94px; }
  .section-heading--history { align-items: stretch; }
  .section-heading--history .button { width: 100%; }
  .job-card { display: grid; grid-template-columns: 1fr; padding: 21px; }
  .job-card > :nth-child(2),
  .job-card > :nth-child(3),
  .job-open { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .back-to-top { justify-self: start; }
  .dialog-head,
  #job-dialog-content { padding-inline: 20px; }
  .activation-box { margin-inline: 20px; }
  .detail-grid { grid-template-columns: 1fr; }
  .login-header .trust-status { font-size: 0; padding-inline: 14px; }
  .login-header .trust-status i { margin: 0; }
  .login-story { min-height: 510px; align-items: start; overflow: hidden; padding-top: 45px; }
  .login-copy { width: 100%; }
  .login-story h1 { font-size: clamp(43px, 13vw, 59px); }
  .login-lead { max-width: 88%; font-size: 14px; }
  .login-features span { font-size: 9px; }
  .login-visual { inset: 30% -29% -5% 12%; opacity: .76; }
  .glass-orbit { display: none; }
  .login-panel { padding: 28px 20px; border-radius: 24px; }
  .login-panel h2 { font-size: 39px; }
  .login-footer { align-items: start; flex-direction: column; justify-content: center; gap: 7px; }
}

@media (pointer: coarse) {
  .button:hover,
  .process-rail article:hover,
  .job-card:hover,
  .dropzone:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ambient-canvas { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@view-transition { navigation: auto; }
