:root {
  color-scheme: light;
  --ink: #24212c;
  --muted: #6e6879;
  --paper: #fbfaf7;
  --cream: #fff4df;
  --lavender: #d9ccff;
  --lavender-soft: #f2edff;
  --purple: #6d52bd;
  --purple-dark: #503895;
  --coral: #ff8b73;
  --mint: #bfe8d2;
  --line: rgba(36, 33, 44, 0.13);
  --shadow: 0 24px 70px rgba(65, 45, 114, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --motion-ease: cubic-bezier(.2, .75, .25, 1);
  --font-sans: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

html[lang="en"],
html[lang="de"] {
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

html[lang="zh-CN"] {
  --font-sans: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
}

html[lang="ja"] {
  --font-sans: "Yu Gothic UI", "Meiryo", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", system-ui, sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transition: top 140ms ease;
}

.skip-link:focus {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--purple), #6ebd97);
  box-shadow: 0 0 16px rgba(109, 82, 189, .35);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 12px;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 64px;
  margin: 12px auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 999px;
  background: rgba(251, 250, 247, .78);
  box-shadow: 0 12px 36px rgba(48, 36, 80, .08);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: background 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

body.has-scrolled .site-header {
  border-color: rgba(109, 82, 189, .12);
  background: rgba(251, 250, 247, .93);
  box-shadow: 0 16px 42px rgba(48, 36, 80, .14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px 14px 18px 18px;
  background: var(--purple);
  color: white;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  transform: rotate(-5deg);
  box-shadow: 0 7px 18px rgba(87, 58, 158, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.24em;
}

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

.site-header nav a {
  position: relative;
  color: #4c4754;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--purple);
  content: "";
  transform: scaleX(0);
  transition: transform 220ms var(--motion-ease);
}

.site-header nav a:hover {
  color: var(--purple);
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.pwa-install-button {
  display: flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(156, 115, 211, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: var(--purple-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pwa-install-button:hover {
  border-color: var(--purple);
  background: var(--lavender-soft);
  transform: translateY(-1px);
}

.pwa-install-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.motion-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.12em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.motion-toggle:hover {
  border-color: rgba(109, 82, 189, .42);
  background: var(--lavender-soft);
  transform: translateY(-1px);
}

.motion-toggle[aria-pressed="true"] {
  border-color: var(--purple);
  background: var(--purple);
  color: white;
}

.cart-trigger {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.cart-trigger:hover {
  border-color: rgba(109, 82, 189, .42);
  background: var(--lavender-soft);
}

.cart-trigger svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--coral);
  color: #321d24;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:active:not(:disabled) {
  transform: translateY(0) scale(.98);
}

.button-primary span {
  transition: transform 220ms var(--motion-ease);
}

.button-primary:hover span {
  transform: translateX(4px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  background: var(--ink);
  color: white;
  font-size: 13px;
}

.button-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 12px 28px rgba(92, 63, 170, 0.25);
}

.button-primary:hover:not(:disabled) {
  background: var(--purple-dark);
  box-shadow: 0 15px 34px rgba(92, 63, 170, 0.32);
}

.button-secondary {
  border-color: rgba(109, 82, 189, 0.3);
  background: var(--lavender-soft);
  color: var(--purple-dark);
}

.button-ghost {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button-wide {
  width: 100%;
  margin-top: 22px;
}

.text-link,
.text-button {
  border: 0;
  background: none;
  color: var(--purple-dark);
  cursor: pointer;
  font-weight: 800;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-button:hover {
  text-decoration: underline;
}

.hero {
  --hero-card-x: 0px;
  --hero-card-y: 0px;
  --hero-avatar-x: 0px;
  --hero-avatar-y: 0px;
  --hero-orbit-x: 0px;
  --hero-orbit-y: 0px;
  --hero-orbit-back-x: 0px;
  --hero-orbit-back-y: 0px;
  --hero-pointer-x: 74%;
  --hero-pointer-y: 38%;
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: 50px;
  align-items: center;
  padding: 64px max(24px, calc((100vw - 1180px) / 2)) 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 30%, rgba(255, 194, 160, 0.26), transparent 25%),
    radial-gradient(circle at 89% 8%, rgba(206, 189, 255, 0.48), transparent 26%),
    linear-gradient(135deg, #fffdf9 0%, #f5f0ff 58%, #efe8ff 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 240px at var(--hero-pointer-x) var(--hero-pointer-y), rgba(255, 255, 255, .68), transparent 72%);
  content: "";
  opacity: .58;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(109, 82, 189, 0.15);
  border-radius: 50%;
  content: "";
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 670px;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

h1 em {
  color: var(--purple);
  font-weight: 600;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 31px;
  color: #5f5968;
  font-size: 17px;
}

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

.text-link {
  color: var(--ink);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 29px 0 0;
  padding: 0;
  color: #5b5564;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.trust-list span {
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #316148;
  font-size: 11px;
}

.hero-art {
  min-height: 520px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(109, 82, 189, 0.18);
  border-radius: 50%;
}

.orbit-one {
  inset: 7% 7% 4% 7%;
  transform: translate3d(var(--hero-orbit-x), var(--hero-orbit-y), 0);
  transition: transform 520ms var(--motion-ease);
}

.orbit-two {
  inset: 19% -8% 17% 20%;
  transform: translate3d(var(--hero-orbit-back-x), var(--hero-orbit-back-y), 0);
  transition: transform 620ms var(--motion-ease);
}

.demo-card {
  position: absolute;
  z-index: 2;
  width: 318px;
  min-height: 440px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  background: linear-gradient(145deg, #8068c9, #5f47ac);
  box-shadow: 0 35px 70px rgba(66, 46, 126, 0.28);
  color: white;
  transform: translate3d(var(--hero-card-x), var(--hero-card-y), 0) rotate(4deg);
  transition: transform 480ms var(--motion-ease), box-shadow 320ms ease;
  will-change: transform;
}

.demo-card-main {
  top: 28px;
  left: 21%;
}

.demo-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.82;
}

.demo-pet-photo {
  display: grid;
  width: 220px;
  height: 220px;
  margin: 25px auto 18px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: linear-gradient(145deg, #f8d8a7, #fff2d9);
  font-size: 118px;
  filter: drop-shadow(0 10px 14px rgba(51, 35, 90, 0.18));
}

.demo-name {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
}

.demo-card p {
  margin: 3px 0 17px;
  text-align: center;
  font-size: 11px;
  opacity: 0.78;
}

.demo-tags {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.demo-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 10px;
}

.demo-avatar {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 9%;
  display: grid;
  width: 155px;
  height: 155px;
  place-items: center;
  border: 7px solid white;
  border-radius: 40px;
  background: var(--cream);
  box-shadow: 0 18px 40px rgba(56, 39, 106, 0.2);
  transform: translate3d(var(--hero-avatar-x), var(--hero-avatar-y), 0) rotate(-8deg);
  transition: transform 420ms var(--motion-ease), box-shadow 320ms ease;
  will-change: transform;
}

.demo-avatar span {
  font-size: 76px;
  line-height: 1;
}

.demo-avatar small {
  position: absolute;
  bottom: 9px;
  padding: 2px 10px;
  border-radius: 999px;
  background: white;
  font-size: 9px;
  font-weight: 900;
}

.floating-note {
  position: absolute;
  z-index: 5;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 25px rgba(74,51,128,.12);
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.note-one { right: 1%; top: 20%; }
.note-two { left: 2%; bottom: 23%; }

.hero-scroll-cue {
  position: absolute;
  z-index: 6;
  bottom: 24px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #61586d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-decoration: none;
  transform: translateX(-50%);
}

.hero-scroll-cue span {
  position: relative;
  width: 19px;
  height: 30px;
  border: 1px solid rgba(80, 56, 149, .35);
  border-radius: 999px;
}

.hero-scroll-cue span::after {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--purple);
  content: "";
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.motion-ribbon {
  overflow: hidden;
  border-top: 1px solid rgba(109, 82, 189, .13);
  border-bottom: 1px solid rgba(109, 82, 189, .13);
  background: #f0e9ff;
}

.motion-ribbon-track,
.motion-ribbon-group {
  display: flex;
  width: max-content;
  align-items: center;
}

.motion-ribbon-track {
  animation: ribbon-loop 24s linear infinite;
  will-change: transform;
}

.motion-ribbon-group {
  min-height: 54px;
  gap: 28px;
  padding-right: 28px;
}

.motion-ribbon span {
  color: #3c334d;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

.motion-ribbon b {
  color: var(--coral);
  font-size: 13px;
}

.creator-section,
.examples-section,
.how-section {
  padding: 105px max(24px, calc((100vw - 1180px) / 2));
}

.creator-section {
  background: #fbfaf7;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading-left {
  max-width: 710px;
  margin-left: 0;
  text-align: left;
}

h2 {
  margin-bottom: 15px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.creator-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.stepper li {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #918b9b;
  font-size: 13px;
}

.stepper li::after {
  position: absolute;
  right: -20%;
  width: 40%;
  height: 1px;
  background: var(--line);
  content: "";
}

.stepper li:last-child::after {
  display: none;
}

.stepper li span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #cfc9d5;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.stepper li.is-active,
.stepper li.is-complete {
  color: var(--ink);
}

.stepper li.is-active span {
  border-color: var(--purple);
  background: var(--purple);
  color: white;
}

.stepper li.is-complete span {
  border-color: #4c8f69;
  background: var(--mint);
  color: #315e46;
}

.creator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.78fr);
}

.creator-form {
  min-height: 620px;
  padding: 48px;
}

.form-step {
  animation: fade-up 260ms ease both;
}

.step-heading {
  margin-bottom: 31px;
}

.step-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.step-heading h3 {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
}

.step-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.upload-zone {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px dashed #c9bce9;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fbf9ff, #f3eeff);
  cursor: pointer;
  text-align: center;
  transition: border 160ms ease, background 160ms ease, transform 160ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: var(--purple);
  background: #eee7ff;
  transform: translateY(-2px);
}

.upload-zone:has(input:focus-visible) {
  outline: 3px solid #2f73e0;
  outline-offset: 3px;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.upload-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 19px;
  background: white;
  box-shadow: 0 10px 24px rgba(84, 59, 151, 0.13);
  color: var(--purple);
  font-size: 29px;
}

.upload-zone strong {
  margin-bottom: 5px;
  font-size: 16px;
}

.upload-zone > span:last-child,
.field-help {
  color: var(--muted);
  font-size: 12px;
}

.field-help {
  margin: 10px 3px 0;
}

.field-error {
  min-height: 20px;
  margin: 5px 3px 0;
  color: #b63f3a;
  font-size: 12px;
  font-weight: 700;
}

.crop-controls {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fcfbfe;
}

.selected-file {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}

.selected-file-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #35694e;
  font-size: 13px;
  font-weight: 900;
}

.selected-file > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.selected-file strong,
.selected-file small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.crop-controls > label,
.position-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #504b57;
  font-size: 12px;
  font-weight: 800;
}

.crop-controls output {
  color: var(--purple);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--purple);
}

.position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.position-grid label {
  display: block;
}

.position-grid input {
  display: block;
  margin-top: 3px;
}

.field-group {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.field-group > label,
.field-group legend {
  display: block;
  margin-bottom: 9px;
  color: #4d4855;
  font-size: 13px;
  font-weight: 900;
}

.optional {
  color: #96909e;
  font-size: 10px;
  font-weight: 600;
}

input[type="text"],
select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d7d1dc;
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

input[type="text"]:focus,
select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109, 82, 189, 0.11);
  outline: 0;
}

.input-with-count {
  position: relative;
}

.input-with-count input {
  padding-right: 55px;
}

.input-with-count span {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #9a94a2;
  font-size: 10px;
  transform: translateY(-50%);
}

.two-column-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.style-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.style-option {
  position: relative;
  display: flex;
  min-height: 132px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  flex-direction: column;
  text-align: center;
}

.style-option:has(input:focus-visible) {
  outline: 3px solid #2f73e0;
  outline-offset: 3px;
}

.style-option.is-selected {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(109, 82, 189, 0.09);
}

.style-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.style-swatch {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 16px;
  font-family: var(--font-serif);
  font-size: 26px;
}

.swatch-water { background: #d7e9f1; color: #4d7f98; }
.swatch-knit { background: #f3dfcb; color: #a66f52; }
.swatch-pixel { background: #ded8f2; color: #7159aa; }
.swatch-pen { background: #dce8df; color: #527464; }

.style-option strong,
.style-option small {
  display: block;
}

.style-option strong { font-size: 12px; }
.style-option small { color: var(--muted); font-size: 9px; }

.tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-options label {
  cursor: pointer;
}

.tag-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.tag-options span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 12px;
  font-weight: 700;
}

.tag-options input:checked + span {
  border-color: var(--purple);
  background: var(--lavender-soft);
  color: var(--purple-dark);
}

.tag-options label:has(input:focus-visible) span {
  outline: 3px solid #2f73e0;
  outline-offset: 3px;
}

.form-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions .button {
  flex: 1;
}

.live-preview {
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.92), transparent 34%),
    linear-gradient(150deg, #eee8fc, #e0d4fa);
  flex-direction: column;
}

.preview-label {
  align-self: flex-start;
  margin-bottom: 19px;
  color: #686173;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #63a77c;
  box-shadow: 0 0 0 4px rgba(99, 167, 124, .15);
}

.empty-preview {
  display: flex;
  width: min(100%, 360px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(109,82,189,.15);
  border-radius: 36px;
  background: rgba(255,255,255,.58);
  color: #746d7d;
  flex-direction: column;
  text-align: center;
}

.empty-preview strong { color: #50485d; }
.empty-preview span { font-size: 11px; }

.empty-paw {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 30px rgba(77, 54, 133, .12);
  color: var(--purple);
  font-size: 29px;
  transform: rotate(-5deg);
}

#preview-canvas {
  display: block;
  width: min(100%, 380px);
  height: auto;
  border: 9px solid rgba(255,255,255,.92);
  border-radius: 38px;
  box-shadow: 0 24px 50px rgba(72, 52, 126, .18);
}

.preview-caption {
  position: relative;
  width: min(85%, 310px);
  margin-top: -26px;
  padding: 12px 18px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 12px 28px rgba(62,45,111,.15);
  text-align: center;
}

.preview-caption span,
.preview-caption strong,
.preview-caption small { display: block; }
.preview-caption span { color: var(--purple); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.preview-caption strong { font-family: var(--font-serif); font-size: 21px; }
.preview-caption small { color: var(--muted); font-size: 9px; }

.live-preview > p {
  max-width: 330px;
  margin: 24px 0 0;
  color: #665e70;
  font-size: 11px;
  text-align: center;
}

.generation-status {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 292px);
  min-height: 76px;
  align-items: center;
  align-self: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 24px 8px 9px;
  border: 1px solid rgba(156,115,211,.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 94% 0%, #fff 0 15%, transparent 15.5%),
    linear-gradient(140deg, #fffdf9, #fff7ef);
  box-shadow: 0 12px 28px rgba(93,67,126,.13), inset 0 0 0 3px rgba(255,255,255,.55);
  color: var(--ink);
  transition: opacity 220ms ease, translate 220ms ease, scale 220ms ease;
}

.generation-status::before,
.generation-status::after {
  position: absolute;
  width: 14px;
  height: 14px;
  background: currentColor;
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cellipse cx='16' cy='21' rx='8' ry='6'/%3E%3Cellipse cx='7' cy='15' rx='3' ry='4'/%3E%3Cellipse cx='13' cy='9' rx='3' ry='4'/%3E%3Cellipse cx='20' cy='9' rx='3' ry='4'/%3E%3Cellipse cx='25' cy='15' rx='3' ry='4'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .7;
}

.generation-status::before { bottom: 7px; left: 7px; color: #b9a0e9; rotate: -18deg; }
.generation-status::after { right: 7px; bottom: 9px; color: #f3a487; rotate: 16deg; }

.generation-status.is-completing { opacity: 0; translate: 0 8px; scale: .98; }

.generation-status strong,
.generation-status small { display: block; }
.generation-status strong { color: #343065; font-size: 13px; letter-spacing: .03em; line-height: 1.3; }
.generation-status small { max-width: 175px; margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.45; }

.loading-puppy {
  position: relative;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  filter: drop-shadow(0 5px 7px rgba(116,84,151,.12));
  overflow: hidden;
}

.loading-puppy img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: loading-puppy-frames 4.8s steps(1, end) infinite;
}

.loading-puppy img:nth-child(1) { animation-delay: 0s; }
.loading-puppy img:nth-child(2) { animation-delay: 1.2s; }
.loading-puppy img:nth-child(3) { animation-delay: 2.4s; }
.loading-puppy img:nth-child(4) { animation-delay: 3.6s; }

@keyframes loading-puppy-frames {
  0%, 24.9% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

.result-step {
  text-align: center;
}

.result-tabs {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 999px;
  background: #efebf6;
}

.result-tabs button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.result-tabs button[aria-selected="true"] {
  background: white;
  box-shadow: 0 5px 14px rgba(51, 36, 89, .11);
  color: var(--purple-dark);
}

#card-canvas,
#avatar-canvas {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 22px;
  border-radius: 19px;
  box-shadow: 0 20px 45px rgba(65,45,114,.18);
}

#avatar-canvas { border-radius: 30px; }

.download-actions {
  justify-content: center;
}

.download-actions .button {
  min-height: 44px;
  padding-inline: 15px;
  font-size: 11px;
}

.result-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.result-commerce {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.result-commerce-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.result-commerce-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .17em;
}

.result-commerce-heading h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
}

.result-commerce-heading p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.personal-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.personal-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: transform 280ms var(--motion-ease), box-shadow 280ms ease, border-color 280ms ease;
}

.product-mockup {
  position: relative;
  display: grid;
  min-height: 145px;
  place-items: center;
  overflow: hidden;
}

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

.mockup-frame {
  background: linear-gradient(145deg, #eee9df, #d4c6b0);
}

.mockup-frame > div {
  width: 86px;
  height: 100px;
  padding: 6px;
  border: 7px solid #694b35;
  background: #fffaf1;
  box-shadow: 8px 11px 18px rgba(61, 40, 25, .18);
  transform: rotate(-3deg);
}

.mockup-mug {
  background: linear-gradient(145deg, #f0eaff, #cfc1f4);
}

.mockup-mug > div {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 85px;
  padding: 18px 25px 13px;
  border-radius: 8px 8px 22px 22px;
  background: white;
  box-shadow: 8px 12px 20px rgba(76, 55, 125, .15);
}

.mockup-mug > div img {
  border-radius: 50%;
}

.mockup-mug > span {
  position: absolute;
  top: 42px;
  right: calc(50% - 63px);
  width: 35px;
  height: 46px;
  border: 10px solid white;
  border-left: 0;
  border-radius: 0 24px 24px 0;
}

.mockup-tag {
  background: linear-gradient(145deg, #e5f6ed, #a9d8be);
}

.mockup-tag::before {
  position: absolute;
  top: -25px;
  width: 5px;
  height: 66px;
  border-radius: 99px;
  background: #433849;
  content: "";
}

.mockup-tag > div {
  z-index: 1;
  width: 84px;
  height: 84px;
  padding: 8px;
  border: 5px solid #9b7446;
  border-radius: 50%;
  background: #f7dba8;
  box-shadow: 7px 10px 20px rgba(52, 87, 68, .18);
}

.mockup-tag > div img {
  border-radius: 50%;
}

.product-info {
  padding: 13px;
}

.product-info > span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}

.product-info h5 {
  margin: 2px 0;
  font-size: 12px;
}

.product-info p {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 8px;
}

.product-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-info strong {
  font-family: var(--font-serif);
  font-size: 17px;
}

.add-to-cart {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(109, 82, 189, .26);
  border-radius: 999px;
  background: var(--lavender-soft);
  color: var(--purple-dark);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
}

.add-to-cart:hover {
  border-color: var(--purple);
  background: var(--purple);
  color: white;
}

.commerce-local-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.commerce-local-note > span:first-child {
  display: inline-grid;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #315f46;
  font-size: 8px;
  font-weight: 900;
}

.commerce-local-note > span:last-child {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  color: inherit;
  font: inherit;
}

.restart-button {
  margin-top: 11px;
  font-size: 11px;
}

.shop-section {
  padding: 105px max(24px, calc((100vw - 1180px) / 2));
  background: #fffdf9;
}

.shop-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 42px;
}

.shop-heading > div {
  max-width: 760px;
}

.shop-heading h2 {
  margin-bottom: 12px;
}

.shop-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.shop-heading > .text-link {
  flex: 0 0 auto;
  margin-bottom: 7px;
  font-size: 13px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 15px 35px rgba(54, 43, 77, .06);
  transition: transform 320ms var(--motion-ease), box-shadow 320ms ease, border-color 320ms ease;
}

.catalog-art {
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
}

.catalog-art span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 8px solid rgba(255,255,255,.72);
  border-radius: 30px;
  box-shadow: 0 17px 30px rgba(56, 42, 74, .13);
  color: white;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  scale: 1.04;
  transform: rotate(-4deg);
  transition: scale 420ms var(--motion-ease), box-shadow 320ms ease;
}

.art-bags { background: linear-gradient(145deg, #dfe8d8, #97b18c); }
.art-bags span { border-radius: 50%; background: #68865e; }
.art-wipes { background: linear-gradient(145deg, #dceaf3, #91b9cf); }
.art-wipes span { background: #5b91ac; transform: rotate(3deg); }
.art-ball { background: linear-gradient(145deg, #ffe6cf, #efaa7f); }
.art-ball span { border-radius: 50%; background: #d87d55; }
.art-treat { background: linear-gradient(145deg, #f5e2c3, #c6955d); }
.art-treat span { background: #906238; }
.art-can { background: linear-gradient(145deg, #e9ddf5, #aa8bc9); }
.art-can span { border-radius: 46px 46px 28px 28px; background: #76579a; transform: rotate(2deg); }
.art-glove { background: linear-gradient(145deg, #f3dfe7, #ce96ac); }
.art-glove span { background: #a6647e; }

.catalog-copy {
  padding: 22px;
}

.product-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--lavender-soft);
  color: var(--purple-dark);
  font-size: 9px;
  font-weight: 900;
}

.badge-food {
  background: #fff0e3;
  color: #9c513a;
}

.catalog-copy h3 {
  margin: 13px 0 4px;
  font-family: var(--font-serif);
  font-size: 22px;
}

.catalog-copy > p {
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.catalog-buy strong {
  font-family: var(--font-serif);
  font-size: 25px;
}

.catalog-buy .add-to-cart {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 10px;
}

.shop-disclaimer {
  display: flex;
  gap: 10px;
  margin: 24px 0 0;
  padding: 15px 18px;
  border: 1px solid #ecd8bc;
  border-radius: 15px;
  background: #fff8eb;
  color: #6f5c45;
  font-size: 11px;
}

.shop-disclaimer > span:first-child {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #ebc98e;
  color: #5d4628;
  font-family: var(--font-serif);
  font-weight: 700;
}

.shop-disclaimer > span:last-child {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.examples-section {
  background: #24212c;
  color: white;
}

.examples-section .eyebrow { color: #bda9ff; }
.examples-section .section-heading p:last-child { color: #bcb6c6; }

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.example-card {
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 25px;
  background: #302c38;
  overflow: hidden;
  transition: transform 320ms var(--motion-ease), border-color 320ms ease, box-shadow 320ms ease;
}

.example-card div {
  display: grid;
  min-height: 250px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 18px;
  font-size: 112px;
  transition: transform 220ms ease;
}

.example-card:hover div { transform: scale(1.025) rotate(-2deg); }
.example-cream div { background: linear-gradient(145deg, #fff1d9, #e8c7a3); }
.example-sticker div { background: linear-gradient(145deg, #ffc6bc, #ff8e78); }
.example-story div { background: linear-gradient(145deg, #d6c8b5, #8f7d68); }
.example-water div { background: linear-gradient(145deg, #d9eff3, #85b3c5); }

.example-card span {
  display: block;
  color: #bdb6c8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.example-card strong { font-family: var(--font-serif); font-size: 16px; }

.how-section {
  background: #fffdf9;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-grid article {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  transition: transform 320ms var(--motion-ease), border-color 320ms ease, box-shadow 320ms ease;
}

.how-grid article > span {
  position: absolute;
  top: 23px;
  right: 24px;
  color: #b5afba;
  font-family: var(--font-serif);
  font-size: 14px;
}

.how-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 50px;
  place-items: center;
  border-radius: 19px;
  background: var(--lavender-soft);
  color: var(--purple);
  font-size: 26px;
}

.how-grid article:nth-child(2) .how-icon { background: #fff0e3; color: #c56c50; }
.how-grid article:nth-child(3) .how-icon { background: #e4f4eb; color: #4b8b67; }

.how-grid h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 23px;
}

.how-grid p {
  color: var(--muted);
  font-size: 13px;
}

.privacy-section {
  display: grid;
  grid-template-columns: .75fr 1.15fr;
  gap: 70px;
  align-items: center;
  padding: 105px max(24px, calc((100vw - 1050px) / 2));
  background: var(--lavender-soft);
}

.privacy-visual {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
}

.shield {
  display: grid;
  width: 210px;
  height: 235px;
  place-items: center;
  border: 9px solid rgba(255,255,255,.8);
  border-radius: 100px 100px 120px 120px;
  background: linear-gradient(150deg, #8168cc, #563d9f);
  box-shadow: 0 30px 60px rgba(69,47,128,.24);
  color: white;
  font-size: 70px;
  font-weight: 300;
}

.privacy-star {
  position: absolute;
  color: var(--coral);
  font-size: 28px;
}

.star-a { top: 15%; left: 8%; }
.star-b { right: 9%; bottom: 15%; color: var(--purple); font-size: 18px; }

.privacy-section > div:last-child > p:not(.eyebrow) {
  color: var(--muted);
}

.privacy-section h2 {
  max-width: 16ch;
  line-height: 1.08;
  text-wrap: balance;
}

.privacy-section ul {
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.privacy-section li > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #35684e;
  font-size: 10px;
}

.privacy-section > div:last-child,
.privacy-section li > span:last-child {
  min-width: 0;
}

.privacy-section li > span:last-child {
  display: block;
  flex: 1 1 auto;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.coming-section {
  position: relative;
  display: flex;
  max-width: 1180px;
  margin: 90px auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 55px 60px;
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, #302a3c, #5a438f);
  color: white;
  overflow: hidden;
}

.coming-section::before {
  position: absolute;
  top: -120px;
  right: -70px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 68%);
  content: "";
  transform: translate3d(0, 0, 0);
  transition: transform 700ms var(--motion-ease);
}

.coming-section:hover::before {
  transform: translate3d(-42px, 28px, 0) scale(1.12);
}

.coming-section > * {
  position: relative;
  z-index: 1;
}

.coming-section h2 { max-width: 680px; }
.coming-section p:last-child { max-width: 750px; margin-bottom: 0; color: #d1cadb; }
.coming-section .eyebrow { color: #c4b0ff; }
.coming-section .button { flex: 0 0 auto; background: white; color: var(--purple-dark); box-shadow: none; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer p { margin: 0; }
.footer-note { justify-self: end; }
.footer-brand { justify-self: start; }

body.has-open-cart {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(25, 21, 31, .45);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  display: flex;
  width: min(460px, 100%);
  height: 100%;
  background: #fffdf9;
  box-shadow: -20px 0 60px rgba(30, 23, 44, .2);
  flex-direction: column;
  animation: cart-in 220ms ease both;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header span {
  display: block;
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
}

.cart-header h2 {
  margin: 2px 0 0;
  font-size: 29px;
}

.cart-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cart-memory-note {
  margin: 0;
  padding: 13px 28px;
  background: var(--lavender-soft);
  color: #625a6c;
  font-size: 10px;
}

.cart-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

.cart-empty {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  padding: 35px;
  color: var(--muted);
  flex-direction: column;
  text-align: center;
}

.cart-empty > span {
  display: grid;
  width: 75px;
  height: 75px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 25px;
  background: var(--lavender-soft);
  color: var(--purple);
  font-size: 31px;
}

.cart-empty strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
}

.cart-empty p {
  max-width: 260px;
  margin: 4px 0 0;
  font-size: 11px;
}

.cart-items {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 28px;
  list-style: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: var(--lavender-soft);
  color: var(--purple-dark);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

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

.cart-line-copy {
  min-width: 0;
}

.cart-line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cart-line-top strong,
.cart-line-top small {
  display: block;
}

.cart-line-top strong {
  font-size: 13px;
}

.cart-line-top small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.cart-remove {
  min-width: 44px;
  min-height: 44px;
  margin: -10px -8px -10px 0;
  padding: 8px;
  border: 0;
  background: none;
  color: #8b8492;
  cursor: pointer;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-line-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 32px 30px 32px;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  text-align: center;
}

.quantity-control button {
  height: 32px;
  padding: 0;
  border: 0;
  background: white;
  cursor: pointer;
  font-size: 16px;
}

.quantity-control button:hover {
  background: var(--lavender-soft);
}

.quantity-control span {
  font-size: 11px;
  font-weight: 900;
}

.cart-line-price {
  font-family: var(--font-serif);
  font-size: 17px;
}

.cart-footer {
  padding: 22px 28px 26px;
  border-top: 1px solid var(--line);
  background: white;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.cart-total span {
  color: var(--muted);
  font-size: 12px;
}

.cart-total strong {
  font-family: var(--font-serif);
  font-size: 28px;
}

.cart-footer .button {
  width: 100%;
}

.cart-footer > p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

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

[hidden] {
  display: none !important;
}

.motion-ready .site-header {
  animation: header-arrival 620ms var(--motion-ease) both;
}

.motion-ready .hero-copy > * {
  animation: hero-copy-arrival 720ms var(--motion-ease) both;
}

.motion-ready .hero-copy > :nth-child(1) { animation-delay: 80ms; }
.motion-ready .hero-copy > :nth-child(2) { animation-delay: 150ms; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: 230ms; }
.motion-ready .hero-copy > :nth-child(4) { animation-delay: 310ms; }
.motion-ready .hero-copy > :nth-child(5) { animation-delay: 390ms; }

.motion-ready .demo-card-main {
  animation: hero-object-arrival 820ms 220ms var(--motion-ease) both, card-breathe 6s 1.2s ease-in-out infinite;
}

.motion-ready .demo-avatar {
  animation: hero-object-arrival 720ms 430ms var(--motion-ease) both, avatar-breathe 5.2s 1.35s ease-in-out infinite;
}

.motion-ready .floating-note {
  animation: hero-object-arrival 520ms 650ms var(--motion-ease) both, note-breathe 4.4s 1.3s ease-in-out infinite;
}

.motion-ready .orbit {
  animation: orbit-arrival 1.1s 300ms var(--motion-ease) both, orbit-pulse 5.8s 1.4s ease-in-out infinite;
}

.motion-ready .hero-scroll-cue {
  animation: cue-arrival 520ms 950ms var(--motion-ease) both;
}

[data-motion-reveal].is-revealed {
  animation: motion-reveal 720ms var(--motion-ease) both;
  animation-delay: var(--motion-delay, 0ms);
}

[role="tabpanel"]:not([hidden]) {
  animation: result-panel-in 220ms var(--motion-ease) both;
}

body.motion-paused .motion-ribbon-track,
body.motion-paused .demo-card-main,
body.motion-paused .demo-avatar,
body.motion-paused .floating-note,
body.motion-paused .orbit,
body.motion-paused .hero-scroll-cue,
body.motion-paused .hero-scroll-cue span::after,
body.motion-paused .shield,
body.motion-paused .privacy-star {
  animation-play-state: paused !important;
}

body.motion-paused .loading-puppy img {
  animation-play-state: paused !important;
}

body.motion-paused .demo-card-main,
body.motion-paused .demo-avatar,
body.motion-paused .floating-note,
body.motion-paused .orbit,
body.motion-paused .hero-scroll-cue {
  opacity: 1 !important;
  scale: 1 !important;
  translate: 0 0 !important;
}

body.motion-paused .hero-scroll-cue span::after {
  opacity: 1 !important;
  transform: none !important;
}

.privacy-visual.is-revealed .shield {
  animation: shield-breathe 5s 700ms ease-in-out infinite;
}

.privacy-visual.is-revealed .privacy-star {
  animation: star-twinkle 2.8s 500ms ease-in-out infinite;
}

.privacy-visual.is-revealed .star-b {
  animation-delay: 1.15s;
}

@media (hover: hover) and (pointer: fine) {
  .catalog-card:hover,
  .personal-product-card:hover,
  .how-grid article:hover {
    border-color: rgba(109, 82, 189, .28);
    box-shadow: 0 24px 50px rgba(65, 45, 114, .14);
    transform: translateY(-7px);
  }

  .catalog-card:hover .catalog-art span {
    scale: 1;
    box-shadow: 0 22px 38px rgba(56, 42, 74, .19);
  }

  .example-card:hover {
    border-color: rgba(189, 169, 255, .38);
    box-shadow: 0 26px 56px rgba(0, 0, 0, .2);
    transform: translateY(-7px);
  }

  .demo-card-main:hover {
    box-shadow: 0 42px 82px rgba(66, 46, 126, .36);
  }

  .demo-avatar:hover {
    box-shadow: 0 25px 52px rgba(56, 39, 106, .28);
  }
}

@keyframes header-arrival {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-copy-arrival {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes hero-object-arrival {
  from { opacity: 0; scale: .9; }
  to { opacity: 1; scale: 1; }
}

@keyframes card-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes avatar-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 5px; }
}

@keyframes note-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

@keyframes orbit-arrival {
  from { opacity: 0; scale: .82; }
  to { opacity: 1; scale: 1; }
}

@keyframes orbit-pulse {
  0%, 100% { border-color: rgba(109, 82, 189, .13); }
  50% { border-color: rgba(109, 82, 189, .28); }
}

@keyframes cue-arrival {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scroll-cue {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(10px); }
}

@keyframes ribbon-loop {
  to { transform: translateX(-50%); }
}

@keyframes motion-reveal {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes result-panel-in {
  from { opacity: 0; scale: .985; }
  to { opacity: 1; scale: 1; }
}

@keyframes shield-breathe {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -8px; rotate: -1.5deg; }
}

@keyframes star-twinkle {
  0%, 100% { opacity: .45; scale: .8; rotate: 0deg; }
  50% { opacity: 1; scale: 1.12; rotate: 12deg; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes cart-in {
  from { opacity: .5; transform: translateX(35px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr .82fr;
    gap: 20px;
  }

  .demo-card-main { left: 8%; }
  .creator-grid { grid-template-columns: 1fr 390px; }
  .creator-form { padding: 38px; }
  .style-options { grid-template-columns: repeat(2, 1fr); }
  .style-option { min-height: 112px; }
  .coming-section { margin-inline: 24px; }
}

@media (max-width: 820px) {
  .site-header nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions,
  .trust-list { justify-content: center; }
  .hero-art { width: min(520px, 100%); margin: 20px auto 0; }

  .creator-grid { grid-template-columns: 1fr; }
  .live-preview {
    min-height: auto;
    padding: 36px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .example-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { min-height: 220px; }
  .how-icon { margin-bottom: 30px; }

  .privacy-section { grid-template-columns: 1fr; gap: 30px; }
  .privacy-visual { min-height: 260px; }
  .shield { width: 160px; height: 180px; font-size: 54px; }

  .coming-section { align-items: flex-start; padding: 45px; flex-direction: column; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand,
  .footer-note { justify-self: center; }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    width: calc(100% - 28px);
    min-height: 58px;
    margin: 8px auto;
    padding-inline: 10px;
  }

  .site-header { gap: 10px; }
  .header-actions { gap: 7px; }
  .site-header .button-small { min-height: 38px; padding-inline: 12px; font-size: 11px; }
  .cart-trigger { width: 38px; height: 38px; }
  .motion-toggle { width: 38px; height: 38px; }
  .brand-mark { width: 37px; height: 37px; font-size: 21px; }
  .brand strong { font-size: 17px; }

  .hero {
    min-height: auto;
    padding: 45px 18px 75px;
  }

  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .hero-actions .button { width: 100%; }
  .trust-list { gap: 11px; font-size: 11px; }

  .hero-art { min-height: 410px; }
  .demo-card { width: 250px; min-height: 345px; padding: 17px; }
  .demo-card-main { top: 10px; left: calc(50% - 135px); }
  .demo-pet-photo { width: 168px; height: 168px; margin: 19px auto 12px; border-width: 6px; font-size: 88px; }
  .demo-name { font-size: 27px; }
  .demo-avatar { right: 0; bottom: 10px; width: 120px; height: 120px; border-width: 5px; border-radius: 31px; }
  .demo-avatar span { font-size: 58px; }
  .floating-note { display: none; }
  .hero-scroll-cue { display: none; }

  .motion-ribbon-group {
    min-height: 48px;
    gap: 22px;
    padding-right: 22px;
  }

  .motion-ribbon span { font-size: 13px; }

  .creator-section,
  .shop-section,
  .examples-section,
  .how-section { padding: 76px 14px; }
  .section-heading { margin-bottom: 34px; }
  h2 { font-size: 36px; }

  .creator-shell { border-radius: 24px; }
  .stepper { padding: 0 9px; }
  .stepper li { min-height: 64px; gap: 6px; font-size: 10px; }
  .stepper li span { width: 24px; height: 24px; }
  .stepper li::after { display: none; }
  .creator-form { min-height: auto; padding: 27px 19px; }
  .upload-zone { min-height: 230px; }
  .position-grid,
  .two-column-fields { grid-template-columns: 1fr; }
  .style-options { grid-template-columns: repeat(2, 1fr); }
  .style-option { min-height: 116px; }
  .form-actions .button { flex: 1 0 100%; }

  .live-preview { padding: 28px 19px 34px; }
  .generation-status { width: min(100%, 270px); min-width: 0; min-height: 70px; gap: 9px; padding: 7px 21px 7px 8px; border-radius: 18px; }
  .loading-puppy { flex-basis: 56px; width: 56px; height: 56px; }
  .generation-status strong { font-size: 12px; }
  .generation-status small { font-size: 8px; }

  .result-step .step-heading { text-align: left; }
  .download-actions .button { width: 100%; }
  .result-commerce-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .result-commerce-heading p { max-width: none; text-align: left; }
  .personal-product-grid { grid-template-columns: 1fr; }
  .personal-product-card { display: grid; grid-template-columns: 42% 58%; }
  .product-mockup { min-height: 160px; }
  .product-info { display: flex; justify-content: center; flex-direction: column; }
  .product-info > div { align-items: flex-start; flex-direction: column; }
  .product-info .add-to-cart { min-height: 44px; }

  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-art { min-height: 190px; }
  .catalog-buy .add-to-cart { min-height: 44px; }
  .shop-disclaimer { align-items: flex-start; }

  .example-grid { grid-template-columns: 1fr; }
  .example-card { min-height: 330px; }
  .example-card div { min-height: 225px; }

  .privacy-section { padding: 76px 20px; }
  .coming-section { margin: 55px 14px; padding: 35px 25px; border-radius: 24px; }
  .coming-section .button { width: 100%; }

  .cart-header { padding: 22px 20px 17px; }
  .cart-memory-note { padding-inline: 20px; }
  .cart-items { padding-inline: 20px; }
  .cart-footer { padding: 18px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .motion-toggle { display: none; }

  .motion-ribbon-track {
    animation: none !important;
    transform: translateX(0) !important;
  }
}

/* Pawtrait reference-led visual system */
:root {
  --paper: #fffaf5;
  --cream: #fff6ed;
  --ink: #172634;
  --muted: #71808a;
  --lavender: #c7acef;
  --lavender-soft: #f3ecfb;
  --purple: #9c73d3;
  --purple-dark: #7957ad;
  --grass: #dce8b3;
  --grass-soft: #edf2cf;
  --water: #ccdfe5;
  --water-light: #e5eef0;
}

.site-header {
  top: 0;
  width: 100%;
  max-width: none;
  min-height: 78px;
  padding: 14px clamp(28px, 4vw, 72px);
  border: 0;
  border-radius: 0;
  background: rgba(255, 250, 245, .82);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

body.has-scrolled .site-header {
  top: 0;
  border-color: transparent;
  background: rgba(255, 250, 245, .94);
  box-shadow: 0 8px 30px rgba(75, 58, 45, .07);
}

.brand { gap: 12px; text-decoration: none; }
.brand > span:last-child { display: block; }
.brand strong {
  color: var(--ink);
  font: 700 clamp(25px, 2.2vw, 34px)/1 var(--font-serif);
  letter-spacing: -.03em;
}
.brand-mark {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(36, 33, 44, .12);
  background: #fff;
  color: #fff;
  box-shadow: 0 7px 18px rgba(48, 36, 67, .10);
  transform: none;
}
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.brand-mark span,
.brand-mark b { position: absolute; color: #fff; font-size: 10px; line-height: 1; }
.brand-mark span:nth-child(1) { left: 12px; top: 12px; }
.brand-mark span:nth-child(2) { left: 22px; top: 8px; }
.brand-mark span:nth-child(3) { right: 9px; top: 15px; }
.brand-mark span:nth-child(4) { left: 8px; top: 21px; }
.brand-mark b { left: 16px; top: 20px; font-size: 20px; transform: scaleX(1.25); }
[hidden] { display: none !important; }
.site-header nav { gap: clamp(24px, 4vw, 62px); }
.site-header nav a { color: var(--ink); font-size: 14px; font-weight: 650; }
.site-header .button-small {
  min-width: max-content;
  min-height: 48px;
  padding-inline: 27px;
  border: 0;
  background: var(--purple);
  color: #fff;
  box-shadow: none;
  flex: 0 0 auto;
  white-space: nowrap;
}
.motion-toggle,
.cart-trigger { background: rgba(255,255,255,.62); border-color: rgba(121,87,173,.14); }

.language-picker {
  position: relative;
  z-index: 2;
  display: inline-block;
  min-width: 136px;
  height: 42px;
  flex: 0 0 auto;
}

.language-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  pointer-events: none;
  white-space: nowrap;
}

.language-trigger {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 22px minmax(max-content, 1fr) 16px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(121, 87, 173, .18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 253, 249, .94), rgba(246, 239, 253, .92));
  color: var(--ink);
  box-shadow: 0 7px 22px rgba(121, 87, 173, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  cursor: pointer;
  font: 750 12px/1 var(--font-sans);
  text-align: left;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: rgba(121, 87, 173, .42);
  background: linear-gradient(135deg, #fffdf9, var(--lavender-soft));
  box-shadow: 0 10px 26px rgba(121, 87, 173, .14), inset 0 1px 0 #fff;
  transform: translateY(-1px);
}

.language-trigger:focus-visible {
  outline: 0;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(156, 115, 211, .14);
}

.language-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 8px;
  background: rgba(199, 172, 239, .24);
  color: var(--purple);
  font: 800 13px/1 var(--font-sans);
  pointer-events: none;
}

.language-current {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.language-caret {
  width: 8px;
  height: 8px;
  justify-self: end;
  border-right: 2px solid var(--purple-dark);
  border-bottom: 2px solid var(--purple-dark);
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
}

.language-trigger[aria-expanded="true"] .language-caret {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid rgba(121, 87, 173, .16);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 253, 249, .99), rgba(247, 240, 253, .99));
  box-shadow: 0 18px 45px rgba(73, 54, 105, .16), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(1.12);
  transform-origin: top right;
  animation: language-menu-in 180ms ease-out both;
}

.language-menu::before {
  position: absolute;
  top: -5px;
  right: 21px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(121, 87, 173, .13);
  border-left: 1px solid rgba(121, 87, 173, .13);
  background: #fffdf9;
  content: "";
  transform: rotate(45deg);
}

.language-option {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 14px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 700 13px/1.2 var(--font-sans);
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-option:hover,
.language-option:focus-visible {
  outline: 0;
  background: rgba(199, 172, 239, .18);
  color: var(--purple-dark);
  transform: translateX(2px);
}

.language-option[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(199, 172, 239, .28), rgba(243, 236, 251, .68));
  color: var(--purple-dark);
}

.language-option-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: scale(.72);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-option[aria-selected="true"] .language-option-check {
  opacity: 1;
  transform: scale(1);
}

@keyframes language-menu-in {
  from { opacity: 0; transform: translateY(-5px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero {
  --hero-scene-x: 0px;
  --hero-scene-y: 0px;
  --portrait-card-x: 0px;
  --portrait-card-y: 0px;
  display: block;
  width: 100%;
  max-width: none;
  min-height: clamp(790px, 61vw, 900px);
  margin: 0;
  padding: clamp(95px, 9vw, 132px) clamp(28px, 4vw, 72px) 145px;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
}
.hero::before,
.hero::after { content: none; }
.hero-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/pawtrait-hero-scene.png") center 46% / cover no-repeat;
  transform: translate3d(var(--hero-scene-x), var(--hero-scene-y), 0) scale(1.015);
  transition: transform 450ms var(--motion-ease);
}
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,250,245,.91) 0%, rgba(255,250,245,.72) 23%, rgba(255,250,245,.10) 48%, transparent 67%),
    linear-gradient(180deg, rgba(255,250,245,.44) 0%, transparent 33%);
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(500px, 38vw);
  margin-top: 28px;
}
.hero .eyebrow { margin-bottom: 22px; color: var(--purple); font-size: 14px; letter-spacing: .06em; }
.hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font: 500 clamp(52px, 5vw, 76px)/1.01 var(--font-serif);
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-lead {
  max-width: 440px;
  margin: 25px 0 26px;
  color: #61747e;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
}
.hero-upload {
  width: min(380px, 100%);
  min-height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 24px;
  border: 1.5px dashed rgba(156,115,211,.58);
  border-radius: 24px;
  background: rgba(255,250,245,.88);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(72,57,45,.10);
  cursor: pointer;
  transition: transform 240ms var(--motion-ease), box-shadow 240ms ease, background 240ms ease;
}
.hero-upload:hover { transform: translateY(-3px); background: rgba(255,255,255,.95); box-shadow: 0 22px 52px rgba(72,57,45,.14); }
.hero-upload-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 54px;
  margin-bottom: 3px;
  border-radius: 50%;
  background: var(--lavender-soft);
}
.hero-upload-icon svg { width: 42px; height: 42px; fill: var(--lavender); stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-upload strong { font-size: 17px; }
.hero-upload small { color: var(--muted); font-size: 13px; }
.hero-social-proof { display: flex; align-items: center; gap: 15px; margin-top: 24px; color: var(--ink); }
.hero-social-proof > span:last-child { display: grid; gap: 1px; }
.hero-social-proof strong { font-size: 13px; }
.hero-social-proof small { color: var(--muted); font-size: 12px; }
.hero-social-proof small b { color: var(--purple); font-size: 14px; }
.proof-pets { display: flex; }
.proof-pets img { width: 43px; height: 43px; margin-left: -9px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }
.proof-pets img:first-child { margin-left: 0; }

.portrait-showcase {
  position: absolute;
  z-index: 3;
  top: clamp(105px, 10vw, 142px);
  right: clamp(24px, 3vw, 54px);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transform: translate3d(var(--portrait-card-x), var(--portrait-card-y), 0);
  transition: transform 450ms var(--motion-ease);
}
.portrait-card {
  position: relative;
  width: clamp(105px, 9vw, 132px);
  aspect-ratio: .72;
  padding: 7px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 20px;
  background: rgba(255,250,245,.8);
  box-shadow: 0 14px 35px rgba(60,48,39,.12);
  transition: transform 250ms var(--motion-ease), box-shadow 250ms ease;
}
.portrait-card:nth-child(2) { margin-top: 5px; transform: rotate(1.5deg); }
.portrait-card:nth-child(3) { margin-top: 9px; transform: rotate(3deg); }
.portrait-card img { width: 100%; height: 100%; display: block; border-radius: 14px; object-fit: cover; }
.portrait-card > span { position: absolute; left: -10px; bottom: -12px; display: grid; place-items: center; width: 42px; height: 42px; border: 6px solid rgba(255,250,245,.92); border-radius: 50%; background: var(--lavender-soft); color: var(--purple); }

.hero-stats {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 4vw, 72px);
  bottom: 30px;
  left: clamp(28px, 4vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 112px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 24px;
  background: rgba(255,250,245,.88);
  box-shadow: 0 18px 48px rgba(76,62,49,.10);
  backdrop-filter: blur(18px);
}
.hero-stats > div { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 20px; }
.hero-stats > div + div::before { content: ""; position: absolute; left: 0; top: 24%; width: 1px; height: 52%; background: rgba(23,38,52,.10); }
.hero-stats > div > span { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: var(--lavender-soft); color: var(--purple); font-size: 24px; }
.hero-stats p { display: grid; gap: 2px; margin: 0; }
.hero-stats strong { color: var(--ink); font: 600 clamp(23px, 2vw, 31px)/1.1 var(--font-serif); }
.hero-stats small { color: var(--muted); white-space: nowrap; }

.creator-section,
.shop-section,
.how-section,
.privacy-section { background-color: var(--paper); }
.examples-section { background: var(--lavender-soft); color: var(--ink); }
.example-card { color: var(--ink); }
.footer-brand .brand-mark { transform: none; }

.motion-ready .portrait-card { animation: pawtraitCardFloat 5.8s ease-in-out infinite alternate; }
.motion-ready .portrait-card:nth-child(2) { animation-delay: -1.8s; }
.motion-ready .portrait-card:nth-child(3) { animation-delay: -3.4s; }
body.motion-paused .portrait-card { animation-play-state: paused; }
@keyframes pawtraitCardFloat { from { translate: 0 0; } to { translate: 0 -5px; } }

@media (hover: hover) and (pointer: fine) {
  .portrait-card:hover { translate: 0 -4px; box-shadow: 0 20px 45px rgba(60,48,39,.18); }
}

@media (max-width: 1050px) {
  .hero-copy { width: min(520px, 50vw); }
  .portrait-showcase { right: 20px; gap: 8px; }
  .portrait-card { width: 100px; }
  .hero-stats > div { gap: 10px; padding: 16px 10px; }
  .hero-stats > div > span { width: 44px; height: 44px; flex-basis: 44px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 70px; padding: 10px 20px; }
  .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand strong { font-size: 26px; }
  .hero { min-height: 1060px; padding: 100px 24px 245px; }
  .hero-scene { inset: 350px 0 0; background-position: 61% center; }
  .hero-scene::after { background: linear-gradient(180deg, var(--cream) 0, rgba(255,246,237,.82) 18%, transparent 44%); }
  .hero-copy { width: min(560px, 100%); margin: 0 auto; text-align: left; }
  .hero h1 { font-size: clamp(48px, 9vw, 66px); }
  .hero-lead { margin-inline: 0; }
  .portrait-showcase { top: 485px; right: 18px; }
  .portrait-card { width: 92px; }
  .portrait-card:nth-child(3) { display: none; }
  .hero-stats { bottom: 24px; grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(3)::before { content: none; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(23,38,52,.10); }
}

@media (max-width: 560px) {
  .site-header { gap: 6px; padding-inline: 14px; }
  .header-actions { gap: 4px; }
  .site-header .motion-toggle { display: none; }
  .language-picker { min-width: 126px; height: 38px; }
  .language-trigger {
    grid-template-columns: 20px minmax(max-content, 1fr) 14px;
    gap: 6px;
    padding-inline: 10px;
    font-size: 11px;
  }
  .language-icon { width: 20px; height: 20px; font-size: 12px; }
  .language-menu { width: 180px; }
  .site-header .button-small { gap: 6px; padding-inline: 10px; font-size: 11px; line-height: 1.2; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand strong { font-size: 20px; }
  .hero { min-height: 1070px; padding: 96px 18px 242px; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(42px, 12.2vw, 58px); }
  .hero-lead { margin-inline: auto; font-size: 15px; }
  .hero-upload { min-height: 174px; margin-inline: auto; }
  .hero-social-proof { justify-content: center; }
  .hero-scene { top: 420px; background-position: 65% center; }
  .portrait-showcase { display: none; }
  .hero-stats { right: 14px; left: 14px; bottom: 16px; min-height: 200px; border-radius: 20px; }
  .hero-stats > div { justify-content: flex-start; padding: 13px 12px; }
  .hero-stats > div > span { width: 38px; height: 38px; flex-basis: 38px; font-size: 18px; }
  .hero-stats strong { font-size: 21px; }
  .hero-stats small { font-size: 10px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene,
  .portrait-showcase { transform: none !important; transition: none !important; }
  .portrait-card { animation: none !important; }
}

/* Pawtrait lower-page harmonization */
main { background: var(--paper); }

.creator-section,
.shop-section,
.examples-section,
.how-section,
.privacy-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.creator-section::before,
.creator-section::after,
.shop-section::after,
.how-section::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  filter: blur(2px);
}

.creator-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(220,232,179,.48), transparent 26%),
    radial-gradient(circle at 88% 26%, rgba(199,172,239,.30), transparent 29%),
    linear-gradient(180deg, #fffaf5 0%, #fbf7ed 100%);
}
.creator-section::before {
  top: 110px;
  left: -110px;
  width: 260px;
  height: 260px;
  background: rgba(229,237,197,.46);
}
.creator-section::after {
  right: -120px;
  bottom: 100px;
  width: 310px;
  height: 310px;
  background: rgba(243,236,251,.74);
}

.creator-shell {
  border-color: rgba(121,87,173,.13);
  background: rgba(255,253,249,.82);
  box-shadow: 0 30px 90px rgba(73,57,43,.10);
  backdrop-filter: blur(14px);
}
.stepper { border-color: rgba(121,87,173,.12); background: rgba(255,255,255,.55); }
.stepper li::after { background: rgba(121,87,173,.13); }
.creator-form { background: rgba(255,253,249,.68); }
.upload-zone {
  border-color: rgba(156,115,211,.43);
  background:
    radial-gradient(circle at 18% 12%, rgba(220,232,179,.34), transparent 32%),
    linear-gradient(145deg, rgba(255,250,245,.96), rgba(243,236,251,.78));
}
.upload-zone:hover,
.upload-zone.is-dragging { background: linear-gradient(145deg, #fffdf8, #eee5fa); }
.crop-controls,
.field-group input,
.field-group select { background-color: rgba(255,255,255,.78); }
.live-preview {
  border-color: rgba(121,87,173,.10);
  background:
    radial-gradient(circle at 82% 12%, rgba(220,232,179,.54), transparent 29%),
    linear-gradient(160deg, #f5effb 0%, #fff8ef 54%, #edf2cf 128%);
}
.empty-preview { border-color: rgba(156,115,211,.20); background: rgba(255,255,255,.38); }
.preview-caption { background: rgba(255,252,248,.92); }
.style-option { border-color: rgba(121,87,173,.12); background: rgba(255,255,255,.70); }
.style-option:has(input:checked) { border-color: var(--purple); background: #f7f1fc; }
.tag-options span { background: rgba(255,255,255,.72); }

.shop-section {
  background:
    radial-gradient(circle at 92% 5%, rgba(229,237,197,.56), transparent 25%),
    linear-gradient(180deg, #fffaf5, #fff7ed);
}
.shop-section::before {
  position: absolute;
  z-index: -1;
  top: -15px;
  right: max(20px, calc((100vw - 1300px) / 2));
  width: 230px;
  height: 300px;
  border-radius: 42% 58% 45% 55%;
  background: url("assets/pawtrait-watercolor-basket.jpg") center 43% / cover no-repeat;
  content: "";
  opacity: .10;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.shop-section::after {
  bottom: -180px;
  left: -100px;
  width: 340px;
  height: 340px;
  background: rgba(199,172,239,.15);
}
.shop-heading { padding-right: 120px; }
.catalog-grid { gap: 20px; }
.catalog-card {
  border-color: rgba(92,75,58,.10);
  border-radius: 28px;
  background: rgba(255,253,249,.90);
  box-shadow: 0 16px 44px rgba(80,64,48,.07);
}
.catalog-art { min-height: 190px; }
.catalog-art span {
  width: 78px;
  height: 78px;
  border-width: 6px;
  border-radius: 50%;
  box-shadow: 0 13px 30px rgba(74,59,47,.10);
  transform: none;
  scale: 1;
}
.art-bags { background: linear-gradient(145deg, #f1f3df, #dce8c5); }
.art-bags span { background: #a8bc89; }
.art-wipes { background: linear-gradient(145deg, #eef6f5, #d6e8e7); }
.art-wipes span { background: #93b6b5; transform: none; }
.art-ball { background: linear-gradient(145deg, #fff3e8, #f3d9c5); }
.art-ball span { background: #dba784; }
.art-treat { background: linear-gradient(145deg, #fff5e8, #ead9ba); }
.art-treat span { background: #b9996e; }
.art-can { background: linear-gradient(145deg, #f7f1fb, #e3d5ed); }
.art-can span { background: #ab8fc4; transform: none; }
.art-glove { background: linear-gradient(145deg, #fdf2f5, #ead6df); }
.art-glove span { background: #c091a4; }
.catalog-copy { padding: 24px; }
.catalog-buy .add-to-cart { border-color: rgba(156,115,211,.22); background: var(--lavender-soft); color: var(--purple-dark); }
.catalog-buy .add-to-cart:hover { background: var(--purple); color: #fff; }

.examples-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(220,232,179,.52), transparent 26%),
    radial-gradient(circle at 90% 84%, rgba(199,172,239,.30), transparent 28%),
    linear-gradient(145deg, #f7f1fb 0%, #fff9f2 55%, #f1f4dd 120%);
  color: var(--ink);
}
.examples-section .eyebrow { color: var(--purple); }
.examples-section .section-heading p:last-child { color: var(--muted); }
.example-grid { gap: 20px; }
.example-card {
  position: relative;
  min-height: 390px;
  padding: 12px 12px 22px;
  border-color: rgba(121,87,173,.12);
  border-radius: 26px;
  background: rgba(255,253,249,.86);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(77,60,45,.08);
  backdrop-filter: blur(8px);
}
.example-card div {
  display: block;
  min-height: 290px;
  height: 290px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: #fffaf5;
  font-size: 0;
}
.example-card div img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 38%; transition: transform 450ms var(--motion-ease); }
.example-card:hover div { transform: none; }
.example-card:hover div img { transform: scale(1.025); }
.example-card span { padding-inline: 6px; color: var(--purple-dark); }
.example-card strong { display: block; padding: 4px 6px 0; color: var(--ink); font-size: 17px; }
.example-cream div,
.example-sticker div,
.example-story div,
.example-water div { background: #fffaf5; }

.example-card .example-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 290px;
  min-height: 290px;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fffaf5;
  cursor: pointer;
}

.example-card .example-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 260ms ease, transform 450ms var(--motion-ease), filter 260ms ease;
}

.example-card .example-image.is-switching { opacity: .08; transform: scale(.985); filter: blur(2px); }
.example-card:hover .example-visual { transform: none; }
.example-card:hover .example-image { transform: scale(1.025); }
.example-card:hover .example-image.is-switching { transform: scale(.985); }

.example-card .example-image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: block;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(255,252,248,.88);
  box-shadow: 0 6px 18px rgba(48,36,67,.1);
  color: var(--purple-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: none;
  backdrop-filter: blur(8px);
}

.example-card .example-zoom {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(255,252,248,.9);
  box-shadow: 0 7px 20px rgba(48,36,67,.13);
  color: var(--purple-dark);
  cursor: zoom-in;
  backdrop-filter: blur(9px);
  transition: background 180ms ease, transform 180ms ease;
}

.example-card .example-zoom:hover { background: #fff; transform: scale(1.06); }
.example-card .example-zoom:focus-visible { outline: 3px solid rgba(151,104,217,.34); outline-offset: 2px; }
.example-card .example-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }

.example-card .example-style-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(121,87,173,.15);
  border-radius: 17px;
  background: rgba(248,243,253,.84);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.example-card .example-style-button:hover { border-color: rgba(121,87,173,.38); transform: translateY(-1px); }
.example-card.is-previewing .example-style-button { border-color: rgba(132,87,204,.46); background: #efe6fa; }
.example-card .example-style-button > span:last-child { display: block; min-width: 0; padding: 0; color: inherit; letter-spacing: 0; text-transform: none; }
.example-card .example-style-button strong,
.example-card .example-style-button small { display: block; }
.example-card .example-style-button strong { padding: 0; color: var(--ink); font-family: var(--font-sans); font-size: 13px; line-height: 1.35; }
.example-card .example-style-button small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }

.example-card .example-style-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,.82);
  color: var(--purple);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
}

.example-lightbox {
  width: min(92vw, 1040px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(156,115,211,.22);
  border-radius: 30px;
  background: transparent;
  box-shadow: 0 34px 90px rgba(42,31,57,.28);
}

.pwa-install-dialog {
  width: min(440px, calc(100vw - 28px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: 0 30px 80px rgba(42,31,57,.25);
}

.pwa-install-dialog::backdrop {
  background: rgba(35,29,43,.62);
  backdrop-filter: blur(7px);
}

.pwa-install-panel {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(156,115,211,.2);
  border-radius: 30px;
  background: linear-gradient(145deg, #fffdf9, #f7f0fb);
  text-align: center;
}

.pwa-install-panel > img {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border: 1px solid rgba(156,115,211,.18);
  border-radius: 50%;
  background: white;
  object-fit: cover;
}

.pwa-install-panel h2 { margin: 6px 0 12px; font-size: 34px; }
.pwa-install-panel > p:not(.eyebrow) { margin: 0 auto 22px; color: var(--muted); line-height: 1.75; }
.pwa-install-panel .button { width: 100%; }
.pwa-install-panel .pwa-copy-link { margin-top: 10px; border: 1px solid rgba(156,115,211,.3); background: white; color: var(--purple-dark); }

.pwa-install-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
}

.example-lightbox::backdrop { background: rgba(35,29,43,.7); backdrop-filter: blur(7px); }

.example-lightbox-panel {
  position: relative;
  display: grid;
  max-height: 92vh;
  padding: 16px;
  overflow: auto;
  border-radius: 30px;
  background: linear-gradient(145deg, #fffdf9, #f7f0fb);
}

.example-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 100px);
  object-fit: contain;
  border-radius: 20px;
  background: #f2ebf7;
}

.example-lightbox p { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 12px 7px 0; }
.example-lightbox p strong { color: var(--ink); font-family: var(--font-serif); font-size: 18px; }
.example-lightbox p span { color: var(--muted); font-size: 11px; }

.example-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 26px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(255,252,248,.92);
  box-shadow: 0 8px 22px rgba(48,36,67,.16);
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.how-section {
  background:
    radial-gradient(circle at 84% 22%, rgba(207,225,229,.40), transparent 28%),
    linear-gradient(180deg, #fffaf5, #fbf5ea);
}
.how-section::after {
  top: 35px;
  right: -90px;
  width: 290px;
  height: 290px;
  background: rgba(229,237,197,.52);
}
.how-grid { gap: 22px; }
.how-grid article {
  min-height: 250px;
  border-color: rgba(92,75,58,.09);
  border-radius: 30px 22px 30px 22px;
  box-shadow: 0 18px 45px rgba(77,60,45,.06);
}
.how-grid article:nth-child(1) { background: #f7f1fb; }
.how-grid article:nth-child(2) { background: #fff4e9; }
.how-grid article:nth-child(3) { background: #f0f4df; }
.how-icon { width: 54px; height: 54px; margin-bottom: 34px; border-radius: 50%; }

.privacy-section {
  background:
    radial-gradient(circle at 15% 50%, rgba(220,232,179,.55), transparent 30%),
    linear-gradient(130deg, #f1f4dd, #fff9f1 47%, #f3ecfb);
}
.privacy-visual { min-height: 300px; }
.shield {
  width: 180px;
  height: 195px;
  border: 1px solid rgba(156,115,211,.25);
  border-radius: 84px 84px 100px 100px;
  background: rgba(255,253,249,.83);
  box-shadow: 0 25px 55px rgba(80,61,102,.13);
  color: var(--purple);
  font-size: 58px;
}
.privacy-star { color: #e8a98e; }

.coming-section {
  border: 1px solid rgba(121,87,173,.12);
  background:
    linear-gradient(105deg, rgba(255,250,245,.95) 0%, rgba(243,236,251,.93) 58%, rgba(220,232,179,.72) 100%);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(74,57,42,.10);
}
.coming-section::before {
  top: -90px;
  right: -10px;
  width: 310px;
  height: 310px;
  background: url("assets/pawtrait-watercolor-sunglasses.jpg") center 24% / cover no-repeat;
  opacity: .12;
  mix-blend-mode: multiply;
}
.coming-section:hover::before { transform: translate3d(-12px, 8px, 0) scale(1.02); }
.coming-section p:last-child { color: var(--muted); }
.coming-section .eyebrow { color: var(--purple); }
.coming-section .button { background: var(--purple); color: #fff; }

footer {
  border-color: rgba(92,75,58,.10);
  background: linear-gradient(180deg, #fffaf5, #f1f4df);
}

.portrait-showcase { gap: 16px; }
.portrait-card:nth-child(2),
.portrait-card:nth-child(3) { margin-top: 0; transform: none; }

@media (max-width: 820px) {
  .shop-heading { padding-right: 0; }
  .shop-section::before { width: 180px; height: 230px; opacity: .07; }
  .example-card { min-height: 360px; }
  .example-card div { height: 255px; min-height: 255px; }
  .example-card .example-visual { height: 255px; min-height: 255px; }
}

@media (max-width: 560px) {
  .site-header .pwa-install-button {
    position: static;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
    border-width: 1px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 8px 20px rgba(87, 55, 137, .22);
    color: white;
  }
  .site-header .header-actions > .button-small { display: none; }
  .pwa-install-button span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .pwa-install-button svg { width: 19px; }
  .pwa-install-panel { padding: 30px 22px 24px; }
  .pwa-install-panel h2 { font-size: 29px; }
  .creator-section::before,
  .creator-section::after,
  .shop-section::before,
  .shop-section::after,
  .how-section::after { opacity: .45; }
  .catalog-card,
  .example-card,
  .how-grid article { border-radius: 24px; }
  .example-card { min-height: 390px; }
  .example-card div { height: 300px; min-height: 300px; }
  .example-card .example-visual { height: 300px; min-height: 300px; }
  .example-lightbox { width: calc(100vw - 24px); border-radius: 24px; }
  .example-lightbox-panel { padding: 10px; border-radius: 24px; }
  .example-lightbox p { align-items: flex-start; flex-direction: column; gap: 2px; }
  .example-lightbox-close { top: 18px; right: 18px; }
  .privacy-visual { min-height: 225px; }
  .shield { width: 145px; height: 158px; font-size: 45px; }
  .coming-section::before { opacity: .07; }
}

@media (max-width: 430px) {
  .site-header { gap: 6px; }
  .header-actions { gap: 4px; }
  .language-picker { min-width: 118px; }
  .brand strong { font-size: 20px; }
  .site-header .button-small {
    width: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
  }
  .site-header .button-small [data-i18n] { display: none; }
}
