:root {
  --bg: #050805;
  --bg-soft: #0b120d;
  --surface: rgba(13, 19, 16, 0.8);
  --surface-strong: #101713;
  --surface-soft: rgba(20, 28, 23, 0.86);
  --border: rgba(123, 255, 176, 0.14);
  --border-strong: rgba(123, 255, 176, 0.24);
  --text: #f4f8f3;
  --muted: #91a594;
  --lime: #75f5a7;
  --lime-strong: #41d678;
  --lime-soft: rgba(117, 245, 167, 0.14);
  --sky: #88cfff;
  --sky-soft: rgba(136, 207, 255, 0.14);
  --sand: #efc97d;
  --sand-soft: rgba(239, 201, 125, 0.14);
  --danger: #ff7d69;
  --danger-soft: rgba(255, 125, 105, 0.14);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius-xxl: 36px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: "Sora", "Avenir Next", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(117, 245, 167, 0.18), transparent 26%),
    radial-gradient(circle at 85% 0%, rgba(239, 201, 125, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(49, 91, 63, 0.2), transparent 30%),
    linear-gradient(180deg, #050805 0%, #071009 46%, #050805 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 92%);
}

body::after {
  background:
    radial-gradient(circle at 15% 10%, rgba(117, 245, 167, 0.08), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(239, 201, 125, 0.08), transparent 26%);
  filter: blur(38px);
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(1480px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 96px;
}

.landing-shell {
  display: grid;
  gap: 44px;
}

.site-header,
.hero-shell,
.panel,
.feature-card,
.screen-panel,
.marquee-item,
.stat-card,
.site-footer {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(10, 15, 12, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(7, 10, 8, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
}

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

.site-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.header-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.header-button,
.action-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-button:hover,
.action-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.header-button,
.action-button {
  color: #041109;
  background: linear-gradient(135deg, var(--lime) 0%, #dafea7 100%);
  box-shadow: 0 16px 32px rgba(117, 245, 167, 0.2);
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.language-switcher {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 11, 9, 0.92);
  border: 1px solid rgba(123, 255, 176, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.16);
}

.language-switcher::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(117, 245, 167, 0.14), transparent 45%),
    radial-gradient(circle at 85% 120%, rgba(239, 201, 125, 0.12), transparent 42%);
  opacity: 0.8;
  pointer-events: none;
}

.language-switcher__button {
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  min-width: 52px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.language-switcher__button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.language-switcher__button.is-active {
  color: #041109;
  background: linear-gradient(135deg, var(--lime) 0%, #dafea7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(117, 245, 167, 0.18);
}

.wide {
  width: 100%;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
  gap: 30px;
  margin-bottom: 24px;
  padding: 34px;
  border-radius: var(--radius-xxl);
  background:
    linear-gradient(145deg, rgba(10, 16, 12, 0.96), rgba(13, 21, 17, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  animation: rise-in 520ms ease;
}

.landing-hero {
  padding: 56px;
  min-height: 760px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(117, 245, 167, 0.12), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(239, 201, 125, 0.12), transparent 18%);
  pointer-events: none;
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.landing-copy {
  display: grid;
  align-content: center;
  gap: 8px;
}

.eyebrow,
.signal-label,
.feature-kicker,
.stat-label {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow,
.signal-label,
.feature-kicker {
  color: var(--lime);
}

h1,
h2,
h3,
.stat-value {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 7vw, 5.7rem);
  line-height: 0.92;
}

.landing-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 5.2vw, 4.5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.02;
}

.hero-text,
.section-copy,
.panel-note,
.muted-text,
.sync-label,
.session-meta,
.entity-subtitle,
.auth-copy p,
.feature-card p,
.screen-copy p {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.07rem;
  line-height: 1.7;
}

.landing-copy .hero-text {
  max-width: 50ch;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-button-row,
.session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-button-row {
  margin-top: 26px;
}

.landing-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.landing-proof span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-button-row--compact {
  margin-top: 0;
  justify-content: flex-end;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.signal-card {
  min-height: 124px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-value {
  margin: 12px 0 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-preview {
  margin-top: 18px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 28, 23, 0.9), rgba(9, 14, 11, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-preview-head,
.panel-head,
.section-head,
.control-bar,
.auth-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-preview-head {
  margin-bottom: 14px;
}

.hero-preview-list,
.list-stack,
.park-grid {
  display: grid;
  gap: 12px;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(5, 9, 7, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-row--placeholder {
  align-items: flex-start;
}

.preview-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), #d9ffa5);
  box-shadow: 0 0 0 6px rgba(117, 245, 167, 0.08);
}

.preview-copy {
  min-width: 0;
  flex: 1;
}

.preview-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.preview-meta,
.preview-footnote {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.preview-footnote {
  padding: 4px 2px 0;
}

.hero-stage {
  min-height: 720px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 26%, rgba(117, 245, 167, 0.14), transparent 24%),
    radial-gradient(circle at 64% 46%, rgba(239, 201, 125, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 12, 10, 0.94), rgba(12, 18, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-stage {
  min-height: 680px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0, transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  opacity: 0.18;
}

.stage-glow,
.orbit,
.device-shot,
.floating-card,
.floating-pill {
  position: absolute;
}

.stage-glow {
  border-radius: 50%;
  filter: blur(40px);
}

.stage-glow--lime {
  width: 220px;
  height: 220px;
  top: 52px;
  left: 42px;
  background: rgba(117, 245, 167, 0.22);
}

.stage-glow--sun {
  width: 240px;
  height: 240px;
  right: 38px;
  bottom: 54px;
  background: rgba(239, 201, 125, 0.18);
}

.orbit {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.orbit--1 {
  width: 580px;
  height: 580px;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit--2 {
  width: 440px;
  height: 440px;
  top: 132px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit--3 {
  width: 290px;
  height: 290px;
  top: 208px;
  left: 50%;
  transform: translateX(-50%);
}

.device-shot {
  width: 250px;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(19, 27, 22, 0.96), rgba(8, 11, 9, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.36);
}

.device-shot img,
.screen-pair img,
.screen-single,
.screen-stack-vertical img,
.screen-triptych img,
.session-media img {
  display: block;
  width: 100%;
  aspect-ratio: 574 / 1280;
  object-fit: cover;
  border-radius: 30px;
  background: #090d0a;
}

.device-shot--main {
  z-index: 4;
  width: 320px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  animation: float-main 7.2s ease-in-out infinite;
}

.device-shot--feed {
  z-index: 3;
  left: 38px;
  bottom: 66px;
  transform: rotate(-10deg);
  animation: float-left 8s ease-in-out infinite;
}

.device-shot--profile {
  z-index: 2;
  right: 44px;
  top: 54px;
  transform: rotate(9deg);
  animation: float-right 8.6s ease-in-out infinite;
}

.floating-card,
.floating-pill,
.marquee-item,
.auth-point,
.chip,
.viewer-chip {
  backdrop-filter: blur(14px);
}

.floating-card {
  min-width: 200px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(8, 12, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.floating-card--alpha {
  top: 34px;
  left: 32px;
  z-index: 5;
}

.floating-card--beta {
  right: 30px;
  bottom: 52px;
  z-index: 5;
}

.floating-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.floating-pill--top {
  top: 148px;
  right: 152px;
}

.floating-pill--bottom {
  left: 120px;
  bottom: 30px;
}

.marquee-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 42px;
}

.marquee-item {
  padding: 18px 16px;
  border-radius: 22px;
  background: rgba(10, 16, 13, 0.66);
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.feature-section,
.screens-section,
.live-section {
  margin-bottom: 42px;
}

.airy-panel {
  padding: 40px;
}

.section-head {
  margin-bottom: 24px;
}

.section-copy {
  max-width: 56ch;
  line-height: 1.7;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.simple-card {
  min-height: 152px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(4, 8, 6, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.simple-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.simple-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.shot-band {
  overflow: hidden;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.shot-frame {
  margin: 0;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(19, 27, 22, 0.96), rgba(8, 11, 9, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
}

.shot-frame.offset {
  transform: translateY(52px);
}

.shot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 574 / 1280;
  object-fit: cover;
  border-radius: 28px;
}

.cta-panel {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(117, 245, 167, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 26, 21, 0.94), rgba(10, 15, 12, 0.96));
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: radial-gradient(circle at center, rgba(117, 245, 167, 0.16), transparent 68%);
}

.feature-card h3 {
  margin-top: 18px;
}

.feature-card p {
  margin: 12px 0 0;
  line-height: 1.65;
}

.feature-tags,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.feature-tags span,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
}

.screens-section {
  margin-bottom: 52px;
}

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

.screen-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(117, 245, 167, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(13, 19, 16, 0.92), rgba(9, 14, 11, 0.96));
}

.screen-panel--wide {
  grid-column: span 2;
}

.screen-copy p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.screen-pair,
.screen-stack-vertical,
.screen-triptych {
  display: grid;
  gap: 14px;
}

.screen-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-pair img:first-child {
  transform: translateY(40px);
}

.screen-stack-vertical {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-triptych {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-single,
.screen-pair img,
.screen-stack-vertical img,
.screen-triptych img {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

.panel {
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(16, 23, 19, 0.9), rgba(10, 15, 12, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  animation: rise-in 420ms ease;
}

.dashboard-intro {
  margin-bottom: 16px;
}

.control-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  margin-bottom: 16px;
}

.control-bar-actions {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.viewer-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.viewer-chip strong {
  display: block;
  font-size: 0.94rem;
}

.sync-label {
  margin: 0;
  font-size: 0.92rem;
  text-align: right;
}

.status-banner {
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-weight: 700;
}

.status-banner[data-tone="info"] {
  background: var(--lime-soft);
  border-color: rgba(117, 245, 167, 0.22);
  color: #dfffe8;
}

.status-banner[data-tone="error"] {
  background: var(--danger-soft);
  border-color: rgba(255, 125, 105, 0.2);
  color: #ffd7d0;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  margin-bottom: 18px;
}

.auth-copy p {
  margin: 16px 0 0;
  line-height: 1.7;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-point {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(5, 9, 7, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-point strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.04em;
}

.auth-point span {
  color: var(--muted);
  line-height: 1.45;
}

.auth-point a,
.legal-card a,
.danger-note a {
  color: var(--text);
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(4, 8, 6, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input::placeholder {
  color: rgba(145, 165, 148, 0.8);
}

.field input:focus {
  outline: none;
  border-color: rgba(117, 245, 167, 0.34);
  box-shadow: 0 0 0 4px rgba(117, 245, 167, 0.09);
  background: rgba(255, 255, 255, 0.05);
}

.dashboard {
  display: grid;
  gap: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 28, 23, 0.9), rgba(9, 14, 11, 0.94));
}

.stat-card[data-tone="lime"] {
  border-color: rgba(117, 245, 167, 0.22);
}

.stat-card[data-tone="sand"] {
  border-color: rgba(239, 201, 125, 0.2);
}

.stat-card[data-tone="muted"] {
  border-color: rgba(255, 255, 255, 0.08);
}

.stat-label {
  color: var(--muted);
}

.stat-value {
  margin-top: 14px;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  line-height: 0.95;
}

.stat-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.84fr);
  gap: 16px;
}

.panel-head {
  margin-bottom: 18px;
}

.panel-note {
  margin: 0;
  max-width: 30ch;
  line-height: 1.55;
  text-align: right;
}

.map-panel {
  overflow: hidden;
}

.map-canvas {
  width: 100%;
  height: 620px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 25, 21, 1), rgba(6, 10, 8, 1));
}

.map-canvas .leaflet-tile-pane {
  filter: grayscale(1) brightness(0.48) contrast(1.15) saturate(0.72) hue-rotate(36deg);
}

.map-canvas .leaflet-control-zoom a {
  background: rgba(10, 14, 11, 0.9);
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.map-canvas .leaflet-control-zoom a:hover {
  background: rgba(20, 28, 23, 0.94);
}

.map-canvas .leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
}

.sidebar-column {
  display: grid;
  gap: 16px;
}

.filter-field {
  margin-bottom: 14px;
}

.active-card,
.park-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(4, 8, 6, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.active-card:hover,
.park-card:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.active-card.is-selected,
.park-card.is-selected {
  background: rgba(117, 245, 167, 0.08);
  border-color: rgba(117, 245, 167, 0.28);
}

.entity-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entity-body {
  min-width: 0;
  flex: 1;
}

.entity-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.entity-subtitle {
  margin: 5px 0 0;
  font-size: 0.92rem;
}

.chip-row {
  margin-top: 12px;
}

.chip {
  background: var(--lime-soft);
  color: var(--lime);
}

.chip.is-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.chip.is-warning {
  background: var(--sand-soft);
  color: var(--sand);
}

.avatar,
.avatar-stack-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(117, 245, 167, 0.28), rgba(239, 201, 125, 0.32));
  color: #06100a;
  font-weight: 800;
}

.avatar img,
.avatar-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack-item {
  width: 32px;
  height: 32px;
  margin-left: -10px;
  border-width: 2px;
  border-color: rgba(12, 17, 14, 0.92);
}

.avatar-stack-item:first-child {
  margin-left: 0;
}

.avatar-stack-item.more {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.park-card-footer,
.session-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.park-meta {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

.empty-state {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--muted);
  line-height: 1.55;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.session-card {
  overflow: hidden;
  display: grid;
  padding: 0;
  border-radius: 24px;
  background: rgba(4, 8, 6, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.session-media {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at top left, rgba(117, 245, 167, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(13, 20, 16, 0.98), rgba(5, 8, 7, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.session-media--placeholder {
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.session-media--placeholder span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.session-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.session-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.session-copy {
  min-width: 0;
  flex: 1;
}

.session-copy h3 {
  font-size: 1.08rem;
}

.session-copy p {
  margin: 5px 0 0;
}

.session-caption {
  margin: 0;
  line-height: 1.6;
  color: #d9e5db;
}

.session-caption.is-muted {
  color: var(--muted);
}

.session-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-debug-panel {
  display: grid;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.admin-debug-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(136, 207, 255, 0.08), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(117, 245, 167, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 32%);
}

.admin-debug-hero,
.admin-debug-filters {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.debug-surface {
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(5, 9, 7, 0.74), rgba(9, 14, 11, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.debug-surface--search {
  display: grid;
  gap: 14px;
}

.debug-surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.debug-section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.debug-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.debug-summary-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(19, 27, 22, 0.8), rgba(7, 11, 9, 0.88)),
    rgba(4, 8, 6, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.debug-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.debug-summary-card[data-tone="lime"] {
  border-color: rgba(117, 245, 167, 0.22);
}

.debug-summary-card[data-tone="lime"]::before {
  background: var(--lime);
}

.debug-summary-card[data-tone="sand"] {
  border-color: rgba(239, 201, 125, 0.24);
}

.debug-summary-card[data-tone="sand"]::before {
  background: var(--sand);
}

.debug-summary-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.debug-summary-value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.admin-debug-search {
  margin-bottom: 0;
}

.debug-search-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.debug-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.debug-filter-row--users {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.debug-filter-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.debug-filter-button:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.debug-filter-button__accent {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.debug-filter-button[data-tone="lime"] .debug-filter-button__accent {
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(117, 245, 167, 0.08);
}

.debug-filter-button[data-tone="sand"] .debug-filter-button__accent {
  background: var(--sand);
  box-shadow: 0 0 0 6px rgba(239, 201, 125, 0.08);
}

.debug-filter-button[data-tone="error"] .debug-filter-button__accent {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(255, 125, 105, 0.08);
}

.debug-filter-button[data-tone="sky"] .debug-filter-button__accent {
  background: var(--sky);
  box-shadow: 0 0 0 6px rgba(136, 207, 255, 0.08);
}

.debug-filter-button__label {
  font-weight: 700;
  line-height: 1.2;
}

.debug-filter-button__count {
  display: inline-flex;
  min-width: 24px;
  margin-left: auto;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.78rem;
}

.debug-filter-button.is-active {
  background: rgba(117, 245, 167, 0.08);
  border-color: rgba(117, 245, 167, 0.26);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 30px rgba(0, 0, 0, 0.14);
}

.debug-filter-button.is-active .debug-filter-button__count {
  background: rgba(117, 245, 167, 0.18);
  color: var(--lime);
}

.debug-filter-button[data-tone="sand"].is-active {
  background: rgba(239, 201, 125, 0.08);
  border-color: rgba(239, 201, 125, 0.24);
}

.debug-filter-button[data-tone="sand"].is-active .debug-filter-button__count {
  background: rgba(239, 201, 125, 0.16);
  color: var(--sand);
}

.debug-filter-button[data-tone="error"].is-active {
  background: rgba(255, 125, 105, 0.08);
  border-color: rgba(255, 125, 105, 0.24);
}

.debug-filter-button[data-tone="error"].is-active .debug-filter-button__count {
  background: rgba(255, 125, 105, 0.16);
  color: var(--danger);
}

.debug-filter-button[data-tone="sky"].is-active {
  background: rgba(136, 207, 255, 0.08);
  border-color: rgba(136, 207, 255, 0.24);
}

.debug-filter-button[data-tone="sky"].is-active .debug-filter-button__count {
  background: rgba(136, 207, 255, 0.16);
  color: var(--sky);
}

.debug-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.debug-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.debug-chain-list {
  display: grid;
  gap: 14px;
}

.debug-chain {
  position: relative;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 11, 9, 0.78), rgba(4, 8, 6, 0.88)),
    rgba(4, 8, 6, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.debug-chain::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.debug-chain[data-tone="warning"] {
  border-color: rgba(239, 201, 125, 0.24);
}

.debug-chain[data-tone="warning"]::before {
  background: var(--sand);
}

.debug-chain[data-tone="error"] {
  border-color: rgba(255, 125, 105, 0.28);
}

.debug-chain[data-tone="error"]::before {
  background: var(--danger);
}

.debug-chain[data-tone="ok"]::before {
  background: var(--lime);
}

.debug-chain-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px 22px;
  cursor: pointer;
}

.debug-chain-summary::-webkit-details-marker {
  display: none;
}

.debug-chain-heading {
  min-width: 0;
  flex: 1;
}

.debug-context-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.debug-context-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.debug-context-tag.is-user {
  color: var(--text);
}

.debug-context-tag.is-park {
  background: rgba(117, 245, 167, 0.08);
  border-color: rgba(117, 245, 167, 0.14);
  color: var(--lime);
}

.debug-context-tag.is-time,
.debug-context-tag.is-count {
  background: rgba(255, 255, 255, 0.035);
}

.debug-chain-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.debug-chain-highlight {
  margin: 10px 0 0;
  max-width: 72ch;
  color: #dce9df;
  font-size: 0.94rem;
  line-height: 1.6;
}

.debug-chain-aside {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.debug-chain-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.debug-chain-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.34);
  border-bottom: 2px solid rgba(255, 255, 255, 0.34);
  transform: rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.debug-chain[open] .debug-chain-chevron {
  transform: rotate(225deg);
  border-color: rgba(117, 245, 167, 0.42);
}

.debug-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.debug-badge.is-ok,
.debug-badge.is-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.debug-badge.is-warning {
  background: var(--sand-soft);
  color: var(--sand);
}

.debug-badge.is-error {
  background: var(--danger-soft);
  color: var(--danger);
}

.debug-chain-body {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px 22px;
}

.debug-event-list {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 16px;
}

.debug-event-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(117, 245, 167, 0.24), rgba(255, 255, 255, 0.04));
}

.debug-event-row {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.debug-event-row[data-tone="warning"] {
  background: rgba(239, 201, 125, 0.07);
  border-color: rgba(239, 201, 125, 0.16);
}

.debug-event-row[data-tone="error"] {
  background: rgba(255, 125, 105, 0.07);
  border-color: rgba(255, 125, 105, 0.16);
}

.debug-event-dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  position: relative;
  left: -21px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(117, 245, 167, 0.08);
}

.debug-event-row[data-tone="warning"] .debug-event-dot {
  background: var(--sand);
  box-shadow: 0 0 0 6px rgba(239, 201, 125, 0.08);
}

.debug-event-row[data-tone="error"] .debug-event-dot {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(255, 125, 105, 0.08);
}

.debug-event-copy {
  min-width: 0;
}

.debug-event-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.debug-event-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.4;
}

.debug-event-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.debug-event-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.debug-raw,
.debug-chain-raw {
  margin-top: 10px;
}

.debug-raw summary,
.debug-chain-raw summary {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.debug-raw pre,
.debug-chain-raw pre {
  margin: 10px 0 0;
  padding: 12px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d2dfd4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.6;
}

.admin-debug-actions {
  justify-content: flex-end;
}

.park-marker {
  transform: translate(-50%, -100%);
}

.park-marker__bubble {
  min-width: 116px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(10, 15, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.park-marker__bubble.is-active {
  border-color: rgba(117, 245, 167, 0.24);
  box-shadow: 0 18px 40px rgba(117, 245, 167, 0.1);
}

.park-marker__avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.park-marker__avatars .avatar-stack-item {
  width: 28px;
  height: 28px;
}

.park-marker__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.park-marker__count {
  color: var(--lime);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(10, 15, 12, 0.96);
  color: var(--text);
}

.leaflet-popup-content {
  margin: 14px 16px;
}

.popup-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.popup-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(10, 15, 12, 0.72);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  max-width: 70ch;
  line-height: 1.6;
}

.site-footer a {
  color: var(--text);
  font-weight: 800;
}

.helper-links,
.legal-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mini-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-note a,
.legal-inline-links a {
  color: var(--text);
  font-weight: 700;
}

.legal-shell {
  display: grid;
  gap: 18px;
}

.legal-hero {
  display: grid;
  gap: 18px;
}

.legal-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  display: grid;
  gap: 12px;
}

.legal-card p,
.legal-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.legal-list strong {
  color: var(--text);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.summary-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(4, 8, 6, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.delete-account-panel {
  display: grid;
  gap: 18px;
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 125, 105, 0.2);
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  color: #fff3ef;
  background: linear-gradient(135deg, rgba(255, 125, 105, 0.24), rgba(255, 89, 61, 0.18));
  box-shadow: 0 14px 28px rgba(255, 89, 61, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.danger-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

@keyframes float-main {
  0%,
  100% {
    transform: translate(-50%, -48%);
  }
  50% {
    transform: translate(-50%, -50%);
  }
}

@keyframes float-left {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(-8px);
  }
}

@keyframes float-right {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(9deg) translateY(-10px);
  }
}

@media (max-width: 1320px) {
  .simple-grid,
  .shot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .debug-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid,
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-panel--wide {
    grid-column: span 2;
  }
}

@media (max-width: 1180px) {
  .hero-shell,
  .control-bar,
  .auth-panel,
  .workspace-grid,
  .admin-debug-hero,
  .admin-debug-filters,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-shell {
    padding: 26px;
  }

  .landing-hero {
    padding: 40px;
    min-height: auto;
  }

  .panel-note,
  .sync-label {
    text-align: left;
  }

  .control-bar-actions {
    justify-items: start;
  }

  .viewer-chip {
    justify-self: start;
  }
}

@media (max-width: 960px) {
  .page-shell {
    width: min(100vw - 18px, 100%);
    padding-bottom: 56px;
  }

  .site-header {
    flex-wrap: wrap;
    border-radius: 26px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .landing-hero {
    padding: 34px;
  }

  .device-shot--main {
    width: 278px;
  }

  .device-shot--feed {
    width: 214px;
    left: 20px;
    bottom: 38px;
  }

  .device-shot--profile {
    width: 212px;
    right: 18px;
    top: 40px;
  }

  .signal-grid,
  .marquee-strip,
  .stats-grid,
  .session-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-grid,
  .shot-row {
    grid-template-columns: 1fr;
  }

  .screen-grid,
  .screen-panel--wide {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }

  .legal-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .screen-pair,
  .screen-stack-vertical,
  .screen-triptych {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-triptych img:last-child {
    grid-column: span 2;
    justify-self: center;
    width: min(100%, 280px);
  }

  .shot-frame.offset {
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero-shell,
  .panel,
  .feature-card,
  .screen-panel,
  .site-footer {
    padding: 18px;
    border-radius: 24px;
  }

  .site-header {
    top: 8px;
    padding: 14px;
  }

  .landing-hero {
    padding: 24px;
  }

  .landing-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.02;
  }

  .landing-copy .hero-text {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .airy-panel {
    padding: 24px;
  }

  .header-actions,
  .hero-button-row,
  .hero-button-row--compact,
  .session-actions {
    width: 100%;
  }

  .header-actions,
  .hero-button-row,
  .session-actions {
    justify-content: stretch;
  }

  .header-actions > *,
  .hero-button-row > *,
  .session-actions > * {
    flex: 1 1 auto;
  }

  .header-actions .language-switcher {
    flex: 0 0 100%;
    justify-content: flex-start;
    width: 100%;
    padding: 6px;
  }

  .header-actions .language-switcher__button {
    flex: 0 0 auto;
    min-width: 56px;
  }

  .signal-grid,
  .feature-grid,
  .marquee-strip,
  .stats-grid,
  .debug-summary-grid,
  .screen-pair,
  .screen-stack-vertical,
  .screen-triptych,
  .session-grid,
  .simple-grid,
  .shot-row {
    grid-template-columns: 1fr;
  }

  .screen-pair img:first-child {
    transform: none;
  }

  .device-shot {
    width: 210px;
    padding: 10px;
  }

  .device-shot--main {
    width: 244px;
  }

  .device-shot--feed {
    left: 8px;
    bottom: 24px;
  }

  .device-shot--profile {
    right: 8px;
    top: 18px;
  }

  .floating-card {
    min-width: 0;
    max-width: 180px;
  }

  .floating-card--alpha {
    top: 16px;
    left: 16px;
  }

  .floating-card--beta {
    right: 16px;
    bottom: 16px;
  }

  .floating-pill--top {
    top: 118px;
    right: 88px;
  }

  .floating-pill--bottom {
    left: 34px;
  }

  .map-canvas {
    height: 440px;
  }

  .panel-head,
  .debug-list-head,
  .debug-chain-summary,
  .debug-event-top,
  .entity-row,
  .session-top,
  .park-card-footer,
  .session-card-footer,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .debug-chain-aside {
    width: 100%;
    justify-items: start;
  }

  .debug-filter-button {
    min-height: 44px;
  }

  .park-meta {
    text-align: left;
  }
}
