:root {
  color-scheme: dark;
  --bg: #0d0d12;
  --bg-soft: #14141c;
  --panel: rgba(22, 22, 30, 0.88);
  --panel-light: #f3f0e9;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f5ef;
  --muted: #a5a3ad;
  --ink: #111118;
  --pink: #ff477e;
  --purple: #8b5cf6;
  --orange: #ff8a3d;
  --yellow: #f9d44b;
  --green: #63d297;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(113, 68, 177, 0.16), transparent 36rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.dialog-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a,
label[for] {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one {
  top: 28rem;
  left: -15rem;
  background: var(--pink);
}

.ambient-two {
  right: -14rem;
  top: 70rem;
  background: var(--purple);
}

.site-header {
  position: relative;
  z-index: 10;
  width: min(1280px, calc(100% - 48px));
  height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.04rem;
}

.brand em {
  font-style: normal;
  color: #a9a5b1;
  font-weight: 500;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 3px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: conic-gradient(from 220deg, var(--yellow), var(--orange), var(--pink), var(--purple), #6277ff, var(--yellow));
  transform: rotate(-6deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--bg);
  border-radius: 6px;
}

.brand-mark span {
  position: relative;
  width: 7px;
  height: 7px;
  border: 2px solid white;
  border-radius: 50%;
}

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

.nav-link,
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
}

.nav-link:hover,
.text-button:hover {
  color: white;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-small {
  padding: 11px 17px;
  font-size: 0.76rem;
}

.button-dark {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.button-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-primary {
  color: white;
  background: linear-gradient(115deg, #b456d7, #ff4c7c 55%, #ff8b45);
  box-shadow: 0 10px 34px rgba(239, 70, 124, 0.2);
}

.button-primary:hover {
  box-shadow: 0 14px 44px rgba(239, 70, 124, 0.32);
}

.button-quiet {
  padding-inline: 4px;
  color: #ccc9d2;
  background: transparent;
}

.button-light {
  color: var(--ink);
  background: white;
}

.button-danger {
  display: none;
  color: #ffb8c9;
  border-color: rgba(255, 71, 126, 0.3);
  background: rgba(255, 71, 126, 0.1);
}

main {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
}

.hero {
  min-height: 620px;
  padding: 105px 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: #aaa7b1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.pulse-dot,
.live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(99, 210, 151, 0.1);
}

.hero h1 {
  margin: 30px 0 23px;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.078em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #b8a8ef 12%, #f29bc4 50%, #f3a77a 88%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
}

.hero-meta {
  margin-top: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.58rem;
  color: #74727d;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #53515c;
}

.mosaic-section,
.principles {
  padding: 72px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta-panel h2,
.modal h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.84rem;
}

.mosaic-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 23, 0.72);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.mosaic-toolbar,
.mosaic-footer {
  min-height: 68px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mosaic-toolbar {
  border-bottom: 1px solid var(--line);
}

.toolbar-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.72rem;
  color: #777581;
}

.toolbar-stat .live-indicator {
  width: 6px;
  height: 6px;
  margin-right: 2px;
  align-self: center;
}

.toolbar-stat strong {
  color: white;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 400;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.search-control {
  width: 220px;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #7c7984;
}

.search-control:focus-within {
  border-color: rgba(218, 133, 216, 0.6);
  box-shadow: 0 0 0 3px rgba(218, 133, 216, 0.08);
}

.search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
}

.search-control input::placeholder {
  color: #62606a;
}

.icon-button {
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #b2afba;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.icon-button:hover {
  border-color: var(--line-strong);
  color: white;
  background: rgba(255, 255, 255, 0.07);
}

.canvas-wrap {
  position: relative;
  height: min(67vw, 650px);
  min-height: 430px;
  overflow: hidden;
  background: #09090d;
  cursor: grab;
  touch-action: none;
}

.canvas-wrap.dragging {
  cursor: grabbing;
}

#mosaicCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.find-me,
.zoom-readout,
.canvas-hint {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 15, 21, 0.8);
  backdrop-filter: blur(14px);
  color: #ddd9e2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.62rem;
}

.find-me {
  top: 18px;
  left: 18px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.target-icon {
  width: 9px;
  height: 9px;
  display: block;
  border: 1px solid #f497c0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(244, 151, 192, 0.12);
}

.zoom-readout {
  right: 18px;
  bottom: 18px;
  min-width: 54px;
  padding: 9px 11px;
  border-radius: 9px;
  text-align: center;
}

.canvas-hint {
  left: 50%;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 9px;
  transform: translateX(-50%);
  transition: opacity 350ms ease;
}

.canvas-hint.hidden {
  opacity: 0;
}

.mosaic-footer {
  min-height: 58px;
  color: #73717b;
  font-size: 0.66rem;
  border-top: 1px solid var(--line);
}

.mosaic-footer p {
  margin: 0;
}

.mosaic-footer .text-button {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.61rem;
}

.legend {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.legend span {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--purple), var(--orange));
}

.principles {
  padding-top: 110px;
  padding-bottom: 120px;
}

.section-heading.compact {
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid article {
  position: relative;
  min-height: 310px;
  padding: 34px 38px 34px 0;
  border-right: 1px solid var(--line);
}

.principle-grid article + article {
  padding-left: 38px;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-number {
  position: absolute;
  right: 22px;
  top: 35px;
  color: #55535e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.6rem;
}

.principle-icon {
  width: 54px;
  height: 54px;
  margin: 18px 0 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-size: 1.2rem;
  color: white;
}

.gradient-a { background: linear-gradient(145deg, #734cdb, #c24ec4); }
.gradient-b { background: linear-gradient(145deg, #dd4d8d, #ff8050); }
.gradient-c { background: linear-gradient(145deg, #e4834c, #e8ba49); }

.principle-grid h3 {
  margin: 0 0 13px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.principle-grid p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.cta-panel {
  min-height: 330px;
  margin-bottom: 80px;
  padding: 60px 70px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.15), transparent 28%),
    linear-gradient(120deg, #8050bd 0%, #d44e91 49%, #f48655 100%);
  overflow: hidden;
}

.cta-panel .kicker {
  color: rgba(255, 255, 255, 0.7);
}

.cta-panel h2 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.cta-panel .button {
  flex: none;
  margin-bottom: 7px;
}

footer {
  width: min(1280px, calc(100% - 48px));
  min-height: 100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  color: #6e6c76;
  font-size: 0.64rem;
}

footer p:last-child {
  text-align: right;
}

.brand-footer {
  color: #bbb8c2;
}

.modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: transparent;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.modal::backdrop {
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(14px);
}

.modal-shell {
  position: relative;
  padding: 44px;
  border-radius: inherit;
  background: #181820;
  overflow: auto;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #b5b2bc;
  cursor: pointer;
  font-size: 1.25rem;
}

.modal-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.modal h2 {
  margin-top: 15px;
  font-size: 2.7rem;
}

.modal-intro {
  margin: 14px 0 30px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.upload-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}

.upload-zone {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: #df72aa;
  background: rgba(223, 114, 170, 0.06);
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-preview {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #d5d1d9;
  text-align: center;
  font-size: 0.75rem;
  background-position: center;
  background-size: cover;
}

.upload-preview.has-image::after {
  content: "Change portrait";
  position: absolute;
  inset: auto 10px 10px;
  padding: 8px;
  border-radius: 8px;
  color: white;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}

.upload-preview.has-image > * {
  display: none;
}

.upload-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-size: 1.1rem;
}

.upload-preview small {
  color: #77747f;
  font-size: 0.58rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.form-fields label > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #d7d4dd;
  font-size: 0.7rem;
}

.form-fields label small {
  color: #6f6d77;
  font-size: 0.58rem;
}

.form-fields input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: white;
  font-size: 0.75rem;
}

.form-fields input:focus {
  border-color: #c568b2;
  box-shadow: 0 0 0 3px rgba(197, 104, 178, 0.08);
}

.input-prefix {
  position: relative;
}

.input-prefix b {
  position: absolute;
  left: 13px;
  top: 12px;
  z-index: 1;
  color: #797680;
  font-size: 0.76rem;
  font-weight: 500;
}

.input-prefix input {
  padding-left: 32px;
}

.consent-row {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #a8a5af;
  font-size: 0.7rem;
  line-height: 1.55;
  cursor: pointer;
}

.consent-row input {
  position: absolute;
  opacity: 0;
}

.custom-check {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
}

.consent-row input:checked + .custom-check {
  border-color: transparent;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.consent-row input:checked + .custom-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.66rem;
}

.form-error {
  min-height: 19px;
  margin: 9px 0 0;
  color: #ff93ad;
  font-size: 0.68rem;
}

.modal-actions {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
}

.modal-actions p {
  max-width: 280px;
  margin: 0;
  color: #6e6c77;
  font-size: 0.58rem;
  line-height: 1.5;
}

.profile-shell {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  overflow: hidden;
}

.profile-image {
  min-height: 440px;
  background: linear-gradient(140deg, #8352be, #e05390 55%, #f69257);
  background-position: center;
  background-size: cover;
}

.profile-content {
  padding: 62px 44px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-content h2 {
  font-size: 2.35rem;
}

.profile-content > p:not(.kicker) {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.8rem;
}

.profile-link {
  display: none;
  margin: 10px 0 22px;
  color: #e6a0c3;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.65rem;
}

.profile-content .button-danger {
  margin-top: auto;
}

.modal-privacy {
  width: min(660px, calc(100% - 32px));
}

.privacy-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.privacy-list article {
  padding: 21px 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.privacy-list article > span {
  color: #6c6974;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.62rem;
}

.privacy-list h3,
.privacy-list p {
  margin: 0;
}

.privacy-list h3 {
  margin-bottom: 5px;
  font-size: 0.88rem;
}

.privacy-list p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.privacy-join {
  margin-top: 26px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(26, 26, 34, 0.92);
  color: white;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 220ms ease;
  font-size: 0.72rem;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 2px solid #f09bc5;
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1280px);
  }

  .site-header {
    height: 76px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding-top: 82px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-meta {
    margin-top: 54px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 520px;
  }

  .mosaic-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar-actions {
    width: 100%;
  }

  .search-control {
    flex: 1;
    width: auto;
  }

  .canvas-wrap {
    height: 68vh;
    min-height: 470px;
  }

  .mosaic-footer p {
    display: none;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article,
  .principle-grid article + article {
    min-height: auto;
    padding: 32px 44px 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-icon {
    margin: 5px 0 25px;
  }

  .cta-panel {
    min-height: 360px;
    padding: 42px 34px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel .button {
    margin-top: auto;
  }

  footer {
    padding: 30px 0;
    grid-template-columns: 1fr;
  }

  footer p {
    margin: 0;
  }

  footer p:last-child {
    text-align: left;
  }

  .upload-layout {
    grid-template-columns: 150px 1fr;
  }

  .profile-shell {
    grid-template-columns: 1fr;
  }

  .profile-image {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .site-header .button-small {
    padding: 10px 13px;
  }

  .hero-copy {
    font-size: 0.88rem;
  }

  .hero-meta {
    gap: 9px;
    font-size: 0.5rem;
  }

  .mosaic-section,
  .principles {
    padding-block: 52px;
  }

  .mosaic-frame {
    border-radius: 18px;
  }

  .icon-button:nth-last-child(-n + 3) {
    display: none;
  }

  .canvas-wrap {
    min-height: 430px;
  }

  .canvas-hint {
    display: none;
  }

  .mosaic-footer {
    padding-inline: 12px;
  }

  .mosaic-footer .text-button {
    font-size: 0.55rem;
  }

  .cta-panel {
    padding: 36px 28px;
  }

  .modal-shell {
    padding: 36px 24px 28px;
  }

  .modal h2 {
    padding-right: 25px;
    font-size: 2.1rem;
  }

  .upload-layout {
    grid-template-columns: 1fr;
  }

  .upload-zone {
    width: 160px;
  }

  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-actions p {
    max-width: none;
  }

  .profile-image {
    min-height: 260px;
  }

  .profile-content {
    padding: 34px 26px;
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
