@font-face{font-family:"Nunito";src:url("/fonts/nunito-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("/fonts/nunito-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("/fonts/nunito-latin-800-normal.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("/fonts/nunito-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Nunito";src:url("/fonts/nunito-latin-800-italic.woff2") format("woff2");font-weight:800;font-style:italic;font-display:swap}
:root {
  --obsidian: #100d12;
  --obsidian-2: #18131b;
  --aubergine: #34223c;
  --plum: #654675;
  --violet: #9872aa;
  --violet-soft: #d0bad8;
  --ivory: #f3efe7;
  --ivory-2: #e8e2d8;
  --paper: #fbf9f4;
  --ink: #29242a;
  --muted: #9a929c;
  --bronze: #a58b62;
  --gold: #d4af6a;
  --gold-light: #f0d9a0;
  --gold-deep: #8c6d3a;
  --line: rgba(255, 255, 255, 0.12);
  --safe-top: 54px;
  --bar: 52px;
  --dock: 92px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--obsidian);
  color: var(--paper);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.phone {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  height: 100svh;
  max-height: 100svh;
  margin: 0 auto;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(101, 70, 117, 0.45), transparent 60%),
    linear-gradient(180deg, #161018 0%, #100d12 40%, #0c0a0e 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Status bar */
.status {
  height: var(--safe-top);
  padding: 14px 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  color: #f3efe7;
}
.status-icons { display: flex; align-items: center; gap: 6px; }
.status svg { display: block; }

.appbar {
  height: var(--bar);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.appbar .back {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-light);
  flex-shrink: 0;
}
.appbar .back.ghost { visibility: hidden; }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.brand-lockup img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}
.brand-name {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f8e7b8 0%, #e0c078 42%, #b8893e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.mock-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7d62;
  border: 1px solid rgba(165, 139, 98, 0.35);
  padding: 4px 7px;
  border-radius: 99px;
}

main {
  flex: 1;
  padding: 4px 20px 12px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.eyebrow {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b838e;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow > i {
  width: 22px;
  height: 1px;
  background: var(--violet);
  display: block;
}

h1 {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
}
h1 .gold, .gold-title {
  background: linear-gradient(180deg, #f8e7b8 0%, #e0c078 45%, #b8893e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--violet-soft);
  -webkit-text-fill-color: var(--violet-soft);
  background: none;
}
h2 {
  margin: 0 0 4px;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.lead {
  margin: 10px 0 0;
  color: #c4bcc7;
  font-size: 15px;
  line-height: 1.5;
}
.lead strong { color: var(--gold-light); font-weight: 600; }

.price-pill {
  margin: 16px 0 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(212, 175, 106, 0.4);
  background: rgba(212, 175, 106, 0.08);
  border-radius: 99px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
}
.price-pill b {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: #d5cdd8;
  font-size: 13.5px;
  line-height: 1.4;
}
.points li svg { margin-top: 2px; color: var(--gold); }

.example {
  margin: 16px 0 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(237, 228, 239, 0.18);
  background: #171219;
  aspect-ratio: 16/10;
}
.example img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.example .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(12, 9, 13, 0.72) 0%, rgba(12, 9, 13, 0.15) 45%, rgba(12, 9, 13, 0.2) 100%);
}
.example .play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 13, 18, 0.55);
  border: 1.5px solid var(--gold-light);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  backdrop-filter: blur(6px);
}
.example figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  right: 12px;
  margin: 0;
  color: #e8dfc8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note {
  margin: 12px 0 0;
  color: #8d8590;
  font-size: 12px;
  line-height: 1.5;
}
.note a { color: var(--violet-soft); text-decoration: underline; text-underline-offset: 2px; }

.dock {
  flex-shrink: 0;
  padding: 10px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, #0c0a0e 70%, rgba(12, 10, 14, 0));
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(180deg, #f0d9a0 0%, #d4af6a 48%, #b8893e 100%);
  color: #1c1408;
  box-shadow: 0 8px 24px rgba(184, 137, 62, 0.28);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(235, 227, 237, 0.22);
  color: #e4dcc8;
  margin-top: 8px;
}
.btn-row { display: grid; gap: 8px; }
.legal-mini {
  margin: 8px 0 0;
  text-align: center;
  color: #6a636c;
  font-size: 10px;
  line-height: 1.4;
}
.legal-mini a { color: #8d8590; }

/* Upload */
.photo-list { display: grid; gap: 10px; margin-top: 14px; }
.photo-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.photo-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.photo-card .meta { min-width: 0; }
.photo-card .meta .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.photo-card .meta p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #e8e2ea;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-card .meta span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #8d8590;
}
.linkish {
  background: none;
  border: 0;
  color: var(--violet-soft);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 4px;
  white-space: nowrap;
}
.add-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px dashed rgba(212, 175, 106, 0.45);
  border-radius: 14px;
  color: var(--gold-light);
  background: rgba(212, 175, 106, 0.05);
  font-size: 14px;
  font-weight: 600;
}
.add-photo .sub {
  font-weight: 400;
  color: #8d8590;
  font-size: 12px;
}
.actions-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.actions-pair .mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: #e4dce8;
  font-size: 12.5px;
  font-weight: 600;
}
.total-bar {
  margin-top: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  color: #d5cdd8;
  font-size: 14px;
}
.total-bar strong {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(180deg, #f8e7b8 0%, #d4af6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Forms */
.field { margin-top: 8px; }
.field label, .group-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b3a4b8;
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--paper);
  font-size: 15px;
  outline: none;
}
.field textarea { min-height: 48px; resize: none; line-height: 1.4; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  padding: 6px 10px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #e4dce8;
  font-size: 12.5px;
  font-weight: 400;
}
.chip.on {
  background: rgba(212, 175, 106, 0.16);
  border-color: rgba(212, 175, 106, 0.55);
  color: var(--gold-light);
}
.happen {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 6px;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.happen img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.happen textarea { min-height: 44px; padding: 6px 8px; font-size: 12.5px; }
.happen .who {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.checks { display: grid; gap: 10px; margin-top: 8px; }
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.45;
  color: #ddd6e0;
}
.box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(212, 175, 106, 0.7);
  background: rgba(212, 175, 106, 0.16);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  margin-top: 1px;
}
.box.empty {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
}
.gentle {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--bronze);
  background: rgba(165, 139, 98, 0.08);
  color: #cfc6b0;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 0 10px 10px 0;
}

/* Waiting */
.wait {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px 24px;
}
.wait-photos {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
}
.wait-photos img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(240, 217, 160, 0.55);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 24px rgba(212, 175, 106, 0.25);
}
.wait-photos img:nth-child(1) { transform: rotate(-8deg) translate(8px, 8px); z-index: 1; }
.wait-photos img:nth-child(2) { transform: translateY(-6px); z-index: 3; }
.wait-photos img:nth-child(3) { transform: rotate(8deg) translate(-8px, 8px); z-index: 2; }
.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 106, 0.2);
  border-top-color: var(--gold-light);
  animation: spin 1s linear infinite;
  margin: 18px auto 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.wait h1 { font-size: 28px; }
.wait .lead { max-width: 300px; }

/* Preview clips */
.clip-stack { display: grid; gap: 8px; margin-top: 12px; }
.clip-stack.preview-grid {
  grid-template-columns: 1fr 1fr;
}
.clip-stack.preview-grid .clip:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
.clip {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(237, 228, 239, 0.18);
  aspect-ratio: 4/3;
  background: #171219;
}
.clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jail {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(184, 137, 62, 0.78) 0px,
    rgba(240, 217, 160, 0.92) 2px,
    rgba(165, 139, 98, 0.8) 5px,
    rgba(80, 58, 20, 0.55) 6px,
    transparent 6px,
    transparent 28px
  );
  pointer-events: none;
}
.clip .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,9,13,0.7) 0%, transparent 42%);
  pointer-events: none;
}
.clip .play-mini {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 13, 18, 0.5);
  border: 1.5px solid var(--gold-light);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  z-index: 2;
}
.clip .caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0e6c8;
}
.preview-note {
  margin: 12px 0 0;
  text-align: center;
  color: #b7a889;
  font-size: 13px;
  line-height: 1.45;
}

/* Pay */
.summary {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #d5cdd8;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row.total {
  background: rgba(212, 175, 106, 0.08);
  color: var(--paper);
  font-size: 15px;
}
.summary-row.total strong {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 24px;
  background: linear-gradient(180deg, #f8e7b8 0%, #d4af6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.pay-mark {
  margin: 18px 0 0;
  text-align: center;
  color: #9a929c;
  font-size: 12.5px;
  line-height: 1.5;
}
.tide-badge {
  margin: 10px auto 0;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a39aa6;
}

/* Thanks */
.success-mark {
  width: 56px;
  height: 56px;
  margin: 6px auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 106, 0.12);
  border: 1px solid rgba(212, 175, 106, 0.45);
  color: var(--gold-light);
}
.download-list { display: grid; gap: 8px; margin-top: 14px; }
.dl {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.dl img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.dl p { margin: 0; font-size: 13.5px; color: #eee8f0; }
.dl span { font-size: 11px; color: #8d8590; }
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border-radius: 14px;
  background: #1f3a2c;
  border: 1px solid rgba(110, 190, 140, 0.35);
  color: #d6f0de;
  font-size: 15px;
  font-weight: 600;
}
.delete-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: #b9b1bc;
  font-size: 12.5px;
  line-height: 1.5;
}

.center { text-align: center; }
.spacer { flex: 1; }

.pos-faces { object-position: center 18%; }
.pos-xmas { object-position: center 30%; }
.pos-wedding { object-position: center 22%; }
.nowrap { white-space: nowrap; }
.clip .caption { letter-spacing: 0.08em; font-size: 9px; gap: 6px; }
.clip .caption span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
