:root {
  --ink: #241b27;
  --muted: #746a78;
  --pink: #d52d70;
  --pink-dark: #ab1c55;
  --pink-soft: #fff0f6;
  --plum: #4c1f3b;
  --line: #eadfe6;
  --surface: #ffffff;
  --surface-soft: #fdf9fb;
  --error: #ad2148;
  --success: #207249;
  --shadow: 0 24px 70px rgba(66, 25, 49, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #f8f4f7; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 207, 225, .55), transparent 24rem),
    radial-gradient(circle at 93% 28%, rgba(245, 218, 232, .6), transparent 26rem),
    #fbf9fb;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(213, 45, 112, .32);
  outline-offset: 3px;
}

/* Header */
.site-header {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  color: var(--ink);
  font-size: 29px;
  font-weight: 850;
  letter-spacing: -1.6px;
  text-decoration: none;
}
.logo span, .logo b { color: var(--pink); }
.logo b { margin-left: 7px; font-size: 24px; }
.top-note { color: var(--muted); font-size: 14px; }
.top-note a {
  color: var(--pink-dark);
  font-weight: 750;
  text-underline-offset: 4px;
}

/* Page layout */
.layout {
  width: min(1320px, calc(100% - 48px));
  margin: 24px auto 42px;
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 34px;
}

.story {
  position: sticky;
  top: 24px;
  min-height: 720px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 15%, rgba(255, 255, 255, .78), transparent 26%),
    linear-gradient(145deg, #fdebf3 0%, #f7dbe8 58%, #f1cddd 100%);
  box-shadow: 0 24px 70px rgba(111, 37, 76, .12);
}
.story::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -190px;
  bottom: -160px;
  border: 1px solid rgba(183, 66, 112, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .12), 0 0 0 90px rgba(255, 255, 255, .08);
}
.heart-scene {
  position: relative;
  width: min(100%, 340px);
  margin: -8px auto 2px;
  pointer-events: none;
  isolation: isolate;
}
.heart-scene svg { width: 100%; height: auto; overflow: visible; }
.heart-left,
.heart-right,
.tiny-heart,
.sparkles,
.orbit-line,
.heart-shadow {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}
.heart-left { animation: heart-float-left 4.4s ease-in-out infinite; }
.heart-right { animation: heart-float-right 4.9s ease-in-out .25s infinite; }
.tiny-heart { animation: tiny-heart-rise 3.8s ease-in-out .4s infinite; }
.sparkles { animation: sparkle-pulse 2.8s ease-in-out infinite; }
.orbit-line { animation: orbit-turn 18s linear infinite; }
.heart-shadow { animation: shadow-breathe 4.4s ease-in-out infinite; }

.story-copy { position: relative; z-index: 1; }
.eyebrow {
  color: #96385f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
}
.story h1 {
  max-width: 430px;
  margin: 17px 0 18px;
  font-size: clamp(39px, 3.35vw, 55px);
  line-height: 1.04;
  letter-spacing: -2.7px;
  font-weight: 760;
}
.story h1 em { color: var(--pink); font-style: normal; }
.story-copy > p { max-width: 380px; margin: 0; color: #725565; }

.plan {
  position: relative;
  z-index: 1;
  margin-top: 31px;
  padding: 18px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 40px rgba(93, 34, 64, .08);
  backdrop-filter: blur(12px);
}
.plan-label { color: #8d6276; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.price { margin-top: 4px; font-size: 31px; font-weight: 830; letter-spacing: -1.2px; }
.price span { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.plan-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #8d315d;
  border: 1px solid #edc8d9;
  border-radius: 999px;
  background: #fff7fb;
  font-size: 10px;
  font-weight: 750;
}
.trust-row {
  position: relative;
  z-index: 1;
  margin-top: 21px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-row span {
  padding: 7px 10px;
  color: #7b4b62;
  border: 1px solid rgba(159, 74, 113, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  font-size: 11px;
  font-weight: 650;
}
.trust-row span::before { content: "✓"; margin-right: 5px; color: var(--pink); font-weight: 900; }

/* Form shell */
.form-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}
.step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.35px;
}
.progress { display: flex; gap: 5px; }
.progress span { width: 27px; height: 4px; border-radius: 999px; background: #f1e8ed; }
.progress span:first-child { background: linear-gradient(90deg, var(--pink), #ff7ca7); }
h2 { margin: 17px 0 7px; font-size: clamp(29px, 3vw, 38px); line-height: 1.15; letter-spacing: -1.4px; }
.intro { margin: 0 0 27px; color: var(--muted); font-size: 14px; }
.notice {
  margin: 0 0 22px;
  padding: 13px 15px;
  color: #7a294e;
  border: 1px solid #edccdc;
  border-radius: 12px;
  background: #fff4f8;
  font-size: 13px;
}

.privacy-note {
  margin-bottom: 22px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #e6dbe1;
  border-radius: 14px;
  background: #fcfafb;
}
.privacy-note-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #e64983, #b41d57);
  box-shadow: 0 6px 16px rgba(213, 45, 112, .2);
  font-size: 12px;
  font-weight: 900;
}
.privacy-note p { margin: 1px 0 0; color: #6e626d; font-size: 12px; }
.privacy-note strong { color: #46333e; }

/* Verification cards */
.verification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 27px;
}
.upload-box,
.selfie-card {
  min-width: 0;
  min-height: 216px;
  margin: 0;
  padding: 18px;
  border: 1px solid #eadce4;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #fdf8fb);
}
.upload-box { display: grid; grid-template-columns: 66px 1fr; align-items: start; gap: 14px; }
.avatar {
  width: 66px;
  height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #b77d99;
  border: 1px solid #ecd7e1;
  border-radius: 17px;
  background: linear-gradient(145deg, #faeaf2, #f2d8e5);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.upload-copy { min-width: 0; }
.upload-kicker { color: #aa4671; font-size: 9px; font-weight: 850; letter-spacing: 1.3px; }
.upload-box h3,
.selfie-card h3 { margin: 3px 0 2px; font-size: 15px; line-height: 1.25; }
.upload-box p,
.selfie-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.upload-actions { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.secondary,
.selfie-open,
.camera-retry {
  min-height: 40px;
  padding: 9px 12px;
  color: #8f2e59;
  border: 1px solid #dfb9ca;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}
.secondary:hover,
.selfie-open:hover,
.camera-retry:hover { border-color: var(--pink); background: #fff4f8; }
.upload-status { color: #887781; font-size: 10px; }
.photo-order-note { margin-top: 10px !important; line-height: 1.45; }
.remove {
  padding: 3px 0;
  color: #8c6477;
  border: 0;
  background: none;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.selfie-heading { display: flex; align-items: flex-start; gap: 10px; }
.selfie-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #b8396e;
  border-radius: 12px;
  background: linear-gradient(145deg, #fae5ef, #f5d3e3);
}
.selfie-badge {
  margin-left: auto;
  padding: 5px 7px;
  color: #9d3562;
  border-radius: 7px;
  background: #f9e8f0;
  font-size: 9px;
  font-weight: 800;
}
.selfie-open {
  width: 100%;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.selfie-help { margin: 9px 0 0; color: #81717a; font-size: 10px; line-height: 1.5; }
.selfie-preview { margin-top: 13px; display: flex; align-items: center; gap: 10px; }
.selfie-preview img { width: 58px; height: 67px; object-fit: cover; border-radius: 11px; }
.selfie-preview strong { font-size: 12px; }
.selfie-preview p { margin: 1px 0; color: var(--muted); font-size: 10px; }

/* Form sections */
fieldset {
  min-width: 0;
  margin: 0 0 20px;
  padding: 21px;
  border: 1px solid #eee5ea;
  border-radius: 17px;
  background: var(--surface-soft);
}
legend {
  width: auto;
  margin-left: -4px;
  padding: 0 9px 0 4px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4a3b44;
  font-size: 14px;
  font-weight: 800;
}
.section-no {
  min-width: 29px;
  padding: 4px 7px;
  color: #a2446f;
  border-radius: 7px;
  background: #f7e8ef;
  font-size: 10px;
  text-align: center;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field label,
.field-label { color: #53464f; font-size: 12px; font-weight: 750; }
.required { color: var(--pink); }
.optional {
  margin-left: 5px;
  padding: 2px 5px;
  color: #8d7d86;
  border-radius: 5px;
  background: #f0ebee;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}
input:not([type="checkbox"]):not([type="radio"]),
select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #ded5db;
  border-radius: 11px;
  outline: 0;
  background-color: #fff;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
input::placeholder { color: #a399a0; }
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus {
  border-color: #d25b89;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(213, 45, 112, .1);
}
select:disabled { color: #a59aa1; background: #f5f1f3; cursor: not-allowed; }
.hint { margin: 0; color: #837680; font-size: 11px; }
.location-grid { margin-top: 18px; }
.location-status { margin-top: 9px; }
.phone,
.password { position: relative; }
.phone > span {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 13px;
  padding-right: 9px;
  color: #75636d;
  border-right: 1px solid #ded5db;
  font-size: 13px;
}
.phone input { padding-left: 63px !important; }
.password input { padding-right: 57px !important; }
.show {
  position: absolute;
  top: 0;
  right: 0;
  width: 55px;
  height: 48px;
  padding: 0;
  color: #8a7480;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}
.strength { margin-top: 1px; display: flex; gap: 4px; }
.strength span { height: 3px; flex: 1; border-radius: 99px; background: #eee7eb; transition: background .18s ease; }
.strength span.on { background: linear-gradient(90deg, #d52d70, #f176a2); }

/* Premium animated gender cards */
.gender-field { gap: 9px; }
.gender-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gender-card {
  position: relative;
  min-height: 136px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 96px 1fr 24px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e5d6df;
  border-radius: 18px;
  background:
    radial-gradient(circle at 21% 42%, rgba(255, 222, 235, .9), transparent 37%),
    linear-gradient(145deg, #fff, #fbf4f8);
  box-shadow: 0 9px 24px rgba(76, 31, 59, .05);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.gender-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -20px;
  bottom: -66px;
  border-radius: 50%;
  border: 1px solid rgba(213, 45, 112, .14);
  box-shadow: 0 0 0 18px rgba(213, 45, 112, .04);
}
.gender-card:hover { transform: translateY(-3px); border-color: #dca4bd; box-shadow: 0 16px 30px rgba(95, 31, 65, .11); }
.gender-card[aria-checked="true"] {
  border-color: var(--pink);
  background:
    radial-gradient(circle at 21% 42%, rgba(255, 209, 228, .98), transparent 39%),
    linear-gradient(145deg, #fff8fb, #fff0f6);
  box-shadow: 0 0 0 3px rgba(213, 45, 112, .1), 0 17px 35px rgba(127, 28, 75, .12);
}
.gender-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.gender-card:focus-within { outline: 3px solid rgba(213, 45, 112, .24); outline-offset: 3px; }
.gender-visual {
  position: relative;
  z-index: 1;
  width: 94px;
  height: 105px;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 10px 8px rgba(76, 24, 51, .16));
}
.gender-visual img {
  width: 100%;
  max-height: 105px;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 90%;
  animation: avatar-idle 4.2s ease-in-out infinite;
  transition: transform .25s ease, filter .25s ease;
}
.gender-card:nth-child(2) .gender-visual img { animation-delay: -.9s; }
.gender-card:hover .gender-visual img { transform: translateY(-3px) scale(1.07) rotate(-1deg); filter: saturate(1.06); }
.gender-card[aria-checked="true"] .gender-visual img { animation: avatar-selected 2.6s ease-in-out infinite; }
.gender-copy { position: relative; z-index: 1; display: flex; flex-direction: column; }
.gender-copy strong { font-size: 16px; }
.gender-copy small { margin-top: 2px; color: #8c7783; font-size: 12px; }
.gender-check {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #b7a9b0;
  border: 1px solid #d9ccd3;
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  transition: .2s ease;
}
.gender-card[aria-checked="true"] .gender-check { color: #fff; border-color: var(--pink); background: var(--pink); transform: scale(1.08); }

/* Agreements and action */
.agreements {
  margin: 2px 0 20px;
  padding: 15px 17px;
  border: 1px solid #eee5ea;
  border-radius: 15px;
  background: #fcfafb;
}
.check { display: flex; align-items: flex-start; gap: 10px; color: #70636c; font-size: 12px; line-height: 1.55; }
.check + .check { margin-top: 12px; }
.check input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--pink); }
.inline-button { padding: 0; color: var(--pink-dark); border: 0; background: none; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-error { text-align: center; }
.form-actions {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.primary {
  min-height: 54px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #df397a, #b51f58);
  box-shadow: 0 13px 26px rgba(181, 31, 88, .23);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.primary:hover { transform: translateY(-2px); filter: saturate(1.06); box-shadow: 0 17px 31px rgba(181, 31, 88, .3); }
.primary:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.below { margin: 0; color: var(--muted); font-size: 11px; }
.error { margin: 7px 0 0; color: var(--error); font-size: 11px; }
.error:empty { display: none; }
.success { margin-top: 16px; padding: 15px; color: var(--success); border: 1px solid #cfe8dc; border-radius: 12px; background: #f2fbf7; font-size: 13px; }
.success h3 { margin: 0 0 4px; font-size: 15px; }

/* Dialogs */
dialog {
  width: min(520px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 27px;
  overflow: auto;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(31, 16, 25, .3);
}
dialog::backdrop { background: rgba(37, 20, 31, .68); backdrop-filter: blur(5px); }
dialog h3 { margin: 0 0 9px; font-size: 24px; letter-spacing: -.7px; }
dialog p { color: var(--muted); font-size: 13px; }
.camera-dialog { position: relative; }
.camera-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #7d6974;
  border: 1px solid #e4d9df;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  line-height: 1;
}
.camera-stage {
  position: relative;
  margin: 18px 0 13px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: linear-gradient(145deg, #3a2632, #1e171b);
}
.camera-stage video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.face-guide {
  position: absolute;
  inset: 12% 20%;
  border: 2px dashed rgba(255, 255, 255, .78);
  border-radius: 48% 48% 43% 43%;
  box-shadow: 0 0 0 999px rgba(14, 8, 12, .22);
}
.camera-stage > span {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 13px;
  color: #fff;
  font-size: 10px;
  text-align: center;
  text-shadow: 0 1px 4px #000;
}
.camera-message { min-height: 42px; margin: 0 0 10px; }
.camera-dialog .primary { width: 100%; }
.camera-retry { width: 100%; margin-top: 9px; }
.camera-disclaimer { margin-bottom: 0; text-align: center; font-size: 10px; }
#terms-dialog .primary { width: 100%; margin-top: 10px; }

footer {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8c7d86;
  font-size: 11px;
}

@keyframes heart-float-left {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50% { transform: translate3d(-3px, -14px, 0) rotate(1deg); }
}
@keyframes heart-float-right {
  0%, 100% { transform: translate3d(0, -2px, 0) rotate(7deg); }
  50% { transform: translate3d(4px, 10px, 0) rotate(1deg); }
}
@keyframes tiny-heart-rise {
  0%, 100% { transform: translateY(4px) scale(.9); opacity: .58; }
  50% { transform: translateY(-12px) scale(1.08); opacity: 1; }
}
@keyframes sparkle-pulse {
  0%, 100% { opacity: .35; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: .13; }
  50% { transform: scaleX(.78); opacity: .08; }
}
@keyframes avatar-idle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(.7deg); }
}
@keyframes avatar-selected {
  0%, 100% { transform: translateY(-2px) scale(1.025); }
  50% { transform: translateY(-6px) scale(1.055); }
}

@media (max-width: 1050px) {
  .layout { grid-template-columns: minmax(310px, .75fr) minmax(0, 1.4fr); gap: 24px; }
  .form-card { padding: 31px; }
  .story { padding: 27px; }
  .verification-grid { grid-template-columns: 1fr; }
  .upload-box, .selfie-card { min-height: 0; }
}

@media (max-width: 820px) {
  .site-header,
  .layout,
  footer { width: min(100% - 32px, 720px); }
  .layout { grid-template-columns: 1fr; margin-top: 15px; }
  .story {
    position: relative;
    top: auto;
    min-height: 385px;
    padding: 31px;
  }
  .heart-scene { position: absolute; width: 310px; right: -18px; top: 5px; }
  .story-copy { max-width: calc(100% - 235px); padding-top: 35px; }
  .story h1 { font-size: clamp(36px, 7vw, 51px); }
  .plan { width: min(100%, 430px); }
  .trust-row { max-width: 430px; }
}

@media (max-width: 620px) {
  .site-header { padding-top: 18px; }
  .logo { font-size: 25px; }
  .top-note { font-size: 12px; }
  .layout { margin-bottom: 26px; gap: 14px; }
  .story { min-height: 330px; padding: 23px; border-radius: 23px; }
  .heart-scene { width: 220px; right: -18px; top: 24px; opacity: .92; }
  .story-copy { max-width: calc(100% - 135px); padding-top: 12px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .story h1 { margin: 13px 0 10px; font-size: clamp(30px, 9vw, 40px); letter-spacing: -1.7px; }
  .story-copy > p { font-size: 12px; }
  .plan { position: absolute; left: 22px; right: 22px; bottom: 22px; width: auto; margin: 0; padding: 12px 13px; }
  .price { font-size: 25px; }
  .trust-row { display: none; }
  .form-card { padding: 25px 19px; border-radius: 23px; }
  h2 { font-size: 29px; }
  .intro { font-size: 13px; }
  .verification-grid { gap: 12px; }
  .upload-box { grid-template-columns: 58px 1fr; padding: 15px; }
  .avatar { width: 58px; height: 70px; }
  .selfie-card { padding: 15px; }
  fieldset { padding: 17px 14px; }
  .grid { grid-template-columns: 1fr; gap: 15px; }
  .gender-cards { gap: 10px; }
  .gender-card { min-height: 121px; padding: 10px; grid-template-columns: 74px 1fr; gap: 7px; }
  .gender-visual { width: 73px; height: 92px; }
  .gender-visual img { max-height: 92px; }
  .gender-copy strong { font-size: 14px; }
  .gender-check { position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; }
  .form-actions { grid-template-columns: 1fr; gap: 9px; text-align: center; }
  footer { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  dialog { padding: 23px 18px; }
}

@media (max-width: 390px) {
  .site-header,
  .layout,
  footer { width: calc(100% - 20px); }
  .story { min-height: 320px; padding: 19px; }
  .heart-scene { width: 193px; right: -23px; top: 35px; }
  .story-copy { max-width: calc(100% - 112px); }
  .story h1 { font-size: 28px; }
  .plan { left: 17px; right: 17px; bottom: 17px; }
  .form-card { padding: 23px 14px; }
  .step { font-size: 9px; letter-spacing: .9px; }
  .progress span { width: 18px; }
  .privacy-note { padding: 12px; }
  .upload-box { grid-template-columns: 1fr; }
  .avatar { width: 62px; }
  .gender-card { grid-template-columns: 1fr; min-height: 157px; text-align: center; }
  .gender-visual { width: 80px; height: 101px; margin: 0 auto; }
  .gender-copy { margin-top: -8px; }
}

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