:root {
  --pink: #ff3b8a;
  --pink-soft: rgba(255, 59, 138, 0.18);
  --bg-dark: #050816;
  --bg-panel: rgba(13, 18, 36, 0.8);
  --muted: #9ca3af;
  --white: #ffffff;
  --page-max-width: 1200px;
  --section-max-width: 760px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.3);
  --transition: 150ms ease;
  --ui-scale: 1.12;
  --font-display: "Space Grotesk", "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: #050816;
  background: radial-gradient(circle at top, #131a3a 0%, #050816 50%, #02010a 100%);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

section {
  /* width: min(100%, 980px); */
  margin: 0 auto 2.6rem;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

section > * {
  max-width: min(var(--section-max-width), 72ch);
  width: 100%;
  margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-text,
.page-title,
.card-title,
.footer-title {
  font-family: var(--font-display);
}

.page {
  position: relative;
  width: 100%;
  margin-inline: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#headerMount {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0.65rem clamp(1rem, 3vw, 1.6rem) 0.35rem;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.92) 0%, rgba(5, 8, 22, 0.82) 45%, rgba(5, 8, 22, 0) 100%);
  backdrop-filter: blur(12px);
}

[data-view-root] {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  transition: opacity 200ms ease, transform 200ms ease;
}

[data-view-root] > main {
  flex: 1;
}

[data-view-root].is-ready {
  opacity: 1;
  transform: none;
}

[data-view-root].is-fading {
  opacity: 0;
  transform: translateY(12px);
}

.bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.bg-video::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at top left, #4f46e5 0%, transparent 45%),
    radial-gradient(circle at bottom right, #ff9fc6 0%, transparent 40%),
    radial-gradient(circle at bottom, #111827 15%, #02010a 70%);
  opacity: 0.7;
  mix-blend-mode: screen;
}

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.top-nav {
  --nav-height: 76px;
  padding: 0.75rem clamp(1.2rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  position: sticky;
  top: 0.5rem;
  max-width: var(--page-max-width);
  margin-inline: auto;
  width: 100%;
  background: rgba(10, 15, 28, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: padding var(--transition), background-color var(--transition), border-color var(--transition), top var(--transition);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
}

.nav-left:hover {
  text-decoration: none;
}

.nav-left:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

.logo-pill {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 59, 138, 0.12);
  border: 1px solid rgba(255, 59, 138, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
  padding: 3px;
}

.logo-pill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.logo-text span {
  opacity: 0.75;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.nav-mobile {
  display: none;
}

@media (max-width: 920px) {
  .top-nav {
    top: 0.35rem;
    z-index: 60;
  }

  .nav-right {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-mobile {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--nav-height, 76px) + 8px);
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-width: 0;
    background: rgba(10, 15, 28, 0.95);
    box-shadow: var(--shadow-soft);
    padding: 0;
    z-index: 55;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 220ms ease, opacity 200ms ease, transform 200ms ease;
    pointer-events: none;
  }

  .nav-mobile.is-open {
    padding: 0.85rem;
    border-width: 1px;
    max-height: calc(100vh - (var(--nav-height, 76px) + 32px));
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.nav-mobile-body {
  display: grid;
  gap: 0.55rem;
  max-width: 520px;
  margin: 0 auto;
}

.mobile-link {
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.mobile-link.is-active {
  border-color: rgba(255, 59, 138, 0.4);
  box-shadow: 0 10px 24px rgba(255, 59, 138, 0.14);
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.14), rgba(15, 23, 42, 0.92));
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.mobile-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-top: 0.2rem;
}

body.nav-mobile-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  body.nav-mobile-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.55);
    backdrop-filter: blur(6px);
    z-index: 40;
  }
}

.nav-chip-group {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.4rem;
  background: rgba(10, 15, 28, 0.75);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  position: relative;
}

.nav-chip {
  border-radius: 10px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--white);
  opacity: 0.75;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition:
    background-color var(--transition),
    color var(--transition),
    opacity var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

.nav-chip.is-active {
  opacity: 1;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 59, 138, 0.18));
  border: 1px solid rgba(255, 59, 138, 0.35);
  box-shadow: 0 12px 26px rgba(255, 59, 138, 0.15);
}

.nav-chip:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav-chip:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.35);
  outline-offset: 2px;
  opacity: 1;
}

.nav-chip.primary {
  background: var(--pink);
  color: #0b0d17;
  opacity: 1;
  box-shadow: none;
  font-weight: 600;
}

.nav-chip.primary:hover {
  background: #e6347a;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.35rem;
}

.nav-chip.ghost {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.is-hidden {
  display: none !important;
}

.nav-profile-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 59, 138, 0.28);
}

.mobile-user {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.nav-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, 92vw);
  min-width: 280px;
  max-width: 480px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(10, 15, 28, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  display: none;
  z-index: 25;
}

.nav-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 18px;
  width: 14px;
  height: 14px;
  background: rgba(10, 15, 28, 0.92);
  border-left: 1px solid rgba(148, 163, 184, 0.35);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  transform: rotate(45deg);
}

.nav-popover.is-open {
  display: block;
  animation: fadeUp 0.2s ease;
}

.nav-popover-header {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.6rem;
}

.nav-popover-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-popover-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-popover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.4rem;
}

.nav-popover-link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.45rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: var(--white);
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-popover-link:hover {
  background: rgba(22, 30, 52, 0.95);
  border-color: rgba(255, 59, 138, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.nav-popover-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 59, 138, 0.14);
  border: 1px solid rgba(255, 59, 138, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pink);
}

.nav-popover-label {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-popover-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.05rem;
}

.nav-popover-footer {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.nav-popover-footer .btn {
  padding: 0.55rem 0.9rem;
}

.scene {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  padding: clamp(1rem, 3vw, 2rem);
  align-items: start;
  column-gap: 1.4rem;
  row-gap: 1.6rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.scene.share-preview-mode {
  grid-template-columns: minmax(340px, 520px);
  justify-content: center;
}

.scene.share-preview-mode .visual-loop-panel {
  display: none;
}

.visual-loop-panel {
  display: grid;
  place-items: center;
  gap: 0.9rem;
  align-self: center;
  width: 100%;
  max-width: 560px;
  padding: 0.75rem;
  max-height: calc(100vh - 220px);
  margin-inline: auto;
  overflow: auto;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}
.loop-caption {
  max-width: 420px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  scroll-snap-align: center;
}

.visual-loop-panel::-webkit-scrollbar {
  width: 8px;
}

.visual-loop-panel::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 20px;
}

.visual-loop-panel::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 640px) {
  .visual-loop-panel {
    max-height: none;
    padding: 0.8rem 0.25rem;
    scroll-snap-type: y mandatory;
    align-self: stretch;
  }
}

.drop-visual-panel {
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 981px) {
  .drop-visual-panel {
    position: sticky;
    top: 26%;
    transform: translateY(-50%);
    align-self: start;
    padding-inline: clamp(0.5rem, 2vw, 1.25rem);
  }

  .drop-visual-panel .drop-visual {
    margin-inline-start: auto;
  }
}

.drop-visual {
  position: relative;
  width: min(100%, 920px);
  min-height: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 59, 138, 0.18), transparent 36%),
    radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(5, 8, 22, 0.95), rgba(12, 18, 36, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.44);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  isolation: isolate;
  scroll-snap-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.drop-visual::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 65% 30%, rgba(56, 189, 248, 0.18), transparent 40%),
    radial-gradient(circle at 30% 70%, rgba(255, 59, 138, 0.2), transparent 42%);
  filter: blur(60px);
  opacity: 0.7;
  animation: dropAurora 18s ease-in-out infinite;
  z-index: 0;
}

.drop-visual::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  opacity: 0.7;
  mix-blend-mode: screen;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.drop-gradient {
  position: absolute;
  inset: 8% 6%;
  border-radius: 22px;
  background: repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.01) 10px,
      rgba(255, 255, 255, 0.04) 24px
    ),
    linear-gradient(120deg, rgba(255, 59, 138, 0.1), rgba(56, 189, 248, 0.12));
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: dropSweep 14s linear infinite;
  z-index: 0;
}

.drop-rings {
  position: relative;
  display: grid;
  gap: 0.55rem;
  z-index: 1;
  align-self: stretch;
  padding: 0.35rem 0 0.35rem 0.35rem;
}

.drop-ring {
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 14px 30px rgba(0, 0, 0, 0.35);
}

.drop-ring::after {
  content: "";
  position: absolute;
  inset: -20% 10% -20% -30%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  opacity: 0.7;
  animation: dropGlint 5s ease-in-out infinite;
}

.drop-ring.ring-a {
  background: linear-gradient(90deg, rgba(255, 59, 138, 0.5), rgba(56, 189, 248, 0.4));
}

.drop-ring.ring-b {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.5), rgba(255, 255, 255, 0.2));
  animation-delay: 0.35s;
}

.drop-ring.ring-c {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(79, 70, 229, 0.4));
  animation-delay: 0.6s;
}

.drop-specks {
  position: absolute;
  inset: 12% 6%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  z-index: 2;
  pointer-events: none;
}

.drop-specks span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(56, 189, 248, 0.7));
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
  animation: sparkFloat 6s ease-in-out infinite;
  opacity: 0.8;
}

.drop-specks span:nth-child(2) {
  justify-self: end;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 59, 138, 0.6));
  animation-delay: 0.4s;
}

.drop-specks span:nth-child(3) {
  align-self: end;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(34, 197, 94, 0.7));
  animation-delay: 0.8s;
}

.drop-specks span:nth-child(4) {
  justify-self: end;
  align-self: end;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(79, 70, 229, 0.6));
  animation-delay: 1.2s;
}

.drop-meter {
  position: absolute;
  left: clamp(1rem, 3vw, 1.6rem);
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  background: rgba(9, 12, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.meter-dot {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #3b82f6, #a855f7);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  animation: dropMeterPulse 2.6s ease-in-out infinite;
}

.meter-dot:nth-child(2) {
  animation-delay: 0.35s;
}

.meter-dot:nth-child(3) {
  animation-delay: 0.7s;
}

.drop-message {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 0.45rem;
  text-align: left;
  color: var(--white);
  padding: 1.2rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(7, 11, 24, 0.9), rgba(17, 24, 39, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.06), 0 14px 34px rgba(0, 0, 0, 0.4);
  max-width: 380px;
}

.drop-message::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 80%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 59, 138, 0.8), rgba(56, 189, 248, 0.8));
  opacity: 0.85;
}

.drop-title {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.drop-sub {
  color: var(--muted);
  margin: 0;
}

.drop-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  width: fit-content;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.drop-visual.is-dragging {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 59, 138, 0.35);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.55);
}

.drop-visual.is-dragging::after {
  opacity: 1;
}

.drop-visual.is-dragging .drop-chip {
  background: rgba(255, 59, 138, 0.22);
  color: var(--pink);
  transform: translateY(-1px);
}

.drop-caption {
  max-width: 620px;
  text-align: center;
}

@media (max-width: 920px) {
  .drop-visual {
    grid-template-columns: 1fr;
    min-height: 360px;
    aspect-ratio: auto;
    padding: 1.35rem 1.2rem 1.6rem;
  }

  .drop-message {
    max-width: none;
  }
}

.page-shell {
  position: relative;
  padding: 1.4rem clamp(1.2rem, 3vw, 2.1rem) 2.2rem;
  display: grid;
  gap: 1.35rem;
  max-width: var(--page-max-width);
  margin-inline: auto;
  width: 100%;
  justify-items: center;
}

.page-shell > section {
  /* width: min(100%, 1120px); */
}

.pricing-shell {
  max-width: 980px;
  padding: 1.2rem clamp(1.1rem, 4vw, 1.8rem) 1.8rem;
  gap: 1.1rem;
}

.pricing-shell .page-hero {
  text-align: center;
  align-items: center;
  justify-items: center;
  gap: 0.6rem;
}

.pricing-shell .page-hero > * {
  max-width: 640px;
}


.pricing-shell .plan-grid {
  max-width: 960px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.pricing-shell .plan-card {
  min-height: unset;
}

@media (max-width: 920px) {
  .pricing-shell .page-hero {
    text-align: center;
    gap: 0.65rem;
  }

  .pricing-shell .page-title {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
    line-height: 1.22;
  }

  .pricing-shell .page-lead {
    font-size: 0.95rem;
  }

  .pricing-shell .plan-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-shell .plan-card {
    align-items: flex-start;
  }
}

.page-hero {
  max-width: 920px;
  display: grid;
  gap: 0.55rem;
  margin-inline: auto;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.page-lead {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 64ch;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, auto));
  gap: 0.55rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.info-grid.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 540px;
}

.info-card {
  background: rgba(15, 23, 42, 0.82);
  border-radius: 16px;
  padding: 1rem 1.1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.35rem;
}

.info-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.info-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.price-value {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.price-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.15rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list li {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.check-list li::before {
  content: "•";
  color: var(--pink);
  line-height: 1;
  font-weight: 700;
}

/* Medium screens: center the card a bit nicer */
@media (max-width: 980px) {
  .scene {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.4rem 1.6rem 1.9rem;
    row-gap: 1.9rem;
    justify-items: center;
  }

  .visual-loop-panel {
    display: none;
  }

  .card-upload {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .page-shell {
    padding: 1.5rem 1.35rem 2rem;
  }
}

.card-upload {
  position: relative;
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  align-self: center;
  justify-self: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    margin-top var(--transition);
}

.card-upload::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 59, 138, 0.16), transparent 45%),
    radial-gradient(circle at 78% 16%, rgba(79, 70, 229, 0.14), transparent 46%);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.card-upload:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.card-upload:hover::before {
  opacity: 0.82;
  transform: translateY(-2px);
}

.card-upload.reveal-on-scroll.is-visible::before {
  opacity: 0.75;
}

@media (min-width: 981px) {
  .card-upload {
    margin-top: 0;
  }
}

.card-upload-inner {
  position: relative;
  z-index: 1;
}

.card-headline {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.badge-mini {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.4rem;
  width: fit-content;
  max-width: 100%;
}

.badge-mini span {
  color: var(--pink);
}

.card-title {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-upload.access-loaded .card-headline,
.card-upload.access-loaded .security-strip,
.card-upload.access-loaded .mode-toggle,
.card-upload.access-loaded .panel-upload,
.card-upload.access-loaded .access-fields {
  display: none;
}

.card-upload.access-loaded .panel-access {
  margin-top: 0;
}

.card-upload.share-complete .card-headline,
.card-upload.share-complete .security-strip,
.card-upload.share-complete .mode-toggle,
.card-upload.share-complete .panel-access,
.card-upload.share-complete .form-footer,
.card-upload.share-complete .upload-form {
  display: none;
}

.card-upload.share-complete .inline-file {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-top: 0.5rem;
}

.panel-access .input-error {
  display: none;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fecdd3;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.panel-access .input-error.is-visible {
  display: block;
}

.error-banner {
  display: none;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fecdd3;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
}

.error-banner.is-visible {
  display: grid;
  gap: 0.25rem;
}

.security-strip {
  display: grid;
  margin: 0.4rem 0 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.14), rgba(79, 70, 229, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.35);
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.security-bit {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.security-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c7d2fe;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.security-copy {
  display: grid;
  line-height: 1.3;
  gap: 0.08rem;
}

.security-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.autosave-note {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.93rem;
  letter-spacing: 0.01em;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
}

/* SPONSORSHIP strip */
.sponsor-strip {
  margin: 0.15rem 0 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 59, 138, 0.16),
    rgba(79, 70, 229, 0.14)
  );
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.sponsor-label {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.66rem;
  color: var(--white);
}

.sponsor-brand {
  color: #e5e7eb;
  white-space: nowrap;
}

.mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  box-shadow: none;
}

.mode-btn {
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.mode-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.mode-btn.active {
  background: linear-gradient(90deg, rgba(255, 59, 138, 0.16), rgba(79, 70, 229, 0.16));
  color: #fdf2f8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

button,
.mode-btn,
.mode-btn:hover,
.mode-btn:focus-visible,
.mode-btn.active,
.btn,
.btn-primary,
.btn-secondary,
.btn-transfer,
.nav-chip,
.nav-chip.primary,
.visual-play {
  box-shadow: none;
}

.panel {
  display: none;
  margin-top: 1rem;
}

.panel.is-visible {
  display: block;
  animation: fadeUp 0.16s ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  transition: opacity 320ms ease, transform 360ms ease, filter 360ms ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
    will-change: auto !important;
  }
}

.api-shell {
  display: grid;
  gap: 1.75rem;
}

.api-shell section {
  width: min(100%, 1100px);
}

.api-hero {
  align-items: center;
  justify-items: center;
  text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.api-hero .hero-copy {
  max-width: 620px;
}

.api-hero-window {
  background: linear-gradient(135deg, rgba(255, 59, 138, 0.14), rgba(12, 16, 32, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(5, 8, 22, 0.8));
}

.window-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.window-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  opacity: 0.7;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.14);
}

.window-dots .dot.red {
  background: #ff5f56;
}

.window-dots .dot.amber {
  background: #ffbd2e;
}

.window-dots .dot.green {
  background: #27c93f;
}

.window-label {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.window-chip {
  padding: 0.32rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.85rem;
}

.api-terminal {
  padding: 0.9rem;
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  background: rgba(12, 16, 32, 0.8);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 0.4rem;
}

.terminal-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--white);
}

.terminal-line .prompt {
  color: #6ee7b7;
  font-weight: 800;
}

.api-window-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem;
  width: min(100%, 1100px);
  justify-content: center;
  margin: 0 auto 0.6rem;
}

.api-window {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
}

.terminal-block {
  margin: 0;
  padding: 1rem 1.1rem;
  background: rgba(12, 16, 32, 0.92);
  color: #d1d5db;
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: pre-wrap;
}

.window-footer {
  padding: 0.7rem 1rem 0.9rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.window-footer.muted {
  color: var(--muted);
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
  width: min(100%, 1100px);
}

.endpoint-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(12, 16, 32, 0.9));
  display: grid;
  gap: 0.55rem;
  box-shadow: var(--shadow-soft);
}

.endpoint-card h3 {
  font-size: 1.15rem;
}

.endpoint-card p {
  color: var(--muted);
}

.endpoint-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 59, 138, 0.12);
  border: 1px solid rgba(255, 59, 138, 0.35);
  font-weight: 700;
  width: fit-content;
}

.endpoint-list {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  padding-left: 0;
}

.endpoint-list li {
  color: var(--muted);
}

.endpoint-list.inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.endpoint-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

@keyframes dropAurora {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: rotate(8deg) scale(1.04);
    opacity: 0.85;
  }
  100% {
    transform: rotate(14deg) scale(1.02);
    opacity: 0.65;
  }
}

@keyframes dropSweep {
  from {
    transform: translateX(-15%);
  }
  to {
    transform: translateX(15%);
  }
}

@keyframes dropGlint {
  0% {
    transform: translateX(-50%);
    opacity: 0.6;
  }
  50% {
    transform: translateX(40%);
    opacity: 1;
  }
  100% {
    transform: translateX(80%);
    opacity: 0.7;
  }
}

@keyframes sparkFloat {
  0%,
  100% {
    transform: translateY(0) scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) scale(1);
    opacity: 1;
  }
}

@keyframes dropMeterPulse {
  0%,
  100% {
    transform: scaleX(0.88);
    opacity: 0.8;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.source-panel {
  display: none;
}

.source-panel.is-visible {
  display: block;
  animation: fadeUp 0.16s ease;
}

.code-box {
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: none;
}

.code-box-large {
  padding: 1.25rem 1.25rem 1.15rem;
}

.code-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.code-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(209, 213, 219, 0.9);
}

.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;
}

.code-availability {
  font-size: 0.72rem;
  color: var(--muted);
}

.code-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.code-action-row {
  margin-top: 0.35rem;
}

.code-action-row .btn {
  width: 100%;
}

.access-fields.is-hidden {
  display: none;
}

.access-result {
  display: none;
  position: relative;
}

.access-result.is-visible {
  display: block;
}

.access-result-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 1.2rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(79, 70, 229, 0.38);
  background: linear-gradient(145deg, rgba(12, 18, 34, 0.96), rgba(14, 20, 38, 0.9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.access-result-card::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 18px;
  background: radial-gradient(circle at 25% 20%, rgba(255, 59, 138, 0.14), transparent 42%),
    radial-gradient(circle at 80% 30%, rgba(79, 70, 229, 0.14), transparent 45%);
  opacity: 0.65;
  pointer-events: none;
}

.access-result.is-loading .access-result-card {
  border-color: rgba(79, 70, 229, 0.55);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
}

.result-header {
  display: contents;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.result-titles {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.result-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  padding-right: 0px;
}

.result-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.result-meta {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.result-detail {
  color: #e5e7eb;
  margin: 0;
  line-height: 1.55;
}

.result-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
}

.result-chip span {
  font-weight: 800;
  color: var(--pink);
}

.result-body {
  display: grid;
  gap: 0.65rem;
  z-index: 1;
}

.result-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.4), transparent);
  border-radius: 999px;
}

.result-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.result-actions .btn {
  min-width: 160px;
}

.result-loading {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(10, 14, 28, 0.92);
  border: 1px solid rgba(79, 70, 229, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.access-result.is-loading .result-loading {
  display: flex;
}

.access-result.is-loading .result-actions {
  opacity: 0.5;
  pointer-events: none;
}

.loader-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 59, 138, 0.85), rgba(79, 70, 229, 0.65));
  animation: pulseDot 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(255, 59, 138, 0.2);
}

.loader-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.3s;
}

.loader-copy {
  display: grid;
  gap: 0.1rem;
}

.loader-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.loader-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-5px) scale(1.12);
    opacity: 1;
  }
}

.code-hint {
  font-size: 0.72rem;
  color: var(--muted);
}

.inline-file {
  margin-top: 1.1rem;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 0.9rem 1.1rem;
  align-items: flex-start;
  border-radius: 16px;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255, 59, 138, 0.35);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(10, 14, 26, 0.92));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  justify-items: start;
  transition:
    opacity 200ms ease,
    transform 220ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.inline-file.is-visible {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  border-color: rgba(255, 59, 138, 0.55);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}

.inline-file .file-pill {
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 138, 0.5);
  background: rgba(255, 59, 138, 0.16);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.inline-file .file-details {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.inline-file .file-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inline-file .file-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.inline-file .file-actions {
  display: grid;
  gap: 0.45rem;
  min-width: 180px;
  width: 100%;
}

.inline-file .file-actions .btn {
  width: 100%;
  padding: 0.6rem 0.75rem;
}

@media (max-width: 760px) {
  .inline-file {
    grid-template-columns: 1fr;
    align-items: start;
    max-width: none;
  }

  .inline-file .file-actions {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

.float-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Floating label – centered on border when focused/filled */
.floating-label {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.9);
  pointer-events: none;
  padding: 0 0.25rem;
  background: transparent;
  transition:
    color var(--transition),
    font-size var(--transition),
    top var(--transition),
    transform var(--transition),
    background-color var(--transition);
}

.float-control {
  background: rgba(11, 16, 28, 0.9);
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.05rem 0.95rem 0.7rem;
  font-size: 0.78rem;
  color: var(--white);
  outline: none;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
  resize: vertical;
  min-height: 0;
}

.float-control::placeholder {
  color: transparent;
}

.float-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 59, 138, 0.28);
  background: #0b1224;
  padding: 1.1rem 1.05rem 0.8rem;
  border-width: 1.5px;
}

.float-field.is-focused .floating-label,
.float-field.has-text .floating-label,
.input-shell:focus-within .floating-label,
.input-shell.has-text .floating-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.68rem;
  background: rgba(9, 12, 23, 0.98);
  border-radius: 999px;
  color: var(--pink);
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 16, 28, 0.9);
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.95rem 0.95rem 0.75rem;
  flex: 1;
  min-width: 0;
  min-height: 58px;
  position: relative;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}

.input-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 59, 138, 0.16);
  border: 1px solid rgba(255, 59, 138, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pink);
  flex-shrink: 0;
}

.input-ghost {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--white);
  width: 100%;
  font-size: 0.9rem;
  outline: none;
}

.input-ghost::placeholder {
  color: rgba(156, 163, 175, 0.9);
}

/* Extra breathing room for forms outside the index scene */
.page-shell:not(.scene) .field-row {
  margin-bottom: 0.6rem;
}

.page-shell:not(.scene) .input-shell {
  padding-bottom: 1.05rem;
}

.page-shell:not(.scene) .input-shell:focus-within {
  padding-bottom: 1.15rem;
}

.page-shell:not(.scene) .float-control {
  padding-bottom: 0.95rem;
}

.page-shell:not(.scene) .float-control:focus {
  padding-bottom: 1.05rem;
}

.inline-action {
  padding: 0.78rem 1.1rem;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.option-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.source-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.pill-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
  font-size: 0.82rem;
}

.pill-option.source-pill {
  width: 100%;
  align-items: flex-start;
  gap: 0.6rem;
}

.pill-option .pill-copy {
  display: grid;
  gap: 0.12rem;
}

.pill-option .pill-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.pill-option .pill-hint {
  font-size: 0.72rem;
  color: var(--muted);
}

.pill-option:hover {
  background: rgba(22, 30, 52, 0.95);
  border-color: rgba(255, 59, 138, 0.35);
}

.pill-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-option .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill-option .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color var(--transition);
}

.input-shell:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 59, 138, 0.28);
  background: #0b1224;
  padding: 1.05rem 1.05rem 0.85rem;
  border-width: 1.5px;
}

.pill-option input:checked + .dot {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 59, 138, 0.25);
}

.pill-option input:checked + .dot::after {
  background: var(--pink);
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.55rem;
}

.dropzone {
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.07), rgba(56, 189, 248, 0.06));
  border: 1px dashed rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 0.65rem;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
  color: var(--white);
}

.dropzone:hover {
  background: rgba(255, 59, 138, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.dropzone.is-dragging {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 14px 26px rgba(34, 197, 94, 0.22);
  transform: translateY(-3px);
  filter: saturate(1.2);
}

.dropzone:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.4);
  outline-offset: 2px;
}

.drop-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drop-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 59, 138, 0.2);
  border: 1px solid rgba(255, 59, 138, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pink);
}

.file-selected {
  font-size: 0.75rem;
  color: var(--muted);
}

.dropzone-file {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dropzone.has-file .dropzone-empty {
  display: none;
}

.dropzone.has-file .dropzone-file {
  display: grid;
  grid-template-columns: auto 1fr auto;
}

.file-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(255, 59, 138, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.file-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.file-title {
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.file-remove {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--transition), border var(--transition), transform var(--transition);
}

.file-remove:hover,
.file-remove:focus-visible {
  background: rgba(255, 59, 138, 0.18);
  border-color: rgba(255, 59, 138, 0.35);
  transform: translateY(-1px);
}

.primary-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0 0.6rem;
  flex-wrap: wrap;
}

.primary-actions .btn {
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
}

.upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.45rem 0 0.75rem;
}

.upload-action {
  position: relative;
  border-radius: 14px;
  padding: 0.75rem 0.7rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
  overflow: hidden;
}

.upload-action:hover {
  background: rgba(22, 30, 52, 0.9);
  border-color: rgba(255, 59, 138, 0.35);
}

.upload-action:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.4);
  outline-offset: 2px;
}

.upload-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 59, 138, 0.18);
  border: 1px solid rgba(255, 59, 138, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.upload-label {
  font-size: 0.8rem;
  font-weight: 500;
}

.upload-caption {
  font-size: 0.72rem;
  color: var(--muted);
}

.upload-form {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upload-form.is-hidden {
  display: none;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.code-row:focus-within .code-label {
  color: var(--pink);
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.btn:hover {
  background: rgba(22, 30, 52, 0.95);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.4);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--pink);
  color: #0b0d17;
  border-color: var(--pink);
}

.btn-primary:hover {
  background: #e6347a;
}

.btn-primary:focus-visible {
  outline-color: rgba(255, 59, 138, 0.5);
}

.btn-secondary {
  background: rgba(17, 24, 39, 0.75);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(25, 33, 52, 0.95);
  border-color: rgba(148, 163, 184, 0.55);
}

.btn.full-width {
  display: flex;
}

.form-footer {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.expiry-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.72rem;
  color: var(--muted);
  position: relative;
  min-width: 150px;
  z-index: 2;
}

.expiry-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.expiry-group select {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(12, 16, 32, 0.95);
  color: var(--white);
  font-size: 0.82rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  outline: none;
  min-width: 120px;
}

.checkbox-row {
  margin-top: 0.35rem;
}

.checkbox-control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.checkbox-control input {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.85);
  appearance: none;
  display: grid;
  place-items: center;
  position: relative;
  transition: border-color var(--transition), background-color var(--transition);
  box-shadow: none;
}

.checkbox-control input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 6px;
  border: 2px solid transparent;
  border-top: 0;
  border-right: 0;
  transform: translate(-50%, -55%) rotate(-45deg) scale(0.7);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition), border-color var(--transition);
}

.checkbox-control input:checked {
  border-color: var(--pink);
  background: rgba(255, 59, 138, 0.18);
  box-shadow: none;
}

.checkbox-control input:checked::after {
  border-color: var(--pink);
  opacity: 1;
  transform: translate(-50%, -58%) rotate(-45deg) scale(1);
}

.optional-fields {
  display: none;
  margin-top: 0.6rem;
  gap: 0.65rem;
}

.optional-fields.is-visible {
  display: grid;
}

.optional-meta {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.optional-meta p {
  margin: 0;
}

.optional-group {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(11, 16, 28, 0.8);
}

.optional-label {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}

.btn-transfer {
  border-radius: 12px;
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #0b0d17;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-transfer:hover {
  background: #e6347a;
  border-color: #e6347a;
  transform: translateY(-1px);
}

.btn-transfer:active {
  transform: none;
  box-shadow: none;
}

.btn-transfer:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.5);
  outline-offset: 2px;
}

.hint-row {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.hint-row span strong {
  color: var(--pink);
}

.ghost-code {
  padding: 0.32rem 0.65rem;
  border-radius: 12px;
  /* background: rgb(255 255 255 / 85%); */
  /* border: 1px dashed rgba(148, 163, 184, 0.6); */
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  text-decoration: none;
  color: white;
}

.visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-stage {
  position: relative;
  width: min(780px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: radial-gradient(circle at center, #0b1120 0%, #020617 55%, #02010a 100%);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.visual-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 0 100%, rgba(255, 59, 138, 0.45), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.4), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
}

.visual-grid {
  position: absolute;
  inset: 10% 8% 16%;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 0.6)
    );
  overflow: hidden;
}

.visual-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.18) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.18) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  mix-blend-mode: screen;
  opacity: 0.6;
}

.visual-character {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.28),
    0 0 70px rgba(255, 59, 138, 0.5);
  background-image: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.9),
    rgba(248, 250, 252, 0.1)
  );
  overflow: hidden;
}

.visual-character::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.8);
}

.visual-panels {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
}

.visual-panel {
  width: 170px;
  height: 80px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  opacity: 0.85;
  transform: translateY(0);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition),
    border-color var(--transition);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0.25;
}

.visual-panel.is-active {
  opacity: 1;
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 59, 138, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.visual-chip {
  position: absolute;
  top: 6%;
  left: 6%;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
}

.visual-footer {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 0.25rem 0.55rem;
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.visual-footer span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 59, 138, 0.38);
}

.visual-play {
  position: absolute;
  left: 14px;
  top: 10px;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  opacity: 0.95;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
  color: var(--white);
}

.visual-play:hover {
  background: rgba(22, 30, 52, 0.92);
  border-color: rgba(148, 163, 184, 0.65);
  transform: translateY(-1px);
}

.visual-play:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.35);
  outline-offset: 2px;
}

.visual-play span.square {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--pink);
}

.visual-play span {
  color: var(--white);
}

.visual-badge-top {
  position: absolute;
  right: 14px;
  top: 10px;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--white);
}

.visual-badge-top span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
}

.visual-stage::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 59, 138, 0.2), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  filter: blur(12px);
}

.visual-stage.flash::after {
  opacity: 1;
  animation: flashSweep 920ms ease-out;
}

@keyframes flashSweep {
  0% {
    transform: scale(0.98);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

.drop-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 59, 138, 0.18), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(79, 70, 229, 0.2), transparent 48%),
    rgba(5, 8, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 30;
}

/* animated perimeter frame */
.drop-overlay::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 32px;
  border: 1px dashed rgba(255, 59, 138, 0.5);
  opacity: 0;
  pointer-events: none;
}

.drop-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.drop-overlay.active::before {
  opacity: 1;
  animation: dropOverlaySweep 1.2s ease-out infinite;
}

.drop-overlay-box {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 59, 138, 0.35);
  box-shadow: var(--shadow-soft);
  animation: dropOverlayPulse 1.2s ease-out infinite;
}

.drop-overlay-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 59, 138, 0.16);
  border: 1px solid rgba(255, 59, 138, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pink);
  animation: dropOverlayIconBob 0.9s ease-in-out infinite;
}

.drop-overlay-title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.drop-overlay-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

@keyframes dropOverlayPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 138, 0.55);
  }
  100% {
    box-shadow: 0 0 0 36px rgba(255, 59, 138, 0);
  }
}

@keyframes dropOverlaySweep {
  0% {
    transform: scale(0.96);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.02);
    opacity: 0;
  }
}

@keyframes dropOverlayIconBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.site-footer {
  margin-top: auto;
  padding: 1.85rem 2.1rem 2.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(9, 12, 23, 0.88), rgba(5, 8, 22, 0.94));
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.6rem;
  align-items: start;
  max-width: var(--page-max-width);
  margin-inline: auto;
}

.footer-brand {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: start;
}

.footer-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-copy {
  margin-top: 0.22rem;
  line-height: 1.5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.footer-badge {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.75);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-heading {
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  font-size: 0.86rem;
}

.footer-security {
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  gap: 0.4rem;
}

.footer-security .footer-badges {
  margin-top: 0.35rem;
}

.footer-badges.inline {
  display: inline-flex;
}

.footer-links a {
  color: var(--white);
  opacity: 0.78;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
  font-size: 0.84rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--pink);
}

.language-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.language-select select {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  font-weight: 600;
  font-size: 0.86rem;
  appearance: none;
  padding-right: 1.4rem;
  outline: none;
}

.language-select .lang-chip {
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 59, 138, 0.14);
  border: 1px solid rgba(255, 59, 138, 0.35);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.language-select .chevron {
  position: absolute;
  right: 0.6rem;
  color: var(--muted);
  pointer-events: none;
  font-size: 0.8rem;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.footer-bottom {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--white);
  opacity: 0.72;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--pink);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 1.6rem 1.25rem 2rem;
  }

  .footer-brand {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .top-nav {
    padding-inline: 1.25rem;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
  }

  .nav-chip-group {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }

  .scene {
    padding-inline: 1.25rem;
  }

  .page-shell {
    padding: 1.5rem 1.25rem 1.9rem;
  }

  .pricing-shell {
    padding: 1.1rem 1rem 1.6rem;
  }

  .pricing-shell .plan-card {
    text-align: center;
  }

  .page-title {
    font-size: 1.7rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: 100%;
  }

  .plan-grid,
  .resource-grid,
  .case-mosaic,
  .feature-grid,
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared page enhancements */
.hero-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  align-items: center;
  justify-items: center;
  margin-inline: auto;
  width: min(100%, var(--page-max-width));
  --section-max-width: none;
}

.abstract-visual {
  position: relative;
  width: 100%;
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 20% 20%, rgba(255, 59, 138, 0.12), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.18), transparent 48%),
    radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.14), transparent 40%),
    rgba(5, 8, 22, 0.92);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
}

.abstract-visual .orb {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: floatPulse 8s ease-in-out infinite;
}

.abstract-visual .orb-a {
  background: linear-gradient(135deg, rgba(255, 59, 138, 0.9), rgba(255, 255, 255, 0.6));
  top: 12%;
  left: 12%;
}

.abstract-visual .orb-b {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(255, 255, 255, 0.55));
  bottom: 18%;
  right: 10%;
  animation-delay: 0.8s;
}

.abstract-visual .orb-c {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(255, 255, 255, 0.45));
  bottom: 8%;
  left: 22%;
  animation-delay: 1.6s;
}

.abstract-core {
  position: relative;
  width: min(85%, 520px);
  min-height: 140px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 59, 138, 0.08));
  padding: 1.4rem 1.1rem;
  display: grid;
  gap: 0.65rem;
  box-shadow: var(--shadow-strong);
  z-index: 1;
}

.abstract-core .core-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 59, 138, 0.7));
  box-shadow: 0 0 18px rgba(255, 59, 138, 0.3);
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.04);
  }
}

.hero-copy {
  max-width: var(--section-max-width);
  justify-self: stretch;
  width: 100%;
}

.hero-art,
.visual-loop-panel,
.usecase-grid,
.plan-grid,
.resource-grid,
.pricing-grid,
.feature-grid,
.auth-grid,
.card-upload,
.visual-loop {
  --section-max-width: none;
  width: 100%;
}

.hero-copy {
  display: grid;
  gap: 0.7rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.metric-chip,
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.82);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.tag-chip {
  background: rgba(255, 59, 138, 0.12);
  border-color: rgba(255, 59, 138, 0.35);
}

.hero-art {
  position: relative;
  min-height: 320px;
  background: radial-gradient(circle at 25% 20%, rgba(255, 59, 138, 0.12), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(79, 70, 229, 0.12), transparent 50%),
    rgba(8, 12, 24, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
}

.compact-hero {
  align-items: stretch;
}

/* Dashboard layout */
.dashboard-shell {
  width: min(100%, var(--page-max-width));
  margin-inline: auto;
  gap: 1rem;
  padding-inline: clamp(1rem, 3vw, 1.35rem);
}

.dashboard-shell > section {
  /* width: min(96%, 1100px); */
  margin-inline: auto;
  width: 100%;
}

.dashboard-shell > .dashboard-menu {
  width: fit-content;
  height: fit-content;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}

.dashboard-lead {
  display: grid;
  gap: 0.75rem;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.08), rgba(79, 70, 229, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.dashboard-checklist {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  align-content: start;
}

.summary-card {
  background: rgba(8, 12, 24, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.2rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: var(--shadow-soft);
}

.summary-label {
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.summary-value {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.summary-code {
  font-family: "Space Grotesk", var(--font-body);
  font-size: 1.15rem;
  word-break: break-word;
  line-height: 1.5;
}

.summary-url {
  font-family: "Space Grotesk", var(--font-body);
  font-size: 1.02rem;
  word-break: break-word;
}

.summary-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.dashboard-menu {
  display: flex;
  gap: 0;
  background: linear-gradient(145deg, rgba(6, 10, 24, 0.92), rgba(9, 14, 30, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.32);
  padding: 0.55rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: min(100%, 1040px);
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  margin-inline: auto;
  scroll-snap-type: x mandatory;
  overflow: auto;
  position: relative;
  margin-bottom: 0; /* rely on shell gap to set spacing below menu */
  scroll-padding: 0.8rem;
}

.dashboard-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.05), rgba(56, 189, 248, 0.04));
  mix-blend-mode: screen;
}

.dashboard-menu > * {
  position: relative;
  z-index: 1;
}

.menu-tab {
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
  flex: 1 1 0;
  text-align: center;
  scroll-snap-align: center;
  min-width: 150px;
  white-space: nowrap;
}

.menu-tab + .menu-tab {
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.menu-tab:first-child {
  border-radius: 12px 0 0 12px;
}

.menu-tab:last-child {
  border-radius: 0 12px 12px 0;
}

.menu-tab:focus-visible {
  outline: 2px solid rgba(255, 59, 138, 0.35);
  outline-offset: -4px;
}

.menu-tab.active {
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.16), rgba(56, 189, 248, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 59, 138, 0.4), 0 10px 24px rgba(0, 0, 0, 0.35);
  color: var(--white);
}

.dashboard-panel {
  display: none;
  /* width: min(100%, 960px); */
  max-width: 960px;
  margin-inline: auto;
  margin-top: 0;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 24, 0.82);
  padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow-soft);
  gap: 0.8rem;
}

[data-animate].dashboard-panel {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms ease, transform 360ms ease;
}

[data-animate].dashboard-panel.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .dashboard-shell > .dashboard-menu {
    width: 100%;
    max-width: 100%;
  }

  .dashboard-menu {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.6rem 0.75rem;
    gap: 0.35rem;
  }

  .dashboard-menu::after {
    display: none;
  }

  .menu-tab,
  .menu-tab + .menu-tab,
  .menu-tab:first-child,
  .menu-tab:last-child {
    border-radius: 12px;
    border-left: none;
  }

  .menu-tab {
    flex: 0 0 auto;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.03);
    padding-inline: 1rem;
  }
}

@media (max-width: 760px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    padding-inline: clamp(0.8rem, 4vw, 1.1rem);
  }

  .summary-card {
    padding: 1rem 1.05rem;
  }
}

.dashboard-panel.is-visible {
  display: grid;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.billing-card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(12, 16, 32, 0.92);
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
  box-shadow: var(--shadow-soft);
}

.billing-actions {
  display: grid;
  gap: 0.4rem;
}

.billing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.billing-amount {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.billing-note {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.billing-meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.invoice-list {
  display: grid;
  gap: 0.65rem;
}

.invoice-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(8, 12, 24, 0.9);
}

.invoice-title {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.invoice-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.invoice-status {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--white);
  font-weight: 700;
}

.invoice-status.due {
  background: rgba(255, 59, 138, 0.15);
  border-color: rgba(255, 59, 138, 0.35);
  color: var(--white);
}

.invoice-status.paid {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.3);
}

.invoice-actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.plan-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 1, 10, 0.7);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 200;
}

.plan-modal {
  width: min(960px, 100%);
  background: rgba(8, 12, 24, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-strong);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.plan-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plan-modal .plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.plan-modal .plan-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(12, 16, 32, 0.9);
  box-shadow: var(--shadow-soft);
}

.plan-modal .plan-card .price-value {
  font-size: 1.6rem;
}

.plan-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.key-list,
.click-list,
.people-list,
.delivery-list {
  display: grid;
  gap: 0.65rem;
}

.key-card,
.profile-card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  background: rgba(12, 16, 32, 0.9);
  display: grid;
  gap: 0.6rem;
}

.key-card {
  grid-template-columns: 1fr;
}

.key-body {
  display: grid;
  gap: 0.3rem;
}

.key-value {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.key-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.key-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.click-row,
.person-row,
.delivery-row {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.4rem;
  background: rgba(10, 15, 28, 0.9);
}

.delivery-title {
  font-weight: 700;
}

.delivery-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.delivery-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.click-label,
.person-name {
  font-weight: 700;
}

.click-meta,
.click-count,
.person-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-card {
  background: rgba(8, 12, 24, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.panel-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-lead {
  color: var(--muted);
  line-height: 1.5;
}

.workflow-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.workflow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  color: var(--muted);
}

.workflow-list code {
  background: rgba(15, 23, 42, 0.72);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.9rem;
}

.hero-metrics.tight {
  gap: 0.35rem;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.2);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: center;
  padding: 0.28rem 0.85rem;
  min-width: 108px;
  width: fit-content;
  max-width: 100%;
  border-radius: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.85);
}

.tone-green {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.tone-blue {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
}

.tone-pink {
  color: var(--pink);
  border-color: rgba(255, 59, 138, 0.45);
  background: rgba(255, 59, 138, 0.14);
}

.tone-ink {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.9);
}

.tone-amber {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.14);
}

.case-highlights,
.note-stack {
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.case-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.highlight-card,
.note-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.92);
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.25rem;
  box-shadow: var(--shadow-soft);
}

.highlight-card p,
.note-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.note-stack {
  grid-auto-rows: 1fr;
}

.feature-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.orbit-shell {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(140deg, rgba(255, 59, 138, 0.08), rgba(56, 189, 248, 0.1));
  overflow: hidden;
}

.orbit-shell::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.3);
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.4), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 25px rgba(255, 59, 138, 0.2);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.2rem;
}

.core-label {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.core-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.orbit-node {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.orbit-node.node-a {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-node.node-b {
  bottom: 12%;
  left: 12%;
}

.orbit-node.node-c {
  bottom: 8%;
  right: 10%;
}

.orbit-node.node-d {
  top: 12%;
  right: 20%;
}

.stacked-cards {
  display: grid;
  gap: 0.5rem;
}

.stack-card {
  position: relative;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(11, 16, 28, 0.9);
  box-shadow: var(--shadow-soft);
}

.stack-label {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.stack-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.accent-pink {
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.1), rgba(11, 16, 28, 0.9));
}

.accent-blue {
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.1), rgba(11, 16, 28, 0.9));
}

.accent-green {
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.12), rgba(11, 16, 28, 0.9));
}

.feature-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.feature-panel {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
  box-shadow: var(--shadow-soft);
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.check-list.dense {
  gap: 0.2rem;
  margin-top: 0.2rem;
}

.workflow-lane,
.workflow-rail {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.08), rgba(79, 70, 229, 0.08));
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
}

.lane-head,
.board-head {
  display: grid;
  gap: 0.25rem;
}

.lane-steps,
.rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.65rem;
}

.lane-step,
.rail-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.step-id,
.rail-id {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 59, 138, 0.4);
  background: rgba(255, 59, 138, 0.14);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--white);
}

.step-body h4,
.rail-body h4 {
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.step-body p,
.rail-body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.lane-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.82);
  margin: 0.2rem 0;
}

.toggle-label {
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
}

.toggle-label.active {
  color: var(--white);
  background: rgba(255, 59, 138, 0.16);
  border: 1px solid rgba(255, 59, 138, 0.38);
}

.pricing-highlight .highlight-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 59, 138, 0.35);
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.16), rgba(15, 23, 42, 0.92));
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.highlight-card h3 {
  font-size: 1.1rem;
}

.highlight-card p {
  color: var(--muted);
}

.highlight-metrics {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  max-width: 1100px;
  margin-inline: auto;
  justify-content: center;
  justify-items: stretch;
}

.file-code {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  grid-column: 1 / -1;
}

.file-code:not(.is-visible) {
  display: none;
}

.plan-card {
  position: relative;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  display: grid;
  gap: 0.45rem;
  box-shadow: var(--shadow-soft);
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 59, 138, 0.12), transparent 45%);
  pointer-events: none;
}

.plan-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.plan-growth {
  border-color: rgba(255, 59, 138, 0.5);
  box-shadow: 0 16px 34px rgba(255, 59, 138, 0.2);
}

.plan-enterprise {
  border-color: rgba(56, 189, 248, 0.35);
}

.full-width {
  width: 100%;
  text-align: center;
}

.comparison-board {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.92);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.55rem;
}

.board-head h3 {
  font-size: 1.1rem;
}

.matrix {
  display: grid;
  gap: 0.35rem;
}

.matrix-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0.35rem;
  align-items: center;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.matrix-head {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.4);
  font-weight: 700;
}

.matrix-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.9);
  font-size: 0.82rem;
  color: var(--white);
}

.matrix-pill.strong {
  border-color: rgba(255, 59, 138, 0.5);
  background: rgba(255, 59, 138, 0.12);
}

.case-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.case-card {
  border-radius: 16px;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.32);
  display: grid;
  gap: 0.35rem;
  box-shadow: var(--shadow-soft);
}

.case-legal {
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.9));
}

.case-finance {
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.9));
}

.case-product {
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.12), rgba(15, 23, 42, 0.9));
}

.case-art {
  display: grid;
  gap: 0.6rem;
}

.status-card {
  position: relative;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.25rem;
}

.status-card.muted {
  opacity: 0.9;
}

.status-card.compact {
  padding: 0.6rem 0.75rem;
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 59, 138, 0.35);
}

.contact-grid,
.resource-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-grid > *,
.resource-grid > * {
  flex: 1 1 240px;
}

.contact-card,
.resource-card {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.35rem;
}

@media (max-width: 920px) {
  .contact-grid,
  .resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .contact-grid > *,
  .resource-grid > * {
    width: 100%;
  }
}

.contact-form-card {
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
  width: fit-content;
  /* margin-inline: auto; */
  width: min(100%, 900px);
  /* margin-inline: auto; */
}

.contact-form {
  display: grid;
  gap: 0.6rem;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.captcha-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 59, 138, 0.14);
  color: var(--white);
  font-weight: 700;
  border: 1px solid rgba(255, 59, 138, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.captcha-help {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-status {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--green);
}

.contact-card h3 {
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.team-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.85rem;
  box-shadow: var(--shadow-soft);
}

.team-photo {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 59, 138, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 12px 26px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  height: 100%;
  min-height: 88px;
  display: flex;
  align-items: stretch;
}

.team-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.status-art {
  display: grid;
  gap: 0.6rem;
}

.status-board {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.9);
  padding: 0.8rem 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.board-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.board-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.status-mini {
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  padding: 0.65rem 0.75rem;
  background: rgba(11, 16, 28, 0.85);
  display: grid;
  gap: 0.12rem;
  font-size: 0.9rem;
}

.support-band {
  border-radius: 16px;
  border: 1px solid rgba(255, 59, 138, 0.35);
  background: linear-gradient(120deg, rgba(255, 59, 138, 0.18), rgba(11, 16, 28, 0.92));
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
  max-width: 820px;
  margin: 0 auto;
}

.auth-shell .page-title {
  font-size: 1.8rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: start;
}

.auth-story {
  display: grid;
  gap: 0.6rem;
}

.auth-points {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.point-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.9);
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.18rem;
  box-shadow: var(--shadow-soft);
}

.point-card p {
  color: var(--muted);
}

.auth-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.45rem;
  max-width: 420px;
  width: 100%;
  justify-self: end;
}

.auth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 15px;
}

.input-grid {
  display: grid;
  gap: 0.65rem;
}

.input-grid.two-up {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.auth-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.auth-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  color: var(--pink);
  text-decoration: underline;
}

.recovery-panel {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 28, 0.9);
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.recovery-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.recovery-copy {
  color: var(--muted);
  margin-top: 0.25rem;
}

.recovery-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  counter-reset: step;
}

.recovery-steps li {
  display: grid;
  gap: 0.12rem;
  position: relative;
  padding-left: 2rem;
}

.recovery-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: var(--text-primary);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.step-title {
  font-weight: 600;
}

.step-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.recovery-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.hint-row.compact {
  font-size: 0.86rem;
  color: var(--muted);
}

.auth-sub {
  color: var(--muted);
}

.auth-foot {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-art {
    min-height: 280px;
  }

  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-menu {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .billing-card-head {
    align-items: flex-start;
    gap: 0.35rem;
  }

  .dashboard-lead {
    padding: 1rem 1.1rem;
  }

  .matrix-row {
    grid-template-columns: 1fr;
  }

  .auth-story {
    display: none;
  }
}

@media (max-width: 640px) {
  .support-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }

  .hero-art {
    min-height: 220px;
    padding: 1rem;
  }

  .security-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    padding: 0.9rem;
  }

  .billing-grid {
    grid-template-columns: 1fr;
  }

  .billing-card {
    padding: 1rem;
    gap: 0.7rem;
  }

  .billing-amount {
    font-size: 1.4rem;
  }

  .billing-actions .btn {
    width: 100%;
    text-align: center;
  }
}
