html,
body,
#root {
  height: 100%;
  margin: 0;
  background: #fafbfe;
}
* {
  box-sizing: border-box;
}

/* ---- component styles ---- */
.gt-root {
  --font:
    "articulat-cf", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --canvas: #fafbfe;
  --panel: #ffffff;
  --border: #e7eaf1;
  --ink: #1b2330;
  --ink2: #5c6879;
  --ink3: #98a3b4;
  --blue: #5b8def;
  --purple: #8b6ff0;
  --coral: #f0705a;
  --grad: linear-gradient(100deg, #4f9be8 0%, #8a6ff0 52%, #ee6a54 100%);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  display: flex;
  padding: 0;
  box-sizing: border-box;
}
.gt-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: radial-gradient(
    130% 120% at 50% -20%,
    #ffffff 0%,
    #f6f8fd 55%,
    #eef2fb 100%
  );
  position: relative;
  box-shadow: none;
}

.gt-head {
  height: 62px;
  flex: 0 0 62px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  z-index: 5;
}
.gt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gt-word {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.gt-logo {
  display: inline-flex;
  align-items: center;
}
.gt-logo svg {
  height: 22px;
  width: auto;
  display: block;
}
.gt-logoimg {
  height: 30px;
  width: auto;
  display: block;
}
.gt-partner-logo {
  height: 36px;
  width: auto;
  display: block;
}

.gt-partner-logo-large {
  height: auto;
  width: 25%;
  display: block;
  margin: 1rem auto;
  box-shadow: 0 0 12px rgba(139, 111, 240, 0.6);
  border-radius: 10px;
  overflow: hidden;
}

.gt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(139, 111, 240, 0.6);
}
.gt-headmeta {
  font-size: 12px;
  color: var(--ink2);
}
.gt-title {
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
}
.gt-sub {
  font-family: var(--font);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--ink2);
  margin-top: 2px;
}
.gt-headbtns {
  margin-left: auto;
  display: flex;
  gap: 9px;
}
.gt-iconbtn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.gt-iconbtn:hover {
  color: var(--ink);
  border-color: var(--purple);
  box-shadow: 0 4px 14px -6px rgba(139, 111, 240, 0.4);
}

.gt-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.gt-viewport.is-panning {
  cursor: grabbing;
}
/* pointer capture + JS click-swallowing already prevent node activation
   during drags — CSS pointer-events:none caused a React timing race where
   nodes stayed unclickable for a frame after panning ended on touch */
.gt-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d5dded 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.8;
  pointer-events: none;
}
.gt-world {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.gt-edges {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.gt-edge {
  fill: none;
  stroke: #cdd6e6;
  stroke-width: 1.8;
  transition: opacity 0.5s ease;
}
.gt-edge.is-flow {
  stroke: url(#edgeGrad);
  stroke-width: 2.6;
  stroke-dasharray: 7 8;
  animation: flow 0.9s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -30;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gt-edge.is-flow {
    animation: none;
    stroke-dasharray: none;
  }
}

.gt-node {
  position: absolute;
  z-index: 2;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(50, 60, 90, 0.28);
  user-select: none;
}
.gt-node:hover:not(.is-active) {
  transform: scale(1.01);
  box-shadow: 0 14px 36px -16px rgba(50, 60, 90, 0.36);
}
.gt-node.has-petal {
  border-top: 3px solid var(--node-petal);
}
.gt-node.is-active {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow:
    0 26px 60px -22px rgba(120, 110, 240, 0.42),
    0 0 0 4px rgba(139, 111, 240, 0.08);
  transform: translateY(-2px);
}
.gt-node.is-active.has-petal {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
        180deg,
        var(--node-petal) 0%,
        rgba(139, 111, 240, 0.35) 40%,
        var(--purple) 100%
      )
      border-box;
  box-shadow:
    0 26px 60px -22px rgba(120, 110, 240, 0.42),
    0 -4px 18px -4px var(--node-petal),
    0 0 0 4px rgba(139, 111, 240, 0.08);
}
.gt-inner {
  padding: 22px 24px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.gt-eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gt-mod {
  font-size: 11px;
  color: var(--purple);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gt-persona {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink3);
  background: #f0f2f7;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0.02em;
}
.gt-covertitle {
  font-family: var(--font);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  margin: 14px 0 0;
  letter-spacing: -0.02em;
  max-width: 16ch;
  color: var(--ink);
}
.gt-coversub {
  color: var(--ink2);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 13px 0 0;
  max-width: 34ch;
}
.gt-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
}
.gt-tag {
  font-size: 11px;
  color: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 9px;
  background: #fbfcfe;
}

.gt-nodetitle {
  font-family: var(--font);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.18;
  margin: 9px 0 0;
  letter-spacing: -0.01em;
  max-width: 22ch;
  color: var(--ink);
}
.gt-body {
  color: var(--ink2);
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 0;
  max-width: 40ch;
}
.gt-clip {
  margin-top: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--ink3);
  padding-top: 14px;
}
.gt-clip-link {
  cursor: pointer;
  transition: color 0.2s;
}
.gt-clip-link:hover {
  color: var(--purple);
}

/* demo node = text + phone clip slot */
.gt-inner.demo {
  flex-direction: row;
  gap: 18px;
  align-items: stretch;
}
.gt-inner.demo-landscape {
  flex-direction: column;
  align-items: stretch;
}
.gt-inner.demo-landscape .gt-demotext-bottom {
  flex: 1;
}
.gt-inner.demo-landscape .gt-nodetitle,
.gt-inner.demo-landscape .gt-body {
  max-width: none;
}
.gt-inner.demo-landscape .clip.laptop {
  width: 60%;
  align-self: center;
}
.gt-demotext {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.clip {
  position: relative;
  overflow: hidden;
  background: #0f1420;
  transition: box-shadow 0.25s ease;
}
/* let hover/click pass through to the parent gt-node until it's active */
.gt-node:not(.is-active) .clip,
.gt-node:not(.is-active) .gt-clip-link,
.gt-node:not(.is-active) .gt-playbadge {
  pointer-events: none;
}
.clip.phone {
  flex: 0 0 132px;
  width: 132px;
  height: 100%;
  max-height: 238px;
  align-self: center;
  border-radius: 22px;
  border: 5px solid #121826;
  box-shadow: 0 12px 30px -10px rgba(40, 50, 90, 0.4);
}
.clip.wide {
  width: 100%;
  flex: 1;
  min-height: 0;
  margin: 12px 0 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}
.clip.laptop {
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.clip-laptop-bezel {
  width: 100%;
  height: 5px;
  background: #1a1e2a;
  border-radius: 6px 6px 0 0;
  flex-shrink: 0;
}
.clip-laptop-screen {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: #0f1420;
  border-left: 4px solid #1a1e2a;
  border-right: 4px solid #1a1e2a;
}
.clip-laptop-base {
  width: calc(100% + 12px);
  height: 7px;
  background: linear-gradient(180deg, #2a2e3a 0%, #1a1e2a 100%);
  border-radius: 0 0 4px 4px;
  flex-shrink: 0;
  position: relative;
}
.clip-laptop-base::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #3a3e4a;
}
.clip-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f1420;
}
.clip-flag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
}
.gt-playbadge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: rgba(20, 26, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0.7;
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
.gt-playbadge.on {
  opacity: 1;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 22px -6px rgba(139, 111, 240, 0.7);
}

/* hover feedback on active nodes — clip area + play badge */
.gt-node.is-active .clip:hover {
  box-shadow:
    0 0 0 3px rgba(139, 111, 240, 0.35),
    0 12px 30px -10px rgba(40, 50, 90, 0.4);
}
.gt-node.is-active .clip.laptop:hover {
  box-shadow: none;
  filter: drop-shadow(0 0 4px rgba(139, 111, 240, 0.5));
}
.gt-node.is-active .clip:hover .gt-playbadge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 28px -6px rgba(139, 111, 240, 0.8);
}
.gt-node.is-active .gt-clip-link:hover {
  color: var(--purple);
}

/* phone schematic */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f7f9fc;
  border-radius: 16px;
  overflow: hidden;
}
.ph-bar {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f8;
}
.ph-app {
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  color: var(--ink3);
}
.ph-head {
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
}
.ph-rows {
  flex: 1;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ph-row {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 6px;
  padding: 6px 7px;
  font-size: 7.5px;
  color: var(--ink2);
  line-height: 1.2;
}
.ph-action {
  margin: 7px;
  padding: 7px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 8px;
}

/* ---- deck card nodes (screenshots below parent node) ---- */
.deck-card-node {
  position: absolute;
  z-index: 2;
  height: 250px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px -18px rgba(50, 60, 90, 0.28);
}
.deck-card-node.is-active {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow:
    0 26px 60px -22px rgba(120, 110, 240, 0.42),
    0 0 0 4px rgba(139, 111, 240, 0.08);
}
.deck-card-node.is-active:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 70px -20px rgba(120, 110, 240, 0.5),
    0 0 0 4px rgba(139, 111, 240, 0.15);
}
.deck-card-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: block;
  object-fit: cover;
}
.deck-card-caption {
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink2);
  border-top: 1px solid var(--border);
}

/* card navigation arrows — positioned in world space */
.gt-card-arrow {
  position: absolute;
  z-index: 12;
  width: 36px;
  height: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink2);
  font-family: inherit;
  padding: 0;
  box-shadow: 0 2px 8px rgba(50, 60, 90, 0.12);
  transition:
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}
.gt-card-arrow:hover {
  background: var(--blue, #5b8def);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 141, 239, 0.35);
}
.gt-card-arrow-down {
  margin-top: 4px;
}
.gt-card-arrow-up {
  margin-top: -28px;
}

/* beat prev/next arrows */
.gt-beat-arrow {
  position: absolute;
  z-index: 12;
  width: 32px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink2);
  font-family: inherit;
  padding: 0;
  box-shadow: 0 2px 8px rgba(50, 60, 90, 0.12);
  transition:
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}
.gt-beat-arrow:hover {
  background: var(--blue, #5b8def);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 141, 239, 0.35);
}
.gt-beat-arrow-left {
  transform: translate(-40px, -50%);
}
.gt-beat-arrow-right {
  transform: translate(16px, -50%);
}

/* money moment */
.moment-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 14px;
}
.gt-split {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.gt-side {
  flex: 1;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gt-side.brand {
  border-color: rgba(240, 112, 90, 0.4);
  background: rgba(240, 112, 90, 0.07);
}
.gt-side.sap {
  border-color: rgba(91, 141, 239, 0.4);
  background: rgba(91, 141, 239, 0.07);
}
.gt-sidehd {
  font-family: var(--font);
  font-weight: 700;
  font-size: 12.5px;
}
.gt-side.brand .gt-sidehd {
  color: var(--coral);
}
.gt-side.sap .gt-sidehd {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}
.gt-sideln {
  font-size: 11px;
  color: var(--ink2);
}
.gt-arrow {
  align-self: center;
  color: var(--ink3);
  font-size: 16px;
}

/* result node — inverted gradient */
.gt-node.kind-result {
  background: var(--grad);
  border-color: transparent;
}
.gt-node.kind-result .gt-inner {
  color: #fff;
}
.gt-node.kind-result .gt-mod {
  color: rgba(255, 255, 255, 0.7);
}
.gt-node.kind-result .gt-persona {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
.gt-node.kind-result .gt-nodetitle {
  color: #fff;
}
.gt-node.kind-result .gt-metricval {
  color: #fff;
}
.gt-node.kind-result .gt-metricval.t-grad,
.gt-node.kind-result .gt-metricval.t-blue {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}
.gt-node.kind-result .gt-metriclabel {
  color: rgba(255, 255, 255, 0.75);
}
.gt-node.kind-result:hover:not(.is-active) {
  transform: scale(1.01);
  box-shadow: 0 14px 40px -12px rgba(139, 111, 240, 0.5);
}
.gt-node.kind-result.is-active {
  background: var(--grad);
  box-shadow:
    0 26px 60px -22px rgba(120, 110, 240, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* result metrics */
.gt-metrics {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 18px;
}
.gt-metric {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.gt-metricval {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  min-width: 108px;
  letter-spacing: -0.02em;
}
.gt-metricval.t-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gt-metricval.t-blue {
  color: var(--blue);
}
.gt-metriclabel {
  font-size: 18px;
  color: #fff !important;
  max-width: 20ch;
}

/* corner orb */
.gt-mini {
  position: absolute;
  left: 18px;
  bottom: 46px;
  z-index: 6;
  transition: opacity 0.4s ease;
  pointer-events: auto;
}
.gt-mini-lbl {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  color: var(--ink3);
  background: rgba(255, 255, 255, 0.82);
  padding: 3px 9px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px -2px rgba(50, 60, 90, 0.12);
  white-space: nowrap;
  pointer-events: none;
}
.gt-zoom-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--ink3);
  opacity: 0.6;
  margin-left: 6px;
  align-self: center;
  width: 3ch;
  text-align: right;
}

/* controls */
.gt-controls {
  height: 68px;
  flex: 0 0 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  z-index: 5;
}
.gt-statuslabel {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
}
.gt-pager {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gt-nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.gt-nav:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 6px 16px -6px rgba(139, 111, 240, 0.45);
}
.gt-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.gt-status {
  display: flex;
  align-items: center;
  gap: 13px;
}
.gt-marker {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--purple);
}
.gt-dots {
  display: flex;
  gap: 8px;
  margin-left: 6px;
}
.gt-dotnav {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cfd8e6;
  cursor: pointer;
  transition: all 0.25s;
}
.gt-dotnav.on {
  background: var(--grad);
  transform: scale(1.4);
}

/* ---- ORB ---- */
.orb {
  position: relative;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 205deg,
    #5fc6d6,
    #7aa8f0,
    #9a7ff0,
    #e07ad0,
    #f0996a,
    #f2c96f,
    #c9e08a,
    #7fd0c0,
    #5fc6d6
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  opacity: 0.9;
}
.orb-petal {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  filter: blur(calc(var(--osz) * 0.012));
  opacity: 0.72;
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    transform 0.35s ease;
}
.orb-petal.hot {
  opacity: 1;
  filter: blur(calc(var(--osz) * 0.008)) saturate(1.5) brightness(1.1);
  transform-origin: center;
}
.orb-petal.dim {
  opacity: 0.18;
}

/* petal clickable hit areas */
.orb-petal-hit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.orb-petal-hit:hover {
  border-color: var(--petal-c);
  background: radial-gradient(circle, var(--petal-c) 0%, transparent 70%);
  opacity: 0.55;
  box-shadow: 0 0 12px 2px var(--petal-c);
}
.orb-petal-hit.hot {
  border-color: var(--petal-c);
  background: radial-gradient(circle, var(--petal-c) 0%, transparent 60%);
  opacity: 0.4;
  box-shadow: 0 0 18px 4px var(--petal-c);
}
.orb-petal-hit:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

/* core clickable hit area */
.orb-core-hit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28%;
  height: 28%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.orb-core-hit:hover {
  border-color: rgba(139, 111, 240, 0.5);
  background: radial-gradient(
    circle,
    rgba(139, 111, 240, 0.15) 0%,
    transparent 70%
  );
  box-shadow: 0 0 12px 2px rgba(139, 111, 240, 0.3);
}
.orb-core-hit.hot {
  border-color: rgba(139, 111, 240, 0.6);
  box-shadow: 0 0 14px 3px rgba(139, 111, 240, 0.25);
}
.orb-core-hit:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

/* clickable orb cursor hint */
.orb.clickable {
  cursor: default;
}

/* "all" state — entire orb lights up, ring glows */
.orb.all-hot .orb-ring {
  opacity: 1;
  filter: brightness(1.15) saturate(1.2);
  box-shadow: 0 0 18px 4px rgba(139, 111, 240, 0.25);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease;
}
.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  height: 44%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 38%,
    rgba(255, 255, 255, 0) 72%
  );
  transition: opacity 0.5s ease;
}
.orb-core.hot {
  background: radial-gradient(
    circle at 50% 50%,
    #fff 0%,
    rgba(214, 224, 255, 0.95) 45%,
    rgba(255, 255, 255, 0) 74%
  );
}
.orb-core.soft {
  opacity: 0.7;
}
.orb-disc {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 44%,
    #ffffff 0%,
    #f7f8fc 52%,
    #eef1f7 100%
  );
}
.orb-lbl {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font);
  font-weight: 700;
  color: #2b3240;
  white-space: nowrap;
  z-index: 3;
}
.orb-lbl.outer {
  top: 12.5%;
  font-size: calc(var(--osz) * 0.036);
}
.orb-lbl.mid {
  top: 30%;
  font-size: calc(var(--osz) * 0.034);
  color: #3a4150;
}
.orb-petal-lbl {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--osz) * 0.17);
  text-align: center;
  white-space: pre-line;
  font-family: var(--font);
  font-weight: 600;
  font-size: calc(var(--osz) * 0.026);
  line-height: 1.15;
  color: #39404e;
  z-index: 3;
  pointer-events: none;
}
.orb-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: calc(var(--osz) * 0.44);
}
.orb-core-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: calc(var(--osz) * 0.04);
  color: #1b2330;
  letter-spacing: -0.01em;
}
.orb-core-sub {
  font-size: calc(var(--osz) * 0.024);
  color: #8b94a4;
  margin-top: 2px;
}
.orb-logos {
  display: flex;
  align-items: center;
  gap: calc(var(--osz) * 0.022);
  margin: calc(var(--osz) * 0.022) 0;
}
.orb-logos svg {
  display: block;
}
.orb-sap {
  font-family: var(--font);
  font-weight: 700;
  font-style: italic;
  font-size: calc(var(--osz) * 0.04);
  color: #fff;
  background: linear-gradient(180deg, #00b4f0, #0a6ed1);
  padding: calc(var(--osz) * 0.006) calc(var(--osz) * 0.018);
  border-radius: calc(var(--osz) * 0.008);
  letter-spacing: 0.01em;
}
.orb-built {
  font-size: calc(var(--osz) * 0.022);
  color: #8b94a4;
  margin-top: calc(var(--osz) * 0.006);
}
.orb-sap-img {
  height: calc(var(--osz) * 0.052);
  width: auto;
  display: block;
}
.orb-pill {
  position: absolute;
  top: -4%;
  left: 50%;
  translate: -50% 0;
  z-index: 4;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: calc(var(--osz) * 0.04);
  letter-spacing: -0.01em;
  padding: calc(var(--osz) * 0.018) calc(var(--osz) * 0.045);
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 10px 26px -8px rgba(139, 111, 240, 0.6);
}

/* build animation */
.orb.building .orb-core {
  animation: coreIn 0.7s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}
.orb.building .orb-ring {
  animation: ringIn 0.9s 0.25s ease both;
}
.orb.building .orb-petal {
  animation: petalIn 0.9s cubic-bezier(0.34, 1.3, 0.5, 1) both;
  opacity: 0.72;
}
.orb.building .orb-petal.hot {
  opacity: 1;
}
.orb.building .orb-lbl {
  animation: fadeIn 0.6s 1.3s ease both;
}
.orb.building .orb-petal-lbl {
  animation: fadeIn 0.6s 1.15s ease both;
}
.orb.building .orb-center {
  animation: fadeIn 0.6s 1s ease both;
}
.orb.building .orb-pill {
  animation: pillDrop 0.6s 1.6s cubic-bezier(0.34, 1.5, 0.5, 1) both;
}
@keyframes coreIn {
  from {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@keyframes ringIn {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(-14deg);
  }
  to {
    opacity: 0.9;
    transform: scale(1) rotate(0);
  }
}
@keyframes petalIn {
  from {
    opacity: 0;
  }
  to {
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pillDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .orb.building * {
    animation: none !important;
  }
}

/* intro / cold open */
.intro {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: radial-gradient(120% 100% at 50% 40%, #ffffff 0%, #f4f7fd 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transform-origin: 50% 46%;
  transition:
    transform 0.9s cubic-bezier(0.76, 0, 0.9, 0.2),
    opacity 0.9s ease;
}
.intro.diving {
  transform: scale(7);
  opacity: 0;
  pointer-events: none;
}
.intro-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d5dded 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.8;
  pointer-events: none;
}
.intro-copy {
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  margin-top: calc(var(--osz, 460px) * -0.02);
}
.intro-copy.ready {
  opacity: 1;
  transform: translateY(10px);
}
.intro-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  color: var(--ink);
}
.intro-sub {
  color: var(--ink2);
  font-size: 14px;
  margin: 8px 0 0;
  max-width: 42ch;
}
.intro-cta {
  margin-top: 18px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 14px 34px -10px rgba(139, 111, 240, 0.6);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.intro-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -10px rgba(139, 111, 240, 0.72);
}

/* ---- demo modal ---- */
.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(15, 20, 30, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.25s ease both;
}
.modal-content {
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(40, 50, 100, 0.5),
    0 0 0 1px var(--border);
  animation: modalSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
}
.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-module {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--purple);
  font-weight: 600;
}
.modal-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  flex: 1;
}
.modal-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink2);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover {
  border-color: var(--purple);
  color: var(--ink);
  box-shadow: 0 4px 12px -4px rgba(139, 111, 240, 0.4);
}
.modal-caption {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.55;
  margin: 0;
}

/* landscape (web) */
.modal-content.is-landscape {
  width: 94%;
  max-width: 1400px;
}
.modal-body-landscape {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 44px;
}
.modal-laptop {
  flex: 0 0 auto;
  width: min(780px, 60vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 20px 50px rgba(20, 30, 60, 0.45));
}
.modal-laptop-screen {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #0f1420;
  border: 3px solid #2a2e3a;
  border-bottom: none;
  position: relative;
}
.modal-laptop-screen .modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-laptop-base {
  width: calc(100% + 40px);
  height: 14px;
  background: linear-gradient(180deg, #2a2e3a 0%, #1a1e2a 100%);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.modal-laptop-base::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: #3a3e4a;
}
.is-landscape .modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f1420;
  min-height: 200px;
  flex: 1 1 auto;
}
.is-landscape .modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.is-landscape .modal-caption {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.is-landscape > img {
  width: 100%;
  max-height: calc(100dvh - 120px);
  object-fit: contain;
}

/* portrait (phone) */
.modal-content.is-portrait {
  width: auto;
  max-width: 960px;
}
.modal-body-portrait {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 44px;
}
.modal-device {
  flex: 0 0 auto;
  width: auto;
  height: min(680px, calc(100dvh - 160px));
  aspect-ratio: 1/2;
  border-radius: 32px;
  background: #1a1e2a;
  padding: 12px 8px 12px;
  box-shadow:
    0 20px 50px -15px rgba(20, 30, 60, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.modal-device-notch {
  width: 80px;
  height: 6px;
  border-radius: 4px;
  background: #0f1218;
  margin-bottom: 6px;
  flex: 0 0 6px;
}
.modal-device-screen {
  flex: 1;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #0f1420;
  position: relative;
}
.modal-device-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #000;
  z-index: 5;
  pointer-events: none;
}
.modal-device-screen .modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-caption.side {
  flex: 1;
  padding: 0;
  border: none;
  max-width: 38ch;
  margin-left: auto;
}

/* form-factor toggle (Mobile / Fiori) — lives inside .modal-header */
.ff-toggle {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.ff-toggle button {
  font: 500 11px/1 var(--ff);
  padding: 4px 12px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.ff-toggle button:hover {
  border-color: var(--ink3);
  color: var(--ink);
}
.ff-toggle button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* compare */
.modal-content.is-compare {
  width: 96%;
  max-width: 1600px;
}
.is-compare .modal-caption {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.is-compare .modal-device {
  box-shadow: none;
  height: min(680px, calc(100dvh - 380px));
}

/* compare: side-by-side phones (portrait) */
.cmp-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 72px;
  position: relative;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
}
.cmp-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cmp-phone-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: none;
}
.cmp-phone-label.manual {
  background: rgba(15, 20, 30, 0.08);
  color: var(--ink2);
}
.cmp-phone-label.ai {
  background: var(--grad);
  color: #fff;
}
.cmp-phone-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.cmp-phone-divider .cmp-line {
  background: var(--border);
  box-shadow: none;
}
.cmp-phone-divider .cmp-handle {
  pointer-events: auto;
  box-shadow: none;
}

/* compare: slider (landscape) */
.cmp-wrap {
  position: relative;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  background: #0f1420;
}
.cmp-wrap.cmp-landscape {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: calc(100dvh - 140px);
}
.cmp-vid {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.cmp-manual {
  z-index: 1;
}
.cmp-ai-clip {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}
.cmp-ai-clip .cmp-vid {
  left: 0;
  width: var(--cmp-w);
  min-width: var(--cmp-w);
}
.cmp-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.cmp-line {
  flex: 1;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}
.cmp-handle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 4px 16px -4px rgba(139, 111, 240, 0.7),
    0 0 0 3px rgba(255, 255, 255, 0.9);
  pointer-events: auto;
  cursor: col-resize;
  flex: 0 0 40px;
}
.cmp-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.cmp-label-left {
  left: 14px;
  background: rgba(15, 20, 30, 0.7);
  color: rgba(255, 255, 255, 0.85);
}
.cmp-label-right {
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(139, 111, 240, 0.3);
}

/* compare: video controls bar */
.cmp-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  cursor: default;
}
.cmp-wrap:hover .cmp-controls,
.cmp-phones:hover .cmp-controls {
  opacity: 1;
  pointer-events: auto;
}
.cmp-controls button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  line-height: 0;
  display: grid;
  place-items: center;
}
.cmp-controls button:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* compare: click-to-anchor selection UI */
.cmp-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 32px;
}
.cmp-select-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  background: #f0f2f7;
  border-radius: 10px;
  padding: 4px;
}
.cmp-select-tab {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cmp-select-tab.manual {
  background: transparent;
  color: var(--ink2);
}
.cmp-select-tab.manual.active {
  background: rgba(15, 20, 30, 0.08);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.cmp-select-tab.ai {
  background: transparent;
  color: var(--ink2);
}
.cmp-select-tab.ai.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(139, 111, 240, 0.5);
}
.cmp-select-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.cmp-select-phones .cmp-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  transform: scale(0.72);
  opacity: 0.5;
}
.cmp-select-phones .cmp-phone-col.anchored {
  transform: scale(1);
  opacity: 1;
}
.cmp-select-phones .cmp-phone-col:not(.anchored):hover {
  opacity: 0.7;
  transform: scale(0.75);
}
.cmp-select-phones .cmp-phone-col .modal-device {
  transition: box-shadow 0.35s ease;
}
.cmp-select-phones .cmp-phone-col.anchored .modal-device {
  box-shadow:
    0 24px 60px -15px rgba(20, 30, 60, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 4px rgba(139, 111, 240, 0.2);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 680px) {
  .gt-title {
    display: none;
  }
  .gt-statuslabel {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .gt-mini {
    display: none;
  }
  .modal-content.is-landscape {
    width: 96%;
  }
  .modal-content.is-portrait {
    width: 92%;
  }
  .modal-content.is-compare {
    width: 96%;
  }
  .modal-body-landscape {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .modal-laptop {
    width: min(100%, 90vw);
  }
  .modal-body-portrait {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .modal-device {
    width: auto;
    height: min(480px, calc(100dvh - 200px));
  }
  .modal-caption.side {
    max-width: none;
    text-align: center;
  }
  .cmp-label {
    font-size: 11px;
    padding: 4px 10px;
  }
  .cmp-phones {
    padding: 16px 20px;
    gap: 16px;
  }
  .cmp-wrap.cmp-portrait {
    width: 200px;
    height: min(356px, calc(100dvh - 200px));
  }
}

/* ---- login page ---- */

.login-backdrop {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    130% 120% at 50% -20%,
    #ffffff 0%,
    #f6f8fd 55%,
    #eef2fb 100%
  );
  font-family:
    "articulat-cf", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}

.login-card {
  background: #fff;
  border: 1px solid #e7eaf1;
  border-radius: 20px;
  padding: 48px 40px;
  width: 380px;
  max-width: 90vw;
  box-shadow:
    0 20px 60px -20px rgba(91, 141, 239, 0.15),
    0 0 0 1px rgba(231, 234, 241, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.login-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.login-title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #1b2330;
  margin: 0;
}

.login-flow {
  font-size: 15px;
  font-weight: 500;
  color: #1b2330;
  margin: 4px 0 0;
}

.login-subtitle {
  font-size: 13px;
  color: #5c6879;
  margin: 2px 0 16px;
}

.login-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid #e7eaf1;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  color: #1b2330;
  background: #fafbfe;
  box-sizing: border-box;
}

.login-input:focus {
  border-color: #5b8def;
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.12);
}

.login-input:disabled {
  opacity: 0.6;
}

.login-input + .login-input {
  margin-top: 8px;
}

.login-error {
  color: #f0705a;
  font-size: 12.5px;
  font-weight: 500;
  margin: 4px 0 0;
  text-align: center;
}

.login-btn {
  width: 100%;
  margin-top: 14px;
  font-family:
    "articulat-cf", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(100deg, #4f9be8 0%, #8a6ff0 52%, #ee6a54 100%);
  box-shadow: 0 14px 34px -10px rgba(139, 111, 240, 0.5);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.login-btn:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 18px 40px -10px rgba(139, 111, 240, 0.6);
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
