:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --surface-hover: #e2e8f0;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --ink: #0f172a;
  --muted: #64748b;
  --text-soft: #94a3b8;

  /* Accent Palette */
  --cobalt: #2563eb;
  --cobalt-dark: #1d4ed8;
  --cobalt-glow: rgba(37, 99, 235, 0.15);
  --coral: #f43f5e;
  --coral-dark: #e11d48;
  --mint: #10b981;
  --mint-dark: #059669;
  --amber: #f59e0b;
  --purple: #8b5cf6;

  /* Fonts */
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-dialog: 0 24px 64px -12px rgba(15, 23, 42, 0.25);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090d16;
  --surface: #111827;
  --surface-soft: #1e293b;
  --surface-hover: #334155;
  --border: #1e293b;
  --border-hover: #334155;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --text-soft: #64748b;

  --cobalt: #3b82f6;
  --cobalt-dark: #2563eb;
  --cobalt-glow: rgba(59, 130, 246, 0.25);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-dialog: 0 24px 64px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

button, input, select {
  font: inherit;
}

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

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

/* Layout Container */
.site-header,
main,
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* Site Header */
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.8px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--cobalt-glow);
  color: var(--cobalt);
  border: 1px solid var(--cobalt);
  margin-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav-link {
  height: 100%;
  display: grid;
  align-items: center;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cobalt);
  border-radius: 2px 2px 0 0;
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  background: var(--surface-soft);
  border-color: var(--border-hover);
  color: var(--ink);
}

.theme-icon svg {
  width: 18px;
  height: 18px;
}

.theme-toggle.theme-switching .theme-icon {
  animation: theme-spin 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes theme-spin {
  0% { transform: rotate(0) scale(1); }
  50% { transform: rotate(180deg) scale(0.7); }
  100% { transform: rotate(360deg) scale(1); }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.header-cta:hover {
  background: var(--surface-soft);
  border-color: var(--border-hover);
}

.header-cta span {
  color: var(--cobalt);
  font-weight: 800;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 480px;
  align-items: center;
  gap: 56px;
  padding-block: 60px 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin: 18px 0 16px;
  font-weight: 800;
}

.accent-text {
  color: var(--cobalt);
  position: relative;
  white-space: nowrap;
}

.accent-text::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 12px;
  left: -2px;
  right: -4px;
  bottom: 2px;
  background: rgba(37, 99, 235, 0.18);
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

.hero-description {
  color: var(--muted);
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button {
  border: 0;
  background: var(--cobalt);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  min-height: 48px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.primary-button:hover:not(:disabled) {
  background: var(--cobalt-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.button-arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 48px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.secondary-button:hover {
  background: var(--surface-soft);
  border-color: var(--border-hover);
}

.privacy-note {
  color: var(--muted);
  margin-top: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shield-icon {
  color: var(--mint);
  font-size: 15px;
}

/* Hero Art Studio Graphic */
.hero-art {
  position: relative;
  height: 380px;
  max-width: 480px;
  width: 100%;
  justify-self: end;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid var(--border);
}

.hero-art-bg-circles {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cobalt-glow) 0%, transparent 70%);
}

.art-orbit {
  position: absolute;
  border: 1px dashed var(--border);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 380px;
  height: 380px;
}

.orbit-two {
  width: 460px;
  height: 460px;
}

.spark {
  position: absolute;
  z-index: 2;
  font-size: 22px;
  user-select: none;
}

.spark-one {
  top: 48px;
  left: 64px;
  color: var(--coral);
  animation: float-spark 4s ease-in-out infinite;
}

.spark-two {
  top: 88px;
  right: 56px;
  color: var(--amber);
  animation: float-spark 3.2s ease-in-out infinite reverse;
}

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

/* Image Studio Card */
.art-photo-card {
  position: absolute;
  z-index: 2;
  width: 250px;
  height: 250px;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 14px;
}

.art-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.art-card-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--cobalt);
  background: var(--cobalt-glow);
  padding: 3px 6px;
  border-radius: 4px;
}

.art-card-dim {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.art-canvas-preview {
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.art-canvas-overlay {
  position: absolute;
  inset: 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.25);
}

.art-canvas-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
}

.corner-tl { top: -4px; left: -4px; }
.corner-tr { top: -4px; right: -4px; }
.corner-bl { bottom: -4px; left: -4px; }
.corner-br { bottom: -4px; right: -4px; }

.art-saving-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.floating-chip {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.chip-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--mint);
  margin-right: 8px;
  font-size: 10px;
}

.hero-caption {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

/* Tools Section */
.tools-section {
  padding: 48px 0 72px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-eyebrow {
  color: var(--text-soft);
  font-size: 10px;
  letter-spacing: 1.5px;
}

h2 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 8px 0 6px;
  font-weight: 800;
}

.section-description {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 260px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  color: var(--muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-glow);
}

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

.search-icon {
  font-size: 17px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  outline: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--text-soft);
}

kbd {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  background: var(--surface-soft);
}

/* Category Filter Chips */
.tool-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
  scrollbar-width: none;
}

.tool-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: var(--surface-soft);
  color: var(--ink);
  border-color: var(--border-hover);
}

.filter-chip.selected {
  background: var(--cobalt);
  color: #ffffff;
  border-color: var(--cobalt);
  box-shadow: 0 2px 8px var(--cobalt-glow);
}

.filter-chip span {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.filter-chip.selected span {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Tool Grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.tool-card:hover .tool-icon {
  transform: scale(1.08);
}

.tool-icon svg {
  width: 22px;
  height: 22px;
}

/* Icon Tones */
.icon-cobalt { background: rgba(37, 99, 235, 0.12); color: var(--cobalt); }
.icon-coral { background: rgba(244, 63, 94, 0.12); color: var(--coral); }
.icon-mint { background: rgba(16, 185, 129, 0.12); color: var(--mint); }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--purple); }

.tool-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.tool-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.tool-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.tool-arrow {
  color: var(--text-soft);
  font-size: 16px;
  transition: color 0.2s, transform 0.2s;
}

.tool-card:hover .tool-arrow {
  color: var(--cobalt);
  transform: translate(2px, -2px);
}

.empty-state {
  text-align: center;
  padding: 48px;
  color: var(--muted);
  font-size: 15px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 14px;
  margin-top: 16px;
}

/* Promise / How it works Section */
.promise-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: flex-start;
}

.promise-heading {
  display: flex;
  gap: 16px;
}

.promise-spark {
  color: var(--mint);
  font-size: 24px;
  line-height: 1;
}

.promise-details p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 0;
}

.promise-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.promise-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.point-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--cobalt);
}

.point-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.point-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-badge {
  color: var(--mint);
  font-weight: 600;
}

/* Tool Dialog Modal */
.tool-dialog {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  max-width: 620px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-dialog);
  margin: auto;
  position: fixed;
  inset: 0;
  overflow: hidden;
  animation: dialog-appear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialog-appear {
  0% { transform: scale(0.96) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.tool-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  animation: backdrop-fade 0.25s ease;
}

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

.dialog-close-form {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.dialog-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.dialog-close:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.dialog-content {
  padding: 32px 32px 28px;
  max-height: 85vh;
  overflow-y: auto;
}

.dialog-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.dialog-tool-icon {
  width: 48px;
  height: 48px;
}

.dialog-tool-icon svg {
  width: 24px;
  height: 24px;
}

.dialog-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cobalt);
}

#dialog-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 2px 0 0;
}

.dialog-description {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

/* Drop Zone */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--cobalt);
  background: var(--cobalt-glow);
}

.drop-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.drop-upload-icon svg {
  width: 20px;
  height: 20px;
}

.drop-prompt {
  font-size: 13.5px;
  color: var(--ink);
}

.drop-prompt span {
  color: var(--cobalt);
  font-weight: 700;
  text-decoration: underline;
}

.drop-hint {
  font-size: 11px;
  color: var(--muted);
}

/* File List */
.file-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.file-row-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.file-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-row-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-row-meta {
  font-size: 11px;
  color: var(--muted);
}

.file-row-remove {
  background: transparent;
  border: 0;
  color: var(--text-soft);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.file-row-remove:hover {
  color: var(--coral);
  background: rgba(244, 63, 94, 0.1);
}

.file-row-order {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-row-drag {
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  cursor: grab;
  touch-action: none;
}

.file-row-drag:active {
  cursor: grabbing;
}

.file-row-drag svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.file-row-dragging {
  opacity: 0.96;
  background: var(--surface);
  border-color: var(--cobalt);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.28);
  transform: scale(1.02);
}

.file-row-placeholder {
  border: 2px dashed var(--cobalt);
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  box-sizing: border-box;
}

.file-row-move {
  width: 28px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.file-row-move:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Tool Options Controls */
.tool-options {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.control-hint {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.control-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt);
}

.control-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.number-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.number-input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-glow);
}

.split-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}

.split-preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.split-tile-count {
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 700;
}

#split-preview-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.markup-size-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.color-input {
  display: block;
  width: 44px;
  height: 28px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.tool-options .control-grid-2.markup-controls {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0;
}

.tool-options .markup-controls .control-group {
  gap: 5px;
}

.tool-options .markup-controls .slider-input {
  margin: 0;
}

.markup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.markup-undo {
  flex-shrink: 0;
  min-width: 0;
  justify-content: center;
  padding: 5px 10px;
  font-size: 12px;
}

.markup-undo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.markup-preview {
  display: grid;
  place-items: center;
  padding: 0;
}

#markup-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 8px;
  background: #0b0f17;
  touch-action: none;
  cursor: crosshair;
}

@media (max-width: 640px) {
  .tool-options .control-grid-2.markup-controls {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }
}

.slider-input {
  width: 100%;
  accent-color: var(--cobalt);
  height: 6px;
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-soft);
}

.select-input,
.text-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}

.select-input:focus,
.text-input:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-glow);
}

.static-pill {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Preset Pills */
.preset-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-pill {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-pill:hover,
.preset-pill.active {
  border-color: var(--cobalt);
  background: var(--cobalt-glow);
  color: var(--cobalt);
}

/* Dimensions lock row */
.dimensions-lock-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.aspect-lock-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-bottom: 1px;
}

.aspect-lock-btn svg {
  width: 18px;
  height: 18px;
}

.aspect-lock-btn.active {
  border-color: var(--cobalt);
  background: var(--cobalt-glow);
  color: var(--cobalt);
}

/* Metrics Card */
.metrics-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.metric-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.text-accent {
  color: var(--cobalt);
}

.metric-divider {
  color: var(--text-soft);
  font-size: 16px;
}

.metric-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mint);
}

.badge-neutral {
  background: var(--surface-hover);
  color: var(--muted);
}

/* Interactive Crop Canvas */
.crop-editor-wrapper {
  display: grid;
  place-items: center;
  background: #0b0f17;
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.crop-canvas-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  user-select: none;
  touch-action: none;
}

#crop-canvas {
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

.crop-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.crop-box {
  position: absolute;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  cursor: move;
  pointer-events: auto;
  touch-action: none;
}

.crop-handle {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 1.5px solid var(--cobalt);
  border-radius: 2px;
  pointer-events: auto;
  touch-action: none;
}

.handle-tl { top: 0; left: 0; cursor: nwse-resize; }
.handle-tr { top: 0; right: 0; cursor: nesw-resize; }
.handle-bl { bottom: 0; left: 0; cursor: nesw-resize; }
.handle-br { bottom: 0; right: 0; cursor: nwse-resize; }

.crop-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.crop-help {
  font-size: 11px;
  color: var(--text-soft);
}

/* Preview Canvas Box */
.preview-box {
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  min-height: 180px;
}

.preview-box canvas {
  max-width: 100%;
  max-height: 260px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

/* Action button rows */
.action-btn-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn svg {
  width: 16px;
  height: 16px;
  color: var(--cobalt);
}

.action-btn:hover {
  background: var(--surface-soft);
  border-color: var(--border-hover);
}

.status-summary {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* Watermark Position Grid */
.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 36px);
  gap: 6px;
}

.pos-cell {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
}

.pos-cell:hover,
.pos-cell.active {
  border-color: var(--cobalt);
  background: var(--cobalt-glow);
  color: var(--cobalt);
}

/* Color picker row */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-row input[type="color"] {
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}

.color-label {
  font-size: 12px;
  color: var(--muted);
}

/* Filter Quick Pills */
.filter-quick-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Privacy banner */
.privacy-banner {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 12.5px;
}

.privacy-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.audit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.audit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 12px;
}

.audit-name {
  color: var(--muted);
}

.audit-val {
  font-weight: 700;
  color: var(--ink);
}

.audit-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--mint);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Swatches Grid */
.swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

.swatch-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.swatch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.swatch-card.copied {
  outline: 2px solid var(--mint);
}

.swatch-color {
  height: 48px;
  width: 100%;
}

.swatch-hex {
  padding: 6px 4px 2px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: var(--ink);
}

.swatch-rgb {
  padding: 0 4px 6px;
  font-size: 9px;
  text-align: center;
  color: var(--text-soft);
}

.info-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.info-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

/* Process & Action Button */
.process-button {
  width: 100%;
  margin-top: 24px;
  height: 50px;
  font-size: 14px;
}

.process-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.status-message {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  min-height: 18px;
}

.status-message.success {
  color: var(--mint);
  font-weight: 700;
}

.status-message.error {
  color: var(--coral);
  font-weight: 700;
}

.status-message.info {
  color: var(--cobalt);
}

.dialog-privacy {
  text-align: center;
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 40px;
  }
  .hero-art {
    justify-self: center;
    max-width: 420px;
  }
  .promise-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .promise-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 32px);
  }
  .main-nav {
    display: none;
  }
  .dialog-content {
    padding: 24px 20px 20px;
  }
  .control-grid-2 {
    grid-template-columns: 1fr;
  }
  .dimensions-lock-row {
    flex-direction: column;
    align-items: stretch;
  }
  .aspect-lock-btn {
    align-self: center;
  }
}

/* Dedicated Content Pages (Privacy & How It Works) */
.content-page {
  max-width: 920px;
  margin-inline: auto;
  padding: 56px 0 88px;
}

.page-header {
  margin-bottom: 48px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 16px 0 16px;
  font-weight: 800;
}

.page-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 720px;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

.content-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 16px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* Feature grid in content */
.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.feature-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.feature-box-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: inline-block;
}

.feature-box h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Privacy Matrix Table */
.matrix-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.matrix-table th,
.matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.matrix-table th {
  background: var(--surface-soft);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.matrix-table tr:last-child td {
  border-bottom: 0;
}

.col-check {
  color: var(--mint);
  font-weight: 800;
}

.col-cross {
  color: var(--coral);
  font-weight: 800;
}

/* Pipeline Step Cards */
.pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.pipeline-step {
  display: flex;
  gap: 22px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  align-items: flex-start;
}

.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cobalt);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}

.step-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.step-code {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: monospace;
  font-size: 11.5px;
  color: var(--cobalt);
}

/* FAQ items */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  background: var(--surface-soft);
}

.faq-q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q-icon {
  color: var(--cobalt);
}

.faq-a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* CTA Card */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  text-align: center;
  margin-top: 48px;
}

.cta-banner h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 0 0 12px;
}

.cta-banner p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 24px;
}

@media (max-width: 768px) {
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }
  .pipeline-step {
    flex-direction: column;
    gap: 14px;
  }
  .content-card {
    padding: 24px;
  }
  .cta-banner {
    padding: 30px 20px;
  }
}

/* NDot Font Face from bedanta.space */
@font-face {
  font-family: "NDot";
  src: url("../fonts/ndot.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Creator Showcase Section (Styled after bedanta.space Hero Window) */
.creator-section {
  padding: 44px 0 64px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.bedanta-window {
  position: relative;
  border-radius: 22px;
  background-color: #121210;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(36px, 5.5vw, 68px);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.55);
}

.bedanta-window-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.65fr);
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.bedanta-text-col {
  min-width: 0;
}

.bedanta-kicker {
  font-family: "NDot", "DM Sans", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #89b4fa;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.bedanta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e66f5;
  box-shadow: 0 0 0 3px rgba(30, 102, 245, 0.28);
}

.bedanta-title {
  margin: 0;
  font-family: "NDot", sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 400;
  color: #f4f4f0;
}

.bedanta-accent-dot {
  color: #89b4fa;
}

.bedanta-sub {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  color: #a2a29b;
  min-height: 26px;
  transition: opacity 0.35s ease;
}

.bedanta-sub.text-change {
  animation: bedanta-sub-fade 0.4s ease;
}

@keyframes bedanta-sub-fade {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.bedanta-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.6);
  font-family: "NDot", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #f4f4f0;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}

.bedanta-link span {
  color: #89b4fa;
  font-size: 14px;
  transition: transform 0.3s;
}

.bedanta-link:hover {
  border-color: #89b4fa;
  color: #89b4fa;
  gap: 32px;
}

.bedanta-link:hover span {
  transform: translate(3px, 3px);
}

/* Dial Wheel & Avatar Matching bedanta.space */
.bedanta-graphic {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}

.bedanta-halo {
  width: clamp(200px, 26vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(137, 180, 250, 0.24);
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg, transparent 0deg 29.7deg, rgba(137, 180, 250, 0.24) 30deg 30.1deg);
  display: grid;
  place-items: center;
  animation: halo-spin 120s linear infinite;
  pointer-events: none;
}

@keyframes halo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bedanta-avatar-box {
  width: clamp(120px, 16vw, 175px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, #191917 0 48%, transparent 48.4%),
    radial-gradient(circle, #353530 0 60%, transparent 60.4%);
  position: absolute;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.bedanta-avatar-box img {
  width: 68%;
  height: 68%;
  object-fit: cover;
  border-radius: 50%;
  image-rendering: pixelated;
  filter: contrast(1.05);
}

@media (max-width: 768px) {
  .bedanta-window {
    padding: 36px 24px 32px;
  }
  .bedanta-window-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bedanta-graphic {
    justify-self: center;
    order: -1;
  }
  .bedanta-halo {
    width: 170px;
  }
  .bedanta-avatar-box {
    width: 105px;
  }
}
