@font-face {
  font-family: Montserrat;
  src: url("/static/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("/static/fonts/montserrat-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-2: #0066cc;
  --line: #d2d2d7;
  --warn: #ff0000;
  --btn-ink: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 44px rgb(0 0 0 / 8%);
  --btn-hover-shadow: 0 8px 20px rgb(29 29 31 / 16%);
  --btn-hover-shadow-on-blue: 0 8px 22px rgb(0 0 0 / 28%);
  --font: Montserrat, Arial, sans-serif;
  --display: Montserrat, Arial, sans-serif;
  --float-chip-height: 4.15rem;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  font-synthesis: none;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgb(0 113 227 / 10%), transparent 55%),
    var(--bg);
}

a { color: var(--accent-2); }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.04em;
  cursor: pointer;
}

.brand-photo {
  font-weight: 300;
}

.brand-easy {
  font-weight: 700;
}

.brand-tld {
  font-weight: 300;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-link:hover { color: rgb(255 255 255 / 82%); }

.top .btn {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.top .btn:hover:not(:disabled) {
  background: #fff;
  color: var(--accent-2);
  box-shadow: var(--btn-hover-shadow-on-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  background: var(--accent);
  color: var(--btn-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 84%, #000);
}

.btn-buy {
  background: #00ba00;
}

.btn-buy:hover:not(:disabled) {
  background: color-mix(in srgb, #00ba00 84%, #000);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover:not(:disabled) {
  background: transparent;
  color: color-mix(in srgb, var(--ink) 72%, #000);
  border-color: color-mix(in srgb, var(--line) 50%, #000);
  box-shadow: var(--btn-hover-shadow);
}

.btn.ghost.btn-retry {
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: calc(0.85rem - 2px) calc(1.35rem - 2px);
}

.btn.ghost.btn-retry:hover:not(:disabled) {
  color: #000;
  border-color: #000;
  background: transparent;
  box-shadow: var(--btn-hover-shadow);
}

.btn.wide { width: 100%; }

.form-actions {
  display: grid;
  gap: 0.55rem;
}

.cf-turnstile {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  margin: -1px;
  padding: 0;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0;
  pointer-events: none;
}

#turnstile-pop .cf-turnstile,
#turnstile-pop .cf-turnstile:has(iframe) {
  position: static;
  display: flex;
  justify-content: center;
  width: min(300px, 100%) !important;
  height: auto !important;
  min-height: 65px !important;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  overflow: visible !important;
  clip: auto !important;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: auto;
  line-height: normal;
}

#turnstile-pop .cf-turnstile-live {
  display: flex;
  justify-content: center;
  width: min(300px, 100%);
  min-height: 65px;
  margin: 0 auto;
}

.turnstile-pop-card {
  width: min(22rem, 100%);
  text-align: center;
}

.turnstile-pop-title {
  margin: 0 0 0.95rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.turnstile-bot {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
}

#turnstile-pop .cf-turnstile iframe,
#turnstile-pop .cf-turnstile-live iframe,
form.upload .cf-turnstile iframe {
  display: block;
  width: 300px;
  max-width: min(300px, calc(100vw - 3rem));
  min-height: 65px;
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

.btn:disabled { opacity: 0.55; cursor: wait; }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}

.section-title.is-center {
  text-align: center;
}

#how { scroll-margin-top: 4.75rem; }

.lead, .muted { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 2.4rem;
  min-height: min(72vh, 680px);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
}

.hero .lead { max-width: 36rem; font-size: 1.08rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1.1rem;
}

.hero-actions .btn.ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: calc(0.85rem - 2px) calc(1.35rem - 2px);
}

.hero-actions .btn.ghost:hover:not(:disabled) {
  border-color: #000;
  color: #000;
  box-shadow: var(--btn-hover-shadow);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-collage {
  position: relative;
  min-height: 420px;
}

.hero-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgb(28 25 22 / 8%);
  will-change: transform;
}

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

.hero-shot-1 {
  width: 58%;
  height: 78%;
  left: 0;
  top: 6%;
  animation: hero-drift-1 8.4s ease-in-out infinite;
}

.hero-shot-2 {
  width: 38%;
  height: 48%;
  right: 0;
  top: 0;
  animation: hero-drift-2 7.2s ease-in-out infinite;
}

.hero-shot-3 {
  width: 36%;
  height: 42%;
  right: 8%;
  bottom: 0;
  animation: hero-drift-3 9s ease-in-out infinite;
}

.band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.75rem 1.5rem 2.35rem;
  scroll-margin-top: 4.75rem;
}

.band-alt {
  max-width: none;
  padding-left: max(1.5rem, calc((100% - 1120px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - 1120px) / 2 + 1.5rem));
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

#benefits.band-alt,
#upload.band-alt {
  padding-left: max(1.5rem, calc((100% - 1232px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - 1232px) / 2 + 1.5rem));
}

#benefits.band-alt {
  padding-bottom: 4.75rem;
}

.band-alt + .band-alt {
  border-top: 0;
}

#benefits .section-title,
#upload .section-title,
#faq .section-title,
#blog .section-title,
.examples-lead {
  margin-bottom: 2.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.25rem;
}

.card h3, .card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.card p { margin: 0; }

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.1rem;
  row-gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  scroll-margin-top: 5.5rem;
}

.how-step {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 4%);
  overflow: hidden;
}

.how-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 6.38rem 1fr;
  gap: 0.94rem;
  align-items: start;
  background: var(--card);
  border: 0;
  border-radius: 0;
  padding: 1.27rem 1.27rem 1.15rem;
  box-shadow: none;
}

.how-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0.9rem 1rem;
  text-align: center;
  background: var(--accent);
  color: #fff;
}

.how-more p {
  margin: 0;
  color: #fff;
}

.how-more p:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.how-more p + p {
  margin-top: 0.22rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.how-art {
  position: relative;
  width: 6.38rem;
  height: 8.14rem;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
}

.how-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: inherit;
}

.how-art-scan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 113 227 / 14%);
  pointer-events: none;
}

.how-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgb(90 190 255 / 28%) 42%,
    rgb(255 255 255 / 88%) 50%,
    rgb(0 113 227 / 40%) 58%,
    transparent
  );
  animation: how-scan 2.8s linear infinite;
  pointer-events: none;
}

.how-n {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.how-copy {
  min-width: 0;
  container-type: inline-size;
}

.how-card h3 {
  margin: 0.12rem 0 0.35rem;
  font-size: clamp(0.84rem, 8.2cqi, 1.05rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.examples-lead {
  text-align: center;
  max-width: 28rem;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 0;
  border-radius: 24px;
  padding: 1.05rem 1.2rem 1.15rem;
  box-shadow: 0 10px 28px rgb(0 0 0 / 4%);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 0.28rem;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.review-badge img {
  display: block;
  width: 1rem;
  height: 1rem;
}

.review-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 1.05rem;
  padding: 0;
}

.review-before,
.review-after {
  margin: 0;
}

.review-before {
  width: 32%;
  max-width: 7.15rem;
  text-align: center;
}

.review-after {
  width: 50%;
  max-width: 11.4rem;
}

.review-before img,
.review-after img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  object-position: center 18%;
}

.review-before img {
  border-radius: 10px;
}

.review-before figcaption {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.review-after img {
  border-radius: 12px;
  box-shadow: 0 12px 24px rgb(15 23 42 / 12%);
}

.review-arrow {
  display: grid;
  color: #9aa3af;
}

.review-arrow svg {
  width: 1.35rem;
  height: 1.35rem;
}

.review-quote {
  flex: 1;
  margin: 0 0 1.05rem;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.5;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}

.review-ava {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: #e8eef7;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-who {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.review-who strong {
  font-size: 0.9rem;
}

.review-who span {
  color: var(--muted);
  font-size: 0.78rem;
}

.review-rate {
  margin-left: auto;
  color: #c98814;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.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;
}

.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 1232px;
  margin-inline: auto;
  align-items: stretch;
}

.studio .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card.studio-reqs {
  border: 2px solid var(--accent);
  padding-bottom: 0;
}

.studio-points {
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.studio-points li {
  display: grid;
  grid-template-columns: 0.45rem 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.studio-points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.48em;
  border-radius: 50%;
  background: var(--ink);
}

.studio-icons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: start;
  gap: 0.85rem 1.2rem;
  margin-top: auto;
  margin-bottom: auto;
  padding: 1.15rem 0;
  list-style: none;
}

.studio-icons li {
  display: grid;
  justify-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.studio-icons li:not(.is-long) {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .studio-icons {
    flex-wrap: wrap;
    gap: 0.75rem 0.7rem;
  }

  .studio-icons li {
    flex: 1 1 5.6rem;
    min-width: 5.6rem;
  }
}

.studio-icon {
  display: grid;
  place-items: center;
  position: relative;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--ink);
}

.studio-icon svg,
.studio-icon img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.studio-check {
  position: absolute;
  top: -0.36rem;
  right: -0.5rem;
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0;
  transform: scale(0.45);
  pointer-events: none;
}

.studio-check img {
  display: none;
  width: 100%;
  height: 100%;
}

.studio-icons li.is-ok .studio-check,
.studio-icons li.is-fail .studio-check {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.studio.is-checks-now .studio-icons li.is-ok .studio-check,
.studio.is-checks-now .studio-icons li.is-fail .studio-check {
  transition: none;
}

.studio-icons li.is-ok .studio-check-ok,
.studio-icons li.is-fail .studio-check-fail {
  display: block;
}

.studio.is-busy,
.studio.is-done {
  align-items: stretch;
}

.studio.is-busy .upload-confirm,
.studio.is-done .upload-confirm {
  display: none;
}

.studio-result {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  opacity: 0;
  scroll-margin-top: 4.75rem;
  transition:
    grid-template-rows 0.45s ease,
    opacity 0.35s ease,
    margin-top 0.45s ease;
}

.studio-result-body {
  min-height: 0;
  overflow: hidden;
}

#upload.has-result .studio-result {
  grid-template-rows: 1fr;
  margin-top: 1.5rem;
  opacity: 1;
}

#upload.has-result .studio-result .result {
  margin: 0;
  padding: 0;
  max-width: none;
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segment-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.65rem 0.5rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.segment-btn.is-on { background: var(--accent); color: var(--btn-ink); }

.panel[hidden] { display: none !important; }

.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 12rem;
  margin: 1rem 0;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.drop input { display: none; }

.drop.is-over { border-color: var(--accent); background: rgb(0 113 227 / 8%); }

.drop-main {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
}

.drop-icon {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.drop-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.drop-title { font-weight: 700; }

.drop-hint {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.drop-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop.has-file .drop-main,
.drop.has-file .drop-icon,
.drop.has-file .drop-title,
.drop.has-file .drop-hint { display: none; }

.drop-process {
  display: none;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.35rem 1rem;
  pointer-events: none;
}

.drop-timer-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 8.2rem;
  height: 8.2rem;
}

.drop-timer-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1) rotate(-90deg);
}

.drop-timer-track,
.drop-timer-progress {
  fill: none;
  stroke-width: 5.5;
}

.drop-timer-track {
  stroke: rgb(0 113 227 / 16%);
}

.drop-timer-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.25s linear, stroke 0.3s ease;
}

.drop-timer {
  position: relative;
  color: var(--accent);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.drop-timer-colon {
  display: inline-block;
  margin-inline: 0.06em;
}

.drop-check {
  display: none;
  position: relative;
  z-index: 1;
  max-width: 5.2rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
}

.drop.is-checking .drop-timer {
  display: none;
}

.drop.is-checking .drop-check,
.drop.is-checking .drop-check[hidden] {
  display: block;
}

.drop.is-checking .drop-timer-progress {
  stroke-dasharray: 28 72;
  transition: none;
  animation: drop-check-spin 1.15s linear infinite;
}

@keyframes drop-check-spin {
  to { stroke-dashoffset: -100; }
}

.drop-done {
  display: none;
  position: relative;
  justify-items: center;
  gap: 0.4rem;
  color: #00ba00;
  z-index: 1;
}

.drop-done-check {
  display: block;
  width: 2.7rem;
  height: 2.7rem;
}

.drop-done-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.drop-stage {
  min-height: 1.45em;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
}

.drop-stage-line {
  display: block;
}

.drop-stage-line.is-out {
  animation: drop-stage-out 0.18s ease forwards;
}

.drop-stage-line.is-in {
  animation: drop-stage-in 0.28s ease;
}

@keyframes drop-stage-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-0.45em); }
}

@keyframes drop-stage-in {
  from { opacity: 0; transform: translateY(0.45em); }
  to { opacity: 1; transform: translateY(0); }
}

.drop.is-busy,
.drop.is-done {
  cursor: default;
  pointer-events: none;
  border-style: solid;
  min-height: 14.5rem;
}

.drop.is-busy .drop-main,
.drop.is-busy .drop-hint,
.drop.is-busy .drop-preview,
.drop.is-done .drop-main,
.drop.is-done .drop-hint,
.drop.is-done .drop-preview {
  display: none !important;
}

.drop.is-busy .drop-process,
.drop.is-done .drop-process,
.drop.is-busy .drop-process[hidden],
.drop.is-done .drop-process[hidden] {
  display: grid;
}

.drop.is-done .drop-timer-ring,
.drop.is-done .drop-timer,
.drop.is-done .drop-check,
.drop.is-done .drop-stage {
  display: none;
}

.drop.is-done .drop-done {
  display: grid;
}

form.upload .drop {
  margin-bottom: 0;
}

form.upload .upload-confirm {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.75rem;
}

form.upload .upload-confirm:has(.cf-turnstile iframe) {
  gap: 0;
}

form.upload .form-actions {
  margin-top: 0;
}

form.upload > .form-error,
form.upload > .buy-trials {
  margin-top: 0.85rem;
}

form.upload > .form-error {
  margin: 1rem 0 0.35rem;
  text-align: center;
  font-weight: 400;
}

form.upload.is-trials-exhausted .upload-confirm {
  display: none;
}

form.upload.is-trials-exhausted > .buy-trials {
  margin-top: 0.75rem;
}

form.upload > [data-trials-ok] {
  margin: 1.25rem 0 0;
  color: #00ba00;
  font-weight: 600;
  text-align: center;
}

.studio:has([data-trials-ok]:not([hidden])) > .card {
  padding-bottom: 1.85rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0;
  font-weight: 600;
}

.field input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: var(--bg-2);
  color: var(--ink);
  font: inherit;
}

.form-error,
.field .form-error,
.card .form-error,
.pay-dialog-card .form-error {
  color: var(--warn);
  margin: 0.9rem 0 1.15rem;
  font-weight: 400;
  line-height: 1.45;
}

.field:has(> .form-error:not([hidden])) {
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.field .form-error.email-missing {
  margin: 0.2rem 0 0.15rem;
  font-weight: 400;
  text-align: left;
}

.field .form-error {
  text-align: left;
}

.action-note {
  text-align: center;
}

.form-ok { color: var(--accent-2); margin: 0.6rem 0 0; font-weight: 600; }

.buy-trials { margin: 0.8rem 0 0; }

.pay-dialog {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: inherit;
}

.pay-dialog[open] {
  display: grid;
  place-items: center;
}

.pay-dialog::backdrop {
  background: rgb(28 25 22 / 40%);
}

.pay-dialog-card {
  position: relative;
  width: min(28rem, 100%);
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pay-dialog-card h2 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.45rem;
}

.pay-dialog-card .muted { margin: 0 0 0.4rem; }

.dialog-close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

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

.pay-dialog-close,
.staff-photo-dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
}

.pay-dialog-card.turnstile-pop-card {
  width: min(26rem, 100%);
  padding-top: 2.55rem;
}

.pay-dialog-card .btn.ghost { margin-top: 0.45rem; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq p { margin: 0.6rem 0 0; color: var(--muted); }

.page-narrow {
  max-width: 560px;
  margin: 3rem auto;
  padding: 1.4rem 1.5rem 1.5rem;
}

.page-narrow.pay {
  max-width: 42rem;
}

.page-narrow > h1,
.card > h1,
.pay-dialog-card > h2 {
  margin-top: 0;
}

.page-narrow > h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}

.page-narrow > h1 + .muted {
  margin-top: 0;
}

.not-found-body {
  min-height: 100vh;
}

.not-found {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

.not-found-code {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 10.5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.not-found-text {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.not-found .btn {
  margin-top: 0.75rem;
}

.contact-home {
  margin-top: 1rem;
}

.result {
  display: grid;
  gap: 1rem;
  max-width: 1440px;
  margin: 1.4rem auto 3rem;
  padding: 0 1.5rem;
}

.result-stage {
  container-type: inline-size;
  min-width: 0;
}

.followup-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
}

.followup-bar h2 {
  margin: 0;
  font-size: 0.95rem;
  white-space: nowrap;
}

.followup-bar .field {
  flex: 1 1 16rem;
  margin: 0;
}

.followup-bar .field input {
  padding: 0.5rem 0.8rem;
}

.followup-bar .btn {
  flex: 0 0 auto;
}

.followup-bar .form-error,
.followup-bar .buy-trials,
.followup-bar [data-trials-ok] {
  flex: 1 1 100%;
  margin: 0;
}

.result-gallery {
  --gap: 1.25rem;
  --pair: calc(35 / 45 + 1252 / 882.5);
  display: grid;
  grid-template-columns:
    calc((100% - var(--gap)) * (35 / 45) / var(--pair))
    minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  margin: 1rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.result-gallery.is-print {
  --pair: calc(35 / 45 + 15 / 10);
}

.preview {
  margin: 1rem 0;
  background: #f5f5f7;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.result-gallery .preview {
  margin: 0;
  max-width: none;
  width: 100%;
}

.preview img { display: block; width: 100%; }

.preview-doc { max-width: 420px; }

.result-gallery .preview-doc {
  position: relative;
  max-width: none;
  width: 100%;
  height: auto;
}

.result-gallery .preview-doc img {
  width: 100%;
  height: auto;
  aspect-ratio: 35 / 45;
  object-fit: cover;
  object-position: center 18%;
}

.result-gallery .preview-doc.is-framed img {
  object-fit: contain;
  object-position: center;
}

.photo-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(rgb(0 113 227 / 11%), rgb(0 113 227 / 11%)) 0 8.89% / 100% 4.44% no-repeat,
    linear-gradient(rgb(0 113 227 / 11%), rgb(0 113 227 / 11%)) 0 81.11% / 100% 10% no-repeat;
}

.passport-mockup {
  margin: 0;
  width: 100%;
  height: auto;
  max-width: none;
  background: #f5f5f7;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.passport-mockup-page {
  --slot-left: 4.073%;
  --slot-top: 14.878%;
  --slot-width: 27.955%;
  --slot-height: 50.992%;
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1252 / 882.5;
}

.passport-mockup-blank {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1252 / 882.5;
}

.passport-mockup-face {
  position: absolute;
  z-index: 0;
  left: var(--slot-left);
  top: var(--slot-top);
  width: var(--slot-width);
  height: var(--slot-height);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
  filter: saturate(0.9) contrast(1.06);
}

.passport-mockup-page::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: var(--slot-left);
  top: var(--slot-top);
  width: var(--slot-width);
  height: var(--slot-height);
  border-radius: 0;
  box-shadow: inset 0 1px 4px rgb(50 24 24 / 28%);
  pointer-events: none;
}

.passport-mockup figcaption {
  margin: 0;
  padding: 0.45rem 0.2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  background: none;
  border: 0;
}

.print-sheet {
  --sheet-logo: 9.706%;
  position: relative;
  margin: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 10;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  container-type: size;
}

.print-sheet-page {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.print-sheet-grid {
  position: absolute;
  top: 3.048%;
  height: 93.904%;
  left: 38.318%;
  width: 51.919%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4.238% 10.217%;
}

.print-sheet-logo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--sheet-logo);
  pointer-events: none;
}

.print-sheet-logo-word {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: baseline;
  color: var(--accent);
  font-family: var(--display);
  font-size: 8cqh;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.print-sheet-cell {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.print-sheet-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  background: #fff;
}

.print-sheet-marks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.preview figcaption {
  margin: 0;
  padding: 0.7rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.passport-check {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem 1.25rem;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-top: 1.25rem;
}

.passport-check-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  margin: 0;
}

summary.passport-check-bar {
  list-style: none;
  cursor: pointer;
}

summary.passport-check-bar::-webkit-details-marker {
  display: none;
}

.passport-check-lead {
  display: grid;
  align-content: center;
  gap: 0.38rem;
  min-width: 0;
}

.passport-check h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 1.05rem;
  line-height: 1;
}

.passport-check-beta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: rgb(0 113 227 / 12%);
  color: var(--accent-2);
  font-family: var(--display);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-indent: 0.03em;
  line-height: 1;
  text-align: center;
  transform: translateY(-0.06em);
}

.passport-check .muted {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
}

.passport-check .muted a {
  text-decoration: none;
}

.passport-check-lead .muted {
  margin: 0;
}

.passport-check-order {
  min-width: 0;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.passport-check-details {
  margin: 0;
}

.passport-check-toggle {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  margin: 0;
  color: var(--accent);
  font-size: inherit;
  font-weight: 700;
}

.passport-check-toggle::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.14em) rotate(45deg);
}

.passport-check-details[open] > .passport-check-bar {
  margin-bottom: 0.75rem;
}

.passport-check-details[open] .passport-check-toggle::after {
  transform: translateY(0.1em) rotate(225deg);
}

.passport-check-details[open] .passport-check-toggle-open,
.passport-check-details:not([open]) .passport-check-toggle-close {
  display: none;
}

.passport-check-toggle:hover,
summary.passport-check-bar:hover .passport-check-toggle {
  color: var(--accent-2);
}

.result-mail-note {
  display: grid;
  gap: 0.2rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.95rem;
  line-height: 1.45;
}

.result-mail-resend {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.result-mail-resend:hover {
  color: var(--accent-2);
}

.result-mail-addr {
  font-weight: 800;
}

.result-mail-note + .passport-check {
  margin-top: 0.85rem;
}

.passport-check ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.6rem;
}

.passport-check li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.5rem;
  align-items: start;
  break-inside: avoid;
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0 0 0.42rem;
}

.passport-check .mark {
  display: grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  margin-top: 0;
}

.passport-check .mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.passport-check .mark img.mark-minus {
  /* галочка: stroke 2 в viewBox 24 → 2/24; минус: полоса 61.45 в 512 */
  width: 78%;
  height: 78%;
}

.passport-check-tips {
  margin: 0.9rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.passport-check-tips h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.passport-check-tips p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.actions form { margin: 0; }

.passport-check .actions {
  justify-content: center;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.passport-check .actions .muted {
  flex: 1 1 100%;
  margin: 0;
  text-align: center;
}

.actions .muted a {
  text-decoration: none;
}

.mail-again {
  display: grid;
  gap: 0.9rem;
}

.pay-dialog-card.mail-again h2 {
  margin: 0;
  font-size: 1.15rem;
}

.pay-dialog-card.mail-again .btn.ghost {
  margin-top: 0;
}

.mail-again .btn.wide {
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}

@keyframes mail-again-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.985); }
}

@keyframes mail-again-sheen {
  0% { background-position: 140% 0; }
  100% { background-position: -40% 0; }
}

.mail-again.is-sending .btn {
  position: relative;
  overflow: hidden;
  animation: mail-again-pulse 0.7s ease-in-out infinite;
  cursor: wait;
}

.mail-again.is-sending .btn:disabled {
  opacity: 1;
}

.mail-again.is-sending .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgb(255 255 255 / 48%) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: mail-again-sheen 0.85s linear infinite;
  pointer-events: none;
}

.mail-again [data-mail-saved-btn] {
  position: relative;
}

.mail-again [data-mail-saved-btn] .mail-saved-done {
  display: none;
}

.pay-dialog-card.mail-again .btn.is-done,
.pay-dialog-card.mail-again .btn.ghost.is-done,
.pay-dialog-card.mail-again .btn.is-done:disabled {
  animation: none;
  opacity: 1;
  cursor: default;
  background: #00ba00;
  color: #fff;
  border-color: #00ba00;
  box-shadow: none;
}

.pay-dialog-card.mail-again .btn.is-done .mail-saved-label {
  visibility: hidden;
}

.pay-dialog-card.mail-again .btn.is-done .mail-saved-done {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

.mail-again .mail-again-note {
  margin: 0.7rem 0 0;
  text-align: center;
  font-weight: 600;
}

.pay-dialog-card.mail-again .btn.is-done::after {
  content: none;
}

.form-ok {
  margin: 0;
  color: var(--accent-2);
}

@keyframes hero-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.4deg); }
  50% { transform: translate3d(10px, -14px, 0) rotate(0.7deg); }
}

@keyframes hero-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0.5deg); }
  50% { transform: translate3d(-12px, 10px, 0) rotate(-0.8deg); }
}

@keyframes hero-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0.2deg); }
  50% { transform: translate3d(8px, 12px, 0) rotate(-1deg); }
}

@keyframes how-scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(360%); }
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.check.is-missing,
.check.is-missing a {
  color: var(--warn);
  font-weight: 400;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.photo-grid li {
  display: grid;
  gap: 0.4rem;
}

.photos-purge-all {
  margin: 0 0 1rem;
}

.photo-code-step {
  display: flex;
  flex-direction: column;
}

.photo-code-step[hidden] { display: none; }

.photo-code-field { order: 1; margin-bottom: 0.85rem; }

.photo-code-field input {
  width: 40%;
  max-width: 40%;
  min-width: 0;
  justify-self: start;
}

.photo-code-step .btn {
  order: 2;
  align-self: flex-start;
  line-height: 1.2;
}

.photo-code > .muted.action-note {
  margin-top: 0.75rem;
  line-height: 1.45;
}

.photo-code > .btn[hidden] { display: none; }

.photo-grid a {
  display: grid;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 827 / 1063;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.photo-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
}

.photo-pay.is-paid { color: #00ba00; }

.photo-pay.is-trial { color: var(--muted); }

textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.pay .back { color: var(--muted); }

.foot {
  margin-top: auto;
  padding: 1.8rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}

.foot-lead {
  margin: 0 0 1em;
  line-height: 1.45;
  max-width: min(33.7em, 100%);
}

.foot .brand {
  display: inline-flex;
  margin: 0.15rem 0 0;
  color: var(--accent);
  font-size: 1.45rem;
}

.foot-copy {
  margin: 0.95rem 0 0;
}

.foot-heading {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-weight: 700;
}

.foot-legal {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-legal li { margin: 0.35rem 0; }

.foot-legal a { color: var(--muted); text-decoration: none; }

.foot-legal a:hover { color: var(--accent-2); }

.doc {
  max-width: 720px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.doc h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.doc h2 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }

.doc p { color: var(--muted); line-height: 1.55; }

.blog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-card {
  display: block;
  height: 100%;
  padding: 1.15rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.blog-card h2, .blog-card h3 {
  margin: 0.35rem 0 0.5rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.blog-card p { margin: 0; color: var(--muted); }

.blog-card:hover { border-color: var(--accent); }

.blog-meta {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.blog-more {
  margin: 2.35rem 0 0;
  text-align: center;
}

.blog-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.blog-reveal::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
}

.blog-reveal[aria-expanded="true"]::after {
  transform: translateY(0.08em) rotate(225deg);
}

body:has(#cookie-consent:not([hidden])) main {
  padding-bottom: 5.5rem;
}

.cookie-consent {
  position: fixed;
  z-index: 40;
  left: 1.45rem;
  bottom: 1.55rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  width: min(24rem, calc(100vw - 2rem));
}

.cookie-consent[hidden] { display: none; }

.cookie-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  min-height: var(--float-chip-height);
  padding: 0.38rem 1.28rem;
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
}

.cookie-bar-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-help {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cookie-help[aria-expanded="true"] { border-color: #bbb; }

.cookie-dialog {
  width: 100%;
  padding: 1.1rem 1.15rem 1.15rem;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgb(0 0 0 / 28%);
}

.cookie-title-wrap { margin: 0; }

.cookie-title {
  display: inline;
  padding: 0.08em 0.22em;
  font-weight: 700;
  background: #d7eaff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cookie-text {
  margin: 0.75rem 0 1rem;
  color: #5c5c5c;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-text p {
  margin: 0 0 0.7em;
}

.cookie-text p:last-child { margin-bottom: 0; }

.cookie-text a { color: #1a1a1a; text-decoration: underline; }

.cookie-accept {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  background: #0071e3;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.chat-launcher {
  position: fixed;
  z-index: 45;
  right: 1.45rem;
  bottom: 1.55rem;
  width: var(--float-chip-height);
  height: var(--float-chip-height);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.chat-launcher:hover {
  background: color-mix(in srgb, var(--accent) 84%, #000);
}

.chat-launcher-icon { display: block; }

.chat-launcher-badge {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--warn);
  border: 2px solid #fff;
}

.chat-launcher-badge[hidden] { display: none; }

.pay-dialog.chat-dialog {
  position: fixed;
  top: auto;
  right: 1.45rem;
  bottom: 1.55rem;
  left: auto;
  width: min(22.5rem, calc(100vw - 2.9rem));
  height: fit-content;
  max-width: min(22.5rem, calc(100vw - 2.9rem));
  max-height: calc(100vh - 3.1rem);
  margin: 0;
  padding: 0;
  transform: none;
}

.pay-dialog.chat-dialog[open] {
  display: block;
}

.pay-dialog.chat-dialog::backdrop {
  background: rgb(28 25 22 / 28%);
}

body:has(.chat-dialog[open]) .chat-launcher {
  visibility: hidden;
  pointer-events: none;
}

.chat-dialog-card {
  width: 100%;
  max-height: calc(100vh - 3.1rem);
  display: flex;
  flex-direction: column;
}

.chat-log[hidden] { display: none; }

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 8rem;
  margin: 0.85rem 0 0.6rem;
  padding: 0.2rem 0.1rem;
  max-height: min(18rem, calc(100vh - 22rem));
  overflow-y: auto;
  overflow-anchor: none;
}

.chat-status {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
}

.chat-status[hidden] { display: none; }

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

.chat-msg {
  max-width: 90%;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
}

.chat-msg-visitor {
  align-self: flex-end;
  background: var(--accent);
  color: var(--btn-ink);
}

.chat-msg-staff {
  align-self: flex-start;
  background: var(--bg-2);
  color: var(--ink);
}

.chat-msg-who {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
}

.chat-msg-who span {
  margin-left: 0.4rem;
  font-weight: 500;
  opacity: 0.8;
}

.chat-msg-body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.staff-page {
  max-width: 720px;
  margin: 2.4rem auto 3rem;
  padding: 0 1.5rem;
}

.staff-desk {
  max-width: 1400px;
}

body:has(.staff-page) .chat-launcher,
body:has(.staff-page) .chat-dialog {
  display: none;
}

.staff-desk-card {
  padding: 0;
  overflow: hidden;
}

.staff-mail-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  padding: 1rem 0.85rem 0.2rem;
}

.staff-mail-search .field {
  flex: 1 1 16rem;
  margin: 0;
}

.staff-mail-results {
  padding: 0.4rem 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.staff-desk-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  min-height: min(36rem, calc(100vh - 10rem));
}

.staff-desk-grid.has-photos {
  grid-template-columns: minmax(16rem, 18rem) minmax(0, 1fr) minmax(16rem, 20rem);
}

.staff-desk-list {
  border-right: 1px solid var(--line);
  max-height: min(36rem, calc(100vh - 10rem));
  overflow-y: auto;
  padding: 1rem 0.85rem 1.1rem;
}

.staff-desk-heading {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.staff-desk-heading-closed {
  margin-top: 1.2rem;
}

.staff-desk-empty { margin: 0; }

.staff-desk-thread {
  display: flex;
  flex-direction: column;
  min-height: min(36rem, calc(100vh - 10rem));
  max-height: min(36rem, calc(100vh - 10rem));
  padding: 1rem 1.15rem 1.15rem;
}

.staff-desk-thread h1 {
  margin: 0;
}

.staff-desk-thread-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.staff-desk-placeholder {
  margin: auto 0;
}

.staff-desk-closed {
  margin: 0.4rem 0 0;
}

.staff-desk-reply { margin-top: 0.4rem; }

.staff-desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.staff-desk-resolve {
  margin: 0.55rem 0 0;
}

.staff-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 0 0 1rem;
}

.staff-bar-who {
  margin: 0;
  font-weight: 700;
}

.staff-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}

.staff-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.staff-tab.is-current {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.staff-stats {
  max-width: 1100px;
}

.staff-stats-tz {
  margin: 0 0 1rem;
}

.staff-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1rem;
}

.staff-stats-card h2,
.staff-chart-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.staff-stats-dl {
  display: grid;
  gap: 0.45rem 1rem;
  margin: 0;
}

.staff-stats-dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.staff-stats-dl dt {
  color: var(--muted);
}

.staff-stats-dl dd {
  margin: 0;
  font-weight: 700;
}

.staff-chart-card {
  margin: 0 0 1rem;
}

.staff-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--muted);
}

.staff-chart-axis text {
  font-size: 11px;
  fill: var(--muted);
}

.staff-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.staff-chart-key {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.staff-chart-key i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .staff-stats-grid {
    grid-template-columns: 1fr;
  }
}

.staff-bar-note {
  margin: 0;
  flex: 1;
  color: var(--muted);
}

.staff-bar-note a { color: inherit; }

.staff-threads {
  list-style: none;
  margin: 0;
  padding: 0;
}

.staff-threads li { border-top: 1px solid var(--line); }

.staff-threads li:last-child { border-bottom: 1px solid var(--line); }

.staff-thread {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.7rem;
  padding: 0.75rem 0.55rem;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
}

.staff-thread:hover { color: var(--accent); }

.staff-thread.is-waiting {
  background: rgb(0 113 227 / 8%);
  box-shadow: inset 3px 0 0 var(--accent);
}

.staff-thread.is-waiting .staff-thread-preview { font-weight: 700; }

.staff-thread.is-current {
  background: var(--bg-2);
}

.staff-thread.is-waiting.is-current {
  background: rgb(0 113 227 / 14%);
}

.staff-thread.is-resolved {
  opacity: 0.72;
}

.staff-thread-preview {
  flex: 1 1 8rem;
}

.staff-thread-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.staff-pill {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-ink);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.staff-pill-done {
  background: var(--bg-2);
  color: var(--muted);
}

.staff-chat-log {
  flex: 1 1 auto;
  min-height: 12rem;
  max-height: none;
  margin: 0.85rem 0 0.5rem;
}

.staff-desk-photos {
  border-left: 1px solid var(--line);
  max-height: min(36rem, calc(100vh - 10rem));
  overflow-y: auto;
  padding: 1rem 0.85rem 1.1rem;
}

.staff-photos-empty { margin: 0; }

.staff-photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.staff-photo-card {
  padding: 0.15rem 0 0.35rem;
  border-bottom: 1px solid var(--line);
}

.staff-photo-card:last-child { border-bottom: 0; }

.staff-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.6rem, 1fr));
  gap: 0.4rem;
}

.staff-photo-thumb {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  text-align: left;
  cursor: pointer;
}

.staff-photo-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.staff-photo-thumb:hover img,
.staff-photo-thumb:focus-visible img {
  border-color: var(--accent);
}

.staff-photo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.staff-photo-meta .chip {
  font-size: 0.75rem;
}

.staff-photo-purge {
  margin: 0.45rem 0 0;
}

.staff-photo-dialog {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: inherit;
}

.staff-photo-dialog:not([open]) {
  display: none;
}

.staff-photo-dialog[open] {
  display: grid;
  place-items: center;
}

.staff-photo-dialog::backdrop {
  background: rgb(28 25 22 / 45%);
}

.staff-photo-dialog-card {
  position: relative;
  width: min(36rem, 100%);
  padding: 2.4rem 1.1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.staff-photo-dialog-card img {
  display: block;
  width: 100%;
  max-height: min(78vh, 42rem);
  object-fit: contain;
  border-radius: 12px;
  background: var(--bg-2);
}

.staff-photo-dialog-card p {
  margin: 0.65rem 0 0;
}


.inline { display: inline; }

@media (max-width: 1100px) {
  .staff-desk-grid.has-photos {
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  }
  .staff-desk-photos {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    max-height: none;
  }
}

@media (max-width: 980px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-link { display: none; }
  .hero, .result, .how-cards, .blog-list, .foot-grid, .studio, .review-grid {
    grid-template-columns: 1fr;
  }
  .how-cards {
    row-gap: 1.1rem;
  }
  .how-step {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }
  .result-gallery {
    grid-template-columns: 1fr;
  }
  .passport-check ul {
    columns: 1;
  }
  .passport-check-bar {
    grid-template-columns: 1fr;
    justify-items: start;
    row-gap: 0.55rem;
  }
  .passport-check-order {
    white-space: normal;
  }
  .passport-check-toggle {
    justify-self: start;
  }
  .passport-check-bar-end {
    display: none;
  }
  .hero { min-height: 0; padding-top: 2.4rem; }
  .hero-collage { min-height: 260px; }
  .cookie-consent {
    bottom: calc(1.55rem + var(--float-chip-height) + 0.55rem);
    width: min(24rem, calc(100vw - 2rem));
  }
  body:has(#cookie-consent:not([hidden])) main {
    padding-bottom: 8.5rem;
  }
}

@media (max-width: 640px) {
  .staff-desk-grid,
  .staff-desk-grid.has-photos {
    grid-template-columns: 1fr;
  }
  .staff-desk-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 14rem;
  }
  .staff-desk-thread,
  .staff-desk-grid {
    min-height: 0;
    max-height: none;
  }
  .staff-chat-log {
    max-height: min(22rem, 50vh);
  }
  .staff-desk-photos {
    grid-column: auto;
  }
}

body.preview-flow {
  margin: 0;
  background: var(--bg, #f5f5f7);
}

.preview-flow .demo-top {
  height: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .chat-launcher { transition: none; }
  .hero-shot,
  .how-scan { animation: none; }
  .how-art-scan::before { background: transparent; }
  .studio-icons li.is-ok .studio-check,
  .studio-icons li.is-fail .studio-check {
    transition: none;
  }
  .drop-stage-line.is-out,
  .drop-stage-line.is-in {
    animation: none;
  }
  .studio-result {
    transition: none;
  }
  .drop-timer-progress {
    transition: none;
  }
  .drop.is-checking .drop-timer-progress {
    animation: none;
  }
  .mail-again.is-sending .btn,
  .mail-again.is-sending .btn::after {
    animation: none;
  }
}
