/* profile-card.css — page-specific styles for the GitHub Profile Card demo */

:root[data-mode="light"] {
  --bg: #F1F4F9;
  --surface: #F7F9FC;
  --surface-2: #EAEFF6;
  --line: rgba(13,19,43,.12);
  --line-2: rgba(13,19,43,.20);
  --text-dim: #647089;
  --text-mute: #98A2B8;
}

.pc-shell {
  max-width: 1420px;
  margin: 0 auto;
  padding: 34px 32px 96px;
}
@media (max-width: 720px) {
  .pc-shell { padding: 24px 16px 64px; }
}

/* Page header */
.pc-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pc-home-hdr {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.pc-hdr-l { display: flex; align-items: center; gap: 12px; }
.pc-brand-title {
  display: grid;
  gap: 2px;
}
.pc-brand-title.single {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pc-brand-title span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pc-brand-title b {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 18px;
  letter-spacing: 0;
}
.pc-brand-title .pc-brand-text,
.pc-brand-title .pc-brand-text span {
  font-family: var(--font-display);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.pc-brand-title .pc-brand-text {
  display: inline-flex;
  position: relative;
  align-items: baseline;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
}
.pc-brand-title .pc-brand-text span {
  font-size: inherit;
}
.pc-brand-text {
  display: inline-flex;
  position: relative;
  align-items: baseline;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
}
.pc-brand-title .pc-brand-text > span {
  flex: 0 0 auto;
}
.pc-brand-i {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  width: .24em;
  height: .72em;
  margin: 0 .012em 0 .01em;
  flex: 0 0 auto;
}
.pc-brand-i-stem {
  width: .115em;
  height: .52em;
  border-radius: 999px;
  background: currentColor;
}
.pc-brand-dot {
  position: absolute;
  left: 50%;
  top: -.12em;
  width: .25em;
  height: .25em;
  border-radius: 999px;
  background: var(--logo-cyan);
  transform: translateX(-50%);
  pointer-events: none;
}
.pc-brand-dot-pixel {
  background: var(--logo-cyan);
}
.pc-brand-dot-geometric {
  background: var(--logo-accent);
}
.pc-brand-dot-monochrome {
  background: currentColor;
  opacity: .8;
}
.pc-hdr-l a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}
.pc-hdr-l a:hover { color: var(--text); }
.pc-hdr-r { display: flex; gap: 10px; align-items: center; }
.pc-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pc-nav-link:hover {
  color: var(--text);
  border-color: var(--line-2);
}
/* Section title */
.pc-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 56px 0 6px;
}
.pc-section-sub {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 60ch;
  margin-bottom: 22px;
  line-height: 1.55;
}
.pc-section-sub:first-of-type { margin-top: 0; }

/* Control bar */
.pc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.intro-control-panel {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 12px;
  background:
    radial-gradient(80% 90% at 8% 0%, color-mix(in oklab, var(--accent-1), transparent 88%), transparent 68%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 42px -36px rgba(13,19,43,.55);
}
.intro-control-panel .pc-controls-label {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.intro-control-panel .tagline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  gap: 8px;
}
.intro-control-panel .tagline-card {
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
}
.intro-control-panel .tagline-card b {
  font-size: 13.5px;
}
.intro-control-panel .tagline-card > span:not(.mood-glyph) {
  display: none;
}
.mood-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent-1), white 12%), transparent 45%),
    color-mix(in oklab, var(--accent-2), transparent 84%);
  border: 1px solid color-mix(in oklab, var(--accent-1), transparent 48%);
}
.mood-glyph i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent-1);
}
.mood-glyph i:first-child {
  transform: translate(-6px, -5px);
}
.mood-glyph i:nth-child(2) {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--logo-sparkle-strong);
}
.mood-glyph i:nth-child(3) {
  transform: translate(7px, 6px);
  background: var(--accent-3);
}
.tagline-card.on .mood-glyph {
  background:
    radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent-1), white 18%), transparent 45%),
    color-mix(in oklab, var(--accent-2), transparent 70%);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-1), transparent 82%);
}
@media (max-width: 980px) {
  .intro-control-panel .tagline-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .intro-control-panel .tagline-grid {
    grid-template-columns: 1fr;
  }
}
.pc-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.logo-controls-wide {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}
.profile-logo-row {
  flex-wrap: nowrap;
  width: 100%;
}
.profile-logo-row .logo-mode-btn {
  flex: 1 1 0;
  justify-content: flex-start;
  min-width: 0;
}
.profile-logo-row .logo-mode-btn b {
  font-size: clamp(10.5px, 1vw, 12.5px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-controls-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-mute);
  text-transform: uppercase;
}

/* Theme buttons in controls */
.pc-theme-btn {
  appearance: none;
  border: 1px solid color-mix(in oklab, var(--line), var(--accent-2) 14%);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, transparent, transparent) border-box;
  color: var(--text);
  font: inherit;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  padding: 6px 8px 6px 6px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px -18px rgba(13,19,43,.35);
  transition: border-color .12s ease, transform .1s ease, box-shadow .12s ease, background .12s ease;
}
.pc-theme-btn[aria-pressed="true"] .pc-theme-swatch {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.48),
    0 0 0 2px var(--surface),
    0 0 0 4px var(--accent-2);
}
.pc-theme-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--accent-2), var(--line) 34%);
  box-shadow: 0 14px 26px -22px var(--accent-2);
}
.pc-theme-btn.on {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3)) border-box;
  box-shadow: 0 0 0 1.5px var(--accent-2), 0 14px 30px -22px var(--accent-2);
}
.pc-theme-swatch {
  width: 22px; height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42), 0 0 0 1px rgba(13,19,43,.08);
}
.profile-surface-row {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.surface-choice {
  appearance: none;
  min-height: 38px;
  padding: 6px 11px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.surface-choice span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
}
.surface-choice.dark span {
  background:
    radial-gradient(circle at 30% 20%, var(--accent-1), transparent 45%),
    linear-gradient(135deg, #07091A, #111A3A);
}
.surface-choice.light span {
  background:
    radial-gradient(circle at 34% 22%, color-mix(in oklab, var(--accent-1), white 28%), transparent 45%),
    linear-gradient(135deg, #F4F8FC, #DDE7F3);
}
.surface-choice:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
}
.surface-choice.on {
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 0 0 1.5px var(--accent-2), 0 12px 28px -20px var(--accent-2);
}

/* The Banner Card itself */
.banner-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.banner-frame-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.banner-frame-cap span:first-child { display: flex; gap: 10px; align-items: center; }
.banner-frame-cap .dot-row { display: flex; gap: 5px; }
.banner-frame-cap .dot-row i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink-200);
}
.banner-frame-cap .dot-row i:first-child { background: #FF5F57; }
.banner-frame-cap .dot-row i:nth-child(2) { background: #FEBC2E; }
.banner-frame-cap .dot-row i:nth-child(3) { background: #28C840; }

.readme-svg-preview {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01)),
    #07091A;
}
.readme-svg-preview img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}

/* Banner — actual artwork */
.banner {
  position: relative;
  aspect-ratio: 5 / 2;
  background:
    radial-gradient(60% 80% at 18% 28%, color-mix(in oklab, var(--accent-2), transparent 35%), transparent 70%),
    radial-gradient(55% 75% at 90% 90%, color-mix(in oklab, var(--accent-3), transparent 30%), transparent 70%),
    radial-gradient(40% 60% at 60% 10%, color-mix(in oklab, var(--accent-1), transparent 55%), transparent 70%),
    #07091A;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.banner.light {
  background:
    radial-gradient(58% 82% at 15% 28%, color-mix(in oklab, var(--accent-1), transparent 68%), transparent 72%),
    radial-gradient(55% 75% at 88% 92%, color-mix(in oklab, var(--accent-3), transparent 74%), transparent 72%),
    linear-gradient(135deg, #EEF4F8, #E7EDF6 58%, #E1E8F3);
  color: #0D132B;
}

/* Subtle grid overlay */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 95%);
}
.banner.light::before {
  background-image:
    linear-gradient(rgba(13,19,43,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,19,43,.045) 1px, transparent 1px);
}

/* Layered content */
.banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding: 48px 56px;
  align-items: center;
}
@media (max-width: 820px) {
  .banner-inner {
    grid-template-columns: 1fr;
    padding: 36px 32px;
    gap: 24px;
    text-align: center;
  }
}

/* Left: logo block */
.banner-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
@media (max-width: 820px) { .banner-left { align-items: center; } }

.banner-mark {
  width: 220px;
  max-width: 50vw;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-mark::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--accent-1), transparent 55%), transparent 70%);
  opacity: .62;
  z-index: -1;
}
.banner-mark > * {
  width: 100% !important;
  height: 100% !important;
}

/* Right: text block */
.banner-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 820px) { .banner-right { align-items: center; } }

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  align-self: flex-start;
}
.banner.light .banner-eyebrow {
  color: rgba(13,19,43,.62);
  background: rgba(238,244,249,.82);
  border-color: rgba(13,19,43,.14);
}
@media (max-width: 820px) { .banner-eyebrow { align-self: center; } }

.banner-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent-1), transparent 75%);
}

.banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.banner-title em,
.banner-title-accent {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banner[data-direction="monochrome"] .banner-title em,
.banner[data-direction="monochrome"] .banner-title-accent {
  background: none;
  color: currentColor;
}

.banner-sub {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  max-width: 38ch;
  text-wrap: pretty;
}
.banner.light .banner-sub {
  color: rgba(13,19,43,.66);
}
@media (max-width: 820px) { .banner-sub { max-width: none; } }

.banner-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
@media (max-width: 820px) { .banner-chips { justify-content: center; } }
.banner-chip {
  appearance: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease, color .12s ease;
}
.banner-chip:disabled {
  cursor: default;
}
.banner-chip:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--accent-1), transparent 28%);
  background: rgba(255,255,255,.085);
}
.banner.light .banner-chip {
  background: rgba(13,19,43,.045);
  color: rgba(13,19,43,.78);
  border-color: rgba(13,19,43,.08);
}
.banner-chip.active {
  background: color-mix(in oklab, var(--accent-2), transparent 70%);
  border-color: color-mix(in oklab, var(--accent-1), transparent 40%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--accent-1), white 18%),
    0 0 0 3px color-mix(in oklab, var(--accent-1), transparent 84%);
}
.banner.light .banner-chip.active {
  background: color-mix(in oklab, var(--accent-1), white 78%);
  border-color: color-mix(in oklab, var(--accent-2), white 58%);
  color: #0D132B;
}

.banner-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}
.banner.light .banner-foot {
  color: rgba(13,19,43,.52);
  border-top-color: rgba(13,19,43,.10);
}
.banner-foot .now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.banner-foot .now b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  color: rgba(255,255,255,.92);
  letter-spacing: 0;
}
.banner.light .banner-foot .now b {
  color: rgba(13,19,43,.88);
}
.banner-foot a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}
.banner.light .banner-foot a {
  color: rgba(13,19,43,.62);
}
.banner.light .banner-foot a:hover { color: #0D132B; }
.banner-foot a:hover { color: #fff; }

/* Variant gallery — all 5 themes shown together */
.variant-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 920px) { .variant-gallery { grid-template-columns: 1fr; } }

.variant-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.variant-cap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  border-bottom: 1px solid var(--line);
}
.variant-cap b {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
  font-size: 12.5px;
  text-transform: none;
}

.surface-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.surface-theme-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.surface-theme-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.surface-theme-head b {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 650;
}
.surface-theme-head span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
}
.surface-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
}
.surface-pair > div {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.surface-pair > div > span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
}
@media (max-width: 980px) {
  .surface-pair {
    grid-template-columns: 1fr;
  }
}

/* Compact banner for variant cards */
.banner.compact {
  aspect-ratio: 5 / 2;
}
.banner.compact .banner-inner {
  padding: 24px 28px;
  gap: 24px;
}
.banner.compact .banner-mark { width: 110px; }
.banner.compact .banner-title { font-size: 22px; }
.banner.compact .banner-sub   { display: none; }
.banner.compact .banner-chips { display: none; }
.banner.compact .banner-foot  { font-size: 10px; padding-top: 10px; margin-top: 10px; }
.banner.compact .banner-eyebrow { font-size: 9.5px; padding: 3px 8px; }

/* Markdown / code block */
.pc-code {
  background: var(--ink-900);
  color: #DCE0EE;
  border-radius: 14px;
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
  position: relative;
  white-space: pre;
}
.pc-code .tk-tag  { color: #8FA5FF; }
.pc-code .tk-attr { color: #B6E8E2; }
.pc-code .tk-str  { color: #FFD580; }
.pc-code .tk-cmt  { color: rgba(255,255,255,.4); }
.pc-code-copy {
  position: absolute;
  top: 14px; right: 14px;
  appearance: none;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pc-code-copy:hover { background: rgba(255,255,255,.14); }
.pc-code-copy:focus-visible,
.tagline-card:focus-visible,
.pc-theme-btn:focus-visible,
.logo-mode-btn:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
}

/* Steps block */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step .num {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0;
}
.step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}
.step code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--text);
}

/* Tagline picker */
.tagline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
@media (max-width: 720px) { .tagline-grid { grid-template-columns: 1fr; } }
.tagline-card {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .12s ease, transform .1s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tagline-card:hover { transform: translateY(-1px); border-color: var(--line-2); }
.tagline-card.on {
  border-color: transparent;
  box-shadow: 0 0 0 1.5px var(--accent-2);
}
.tagline-card b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0;
}
.tagline-card span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Compact premium profile editor */
.pc-shell {
  max-width: 1160px;
  padding: 38px 28px 54px;
}
.pc-home-hdr {
  margin-bottom: 18px;
  padding-bottom: 16px;
}
.pc-home-hdr.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  margin-top: -12px;
  padding-top: 10px;
}
.pc-home-hdr.topbar.is-compact {
  margin-left: -12px;
  margin-right: -12px;
  padding: 8px 12px;
  border-radius: 0 0 16px 16px;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--surface), transparent 4%), color-mix(in oklab, var(--surface-2), transparent 10%));
  box-shadow: 0 18px 44px -34px rgba(0,0,0,.58);
}
.pc-hdr-l.topbar-brand {
  --brand-lockup-gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.pc-hdr-l.topbar-brand .brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  margin-right: 2px;
}
.pc-hdr-l.topbar-brand .pc-brand-title,
.pc-hdr-l.topbar-brand .pc-brand-text {
  min-width: 0;
  white-space: nowrap;
}
.pc-hdr-r {
  flex: 0 0 auto;
  gap: 8px;
}
.banner-frame {
  border-radius: 20px;
  box-shadow:
    0 22px 60px -48px rgba(0,0,0,.72),
    0 1px 0 rgba(255,255,255,.04) inset;
}
.banner-frame-cap {
  padding: 10px 16px;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--surface), white 3%), var(--surface));
}
.banner {
  aspect-ratio: 3 / 1;
}
.banner-inner {
  grid-template-columns: .84fr 1.16fr;
  gap: 34px;
  padding: 38px 48px;
}
.banner-mark {
  width: 190px;
}
.banner-title {
  font-size: clamp(27px, 3.4vw, 43px);
  letter-spacing: 0;
}
.banner-right {
  gap: 13px;
}
.banner-foot {
  margin-top: 10px;
  padding-top: 13px;
}
.accent-control-block,
.surface-control-block {
  display: grid;
  align-items: start;
  gap: 9px;
}
.accent-control-block {
  grid-template-columns: repeat(5, minmax(0, auto));
}
.accent-control-block .pc-controls-label,
.surface-control-block .pc-controls-label {
  grid-column: 1 / -1;
}
.surface-control-block .profile-surface-row {
  width: 100%;
}
.logo-controls-wide {
  gap: 9px;
}
.profile-logo-row {
  gap: 9px;
}
.profile-logo-row .logo-mode-btn {
  min-height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--surface), var(--surface-2) 34%);
}
.profile-logo-row .logo-mode-btn.active {
  background:
    linear-gradient(color-mix(in oklab, var(--surface), white 2%), color-mix(in oklab, var(--surface), var(--accent-2) 4%)) padding-box,
    linear-gradient(135deg, var(--accent-1), var(--accent-2) 50%, var(--accent-3)) border-box;
}
.mood-control-block {
  display: grid;
  gap: 9px;
}
.mood-control-block .tagline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}
.mood-control-block .tagline-card {
  min-width: 0;
  min-height: 66px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 13px;
  background:
    linear-gradient(145deg, color-mix(in oklab, var(--surface), white 3%), color-mix(in oklab, var(--surface-2), var(--accent-2) 3%));
  box-shadow: 0 10px 26px -24px rgba(0,0,0,.58);
}
.mood-control-block .tagline-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent-1), var(--line) 48%);
  box-shadow: 0 18px 34px -28px color-mix(in oklab, var(--accent-2), transparent 45%);
}
.mood-control-block .tagline-card.on {
  border-color: transparent;
  box-shadow:
    0 0 0 1.5px var(--accent-2),
    0 0 0 6px color-mix(in oklab, var(--accent-1), transparent 88%),
    0 18px 34px -28px color-mix(in oklab, var(--accent-2), transparent 42%);
}
.mood-control-block .tagline-card b {
  min-width: 0;
  font-size: 13.2px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0;
}
.mood-control-block .mood-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 32% 24%, color-mix(in oklab, var(--accent-1), white 13%), transparent 44%),
    color-mix(in oklab, var(--accent-2), transparent 83%);
  border: 1px solid color-mix(in oklab, var(--accent-1), transparent 50%);
  overflow: hidden;
}
.mood-control-block .mood-glyph i {
  position: absolute;
  display: block;
  background: var(--accent-1);
  border-radius: 2px;
}
.mood-glyph.hello i:first-child {
  width: 6px;
  height: 6px;
  transform: translate(-8px, -8px);
}
.mood-glyph.hello i:nth-child(2) {
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  background: var(--logo-sparkle-strong);
}
.mood-glyph.hello i:nth-child(3) {
  width: 5px;
  height: 5px;
  transform: translate(9px, 9px);
  background: var(--accent-3);
}
.mood-glyph.lab i:first-child {
  width: 14px;
  height: 16px;
  border: 2px solid var(--accent-1);
  border-top: 0;
  border-radius: 2px 2px 7px 7px;
  background: transparent;
  transform: translateY(4px);
}
.mood-glyph.lab i:nth-child(2) {
  width: 14px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: color-mix(in oklab, var(--accent-2), var(--accent-1) 34%);
  transform: translateY(9px);
}
.mood-glyph.lab i:nth-child(3) {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  transform: translate(8px, -8px);
  background: var(--accent-3);
}
.mood-glyph.power i:first-child {
  width: 13px;
  height: 22px;
  border-radius: 1px;
  clip-path: polygon(54% 0, 16% 48%, 46% 48%, 33% 100%, 86% 38%, 56% 38%);
  background: linear-gradient(180deg, var(--accent-1), var(--accent-3));
}
.mood-glyph.power i:nth-child(2) {
  width: 5px;
  height: 5px;
  transform: translate(-10px, -9px);
}
.mood-glyph.power i:nth-child(3) {
  width: 5px;
  height: 5px;
  transform: translate(10px, 10px);
  background: var(--accent-3);
}
.mood-glyph.loop i:first-child {
  width: 21px;
  height: 21px;
  border: 2px solid color-mix(in oklab, var(--accent-1), white 8%);
  border-right-color: var(--accent-3);
  border-radius: 999px;
  background: transparent;
}
.mood-glyph.loop i:nth-child(2),
.mood-glyph.loop i:nth-child(3) {
  width: 5px;
  height: 5px;
  border-radius: 999px;
}
.mood-glyph.loop i:nth-child(2) {
  transform: translate(9px, -7px);
}
.mood-glyph.loop i:nth-child(3) {
  transform: translate(-9px, 7px);
  background: var(--accent-3);
}
.pc-theme-btn,
.surface-choice {
  min-height: 38px;
}
.pc-theme-btn.on,
.surface-choice.on {
  box-shadow:
    0 0 0 1.5px var(--accent-2),
    0 0 0 5px color-mix(in oklab, var(--accent-1), transparent 88%),
    0 14px 30px -24px var(--accent-2);
}
.foot-line {
  margin-top: 38px;
}

@media (max-width: 980px) {
  .mood-control-block .tagline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pc-shell {
    padding: 24px 16px 42px;
  }
  .pc-home-hdr {
    margin-bottom: 14px;
  }
  .pc-hdr {
    gap: 14px;
  }
  .pc-home-hdr.topbar {
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .pc-home-hdr.topbar.is-compact {
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .pc-hdr-r {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: auto;
  }
  .pc-hdr-r .active-theme-signal {
    display: none;
  }
  .banner {
    aspect-ratio: auto;
  }
  .banner-inner {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 18px;
    text-align: left;
  }
  .banner-left,
  .banner-right {
    align-items: flex-start;
  }
  .banner-mark {
    width: 92px;
    max-width: 92px;
  }
  .banner-eyebrow {
    align-self: flex-start;
    font-size: 9px;
    letter-spacing: .08em;
    padding: 4px 7px;
  }
  .banner-title {
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.05;
  }
  .banner-sub,
  .banner-foot {
    display: none;
  }
  .banner-chips {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 3px;
  }
  .banner-chip {
    font-size: 8.5px;
    padding: 4px 6px;
    border-radius: 5px;
    letter-spacing: .02em;
  }
  .profile-logo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .profile-logo-row .logo-mode-btn {
    width: 100%;
    justify-content: flex-start;
  }
  .mood-control-block .tagline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mood-control-block .tagline-card {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 62px;
    padding: 9px;
  }
  .mood-control-block .mood-glyph {
    width: 31px;
    height: 31px;
  }
  .pc-controls-group {
    width: 100%;
  }
  .accent-control-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pc-theme-btn {
    justify-content: flex-start;
    min-width: 0;
  }
  .profile-surface-row,
  .surface-choice {
    width: 100%;
  }
  .surface-choice {
    flex: 1 1 0;
    justify-content: center;
  }
  .banner-frame-cap {
    padding: 9px 12px;
    font-size: 9.5px;
  }
  .banner-frame-cap span:first-child {
    min-width: 0;
    white-space: nowrap;
  }
  .banner-frame-cap span:last-child {
    display: none;
  }
  .foot-line {
    margin-top: 30px;
  }
}

@media (max-width: 420px) {
  .pc-theme-btn {
    font-size: 12px;
  }
  .mood-control-block .tagline-card b {
    font-size: 12.2px;
  }
}

/* ───────── Brand ID v2 — Profile Card scenic banner + DevisWordmark in header ───────── */

/* Stop the legacy .pc-brand-text descendant cascade from overriding
   .devis-wordmark-lab gradient. DevisWordmark renders with both
   .pc-brand-text and .devis-wordmark on the outer element. */
.pc-brand-title .pc-brand-text.devis-wordmark {
  font-size: 17px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}
.pc-brand-title .pc-brand-text.devis-wordmark > span {
  font-family: var(--font-display);
  font-size: inherit;
  letter-spacing: 0;
  color: var(--text);
  text-transform: none;
}
.pc-brand-title .pc-brand-text.devis-wordmark .devis-wordmark-lab {
  background: var(--wordmark-lab-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pc-brand-title .pc-brand-text.devis-wordmark .devis-wordmark-i-dot,
.identity-stage .devis-wordmark .devis-wordmark-i-dot {
  background: var(--wordmark-dot-safe, var(--wordmark-dot, var(--logo-accent)));
}
.pc-brand-title .pc-brand-text.devis-wordmark .devis-wordmark-i-stem {
  width: .135em;
}
.pc-brand-title .pc-brand-text.devis-wordmark[data-logo-direction="monochrome"] .devis-wordmark-lab {
  background: none;
  color: currentColor;
  opacity: .95;
}

/* Bigger, more scenic first-page banner. */
.pc-shell { max-width: 1340px; }
.banner-frame {
  border-radius: 22px;
  box-shadow: 0 24px 80px -56px rgba(13,19,43,.88);
}
.banner { aspect-ratio: 16 / 5.2; }
.banner-inner {
  grid-template-columns: .9fr 1.25fr;
  padding: clamp(42px, 5vw, 62px);
}
.banner-mark { width: clamp(210px, 19vw, 280px); }
.banner-title { font-size: clamp(32px, 4.3vw, 58px); }
.banner-sub { font-size: clamp(14px, 1.3vw, 18px); }
.banner-title-mobile,
.banner-sub-mobile {
  display: none;
}
.banner-chip.active {
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--accent-1), white 18%),
    0 0 0 4px var(--active-ring-soft);
}

/* Stable slots — text and controls can change content, never dimensions. */
.banner-eyebrow.stable-eyebrow { min-height: 26px; }
.banner-title.stable-headline { min-height: clamp(110px, 11vw, 138px); }
.banner-sub.stable-body { min-height: 60px; }
.banner-chips.stable-controls { min-height: 36px; }
.banner-foot.stable-meta { min-height: 26px; }
.banner-mark.stable-preview {
  display: grid;
  place-items: center;
  width: clamp(210px, 19vw, 280px);
  aspect-ratio: 1;
}
.banner-mark.stable-preview > * { max-width: 100%; max-height: 100%; }

@media (max-width: 720px) {
  .banner-title.stable-headline { min-height: 86px; }
  .banner-mark.stable-preview { width: min(42vw, 138px); }
  .banner-chips.stable-controls { min-height: 80px; }
}

/* ───────── Polish: scenic banner stage + glassy controls dock ───────── */

.banner-frame {
  position: relative;
  isolation: isolate;
  border-radius: 24px;
  box-shadow:
    0 32px 90px -60px rgba(13, 19, 43, .92),
    0 4px 22px -16px rgba(13, 19, 43, .35);
}
.banner-frame::before {
  content: "";
  position: absolute;
  inset: -22px -22px -34px;
  z-index: -1;
  border-radius: 36px;
  background:
    radial-gradient(60% 50% at 50% 100%, color-mix(in oklab, var(--accent-2), transparent 84%), transparent 72%),
    radial-gradient(40% 35% at 18% 20%, color-mix(in oklab, var(--accent-1), transparent 88%), transparent 70%);
  opacity: .45;
  pointer-events: none;
}
.banner { aspect-ratio: 16 / 5.2; border-radius: 22px; }

/* Controls dock — sits under banner, blends in with glassy fill and outline glow. */
/* Active states via box-shadow ring — no border width change. */
.pc-theme-btn,
.logo-mode-btn,
.banner-chip,
.surface-choice {
  border: 1px solid var(--line);
  outline: 0;
  transition:
    background .18s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s cubic-bezier(.2,.8,.2,1),
    color .18s cubic-bezier(.2,.8,.2,1);
}
.pc-theme-btn.on,
.logo-mode-btn.active,
.surface-choice.on {
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--accent-2), transparent 32%),
    0 0 0 5px color-mix(in oklab, var(--accent-1), transparent 86%),
    0 12px 26px -22px color-mix(in oklab, var(--accent-3), transparent 32%);
}

/* Pulse the i-dot quickly on accent change — set by JS via data-pulse="1". */

@media (max-width: 720px) {
  .banner {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .banner-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 16px;
    padding: 28px 22px;
    text-align: center;
  }
  .banner-left,
  .banner-right { align-items: center; }
  .banner-mark {
    width: min(42vw, 138px);
    max-width: none;
  }
  .banner-eyebrow { align-self: center; }
  .banner-title { font-size: clamp(26px, 8vw, 34px); }
  .banner-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 280px;
    gap: 8px;
    justify-content: center;
  }
  .banner-chip {
    font-size: 10px;
    padding: 7px 8px;
    border-radius: 8px;
  }
  .banner-sub,
  .banner-foot { display: none; }
}

/* Interactive Identity Stage - integrated first-screen playground */
.identity-stage {
  position: relative;
  max-width: min(1380px, 100%);
  margin: 0 auto;
  isolation: isolate;
}
.identity-stage__ambient {
  position: absolute;
  inset: -28px -26px -36px;
  z-index: -1;
  border-radius: 34px;
  background:
    radial-gradient(44% 56% at 18% 10%, color-mix(in oklab, var(--accent-1), transparent 72%), transparent 72%),
    radial-gradient(48% 58% at 92% 100%, color-mix(in oklab, var(--accent-3), transparent 70%), transparent 74%),
    linear-gradient(180deg, rgba(7,9,26,.06), transparent 60%);
  opacity: .82;
  pointer-events: none;
}
.identity-stage__chrome {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid color-mix(in oklab, var(--line-2), transparent 26%);
  background:
    radial-gradient(80% 80% at 0% 0%, color-mix(in oklab, var(--accent-1), transparent 91%), transparent 72%),
    radial-gradient(80% 90% at 100% 100%, color-mix(in oklab, var(--accent-3), transparent 91%), transparent 76%),
    color-mix(in oklab, var(--surface), #071026 4%);
  box-shadow:
    0 28px 70px -58px rgba(0,0,0,.78),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.identity-stage__chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--line), transparent 22%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--line), transparent 22%) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(85% 72% at 50% 42%, #000 0%, transparent 82%);
  opacity: .24;
  pointer-events: none;
}
.identity-stage__chrome-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding: 4px 5px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.identity-stage__chrome-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.identity-stage__chrome-bar .dot-row {
  display: inline-flex;
  gap: 5px;
}
.identity-stage__chrome-bar .dot-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
}
.identity-stage__chrome-bar .dot-row i:nth-child(2) { background: var(--accent-2); }
.identity-stage__chrome-bar .dot-row i:nth-child(3) { background: var(--accent-3); }
.identity-stage__preview {
  position: relative;
  z-index: 2;
}
.identity-stage__preview .banner {
  aspect-ratio: 16 / 7.05;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.07),
    0 24px 70px -56px rgba(0,0,0,.82);
}
.identity-stage__preview .banner.light {
  box-shadow:
    inset 0 0 0 1px rgba(13,19,43,.08),
    0 24px 70px -58px rgba(13,19,43,.48);
}
.identity-stage__preview .banner-inner {
  grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 4.4vw, 64px);
  padding: clamp(38px, 4.2vw, 58px) clamp(46px, 5.2vw, 78px) clamp(132px, 10vw, 152px);
}
.identity-stage__preview .banner-mark {
  width: clamp(230px, 21vw, 312px);
}
.identity-stage__preview .banner-mark::before {
  filter: none;
  inset: -5%;
  opacity: .52;
}
.identity-stage__preview .banner-right {
  gap: 12px;
  transform: translateY(-34px);
}
.identity-stage__preview .banner-eyebrow {
  min-height: 26px;
  letter-spacing: .11em;
}
.identity-stage__preview .banner-eyebrow .pulse {
  animation: none;
}
.identity-stage__preview .banner-title {
  min-height: 3.05em;
  font-size: clamp(36px, 4.25vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}
.identity-stage__preview .banner-title em {
  font-style: normal;
}
.identity-stage__preview .banner-sub {
  min-height: 2.8em;
  max-width: 42ch;
  font-size: clamp(14px, 1.24vw, 17px);
}
.identity-stage__mood-dock {
  min-height: 34px;
}
.identity-stage__preview .banner-chip {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.055);
}
.identity-stage__preview .banner-chip.active {
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--accent-1), white 16%),
    0 0 0 3px color-mix(in oklab, var(--accent-1), transparent 86%);
}
.identity-stage__preview .banner-foot {
  min-height: 28px;
  margin-top: 8px;
  padding-top: 13px;
}
.identity-stage__overlay {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 4;
  pointer-events: none;
}
.identity-stage__overlay span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(8,12,31,.52);
}
.identity-stage__overlay i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent-1);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-1), transparent 86%);
}
.identity-stage__overlay i:nth-child(2) {
  background: var(--accent-2);
}
.identity-stage__overlay i:nth-child(3) {
  background: var(--accent-3);
}
.identity-stage__signature {
  position: absolute;
  left: clamp(30px, 3.2vw, 54px);
  top: clamp(4px, .55vw, 8px);
  z-index: 5;
  pointer-events: none;
  display: inline-grid;
  gap: 3px;
  min-width: 0;
  width: max-content;
  max-width: clamp(218px, 21vw, 318px);
  padding: 9px 14px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(110% 130% at 14% 0%, color-mix(in oklab, var(--accent-1), transparent 82%), transparent 66%),
    linear-gradient(180deg, rgba(10,15,36,.54), rgba(8,12,31,.34));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 18px 34px -30px rgba(0,0,0,.72);
  color: #fff;
}
.identity-stage__signature::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-1);
  box-shadow:
    10px 0 0 color-mix(in oklab, var(--accent-2), transparent 18%),
    20px 0 0 color-mix(in oklab, var(--accent-3), transparent 22%);
  opacity: .7;
}
.identity-stage__signature .devis-wordmark {
  margin-top: 10px;
  font-size: clamp(27px, 2.28vw, 35px);
  line-height: .94;
  text-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.identity-stage__signature > span:not(.devis-wordmark) {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.64);
}
.identity-stage__dock {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: block;
  pointer-events: none;
}
.identity-stage__logo-dock,
.identity-stage__accent-dock,
.identity-stage__surface-dock {
  position: absolute;
  pointer-events: auto;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(90% 120% at 12% 0%, color-mix(in oklab, var(--accent-1), transparent 88%), transparent 68%),
    linear-gradient(180deg, rgba(12,18,42,.88), rgba(8,13,32,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    0 20px 42px -34px rgba(0,0,0,.76);
}
.identity-stage__logo-dock {
  left: 18px;
  bottom: 18px;
  width: min(38%, 430px);
}
.identity-stage__accent-dock {
  right: 18px;
  bottom: 18px;
  width: min(48%, 560px);
}
.identity-stage__surface-dock {
  right: 18px;
  top: 18px;
  width: 252px;
}
.identity-stage__dock .pc-controls-group {
  height: 100%;
  min-width: 0;
}
.identity-stage__dock .pc-controls-label {
  margin-bottom: 2px;
}
.identity-stage__logo-dock .logo-controls-wide,
.identity-stage__accent-dock .accent-control-block,
.identity-stage__surface-dock .surface-control-block {
  display: grid;
  align-content: start;
  gap: 9px;
}
.identity-stage__logo-dock .profile-logo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.identity-stage__logo-dock .logo-mode-btn {
  min-height: 44px;
  padding: 7px 9px;
  gap: 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.08);
}
.identity-stage__logo-dock .logo-mode-btn svg {
  width: 20px;
  height: 20px;
}
.identity-stage__logo-dock .logo-mode-btn b {
  font-size: 11px;
  white-space: nowrap;
}
.identity-stage__logo-dock .logo-mode-btn.active {
  animation: identityDockRing 520ms cubic-bezier(.2, .8, .2, 1) both;
}
.identity-stage__dock .logo-mode-btn.active,
.identity-stage__dock .pc-theme-btn.on,
.identity-stage__dock .surface-choice.on {
  color: #fff;
  border-color: color-mix(in oklab, var(--accent-1), transparent 40%);
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)) padding-box,
    linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3)) border-box;
}
.identity-stage__accent-dock .accent-control-block {
  grid-template-columns: repeat(5, minmax(82px, 1fr));
}
.identity-stage__accent-dock .pc-theme-btn {
  justify-content: flex-start;
  min-width: 0;
  min-height: 44px;
  padding: 7px 9px 7px 7px;
  font-size: 11.5px;
  gap: 8px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.08);
}
.identity-stage__accent-dock .pc-theme-swatch {
  width: 25px;
  height: 25px;
}
.identity-stage__accent-dock .pc-controls-label,
.identity-stage__surface-dock .pc-controls-label {
  grid-column: 1 / -1;
}
.identity-stage__surface-dock .profile-surface-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.identity-stage__surface-dock .surface-choice {
  justify-content: center;
  border-radius: 12px;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.08);
}
.identity-stage__surface-dock .pc-controls-label {
  display: none;
}
.identity-stage[data-surface="light"] .identity-stage__ambient {
  opacity: .58;
}
.identity-stage[data-surface="light"] .identity-stage__chrome {
  background:
    radial-gradient(82% 86% at 0% 0%, color-mix(in oklab, var(--accent-1), white 52%), transparent 78%),
    radial-gradient(76% 84% at 100% 100%, color-mix(in oklab, var(--accent-3), white 58%), transparent 80%),
    #EDF2F8;
  border-color: rgba(13,19,43,.12);
  box-shadow:
    0 28px 72px -58px rgba(13,19,43,.42),
    inset 0 1px 0 rgba(255,255,255,.86);
}
.identity-stage[data-surface="light"] .identity-stage__chrome::before {
  opacity: .18;
}
.identity-stage[data-surface="light"] .identity-stage__chrome-bar {
  color: rgba(42,52,80,.62);
}
.identity-stage[data-surface="light"] .identity-stage__overlay span {
  border-color: rgba(13,19,43,.12);
  background: rgba(255,255,255,.74);
}
.identity-stage[data-surface="light"] .identity-stage__signature {
  color: #0D132B;
  border-color: rgba(13,19,43,.13);
  background:
    radial-gradient(110% 130% at 14% 0%, color-mix(in oklab, var(--accent-1), transparent 86%), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(245,249,254,.56));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 18px 34px -30px rgba(13,19,43,.46);
}
.identity-stage[data-surface="light"] .identity-stage__signature .devis-wordmark {
  text-shadow: none;
}
.identity-stage[data-surface="light"] .identity-stage__signature > span:not(.devis-wordmark) {
  color: rgba(42,52,80,.62);
}
.identity-stage[data-surface="light"] .identity-stage__logo-dock,
.identity-stage[data-surface="light"] .identity-stage__accent-dock,
.identity-stage[data-surface="light"] .identity-stage__surface-dock {
  border-color: rgba(13,19,43,.14);
  background:
    radial-gradient(90% 120% at 12% 0%, color-mix(in oklab, var(--accent-1), transparent 88%), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(239,245,252,.86));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 20px 38px -34px rgba(13,19,43,.52);
}
.identity-stage[data-surface="light"] .identity-stage__dock .pc-controls-label {
  color: rgba(42,52,80,.62);
}
.identity-stage[data-surface="light"] .identity-stage__logo-dock .logo-mode-btn,
.identity-stage[data-surface="light"] .identity-stage__accent-dock .pc-theme-btn,
.identity-stage[data-surface="light"] .identity-stage__surface-dock .surface-choice {
  color: rgba(13,19,43,.82);
  border-color: rgba(13,19,43,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(245,249,254,.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}
.identity-stage[data-surface="light"] .identity-stage__logo-dock .logo-mode-btn:hover,
.identity-stage[data-surface="light"] .identity-stage__accent-dock .pc-theme-btn:hover,
.identity-stage[data-surface="light"] .identity-stage__surface-dock .surface-choice:hover {
  border-color: color-mix(in oklab, var(--accent-2), rgba(13,19,43,.18) 48%);
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(238,246,255,.76));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 14px 28px -24px color-mix(in oklab, var(--accent-2), transparent 24%);
}
.identity-stage[data-surface="light"] .identity-stage__dock .logo-mode-btn.active,
.identity-stage[data-surface="light"] .identity-stage__dock .pc-theme-btn.on,
.identity-stage[data-surface="light"] .identity-stage__dock .surface-choice.on {
  color: #fff;
  border-color: color-mix(in oklab, var(--accent-1), white 22%);
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--accent-1), white 4%), var(--accent-2) 54%, var(--accent-3));
  text-shadow: 0 1px 10px rgba(3,7,18,.26);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.72),
    0 0 0 4px color-mix(in oklab, var(--accent-1), transparent 82%),
    0 18px 34px -26px color-mix(in oklab, var(--accent-2), transparent 12%);
}
.identity-stage[data-surface="light"] .identity-stage__dock .pc-theme-btn.on .pc-theme-swatch {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.74),
    0 0 0 2px rgba(255,255,255,.82),
    0 0 0 4px rgba(13,19,43,.14);
}
.identity-stage[data-surface="light"] .identity-stage__surface-dock .surface-choice.on span {
  border-color: rgba(255,255,255,.58);
  box-shadow: 0 0 0 1px rgba(13,19,43,.18);
}
.identity-stage[data-surface="light"] .logo-transition[data-variant="pixel"] svg rect {
  stroke: rgba(13,19,43,.18);
  stroke-width: .9px;
  paint-order: stroke fill;
}
.identity-stage[data-surface="light"] .logo-transition[data-variant="pixel"] svg {
  filter: drop-shadow(0 10px 18px color-mix(in oklab, var(--accent-2), transparent 72%));
}

@media (max-width: 1080px) {
  .identity-stage__dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    pointer-events: auto;
  }
  .identity-stage__logo-dock,
  .identity-stage__accent-dock,
  .identity-stage__surface-dock {
    position: relative;
    inset: auto;
    width: 100%;
  }
  .identity-stage__preview .banner-right {
    transform: none;
  }
  .identity-stage__accent-dock .accent-control-block {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .identity-stage__ambient {
    inset: -14px -10px -20px;
    opacity: .62;
  }
  .identity-stage__chrome {
    padding: 10px;
    border-radius: 22px;
  }
  .identity-stage__chrome-bar {
    padding: 2px 2px 9px;
    font-size: 9.5px;
  }
  .identity-stage__chrome-bar > span:last-child {
    display: none;
  }
  .identity-stage__preview .banner {
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 18px;
  }
  .identity-stage__preview .banner-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 16px;
    padding: 26px 18px 30px;
    text-align: center;
  }
  .identity-stage__preview .banner-left,
  .identity-stage__preview .banner-right {
    align-items: center;
    transform: none;
  }
  .identity-stage__preview .banner-left {
    padding-top: 0;
  }
  .identity-stage__preview .banner-mark,
  .identity-stage__preview .banner-mark.stable-preview {
    width: min(44vw, 152px);
    max-width: none;
  }
  .identity-stage__preview .banner-eyebrow {
    align-self: center;
    font-size: 9px;
    letter-spacing: .07em;
    padding: 4px 7px;
  }
  .identity-stage__preview .banner-title,
  .identity-stage__preview .banner-title.stable-headline {
    min-height: 3.2em;
    font-size: clamp(24px, 8.2vw, 34px);
    line-height: 1.06;
  }
  .identity-stage__preview .banner-sub,
  .identity-stage__preview .banner-sub.stable-body {
    display: block;
    min-height: 4.6em;
    max-width: 34ch;
    font-size: 13px;
  }
  .identity-stage__preview .banner-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 310px;
    gap: 7px;
  }
  .identity-stage__preview .banner-chip {
    min-height: 31px;
    padding: 6px 7px;
    font-size: 9.5px;
  }
  .identity-stage__preview .banner-foot {
    display: flex;
    width: 100%;
    max-width: 330px;
    margin-top: 4px;
    padding-top: 12px;
    gap: 10px;
    font-size: 9.4px;
  }
  .identity-stage__preview .banner-foot .now b {
    font-size: 10.5px;
  }
  .identity-stage__overlay {
    display: none;
  }
  .identity-stage__signature {
    display: none;
  }
  .identity-stage__dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    padding: 10px;
    border-radius: 17px;
    display: grid;
    background:
      radial-gradient(90% 120% at 10% 0%, color-mix(in oklab, var(--accent-1), transparent 90%), transparent 72%),
      linear-gradient(180deg, color-mix(in oklab, var(--surface), transparent 8%), color-mix(in oklab, var(--surface-2), transparent 10%));
  }
  .identity-stage__logo-dock,
  .identity-stage__accent-dock,
  .identity-stage__surface-dock {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 10px;
  }
  .identity-stage__logo-dock .profile-logo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .identity-stage__logo-dock .logo-mode-btn {
    width: 100%;
    min-height: 42px;
    padding: 7px 8px;
  }
  .identity-stage__accent-dock .accent-control-block {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .identity-stage__surface-dock .profile-surface-row {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .pc-home-hdr.topbar,
  .pc-home-hdr.topbar.is-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 8px;
    padding-right: 8px;
    overflow: visible;
  }
  .pc-hdr-l.topbar-brand {
    width: 100%;
    gap: 8px;
  }
  .pc-hdr-l.topbar-brand .brand-mark {
    margin-right: 6px;
  }
  .pc-hdr-l.topbar-brand .brand-mark svg {
    width: 22px;
    height: 22px;
  }
  .pc-brand-title .pc-brand-text.devis-wordmark {
    max-width: calc(100vw - 104px);
    font-size: 15px;
  }
  .pc-hdr-r {
    display: grid;
    grid-template-columns: minmax(0, auto) auto 38px;
    justify-content: stretch;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow: visible;
  }
  .pc-nav-link {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 9px;
    white-space: nowrap;
  }
  .pc-hdr-r .mode-tog {
    justify-self: end;
    padding: 3px;
  }
  .pc-hdr-r .mode-tog button {
    padding: 5px 8px;
    font-size: 9px;
  }
  .pc-hdr-r > .sound-toggle {
    width: 36px;
    min-width: 36px;
    min-height: 32px;
    padding: 0;
    gap: 0;
  }
  .pc-hdr-r > .sound-toggle > span:not(.sound-toggle__icon),
  .pc-hdr-r > .sound-toggle b {
    display: none;
  }
  .identity-stage__preview .banner-title.stable-headline,
  .identity-stage__preview .banner-sub.stable-body {
    display: none;
  }
  .identity-stage__preview .banner-title-mobile,
  .identity-stage__preview .banner-sub-mobile {
    display: block;
  }
  .identity-stage__preview .banner-title-mobile {
    min-height: 0;
    font-size: clamp(25px, 7.8vw, 32px);
    line-height: 1.05;
    margin: 0;
  }
  .identity-stage__preview .banner-sub-mobile {
    min-height: 0;
    max-width: 30ch;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.42;
  }
  .identity-stage__preview .banner-inner {
    gap: 13px;
    padding: 22px 16px 24px;
  }
  .identity-stage__preview .banner-mark,
  .identity-stage__preview .banner-mark.stable-preview {
    width: min(38vw, 136px);
  }
  .identity-stage__accent-dock .pc-theme-btn {
    justify-content: flex-start;
    min-height: 40px;
    padding: 7px;
    font-size: 11px;
  }
  .identity-stage__accent-dock .accent-control-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .identity-stage__accent-dock .pc-theme-swatch {
    width: 21px;
    height: 21px;
  }
  .identity-stage__surface-dock .surface-choice {
    min-height: 40px;
  }
}

@keyframes identityDockRing {
  0% {
    box-shadow:
      0 0 0 1px color-mix(in oklab, var(--accent-2), transparent 32%),
      0 0 0 0 color-mix(in oklab, var(--accent-1), transparent 78%);
  }
  58% {
    box-shadow:
      0 0 0 1px color-mix(in oklab, var(--accent-2), transparent 32%),
      0 0 0 6px color-mix(in oklab, var(--accent-1), transparent 86%);
  }
  100% {
    box-shadow:
      0 0 0 1px color-mix(in oklab, var(--accent-2), transparent 32%),
      0 0 0 5px color-mix(in oklab, var(--accent-1), transparent 86%),
      0 12px 26px -22px color-mix(in oklab, var(--accent-3), transparent 32%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-stage__logo-dock .logo-mode-btn.active {
    animation: none !important;
  }
}

/* Final mobile compact polish for the start playground. */
@media (max-width: 720px) {
  .identity-stage {
    padding: 12px;
  }
  .identity-stage__preview .banner-inner {
    gap: 10px;
    padding: 18px 14px 20px;
  }
  .identity-stage__preview .banner-mark,
  .identity-stage__preview .banner-mark.stable-preview {
    width: min(34vw, 124px);
  }
  .identity-stage__preview .banner-title-mobile {
    font-size: clamp(24px, 7.2vw, 30px);
  }
  .identity-stage__preview .banner-sub-mobile {
    font-size: 13px;
  }
  .identity-stage__dock {
    gap: 10px;
    padding: 10px;
  }
  .identity-stage__logo-dock .logo-mode-btn,
  .identity-stage__accent-dock .pc-theme-btn,
  .identity-stage__surface-dock .surface-choice {
    min-height: 36px;
  }
  .identity-stage__logo-dock .logo-mode-btn {
    padding: 7px;
  }
  .identity-stage__accent-dock .pc-theme-btn {
    font-size: 10.5px;
  }
}

/* Final phone polish: keep the Profile Card stage compact and readable. */
@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .pc-shell {
    padding: 128px 10px 56px;
  }

  .pc-home-hdr.topbar,
  .pc-home-hdr.topbar.is-compact {
    position: fixed;
    top: 0;
    left: 12px;
    right: 12px;
    z-index: 80;
    gap: 7px;
    margin: 0;
    padding: 8px;
    border-color: var(--line);
    border-radius: 0 0 16px 16px;
    background:
      linear-gradient(180deg, color-mix(in oklab, var(--surface), transparent 4%), color-mix(in oklab, var(--surface-2), transparent 10%));
    box-shadow: 0 18px 44px -34px rgba(0,0,0,.58);
  }

  .pc-hdr-l.topbar-brand {
    gap: 7px;
  }

  .pc-hdr-l.topbar-brand .brand-mark {
    margin-right: 0;
  }

  .pc-brand-title .pc-brand-text.devis-wordmark {
    max-width: calc(100vw - 82px);
    font-size: 15px;
    font-weight: 750;
  }

  .pc-hdr-r {
    grid-template-columns: minmax(0, 1fr) auto 36px;
  }

  .pc-nav-link {
    justify-content: center;
    min-width: 0;
  }

  .identity-stage {
    max-width: 100%;
    padding: 8px;
    overflow: clip;
  }

  .identity-stage__chrome {
    padding: 8px;
    border-radius: 20px;
  }

  .identity-stage__chrome-bar {
    padding-bottom: 7px;
    font-size: 8.5px;
  }

  .identity-stage__preview .banner {
    border-radius: 16px;
  }

  .identity-stage__preview .banner-inner {
    gap: 8px;
    padding: 14px 11px 16px;
  }

  .identity-stage__preview .banner-mark,
  .identity-stage__preview .banner-mark.stable-preview {
    width: min(28vw, 108px);
  }

  .identity-stage__preview .banner-eyebrow {
    max-width: 100%;
    font-size: 7.8px;
    letter-spacing: .06em;
    white-space: normal;
  }

  .identity-stage__preview .banner-title-mobile {
    font-size: clamp(22px, 6.7vw, 28px);
    line-height: 1.03;
  }

  .identity-stage__preview .banner-sub-mobile {
    max-width: 28ch;
    font-size: 12.5px;
    line-height: 1.36;
  }

  .identity-stage__preview .banner-chips {
    max-width: 292px;
    gap: 6px;
  }

  .identity-stage__preview .banner-chip {
    min-height: 30px;
    border-radius: 999px;
    font-size: 9px;
  }

  .identity-stage__preview .banner-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 292px;
    gap: 5px;
    padding-top: 9px;
    text-align: center;
    font-size: 8.8px;
  }

  .identity-stage__preview .banner-foot .now {
    justify-content: center;
    min-width: 0;
  }

  .identity-stage__preview .banner-foot a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .identity-stage__dock {
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 15px;
  }

  .identity-stage__logo-dock,
  .identity-stage__accent-dock,
  .identity-stage__surface-dock {
    min-width: 0;
    padding: 8px;
  }

  .identity-stage__logo-dock .profile-logo-row {
    gap: 6px;
  }

  .identity-stage__logo-dock .logo-mode-btn,
  .identity-stage__accent-dock .pc-theme-btn,
  .identity-stage__surface-dock .surface-choice {
    min-height: 34px;
    border-radius: 12px;
  }

  .identity-stage__logo-dock .logo-mode-btn {
    padding: 6px;
  }

  .identity-stage__logo-dock .logo-mode-btn b {
    font-size: 9.2px;
  }

  .identity-stage__accent-dock .accent-control-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .identity-stage__accent-dock .pc-theme-btn {
    justify-content: flex-start;
    padding: 6px;
    font-size: 9.5px;
  }

  .identity-stage__accent-dock .pc-theme-swatch {
    width: 22px;
    height: 22px;
  }

  .identity-stage__surface-dock .surface-choice {
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .identity-stage__preview .banner-title-mobile {
    font-size: clamp(21px, 6.3vw, 26px);
  }

  .identity-stage__preview .banner-mark,
  .identity-stage__preview .banner-mark.stable-preview {
    width: min(26vw, 98px);
  }

  .identity-stage__preview .banner-inner {
    padding-inline: 10px;
  }
}

/* Final Profile Card mobile polish: tighter stage, controls stay close to preview. */
@media (max-width: 720px) {
  .identity-stage__preview .banner-inner {
    padding: 12px 10px 14px;
  }

  .identity-stage__preview .banner-mark,
  .identity-stage__preview .banner-mark.stable-preview {
    width: min(25vw, 96px);
  }

  .identity-stage__preview .banner-title-mobile {
    font-size: clamp(21px, 6.4vw, 27px);
  }

  .identity-stage__preview .banner-sub-mobile {
    font-size: 12px;
  }

  .identity-stage__preview .banner-chips {
    max-width: 284px;
  }

  .identity-stage__dock {
    margin-top: 6px;
  }
}
