:root {
  --navy: #24384f;
  --blush: #d8a7a1;
  --cream: #faf6f2;
  --ink: #2b2b2b;
  --muted: #6b7280;
  --line: #e7e1db;
  --ok: #2f855a;
  --err: #c53030;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(36, 56, 79, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }

/* Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; max-width: 1080px; margin: 0 auto; gap: 16px; flex-wrap: wrap;
}
.brand { font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: .2px; white-space: nowrap; }
nav a { margin-left: 18px; text-decoration: none; color: var(--navy); font-weight: 500; }

.hero {
  text-align: center; padding: 64px 20px 32px; max-width: 760px; margin: 0 auto;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--navy); margin: 0 0 12px; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 auto 24px; max-width: 560px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff; border: none; border-radius: 999px;
  padding: 13px 26px; font-size: 1rem; font-weight: 600; cursor: pointer;
  text-decoration: none; min-height: 46px; transition: transform .06s ease, opacity .15s;
}
.btn:hover { opacity: .92; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.blush { background: var(--blush); color: var(--navy); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.full { width: 100%; }

/* Pricing cards */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 48px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card.featured { border-color: var(--blush); border-width: 2px; position: relative; }
.card .tag {
  position: absolute; top: -12px; right: 20px; background: var(--blush); color: var(--navy);
  font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.card h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.3rem; }
.card .blurb { color: var(--muted); font-size: .92rem; min-height: 40px; }
.card .price { font-size: 1.9rem; font-weight: 700; color: var(--navy); margin: 12px 0 2px; }
.card .price small { font-size: .85rem; font-weight: 500; color: var(--muted); display: block; }
.card ul { list-style: none; padding: 0; margin: 16px 0; flex: 1; }
.card li { padding: 6px 0 6px 26px; position: relative; font-size: .93rem; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* Forms / panels */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); max-width: 560px; margin: 32px auto;
}
.panel h2 { margin-top: 0; color: var(--navy); }
label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: .92rem; }
input, select {
  width: 100%; padding: 12px; font-size: 16px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.duration-grid button {
  padding: 12px 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px;
  cursor: pointer; font-weight: 600; color: var(--navy); min-height: 46px;
}
.duration-grid button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.summary { background: var(--cream); border-radius: 10px; padding: 14px 16px; margin-top: 18px; }
.summary .headline { font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.summary .sub { color: var(--muted); font-size: .9rem; }
.note { font-size: .85rem; color: var(--muted); }
.msg { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: .92rem; }
.msg.err { background: #fdeaea; color: var(--err); }
.msg.ok { background: #e8f5ee; color: var(--ok); }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 24px 0; }
.tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #eee; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .badge { position: absolute; bottom: 6px; left: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 999px; }
.tile .who { position: absolute; top: 6px; left: 6px; right: 6px; color: #fff; font-size: .72rem; text-shadow: 0 1px 2px rgba(0,0,0,.6); }

/* Upload progress */
.upload-list { margin: 16px 0; }
.upload-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.progress { flex: 1; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: var(--ok); transition: width .2s; }

.qr-wrap { text-align: center; margin: 18px 0; }
.qr-wrap canvas, .qr-wrap img { margin: 0 auto; }
.linkbox { display: flex; gap: 8px; margin-top: 8px; }
.linkbox input { font-size: 14px; }

footer.site { text-align: center; color: var(--muted); font-size: .85rem; padding: 40px 20px; }

@media (max-width: 820px) {
  .pricing { grid-template-columns: 1fr; }
  .duration-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  header.site { justify-content: center; }
}
