@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  src: url('/assets/fonts/onest-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  src: url('/assets/fonts/onest-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --page: #fbfaff;
  --panel: #fff;
  --field: #f9f8fe;
  --ink: #1f2140;
  --muted: #55566c;
  --accent: #34398d;
  --accent-hover: #26296f;
  --gift-red: #ff0d23;
  --gift-pink: #a32670;
  --gift-violet: #6339be;
  --gift-gradient: linear-gradient(100deg, var(--gift-red), var(--gift-pink) 53%, var(--gift-violet));
  --gift-gradient-animated: linear-gradient(100deg, var(--gift-red), var(--gift-pink) 27%, var(--gift-violet) 53%, var(--gift-pink) 77%, var(--gift-red));
  --on-accent: #fff;
  --line: #e0dcf0;
  --control-line: #8b88a3;
  --heading: Onest, Manrope, system-ui, sans-serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1.0625rem/1.55 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .66; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1296px, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }

.site-header { background: #fdfcff; border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; gap: 1.5rem; min-height: 73px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  flex-shrink: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.065em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 1.28em;
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--accent);
  color: #fff;
  font-size: .92em;
  font-weight: 600;
  letter-spacing: 0;
}
.brand small { font-size: .62em; font-weight: 800; letter-spacing: .015em; color: var(--accent); }
.navigation, .footer-links { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); font-size: .94rem; font-weight: 720; }
.navigation { margin-inline: auto; }
.header-row > .button { border-radius: 100px; padding-inline: 1.25rem; }
.navigation a, .footer-links a { text-decoration: none; }
.navigation a:hover, .footer-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: .62rem 1.22rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  transition: background .16s, border-color .16s;
}
.button-small { min-height: 44px; padding: .36rem .96rem; font-size: .9rem; }
.button-primary {
  --button-shade: linear-gradient(#160b2222, #160b2222);
  background-color: var(--accent);
  background-image: var(--button-shade), var(--gift-gradient);
  color: var(--on-accent);
  transition: box-shadow .18s;
}
.button-primary:not(:disabled) { box-shadow: 0 0 .85rem #ff214936, 0 0 1.15rem #a742d22a; }
.button-primary:not(:disabled):hover { box-shadow: 0 0 1.05rem #ff21494d, 0 0 1.3rem #a742d240; }
@media (prefers-reduced-motion: no-preference) {
  .button-primary:not(:disabled) {
    background-image: var(--button-shade), var(--gift-gradient-animated);
    background-size: 100% 100%, 190% 100%;
    animation: gift-gradient-flow 7s ease-in-out infinite alternate;
  }
}
.button-outline { color: var(--accent); border-color: var(--control-line); background: transparent; }
.button-outline:hover { background: var(--field); border-color: var(--accent); }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .24em; font-weight: 620; }
.full { width: 100%; }

.showcase {
  --backdrop: url('/assets/silk-light.webp');
  padding-block: clamp(2.4rem, 5vw, 4.6rem) clamp(2.4rem, 5vw, 4.25rem);
  background-image: linear-gradient(180deg, #f9f7ff28 24%, var(--page)), var(--backdrop);
  background-position: center top;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(1.4rem, 4.3vw, 4.2rem);
  align-items: center;
}
h1, h2 { color: var(--ink); font-family: var(--heading); font-weight: 760; letter-spacing: -.055em; line-height: 1.06; }
h1 { font-size: clamp(3.35rem, 6vw, 6.35rem); margin: 0; }
h1 em {
  display: block;
  width: fit-content;
  padding-inline-end: .08em;
  color: var(--accent);
  font-size: .97em;
  font-style: normal;
  letter-spacing: -.025em;
  white-space: nowrap;
}
@supports (background-clip: text) {
  h1 em {
    background-image: var(--gift-gradient);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 .065em #ff214950) drop-shadow(0 0 .18em #a742d238);
  }

  @media (prefers-reduced-motion: no-preference) {
    h1 em {
      background-image: var(--gift-gradient-animated);
      background-size: 190% 100%;
      animation: gift-gradient-flow 7s ease-in-out infinite alternate;
    }
  }
}
@keyframes gift-gradient-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (forced-colors: active) {
  h1 em { color: CanvasText; background: none; animation: none; filter: none; }
  .button-primary:not(:disabled) { color: ButtonText; background: ButtonFace; border-color: ButtonText; animation: none; box-shadow: none; }
}
h2 { font-size: clamp(2.15rem, 4.25vw, 3.5rem); margin: 0 0 1.25rem; }
.hero-description {
  margin: 1.1rem 0 1.45rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.23rem);
  font-weight: 570;
}
.hero-actions { display: grid; gap: .65rem; max-width: 30rem; }
.hero-actions .button {
  justify-content: space-between;
  gap: .6rem;
  min-height: 54px;
  padding: .64rem .88rem;
  border-radius: 12px;
  text-align: left;
  line-height: 1.35;
}
.hero-actions .button-outline { background: #ffffffed; }
.hero-actions .button-outline:hover { background: #f6f3ff; }
.hero-actions strong { flex: none; white-space: nowrap; }
.hero-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: .35rem; }
.composer-field > input, .composer-field > textarea, .select-control select {
  width: 100%;
  min-width: 0;
  padding: .7rem .85rem;
  color: var(--ink);
  background-color: var(--field);
  border: 1px solid var(--control-line);
  border-radius: 9px;
}
.composer :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }

.hero-comparison {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.2rem, 3.2vw, 3rem);
  border: 1px solid #fff;
  border-radius: 33px;
  background: radial-gradient(ellipse at 90% 0, #eadcff 0, transparent 57%),
    radial-gradient(ellipse at -15% 115%, #a6aedf 0, transparent 59%), #edf0ff;
  box-shadow: 0 20px 65px #4033631c, inset 0 0 0 1px #b7afdf80;
}
.hero-comparison::before, .hero-comparison::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 108%;
  aspect-ratio: 1.3;
  border: 1px solid #ffffff9c;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.hero-comparison::before { top: -29%; left: 17%; }
.hero-comparison::after { top: -24%; left: 23%; }
.comparison-title {
  width: fit-content;
  margin: 0 0 1.5rem;
  padding: .48rem .72rem;
  border: 1px solid #bdb7df;
  border-radius: 100px;
  background: #fcfbffcf;
  color: #342952;
  font-size: .87rem;
  font-weight: 780;
}
.portrait-pair {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: clamp(.8rem, 2.5vw, 2.25rem);
}
.portrait {
  position: relative;
  padding: clamp(.35rem, .72vw, .62rem);
  border-radius: 17px;
  background: var(--panel);
  box-shadow: 0 1px 2px #33216224, 0 15px 28px #34215e35;
}
.portrait-source { transform: translateY(4%) rotate(-6deg); }
.portrait-result { transform: rotate(3deg); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 11px; }
.portrait-source img { aspect-ratio: 4 / 4.7; object-position: 48% center; }
.portrait-result img { object-position: 55% center; }
.portrait figcaption {
  padding: .48rem .12rem .12rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 780;
}
.comparison-marker {
  position: absolute;
  top: 52%;
  left: 43%;
  display: grid;
  place-items: center;
  width: clamp(2.1rem, 4.3vw, 3.2rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid #ffffffbf;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px #34215e3d;
  font-size: clamp(1.12rem, 2.25vw, 1.8rem);
  line-height: 1;
}
.examples { margin-top: clamp(2.25rem, 5vw, 4.4rem); scroll-margin-top: 1.2rem; }
.examples-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.1rem; }
.example {
  --tile: #f9e9e0;
  --tile-border: #eed4c8;
  overflow: hidden;
  padding: .65rem;
  border: 1px solid var(--tile-border);
  border-radius: 23px;
  background: var(--tile);
}
.example-video { --tile: #eae9fc; --tile-border: #dbd7f1; }
.example-media {
  display: grid;
  overflow: hidden;
  height: clamp(155px, 20vw, 272px);
  border-radius: 16px;
}
.example-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 35%; }
.video-media { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 3px; }
.example-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .42rem .8rem;
  padding: .68rem .45rem .1rem;
}
.example-caption h3 {
  margin: 0;
  font: 730 clamp(1.15rem, 2vw, 1.6rem)/1.2 var(--heading);
  letter-spacing: -.03em;
}
.example-action {
  padding: .46rem .8rem;
  min-height: 44px;
  border: 1px solid #fff;
  border-radius: 100px;
  background: #ffffffb8;
  color: var(--ink);
  font-size: .87rem;
  font-weight: 770;
}
.example-action:hover { background: #fff; color: var(--accent-hover); }
.example-note {
  max-width: 55ch;
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .87rem;
}

.section { padding-block: clamp(2.4rem, 5vw, 4.3rem); border-top: 1px solid var(--line); scroll-margin-top: 1.2rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.45rem; }
.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: .62rem;
  padding: clamp(.85rem, 1.8vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 19px;
  color: var(--ink);
  text-align: left;
  background: radial-gradient(ellipse at 100% 0, var(--product-wash, var(--field)), transparent 68%), var(--panel);
  box-shadow: 0 8px 20px #3529570a;
  transition: border-color .16s, box-shadow .16s;
}
.product:hover, .product[aria-pressed="true"] { border-color: #9189bd; box-shadow: 0 8px 22px #3529571c; }
.product[aria-pressed="true"] { border-color: var(--accent); }
.product-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  border-radius: 11px;
  object-fit: cover;
}
.product-name { font: 740 1.2rem/1.18 var(--heading); }
.product-description { font-size: 1rem; color: var(--muted); flex: 1; }
.product-price {
  align-self: stretch;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: .5rem;
  margin-top: .24rem;
  font-weight: 800;
}
.rose { --product-wash: #f8e8e4; }
.mint { --product-wash: #e3f2ed; }
.gold { --product-wash: #f8efde; }
.lilac { --product-wash: #f1e9f8; }
.sky { --product-wash: #e4eff8; }
.studio, .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 6vw, 5rem); }
.studio { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
.studio-intro { position: sticky; top: 1.5rem; }
.studio-intro p { color: var(--muted); max-width: 25rem; margin: 0; }
.studio-format {
  max-width: 26rem;
  margin-top: 1.5rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f2eefc;
}
.studio-format img { width: 100%; height: auto; aspect-ratio: 5 / 3; border-radius: 16px; object-fit: cover; }
.studio-format figcaption { display: grid; gap: .26rem; padding: .72rem .52rem .48rem; }
.studio-format strong { font: 740 1.34rem/1.2 var(--heading); }
.studio-format figcaption span { color: var(--muted); font-size: 1rem; }
.composer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: clamp(1rem, 3vw, 1.9rem);
  min-width: 0;
  box-shadow: 0 12px 35px #3529570d;
}
.composer h3 { margin: 0 0 .7rem; font: 740 1.65rem/1.16 var(--heading); }
.gift-composer { border-radius: 27px; font-size: 1.125rem; }
.gift-composer h3 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.55rem); }
.gift-composer .composer-field > h3 { margin-bottom: .7rem; }
.gift-composer .mode { margin-bottom: 1rem; }
.composer-group { display: grid; gap: 1.1rem; }
.composer-group + .composer-group { border-top: 1px solid var(--line); margin-top: 1.32rem; padding-top: 1.32rem; }
.composer-field { min-width: 0; }
.composer-field > label, .composer-field > legend, .photo-heading h4 {
  display: block;
  margin: 0 0 .42rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 800;
}
fieldset.composer-field { margin: 0; padding: 0; border: 0; }
.composer-field > legend { padding: 0; }
.composer-field > .hint { margin: -.1rem 0 .55rem; }
.composer-field > input, .composer-field > textarea, .select-control select {
  border-radius: 12px;
  border-color: var(--control-line);
  transition: background-color .16s, border-color .16s;
}
.composer-field > input, .select-control select { min-height: 52px; }
.composer-field > input:focus, .composer-field > textarea:focus, .select-control select:focus {
  background-color: #fff;
  border-color: var(--accent);
}
.composer-field > textarea { display: block; resize: vertical; min-height: 5.6rem; }
.select-control { position: relative; }
.select-control::after {
  content: '';
  position: absolute;
  top: calc(50% - 6px);
  right: 1rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  pointer-events: none;
}
.select-control select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.25rem;
  cursor: pointer;
}
.two-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.hint { color: var(--muted); font-size: 1rem; font-weight: 400; margin: .25rem 0; }
.mode { padding: .7rem .8rem; border-radius: 8px; color: #674321; background: #fcf1e2; font-size: 1rem; }
.brief-examples, .choice-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.composer-field > .examples-hint { margin: .7rem 0 .45rem; }
.brief-example {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  min-height: 44px;
  padding: .34rem .66rem;
  border: 1px solid var(--control-line);
  border-radius: 100px;
  background: #fff;
  color: var(--accent-hover);
  text-align: left;
  font-size: 1rem;
  font-weight: 760;
}
.brief-example span { font-size: 1.12em; }
.brief-example:hover { background: #f4edfd; border-color: #a295c9; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 48px;
  padding: .45rem .69rem;
  border: 1px solid var(--control-line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  cursor: pointer;
}
.choice:hover { background: var(--field); border-color: #a897c8; }
.choice:has(input:checked) { background: #eee8fa; border-color: #8875b8; color: var(--accent-hover); }
#art-source .choice::before {
  content: '';
  flex: none;
  width: 1rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
}
#art-source .choice:has(input:checked)::before { background: currentColor; box-shadow: inset 0 0 0 3px #fff; }
.choice input, .check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice:has(input:focus-visible), .check:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.mood-swatch {
  width: .8rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px #1f214026;
}
.swatch-warm { --swatch: #d77f54; }
.swatch-fun { --swatch: #f6c74b; }
.swatch-romantic { --swatch: #d56f95; }
.swatch-energy { --swatch: #cd3d57; }
.swatch-cinema { --swatch: #5651a1; }
.choice-example {
  margin: .55rem 0 0;
  padding: .6rem .75rem;
  border-radius: 8px;
  background: #f4f0fc;
  color: #4e426c;
  font-size: 1rem;
}
.orientation-icon { width: .65rem; height: .9rem; flex: none; border: 1.5px solid currentColor; border-radius: 2px; }
.orientation-landscape { width: .9rem; height: .65rem; }
.orientations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.orientations .choice { justify-content: center; text-align: center; }
.additional-options { border: 1px solid var(--line); border-radius: 12px; background: var(--field); }
.additional-options > summary {
  min-height: 48px;
  padding: .6rem .85rem;
  color: var(--accent-hover);
  font-size: 1rem;
  font-weight: 760;
  cursor: pointer;
}
.additional-options > summary span { margin-left: .3rem; color: var(--muted); font-weight: 520; }
.additional-fields { display: grid; gap: 1rem; padding: .1rem .85rem .85rem; }

.photo-field { display: grid; gap: .62rem; }
.photo-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.photo-heading h4 { margin: 0; }
.photo-heading p {
  margin: 0;
  padding: .2rem .6rem;
  border-radius: 100px;
  background: #eee8fa;
  color: #4e3d79;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 800;
}
#photo-usage { margin-top: -.35rem; }
.photo-dropzone {
  display: grid;
  place-items: center;
  gap: .2rem;
  width: 100%;
  padding: 1.2rem .75rem;
  min-height: 10rem;
  border: 1px dashed #8e7fbb;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf7ff, #f1ebfb);
  color: var(--accent-hover);
  text-align: center;
  transition: border-color .16s, background-color .16s;
}
.photo-dropzone:hover, .photo-dropzone.is-dragging {
  border-color: var(--accent);
  background: #e9dff9;
}
.photo-dropzone.is-dragging { box-shadow: inset 0 0 0 2px #9f80cc; }
.photo-dropzone > * { pointer-events: none; }
.photo-dropzone strong { font-size: 1.125rem; }
.drop-hint, #photos-hint { color: var(--muted); font-size: .95rem; }
.upload-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  margin-bottom: .18rem;
  border-radius: 12px;
  background: #e4d8f8;
}
.upload-mark svg { width: 1.32rem; height: 1.32rem; }
.photo-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  padding: 0;
  margin: .18rem 0 0;
  list-style: none;
}
.photo-preview li { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--field); }
.photo-preview img { width: 100%; height: auto; aspect-ratio: 1.45; border-radius: 11px 11px 0 0; object-fit: cover; }
.photo-name { display: block; overflow: hidden; padding: .32rem .46rem; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .82rem; }
.photo-remove {
  position: absolute;
  top: .28rem;
  right: .28rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.14rem;
  line-height: 1;
  box-shadow: 0 3px 9px #2719312e;
}
.photo-remove:hover { color: #8e1c36; }
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}
.check-mark {
  display: grid;
  place-items: center;
  width: 1.45rem;
  aspect-ratio: 1;
  flex: none;
  border: 1px solid var(--control-line);
  border-radius: 5px;
  background: #fff;
}
.check input:checked + .check-mark { border-color: var(--accent); background: var(--accent); }
.check input:checked + .check-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  transform: translateY(-1px) rotate(45deg);
  border: solid #fff;
  border-width: 0 2px 2px 0;
}
.composer-group + .composer-checkout {
  gap: .75rem;
  padding: .85rem;
  border: 1px solid #ded3ef;
  border-radius: 16px;
  background: #f7f2fc;
}
.order-total { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 780; }
.order-total strong { color: var(--accent); font-size: 1.45rem; white-space: nowrap; }
.composer-checkout .button { min-height: 54px; border-radius: 11px; }
.form-message { color: #963b30; font-size: 1rem; margin: .25rem 0 0; overflow-wrap: anywhere; }
.order-name { font-weight: 690; }
.order-state { background: #e8f2f6; border-radius: 8px; padding: .75rem .85rem; }
.payment-preview { margin: 1rem 0; padding: .55rem; border-radius: 16px; border: 1px solid var(--line); background: #f7f2fc; }
.payment-preview img { display: block; width: 100%; height: auto; max-height: 15rem; object-fit: contain; border-radius: 11px; }
.payment-preview figcaption { padding: .45rem .25rem .1rem; color: var(--muted); font-size: .88rem; }
.payment-panel { margin-block: 1rem; max-width: 32rem; }
.payment-panel h4 { margin: 0 0 .2rem; font: 740 1.3rem/1.2 var(--heading); }
#payment-widget { margin-top: .55rem; }
.order-files { display: grid; gap: .9rem; }
.file-block { display: grid; justify-items: center; gap: .45rem; min-width: 0; }
.file-block img, .file-block video { display: block; max-width: 100%; max-height: 26rem; border-radius: 9px; margin-bottom: .3rem; }
.file-block audio { width: min(100%, 26rem); }
.order-view .button { margin-top: .6rem; }
.order-view > :is(h3, .order-name, .order-state), .payment-preview figcaption { text-align: center; }
.order-view > h3 { width: fit-content; margin-inline: auto; }
.order-view > .text-link { display: inline-block; margin-top: .8rem; }
.gift-share {
  --share-gap: .7rem;
  margin: 1rem 0;
  padding: clamp(.85rem, 3vw, 1.25rem);
  border: 1px solid #dacfec;
  border-radius: 15px;
  background: #f5f0fc;
  text-align: center;
}
.gift-share h4 { margin: 0; font: 740 1.35rem/1.2 var(--heading); }
#gift-share-hint, #gift-share-social-hint {
  max-width: 42ch;
  margin: .35rem auto 0;
  text-wrap: balance;
}
.gift-share .button { min-height: 50px; padding-inline: .7rem; }
.gift-share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--share-gap);
  margin-top: var(--share-gap);
}
.order-view .gift-share-actions .button { margin-top: 0; }
.gift-share-actions .button { background: var(--panel); }
.gift-share-social, #copy-gift { grid-column: 1 / -1; }
.gift-share-social { padding-block: var(--share-gap); border-block: 1px solid #dacfec; }
.gift-share-social h5 { margin: 0; font-size: 1.05rem; }
.gift-share-social-actions {
  display: flex;
  justify-content: center;
  gap: var(--share-gap);
  margin-top: var(--share-gap);
}
.social-icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
}
.social-icon-button#share-vk { background: #0077ff; }
.social-icon-button#share-ok { background: #d76100; }
.social-icon-button:hover { filter: brightness(.9); }
.social-icon-button svg { width: 26px; height: 26px; }
.gift-link-fallback { margin-top: .6rem; }
.gift-page { min-height: calc(100vh - 74px); padding-inline: .85rem; }
.gift-result { width: min(100%, 41rem); margin-inline: auto; text-align: center; }
.gift-result h1 { margin: .2rem 0 1rem; font-size: clamp(2.05rem, 7vw, 3.5rem); }
#gift-expires { margin: 1.1rem 0 .2rem; }
.seller-details { max-width: 42rem; }
.seller-details h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); }
.seller-records {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .85rem 1.5rem;
  margin: 1.4rem 0 1rem;
}
.seller-records dt { font-weight: 750; }
.seller-records dd { margin: 0; overflow-wrap: anywhere; }
.studio:has(.order-view:not([hidden])) > .studio-intro { display: none; }
@media (min-width: 791px) {
  .studio:has(.order-view:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
  .studio > .order-view { justify-self: center; width: min(100%, 43rem); }
  .order-view .payment-panel { margin-inline: auto; text-align: center; }
}
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list details:first-child { padding-top: .25rem; }
.faq-list summary { cursor: pointer; font-weight: 680; }
.faq-list p { margin: .65rem 0 .15rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { justify-content: space-between; flex-wrap: wrap; padding-block: 1rem; }
.footer-links { flex-wrap: wrap; gap: .65rem 1.1rem; }

@media (max-width: 790px) {
  .header-row { min-height: 62px; gap: .7rem; justify-content: space-between; }
  .navigation { display: none; }
  .showcase {
    --backdrop: url('/assets/silk-light-mobile.webp');
    padding-top: 1.85rem;
    background-position: 62% top;
    background-size: 100% 40rem, auto 40rem;
  }
  .hero, .studio, .faq { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .studio-intro { position: static; }
  .studio-format {
    display: grid;
    grid-template-columns: minmax(5.25rem, 27%) minmax(0, 1fr);
    align-items: center;
    gap: .6rem;
    max-width: none;
    margin-top: .85rem;
    padding: .45rem;
    border-radius: 16px;
  }
  .studio-format img { border-radius: 11px; }
  .studio-format figcaption { padding: .2rem .18rem .2rem 0; }
  .studio-format strong { font-size: 1.16rem; }
  h1 { font-size: clamp(3rem, 11vw, 5.2rem); }
  h1 em { display: inline-block; }
  .hero-description { margin: .8rem 0 1.1rem; }
  .hero-comparison { padding: clamp(.85rem, 4.8vw, 2.25rem); border-radius: 23px; }
  .comparison-title { margin-bottom: 1rem; }
  .examples-grid { gap: .7rem; }
}
@media (max-width: 520px) {
  .gift-share-actions { grid-template-columns: minmax(0, 1fr); }
  .seller-records { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .seller-records dd + dt { margin-top: .65rem; }
  .portrait-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .portrait-source { transform: rotate(-2deg); }
  .portrait-result { transform: rotate(2deg); }
  .portrait img, .portrait-source img { aspect-ratio: 4 / 4.65; }
  .portrait figcaption { padding-inline: 0; }
  .comparison-marker { left: 50%; top: 46%; }
  .examples-grid { grid-template-columns: minmax(0, 1fr); }
  .example-media { height: clamp(132px, 40vw, 205px); border-radius: 13px; }
  .example { border-radius: 18px; padding: .5rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .product { padding: .75rem; }
  .product-name { font-size: 1.1rem; }
  .portrait { border-radius: 12px; }
  .portrait img { border-radius: 8px; }
  .two-fields { grid-template-columns: minmax(0, 1fr); }
  .gift-composer { border-radius: 21px; }
  .composer-group + .composer-group { margin-top: 1.12rem; padding-top: 1.12rem; }
  .composer-group + .composer-checkout { padding: .8rem; }
  .orientations .choice { flex-direction: column; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 1.5rem); }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #payment-widget { margin-inline: -.875rem; }
}
@media (hover: none) { .drop-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
