/* Weddingsnapbid — soft B system, 2026 */
:root {
  --ink: #3f3339;
  --ink-soft: #5d5058;
  --muted: #75666e;
  --faint: #b8aab1;
  --page: #faf5f1;
  --surface: #fffbf8;
  --surface-solid: #fffdfb;
  --surface-soft: #f6edee;
  --surface-rose: #fff0f4;
  --line: #eadde2;
  --line-strong: #dccbd2;
  --rose: #d68ba3;
  --rose-dark: #a85e79;
  --coral: #e7a0af;
  --plum: #766273;
  --plum-soft: #f2eaef;
  --mauve: #cfbfc8;
  --lilac: #e2d3df;
  --lilac-soft: #f6eff6;
  --green: #607d72;
  --green-soft: #eef6f2;
  --gold: #a98258;
  --gold-soft: #faf3e8;
  --blue: #7180a4;
  --blue-soft: #f0f2f8;
  --danger: #b65f68;
  --danger-soft: #fff0f1;
  --gradient-main: linear-gradient(135deg, #fffaf7 0%, #f9edf2 48%, #eee4ee 100%);
  --gradient-accent: linear-gradient(135deg, #f1cad7 0%, #e5d3df 55%, #d8c8da 100%);
  --gradient-soft: linear-gradient(145deg, rgba(255, 253, 251, .98), rgba(246, 232, 239, .9));
  --shadow-xs: 0 5px 16px rgba(93, 68, 82, .055);
  --shadow-sm: 0 12px 34px rgba(93, 68, 82, .085);
  --shadow-md: 0 24px 64px rgba(93, 68, 82, .12);
  --shadow-float: 0 34px 90px rgba(93, 68, 82, .17);
  --focus: 0 0 0 4px rgba(214, 139, 163, .2);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --ease-spring: cubic-bezier(.2, .78, .25, 1);
}

html {
  min-height: 100%;
  overflow-x: clip;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, .95), transparent 30%),
    radial-gradient(circle at 94% 8%, rgba(226, 211, 223, .72), transparent 27%),
    linear-gradient(150deg, #fcf8f5 0%, #faf3f3 48%, #f4edf2 100%);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: -.018em;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  content: "";
  pointer-events: none;
  filter: blur(8px);
}

body::before {
  top: 18vh;
  left: -130px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, .66);
}

body::after {
  right: -110px;
  bottom: 5vh;
  width: 280px;
  height: 280px;
  background: rgba(226, 211, 223, .35);
}

h1,
h2,
h3,
.workspace-hero h2,
.section-head h2 {
  font-family: inherit;
  font-weight: 850;
  letter-spacing: -.045em;
}

h3 {
  color: var(--ink);
  font-weight: 820;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
select,
textarea {
  transition:
    transform .28s var(--ease-spring),
    border-color .22s ease,
    background-color .22s ease,
    color .22s ease,
    box-shadow .28s ease,
    opacity .22s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav,
.wrap {
  width: min(1280px, calc(100% - 56px));
  max-width: none;
}

.topbar {
  border-bottom: 1px solid rgba(226, 211, 219, .72);
  background: rgba(255, 251, 248, .82);
  box-shadow: 0 8px 28px rgba(93, 68, 82, .04);
  backdrop-filter: blur(24px) saturate(1.25);
}

.nav {
  min-height: 72px;
}

.brand {
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.035em;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(207, 191, 200, .52);
  border-radius: 13px;
  box-shadow: 0 9px 22px rgba(96, 75, 89, .11);
}

.user-chip {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
}

.button,
.ghost,
.danger {
  min-height: 46px;
  border-radius: 15px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.button {
  border-color: rgba(168, 94, 121, .18);
  color: var(--ink);
  background: var(--gradient-accent);
  box-shadow: 0 12px 25px rgba(107, 76, 94, .17);
}

.button.dark {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #725d6c, #5f4b58);
}

.button.green {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.ghost {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 253, 251, .82);
  box-shadow: var(--shadow-xs);
}

.danger {
  border-color: rgba(182, 95, 104, .2);
  color: var(--danger);
  background: var(--danger-soft);
}

.button:hover,
.ghost:hover,
.danger:hover {
  filter: none;
  transform: translateY(-2px);
}

.button:hover {
  box-shadow: 0 17px 34px rgba(168, 94, 121, .28);
}

.ghost:hover {
  border-color: #cdb8c2;
  color: var(--ink);
  background: #fffdfb;
  box-shadow: var(--shadow-sm);
}

.button:active,
.ghost:active,
.danger:active {
  transform: translateY(0) scale(.965);
}

.boot-view {
  background: transparent;
}

.boot-card {
  gap: 13px;
  color: var(--ink-soft);
  font-weight: 760;
}

.boot-card img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(207, 191, 200, .5);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  animation: bootFloat 1.8s ease-in-out infinite;
}

body.auth-pending #authView {
  width: min(520px, calc(100vw - 32px));
}

body.auth-pending #authView .auth-panel {
  border: 1px solid rgba(226, 211, 219, .8);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 248, .96);
  box-shadow: var(--shadow-float);
}

body.auth-pending .boot-card {
  border-color: rgba(226, 211, 219, .82);
  background: rgba(255, 251, 248, .95);
  box-shadow: var(--shadow-sm);
}

body.signed-out,
body.auth-pending {
  background:
    radial-gradient(circle at 12% 8%, #fff 0, rgba(255, 255, 255, .25) 33%, transparent 46%),
    radial-gradient(circle at 88% 5%, rgba(226, 211, 223, .83), transparent 34%),
    linear-gradient(145deg, #fbf7f3 0%, #f8eff3 55%, #f0e8ef 100%);
}

body.signed-out .wrap,
body.auth-pending .wrap {
  width: 100%;
  max-width: none;
}

.auth {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr);
  gap: 22px;
  width: min(1180px, calc(100vw - 64px));
  min-height: min(700px, calc(100svh - 48px));
  margin: 28px auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(226, 211, 223, .72);
  border-radius: 32px;
  color: var(--ink);
  background: var(--gradient-main);
  box-shadow: var(--shadow-md);
  animation: authVisualIn .82s var(--ease-spring) both;
}

.auth-portrait {
  position: absolute;
  inset: 18px 18px 172px;
  display: block;
  overflow: hidden;
  border-radius: 25px;
  background: var(--lilac);
}

.auth-photo-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 9px;
  background: rgba(255, 251, 248, .72);
}

.auth-visual .auth-photo-grid img {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 17px;
  opacity: 1;
  object-fit: cover;
  filter: saturate(.88) contrast(.96) brightness(1.03);
  transform: none;
  animation: none;
}

.auth-visual .auth-photo-grid img:first-child {
  grid-row: 1 / -1;
  object-position: center 35%;
}

.auth-visual .auth-photo-grid img:nth-child(2) { object-position: center 31%; }
.auth-visual .auth-photo-grid img:nth-child(3) { object-position: center 52%; }
.auth-visual .auth-photo-grid img:nth-child(4) { object-position: center 44%; }

.auth-visual .auth-portrait:not(.auth-photo-grid) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(.83) contrast(.93) brightness(1.06);
  transform: scale(1.015);
  animation: heroBreath 12s ease-in-out infinite alternate;
}

.auth-visual::before {
  position: absolute;
  inset: 18px 18px 172px;
  z-index: 1;
  border-radius: 25px;
  background: linear-gradient(180deg, rgba(60, 43, 53, .11), transparent 42%, rgba(63, 46, 56, .24));
  content: "";
  pointer-events: none;
}

.auth-visual::after {
  position: absolute;
  top: 72px;
  right: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  content: "";
  pointer-events: none;
  filter: blur(1px);
}

.auth-visual-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
}

.auth-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-visual-mark,
.auth-visual-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 999px;
  padding: 0 13px;
  color: #fff;
  background: rgba(90, 67, 82, .24);
  font-family: inherit;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: -.02em;
  backdrop-filter: blur(14px);
}

.auth-visual-note {
  color: rgba(255, 255, 255, .9);
  font-size: 10px;
}

.auth-hero-copy {
  width: min(510px, calc(100% - 22px));
  margin-top: auto;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 25px;
  padding: 25px 26px 23px;
  background: rgba(255, 251, 248, .91);
  box-shadow: 0 18px 55px rgba(78, 55, 68, .16);
  backdrop-filter: blur(20px) saturate(1.1);
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 11px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--rose-dark);
  background: var(--surface-rose);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.auth-kicker::before {
  display: none;
}

.auth-visual-copy h1 {
  max-width: 520px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 860;
  line-height: 1.13;
  letter-spacing: -.06em;
  text-shadow: none;
  text-wrap: balance;
}

.auth-visual-copy p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}

.auth-service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.auth-service-line span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 730;
}

.auth-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(510px, calc(100% - 22px));
  border: 0;
  padding: 0;
}

.auth-proof div {
  display: grid;
  gap: 2px;
  min-height: 70px;
  border: 1px solid rgba(226, 211, 223, .82);
  border-radius: 17px;
  padding: 13px;
  background: rgba(255, 251, 248, .72);
}

.auth-proof b {
  color: var(--rose-dark);
  font-family: inherit;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: -.02em;
}

.auth-proof span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 720;
}

.auth-panel {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(226, 211, 219, .84);
  border-radius: 32px;
  padding: 46px 40px 38px;
  background:
    radial-gradient(circle at 100% 0, rgba(226, 211, 223, .56), transparent 31%),
    rgba(255, 251, 248, .95);
  box-shadow: var(--shadow-md);
  animation: authPanelIn .86s .08s var(--ease-spring) both;
}

.auth-panel::before {
  position: absolute;
  top: -70px;
  right: -58px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  content: "";
  pointer-events: none;
}

.auth-brand {
  position: relative;
  gap: 13px;
  margin-bottom: 36px;
}

.auth-brand img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(207, 191, 200, .55);
  border-radius: 17px;
  box-shadow: 0 13px 28px rgba(96, 75, 89, .12);
}

.auth-brand strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.auth-brand span {
  margin-top: 3px;
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: -.01em;
}

.auth-panel h2 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -.055em;
}

.auth-panel > .muted {
  margin-bottom: 18px;
  font-size: 13px;
}

.mobile-auth-value {
  margin: 0 0 26px;
}

.mobile-auth-value .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 11px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--rose-dark);
  background: var(--surface-rose);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: -.01em;
}

.mobile-auth-value .eyebrow::before {
  display: none;
}

.mobile-auth-value h1,
.mobile-auth-value h2 {
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.18;
}

.mobile-auth-value p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.auth-role-grid {
  gap: 9px;
  margin: 20px 0 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 6px;
  background: rgba(246, 237, 238, .72);
}

.auth-role-card {
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
}

.auth-role-card .role-icon {
  border-radius: 10px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, .72);
}

.auth-role-card strong {
  font-size: 14px;
  font-weight: 820;
}

.auth-role-card.active,
.auth-role-card.vendor.active {
  border-color: rgba(207, 191, 200, .6);
  color: var(--ink);
  background: #fffdfb;
  box-shadow: 0 9px 24px rgba(93, 68, 82, .1);
  transform: scale(1.015);
}

.auth-role-card.active .role-icon,
.auth-role-card.vendor.active .role-icon {
  color: var(--ink);
  background: var(--gradient-accent);
  transform: rotate(-4deg) scale(1.06);
}

.auth-draft-note {
  border-color: rgba(214, 139, 163, .2);
  border-radius: 18px;
  padding: 15px !important;
  color: var(--ink-soft);
  background: linear-gradient(135deg, #fff9f7, #f8edf2);
}

.auth-draft-note strong {
  color: var(--ink);
  font-size: 13px;
}

.auth-draft-note .ghost {
  min-height: 40px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, .74);
}

.auth-divider {
  margin: 20px 0 15px;
  color: var(--faint);
  font-size: 10px;
}

.auth-divider::before,
.auth-divider::after {
  background: var(--line);
}

.auth-panel .button,
.auth-panel .ghost {
  min-height: 49px;
}

.auth-panel form .inline-actions {
  gap: 9px;
}

body.signed-out .auth-panel > * {
  animation: contentRise .48s .18s var(--ease-spring) both;
}

body.signed-out .auth-panel > :nth-child(2) { animation-delay: .22s; }
body.signed-out .auth-panel > :nth-child(3) { animation-delay: .26s; }
body.signed-out .auth-panel > :nth-child(4) { animation-delay: .3s; }
body.signed-out .auth-panel > :nth-child(n + 5) { animation-delay: .34s; }

.field {
  gap: 7px;
  margin-bottom: 15px;
}

label,
.label {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 790;
}

input,
select,
textarea {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 11px 13px;
  color: var(--ink);
  background: rgba(255, 253, 251, .9);
}

input,
select {
  min-height: 47px;
}

textarea {
  min-height: 108px;
}

input::placeholder,
textarea::placeholder {
  color: #b7a8b0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(214, 139, 163, .82);
  background: #fff;
  box-shadow: var(--focus);
  transform: translateY(-1px);
}

.browser-warning {
  border-color: rgba(113, 128, 164, .2);
  border-radius: 18px;
  padding: 15px;
  background: var(--blue-soft);
}

.modal {
  background: rgba(63, 51, 57, .48);
  backdrop-filter: blur(12px);
}

.modal.open .modal-sheet {
  animation: modalIn .38s var(--ease-spring) both;
}

.modal-sheet,
.intro-copy,
.product-preview,
form.panel,
.card {
  border-color: var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.modal-sheet {
  padding: 26px;
}

.modal-close {
  width: 39px;
  height: 39px;
  border-radius: 13px;
}

.signup-role-grid {
  gap: 10px;
}

.signup-role-card {
  min-height: 96px;
  border-radius: 17px;
  padding: 17px;
}

.signup-role-card.active {
  border-color: rgba(214, 139, 163, .65);
  background: var(--surface-rose);
  transform: translateY(-2px);
}

.app {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 24px;
  width: min(1280px, 100%);
  padding: 30px 0 84px;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  margin: 0;
  border: 1px solid rgba(226, 211, 219, .82);
  border-radius: 24px;
  padding: 9px;
  background: rgba(255, 251, 248, .86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(22px) saturate(1.2);
}

.side-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.side-btn {
  position: relative;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 780;
  text-align: left;
}

.side-btn:hover {
  color: var(--ink);
  background: var(--surface-soft);
  transform: translateX(2px);
}

.side-btn.active {
  border-color: rgba(214, 139, 163, .18);
  color: var(--rose-dark);
  background: linear-gradient(135deg, #fff4f7, #f4ecf3);
  box-shadow: 0 8px 20px rgba(93, 68, 82, .07);
}

.side-btn.active::before {
  position: absolute;
  left: 6px;
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: var(--gradient-accent);
  content: "";
  animation: navPillIn .3s var(--ease-spring) both;
}

.side-btn span:first-child {
  padding-left: 5px;
}

.side-btn span:last-child {
  min-width: 23px;
  min-height: 23px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, .66);
  font-size: 10px;
}

.content {
  min-width: 0;
  min-height: 650px;
}

.content > * {
  animation: contentRise .52s var(--ease-spring) both;
}

.content > :nth-child(2) { animation-delay: .045s; }
.content > :nth-child(3) { animation-delay: .09s; }
.content > :nth-child(4) { animation-delay: .135s; }

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.2;
}

.section-head .muted {
  font-size: 13px;
}

.workspace-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 17px;
  border: 1px solid rgba(226, 211, 223, .8);
  border-radius: 27px;
  padding: 29px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .92) 0 10%, transparent 27%),
    linear-gradient(135deg, #fff9f7 0%, #f7e8ef 54%, #e9dfe8 100%);
  box-shadow: var(--shadow-md);
}

.workspace-hero::before,
.workspace-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
}

.workspace-hero::before {
  top: -95px;
  right: 8%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, .32);
}

.workspace-hero::after {
  right: -44px;
  bottom: -95px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(214, 139, 163, .09);
}

.workspace-hero h2 {
  margin-bottom: 8px;
  font-size: clamp(29px, 3.4vw, 38px);
  font-weight: 850;
}

.workspace-hero .muted {
  color: var(--ink-soft);
}

.workspace-hero .ghost {
  border-color: rgba(168, 94, 121, .16);
  background: rgba(255, 255, 255, .7);
}

.workspace-hero .button {
  background: var(--gradient-accent);
}

.panel,
.card {
  border: 1px solid rgba(226, 211, 219, .86);
  border-radius: 21px;
  padding: 21px;
  background: rgba(255, 251, 248, .9);
  box-shadow: var(--shadow-xs);
}

.panel:hover,
.card:hover {
  border-color: rgba(214, 139, 163, .28);
  box-shadow: var(--shadow-sm);
}

.panel > h3,
.card > h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.grid {
  gap: 15px;
}

.metric-row {
  gap: 12px;
}

.stat {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 251, 248, .91);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}

.stat::after {
  position: absolute;
  right: -25px;
  bottom: -42px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(214, 139, 163, .14), rgba(226, 211, 223, .18));
  content: "";
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stat b {
  margin-bottom: 9px;
  color: var(--rose-dark);
  font-family: inherit;
  font-size: 30px;
  font-weight: 850;
}

.stat span {
  color: var(--muted);
  font-size: 11px;
}

.quick-steps {
  gap: 0;
}

.quick-step {
  position: relative;
  gap: 13px;
  min-height: 62px;
  padding: 12px 0;
}

.quick-step + .quick-step {
  border-top: 1px solid var(--line);
}

.quick-step i {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 11px;
  color: var(--rose-dark);
  background: linear-gradient(135deg, #fff0f4, #eee4ee);
  font-family: inherit;
  font-size: 11px;
  font-style: normal;
  box-shadow: inset 0 0 0 1px rgba(214, 139, 163, .16);
}

.empty-action,
.empty {
  border-radius: 18px;
  color: var(--muted);
  background: #fcf7f7;
}

.empty-action {
  border-color: var(--line-strong);
  padding: 27px;
}

.funnel-hero {
  gap: 16px;
  margin-bottom: 18px;
}

.funnel-hero-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(226, 211, 223, .84);
  border-radius: 27px;
  padding: 29px;
  background:
    linear-gradient(100deg, rgba(255, 251, 248, .98) 0 65%, rgba(247, 232, 239, .42) 78%),
    url("/assets/visuals/wedding-couple-soft-v2.jpg") right 38% / 38% auto no-repeat;
  box-shadow: var(--shadow-md);
}

.funnel-hero-copy::after {
  position: absolute;
  top: -90px;
  right: -70px;
  z-index: -1;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(214, 139, 163, .12);
  content: "";
}

.funnel-hero-copy h2 {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 850;
}

.funnel-hero-copy .muted {
  color: var(--ink-soft);
}

.funnel-side {
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 21px;
  background: rgba(255, 251, 248, .9);
  box-shadow: var(--shadow-xs);
}

.request-flow {
  gap: 18px;
  padding: 23px;
}

.funnel-progress {
  border-color: var(--line);
  border-radius: 17px;
  padding: 16px;
  background: var(--surface-soft);
}

.funnel-progress-track {
  height: 7px;
  border-radius: 999px;
  background: #e9dce2;
}

.funnel-progress-bar {
  border-radius: 999px;
  background: var(--gradient-accent);
  box-shadow: 0 2px 9px rgba(168, 94, 121, .22);
  transition: width .5s var(--ease-spring);
}

.request-flow.funnel-mode .request-block {
  min-height: 440px;
  padding: 25px;
  animation: stepIn .46s var(--ease-spring) both;
}

.request-block {
  border-color: var(--line);
  border-radius: 19px;
  padding: 21px;
  background: rgba(255, 253, 251, .92);
}

.request-block h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.request-step-label {
  min-height: 28px;
  margin-bottom: 11px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--rose-dark);
  background: linear-gradient(135deg, #fff0f4, #f1e7ef);
  font-size: 10px;
  letter-spacing: -.01em;
}

.category-option-grid {
  gap: 12px;
}

.category-card {
  min-height: 126px;
  border-color: var(--line);
  border-radius: 18px;
  padding: 17px;
  background: #fffdfb;
  box-shadow: var(--shadow-xs);
}

.category-card:hover {
  border-color: rgba(214, 139, 163, .55);
  transform: translateY(-4px) rotate(-.3deg);
  box-shadow: var(--shadow-sm);
}

.category-card:has(input:checked) {
  border-color: rgba(214, 139, 163, .68);
  background: linear-gradient(145deg, #fff 0%, #fcecf2 100%);
  box-shadow: 0 14px 30px rgba(168, 94, 121, .12);
  transform: translateY(-2px);
}

.option-chip,
.check-chip {
  min-height: 40px;
  border-color: var(--line-strong);
  border-radius: 13px;
  padding: 0 13px;
  background: rgba(255, 253, 251, .88);
}

.option-chip:hover,
.check-chip:hover {
  border-color: rgba(214, 139, 163, .65);
  transform: translateY(-2px);
}

.option-chip:has(input:checked),
.check-chip:has(input:checked) {
  border-color: rgba(214, 139, 163, .62);
  color: var(--rose-dark);
  background: var(--surface-rose);
  box-shadow: 0 7px 17px rgba(168, 94, 121, .08);
}

.funnel-controls {
  border-top-color: var(--line);
  padding-top: 18px;
}

.panel .item-list {
  border-color: var(--line);
  border-radius: 17px;
}

.list-item {
  gap: 12px;
  border-color: var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 253, 251, .94);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease, border-color .2s ease;
}

.list-item:hover {
  border-color: rgba(214, 139, 163, .32);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.panel .item-list .list-item {
  padding: 17px;
  background: rgba(255, 253, 251, .88);
}

.list-top h3 {
  font-size: 18px;
}

.price {
  color: var(--rose-dark);
  font-family: inherit;
  font-size: 25px;
  font-weight: 850;
}

.tag,
.request-chip {
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 10px;
}

.tag.dark {
  background: var(--plum);
}

.vendor-request-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 21px;
  overflow: hidden;
  background: var(--gradient-soft);
  box-shadow: var(--shadow-sm);
}

.vendor-request-card::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--gradient-accent);
  content: "";
}

.vendor-request-card .list-top {
  border-bottom-color: var(--line);
}

.request-facts {
  border-color: var(--line);
  border-radius: 15px;
  background: var(--line);
}

.request-fact {
  background: #fffaf8;
}

.request-note-block {
  border-color: var(--line);
  border-radius: 15px;
  background: #fcf6f7;
}

.notice {
  border-color: rgba(96, 125, 114, .2);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--green);
  background: var(--green-soft);
}

.notice.warn {
  border-color: rgba(169, 130, 88, .22);
  color: #7d5d3d;
  background: var(--gold-soft);
}

.notice.danger {
  border-color: rgba(182, 95, 104, .2);
  background: var(--danger-soft);
}

.media-grid img {
  border-color: var(--line);
  border-radius: 15px;
}

.billing-page {
  gap: 18px;
}

.billing-status-grid,
.billing-detail-grid,
.billing-products {
  gap: 14px;
}

.product-card {
  border-color: var(--line);
  border-radius: 21px;
  background: linear-gradient(155deg, #fffdfb 0%, #f8edf2 100%);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-head {
  border-bottom-color: var(--line);
}

.payment-method-card {
  border-color: var(--line);
  border-radius: 17px;
}

.payment-method-card:has(input:checked) {
  border-color: var(--rose);
  background: var(--surface-rose);
  box-shadow: 0 9px 22px rgba(168, 94, 121, .09);
}

.payment-summary {
  border-color: var(--line);
  border-radius: 15px;
  background: #fcf7f7;
}

.messages {
  gap: 16px;
}

.thread-box,
.chat-box {
  border-color: var(--line);
  border-radius: 21px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.thread-item {
  border-bottom-color: var(--line);
  padding: 16px;
  background: var(--surface);
}

.thread-item:hover,
.thread-item.active {
  background: var(--surface-rose);
}

.thread-item.active {
  box-shadow: inset 4px 0 var(--rose);
}

.chat-head {
  border-bottom-color: var(--line);
  padding: 15px 18px;
}

.chat-messages {
  gap: 10px;
  padding: 18px;
  background: #faf5f6;
}

.bubble {
  border-color: var(--line);
  border-radius: 18px 18px 18px 7px;
  padding: 11px 14px;
  box-shadow: var(--shadow-xs);
  animation: bubbleIn .35s var(--ease-spring) both;
}

.bubble.mine {
  border-color: transparent;
  border-radius: 18px 18px 7px 18px;
  background: var(--gradient-accent);
}

.chat-form {
  border-top-color: var(--line);
  padding: 12px;
}

.toast {
  border-radius: 16px;
  background: #6d5968;
  box-shadow: var(--shadow-float);
}

.toast.show {
  animation: toastIn .38s var(--ease-spring) both;
}

.legal-footer {
  width: min(1280px, calc(100% - 56px));
  margin-top: 0;
  border-top: 1px solid rgba(226, 211, 219, .78);
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.legal-footer b {
  color: var(--ink-soft);
}

.legal-footer nav {
  gap: 8px 18px;
}

.legal-footer a {
  color: var(--ink-soft);
  text-underline-offset: 4px;
}

.legal-footer a:hover {
  color: var(--rose-dark);
}

.motion-reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .62s ease, transform .7s var(--ease-spring);
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes authVisualIn {
  from { opacity: 0; transform: translate3d(-26px, 16px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes authPanelIn {
  from { opacity: 0; transform: translate3d(28px, 18px, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes heroBreath {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1%, -1%, 0); }
}

@keyframes bootFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes contentRise {
  from { opacity: 0; transform: translateY(18px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px) scale(.99); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes navPillIn {
  from { opacity: 0; transform: scaleY(.3); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 18px) scale(.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .auth {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    width: min(980px, calc(100vw - 40px));
  }

  .auth-visual-copy {
    padding: 27px;
  }

  .auth-visual-copy h1 {
    font-size: clamp(34px, 4.7vw, 43px);
  }

  .auth-visual-note {
    display: none;
  }

  .auth-panel {
    padding: 40px 30px 34px;
  }

  .app {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .nav,
  .wrap,
  .legal-footer {
    width: calc(100% - 34px);
  }

  .auth {
    grid-template-columns: 1fr;
    width: min(620px, calc(100vw - 30px));
    margin: 15px auto;
  }

  body.signed-out .auth-visual {
    display: block;
    min-height: 550px;
  }

  .auth-portrait {
    inset: 16px 16px 166px;
  }

  .auth-visual::before {
    inset: 16px 16px 166px;
  }

  .auth-visual-copy {
    padding: 28px;
  }

  .auth-hero-copy {
    margin-bottom: 13px;
  }

  .auth-visual-copy h1 {
    max-width: 440px;
    font-size: 39px;
  }

  .auth-proof {
    display: grid;
  }

  .auth-panel {
    min-height: auto;
    padding: 35px;
  }

  .auth-brand {
    margin-bottom: 30px;
  }

  .app {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .sidebar {
    position: sticky;
    top: 78px;
    z-index: 22;
  }

  .side-group {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .side-group::-webkit-scrollbar {
    display: none;
  }

  .side-btn {
    width: auto;
    min-width: 116px;
  }

  .side-btn:hover {
    transform: translateY(-1px);
  }

  .side-btn.active::before {
    top: auto;
    right: 17px;
    bottom: 4px;
    left: 17px;
    width: auto;
    height: 3px;
  }

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

  .thread-box {
    min-height: 180px;
  }

  .thread-list {
    max-height: 240px;
  }

  .funnel-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 88px;
    font-size: 14px;
  }

  body.signed-out,
  body.auth-pending {
    padding-bottom: 0;
  }

  .nav,
  .wrap,
  .legal-footer {
    width: calc(100% - 24px);
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand img {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-actions .ghost {
    min-height: 37px;
    padding: 0 10px;
    font-size: 11px;
  }

  .user-chip {
    display: none;
  }

  .auth {
    width: calc(100vw - 18px);
    margin: 9px auto;
    gap: 10px;
  }

  body.signed-out .auth-visual {
    min-height: 430px;
    border-radius: 26px;
  }

  .auth-portrait {
    inset: 11px 11px 150px;
    border-radius: 21px;
  }

  .auth-visual::before {
    inset: 11px 11px 150px;
    border-radius: 21px;
  }

  .auth-visual .auth-portrait img {
    object-position: center 47%;
  }

  .auth-visual-copy {
    padding: 20px;
  }

  .auth-visual-mark {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .auth-hero-copy {
    width: 100%;
    margin-bottom: 9px;
    border-radius: 20px;
    padding: 18px;
  }

  .auth-kicker {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .auth-visual-copy h1 {
    margin-bottom: 8px;
    font-size: 30px;
    line-height: 1.13;
  }

  .auth-visual-copy p {
    font-size: 11px;
    line-height: 1.58;
  }

  .auth-service-line {
    gap: 4px;
    margin-top: 11px;
  }

  .auth-service-line span {
    min-height: 25px;
    padding: 0 8px;
    font-size: 9px;
  }

  .auth-proof {
    display: none;
  }

  .auth-panel {
    border-radius: 26px;
    padding: 27px 19px 23px;
  }

  .auth-brand {
    margin-bottom: 25px;
  }

  .auth-brand img {
    width: 47px;
    height: 47px;
    border-radius: 15px;
  }

  .auth-brand strong {
    font-size: 17px;
  }

  .auth-panel h2 {
    font-size: 28px;
  }

  .auth-role-grid {
    margin-top: 17px;
  }

  .auth-role-card {
    min-height: 52px;
  }

  .auth-draft-note {
    padding: 14px !important;
  }

  .auth-panel form .inline-actions {
    grid-template-columns: 1fr;
  }

  body.auth-pending #authView .auth-panel {
    border-radius: 25px;
    padding: 22px;
  }

  .app {
    display: block;
    padding: 16px 0 36px;
  }

  .sidebar {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 45;
    margin: 0;
    border: 1px solid rgba(226, 211, 219, .88);
    border-radius: 22px;
    padding: 7px;
    background: rgba(255, 251, 248, .9);
    box-shadow: 0 18px 50px rgba(93, 68, 82, .22);
    backdrop-filter: blur(24px) saturate(1.3);
  }

  .side-group {
    gap: 4px;
    overflow-x: auto;
  }

  .side-btn {
    justify-content: center;
    min-width: 96px;
    min-height: 48px;
    border-radius: 16px;
    padding: 0 9px;
    text-align: center;
  }

  .side-btn span:first-child {
    padding-left: 0;
  }

  .side-btn span:last-child {
    min-width: 20px;
    min-height: 20px;
  }

  .section-head {
    gap: 12px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .workspace-hero {
    grid-template-columns: 1fr;
    border-radius: 23px;
    padding: 22px;
  }

  .workspace-hero h2 {
    font-size: 30px;
  }

  .workspace-hero .inline-actions,
  .section-head .inline-actions {
    width: 100%;
  }

  .workspace-hero .button,
  .workspace-hero .ghost {
    flex: 1;
  }

  .panel,
  .card {
    border-radius: 19px;
    padding: 17px;
  }

  .metric-row,
  .grid.two,
  .grid.three,
  .row,
  .billing-status-grid {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .stat {
    min-height: 91px;
    padding: 14px 12px;
  }

  .stat b {
    font-size: 25px;
  }

  .stat span {
    font-size: 9px;
  }

  .funnel-hero-copy,
  .funnel-side,
  .request-flow.funnel-mode .request-block {
    padding: 19px;
  }

  .funnel-hero-copy {
    border-radius: 23px;
  }

  .funnel-hero-copy h2 {
    font-size: 29px;
  }

  .request-flow {
    padding: 13px;
  }

  .request-block {
    padding: 17px;
  }

  .category-option-grid {
    grid-template-columns: 1fr;
  }

  .funnel-controls {
    flex-direction: row;
    align-items: center;
  }

  .funnel-controls .button,
  .funnel-controls .ghost {
    width: auto;
    flex: 1;
  }

  .list-item,
  .vendor-request-card {
    padding: 16px;
  }

  .billing-detail-grid {
    grid-template-columns: 1fr;
  }

  .legal-footer {
    padding-bottom: 30px;
  }
}

/* Public app landing shown on the canonical root before sign-in. */
body.signed-out .wrap,
body.auth-pending .wrap {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

#authView.app-landing,
body.auth-pending #authView.app-landing {
  display: block;
  visibility: visible;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-public {
  width: 100%;
  color: var(--ink);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.landing-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 9px 23px rgba(93, 68, 82, .13);
}

.landing-brand b,
.landing-brand small {
  display: block;
}

.landing-brand b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.landing-brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
}

.landing-vendor-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 17px;
  color: var(--ink-soft);
  background: rgba(255, 253, 251, .76);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(440px, .8fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 50px 0 76px;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
}

.landing-eyebrow,
.landing-section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  color: var(--rose-dark);
  background: var(--surface-rose);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
}

.landing-hero h1 {
  max-width: 650px;
  margin: 21px 0 20px;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.075em;
}

.landing-hero h1 em {
  color: var(--rose-dark);
  font-style: normal;
}

.landing-hero-copy > p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.78;
}

.landing-hero-actions {
  display: grid;
  gap: 11px;
  width: min(430px, 100%);
  margin-top: 31px;
}

.landing-app-cta {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(168, 94, 121, .16);
  border-radius: 18px;
  padding: 13px 20px;
  color: #fff;
  background: linear-gradient(135deg, #cc718f 0%, #a85e79 64%, #8d4f69 100%);
  box-shadow: 0 18px 38px rgba(122, 75, 96, .24);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.035em;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.landing-app-cta span {
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.landing-app-cta:hover {
  filter: brightness(1.02);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(122, 75, 96, .29);
}

.landing-hero-actions small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  text-align: center;
}

.landing-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.landing-proof-row span {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: rgba(255, 253, 251, .76);
  font-size: 11px;
  font-weight: 720;
}

.landing-proof-row b {
  color: var(--rose-dark);
  font-weight: 880;
}

.landing-app-preview {
  position: relative;
  min-height: 548px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 42px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, .98), transparent 25%),
    linear-gradient(145deg, #f7e5eb 0%, #eadbe6 55%, #ddcdda 100%);
  box-shadow: var(--shadow-float);
}

.landing-app-preview::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 30px;
  content: "";
  pointer-events: none;
}

.landing-photo-card {
  position: absolute;
  top: 28px;
  right: 26px;
  width: 43%;
  height: 45%;
  overflow: hidden;
  border: 7px solid rgba(255, 253, 251, .8);
  border-radius: 28px;
  box-shadow: 0 17px 42px rgba(83, 59, 73, .16);
}

.landing-photo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(54, 39, 48, .7));
  content: "";
}

.landing-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.landing-photo-card span {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 1;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.45;
}

.landing-photo-card b {
  color: #fff;
  font-size: 15px;
}

.landing-phone {
  position: absolute;
  z-index: 2;
  width: 188px;
  margin: 0;
  border: 7px solid #fff;
  border-radius: 31px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 52px rgba(72, 52, 64, .22);
}

.landing-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-phone figcaption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  left: 9px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 13px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(91, 64, 80, .76);
  font-size: 10px;
  font-weight: 820;
  text-align: center;
  backdrop-filter: blur(10px);
}

.landing-phone-request {
  bottom: 29px;
  left: 38px;
  transform: rotate(-4deg);
}

.landing-phone-bids {
  right: 48px;
  bottom: 21px;
  width: 174px;
  transform: rotate(5deg);
}

.landing-story {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 86px 0;
  text-align: center;
}

.landing-story h2,
.landing-section-head h2,
.landing-final h2 {
  margin: 17px 0 16px;
  font-size: clamp(32px, 4.4vw, 51px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.065em;
}

.landing-story > p,
.landing-final > p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.75;
}

.landing-category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 27px;
}

.landing-category-row span {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 17px;
  color: var(--ink-soft);
  background: var(--surface-solid);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.landing-flow {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.landing-section-head h2 {
  font-size: clamp(31px, 4vw, 46px);
}

.landing-step-grid {
  display: grid;
  gap: 12px;
}

.landing-step-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 22px;
  background: rgba(255, 253, 251, .78);
  box-shadow: var(--shadow-xs);
}

.landing-step-grid article > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 15px;
  color: var(--rose-dark);
  background: var(--surface-rose);
  font-size: 12px;
  font-weight: 900;
}

.landing-step-grid b {
  display: block;
  margin: 2px 0 5px;
  font-size: 16px;
  font-weight: 880;
}

.landing-step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.65;
}

.landing-final {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 50px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 34px;
  padding: 76px 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .95), transparent 27%),
    linear-gradient(145deg, #f8ebf0, #eadde8);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.landing-final > img {
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(93, 68, 82, .16);
}

.landing-final .landing-app-cta {
  width: min(430px, 100%);
  margin-top: 28px;
}

.web-login-gate {
  display: none;
}

body.web-login-mode .landing-public {
  display: none;
}

body.web-login-mode .web-login-gate {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px 18px;
}

body.web-login-mode #authView.app-landing,
body.web-login-mode.auth-pending #authView.app-landing {
  width: min(500px, calc(100% - 24px));
  margin: 0 auto;
}

.web-login-gate .auth-panel {
  width: 100%;
  min-height: 0;
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 34px;
  }

  .landing-hero-copy {
    text-align: center;
  }

  .landing-hero h1,
  .landing-hero-copy > p,
  .landing-hero-actions {
    margin-right: auto;
    margin-left: auto;
  }

  .landing-proof-row {
    justify-content: center;
  }

  .landing-app-preview {
    width: min(540px, 100%);
    margin: 0 auto;
  }

  .landing-flow {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .landing-section-head {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .landing-nav,
  .landing-hero,
  .landing-story,
  .landing-flow,
  .landing-final {
    width: calc(100% - 28px);
  }

  .landing-nav {
    min-height: 70px;
  }

  .landing-brand small {
    display: none;
  }

  .landing-vendor-link {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .landing-hero {
    min-height: 0;
    padding: 34px 0 62px;
  }

  .landing-hero h1 {
    margin-top: 16px;
    font-size: clamp(37px, 11vw, 48px);
    line-height: 1.1;
  }

  .landing-hero-copy > p {
    font-size: 14px;
  }

  .landing-app-cta {
    min-height: 62px;
    font-size: 16px;
  }

  .landing-proof-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-proof-row span {
    justify-content: center;
  }

  .landing-app-preview {
    min-height: 430px;
    border-radius: 31px;
  }

  .landing-app-preview::before {
    inset: 14px;
    border-radius: 23px;
  }

  .landing-photo-card {
    top: 20px;
    right: 18px;
    width: 45%;
    height: 39%;
    border-width: 5px;
    border-radius: 21px;
  }

  .landing-phone {
    width: 154px;
    border-width: 5px;
    border-radius: 25px;
  }

  .landing-phone-request {
    bottom: 23px;
    left: 23px;
  }

  .landing-phone-bids {
    right: 27px;
    bottom: 18px;
    width: 142px;
  }

  .landing-story {
    padding: 67px 0;
  }

  .landing-story h2,
  .landing-section-head h2,
  .landing-final h2 {
    font-size: 34px;
  }

  .landing-flow {
    padding: 72px 0;
  }

  .landing-step-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    border-radius: 19px;
    padding: 17px;
  }

  .landing-step-grid article > span {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .landing-final {
    margin-bottom: 30px;
    border-radius: 27px;
    padding: 54px 18px;
  }
}

@media (max-width: 370px) {
  .landing-phone {
    width: 140px;
  }

  .landing-phone-bids {
    width: 129px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .motion-reveal,
  .motion-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
