:root {
  color-scheme: light;
  --bg: #f5f8f6;
  --panel: #ffffff;
  --panel-soft: #eef7f3;
  --text: #17211f;
  --muted: #64706d;
  --line: #d9e2de;
  --accent: #0f7b68;
  --accent-dark: #09584b;
  --accent-soft: #dff4ec;
  --warm: #e75f51;
  --gold: #f1c95b;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(15, 123, 104, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(220px, 520px) auto;
  gap: 20px;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(217, 226, 222, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  box-shadow: 0 8px 22px rgba(23, 33, 31, 0.18);
}

.site-header nav {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--text);
  font-weight: 700;
}

.site-header nav .nav-cta {
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  padding: 8px 12px;
}

.site-header nav .nav-cta:hover {
  background: var(--accent-dark);
  color: #fff;
}

.search input,
.media-filter input,
.media-filter select,
.form-panel input:not([type="checkbox"]):not([type="radio"]),
.form-panel select,
.form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.search input:focus,
.form-panel input:not([type="checkbox"]):not([type="radio"]):focus,
.form-panel select:focus,
.form-panel textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 123, 104, 0.12);
}

.inline-form {
  display: inline;
}

.actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.actions {
  justify-content: flex-end;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 123, 104, 0.18);
}

button:hover,
.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

button:disabled,
button:disabled:hover {
  background: #9fb6b0;
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.site-header nav button {
  min-height: 0;
  padding: 7px 10px;
  box-shadow: none;
}

.link-button {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  box-shadow: none;
}

.link-button:hover {
  background: transparent;
  color: var(--accent-dark);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.landing-hero {
  display: flex;
  min-height: 620px;
  align-items: center;
  width: calc(100vw - 32px);
  margin: -12px 0 42px calc(50% - 50vw + 16px);
  border: 1px solid rgba(217, 226, 222, 0.9);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  width: min(650px, 100%);
  padding: clamp(28px, 7vw, 74px);
}

.hero-copy h1,
.page-heading h1,
.narrow h1 {
  margin: 0 0 14px;
  max-width: 900px;
  font-size: clamp(2.2rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy p,
.page-heading p,
.narrow > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin: 26px 0 20px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span,
.media-type,
.card-kicker,
.guest-capabilities span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(15, 123, 104, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 10px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-heading,
.section-heading {
  display: flex;
  gap: 24px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.event-hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 40px);
  background: linear-gradient(135deg, #ffffff, #f0faf6);
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.07);
}

.section-heading {
  margin-top: 36px;
}

.section-heading h2,
.table-panel h2,
.value-grid h2,
.empty-state h2,
.access-card h2 {
  margin: 0 0 8px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.value-grid article,
.empty-state,
.access-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
}

.value-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--warm);
  font-weight: 900;
}

.value-grid p,
.empty-state p,
.access-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.premium-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
  margin: 0 0 34px;
  scroll-margin-top: 92px;
}

.premium-copy {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.06);
}

.premium-copy h2,
.comparison-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.premium-copy p,
.comparison-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.premium-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.premium-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.premium-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.comparison-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
  margin: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #eef8f4);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
}

.featured-comparison {
  border-color: rgba(15, 123, 104, 0.35) !important;
  background: #fff !important;
}

.comparison-grid h3 {
  margin: 0 0 12px;
}

.comparison-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.billing-summary,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.billing-summary > div,
.pricing-grid article,
.billing-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.06);
}

.billing-summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.billing-summary strong,
.pricing-grid strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.billing-summary p,
.pricing-grid li,
.billing-callout p {
  color: var(--muted);
  line-height: 1.6;
}

.usage-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: var(--panel-soft);
}

.usage-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-pricing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-preview-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pricing-preview-card {
  display: flex;
  flex-direction: column;
}

.plan-card-header {
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(15, 123, 104, 0.1);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.pricing-preview-card ul {
  margin-bottom: 18px;
}

.pricing-preview-card .button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing-grid h2,
.billing-callout h2 {
  margin: 0;
}

.pricing-grid ul {
  margin: 18px 0;
  padding-left: 18px;
  line-height: 1.8;
}

.featured-plan {
  border-color: rgba(15, 123, 104, 0.35) !important;
  background: linear-gradient(135deg, #fff, #eef8f4) !important;
}

.billing-callout {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.demo-band,
.testimonial-grid {
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
}

.demo-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(15, 123, 104, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #e9f8f3);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.08);
}

.demo-band h2,
.testimonial-grid p {
  margin: 0;
}

.demo-band p {
  color: var(--muted);
  line-height: 1.65;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.testimonial-grid p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.testimonial-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.photo-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.card,
.photo-card,
.form-panel,
.stats-grid div,
.table-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.06);
}

.card,
.photo-card {
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card:hover,
.photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(23, 33, 31, 0.1);
}

.card img,
.media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(15, 123, 104, 0.12), rgba(231, 95, 81, 0.12)),
    #f4fbf8;
}

.media-placeholder span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(23, 33, 31, 0.12);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.card-body h2 {
  margin: 0;
  font-size: 1.18rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.guest-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.guest-capabilities span {
  background: #f7fbf9;
  font-size: 0.78rem;
  padding: 5px 9px;
}

.photo-card img,
.photo-card video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e7efeb;
}

.photo-card > div {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.photo-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.face-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.face-actions a,
.media-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.34rem 0.7rem;
  width: fit-content;
}

.media-action {
  background: #fff;
  color: var(--accent-dark);
}

.compact-message {
  margin-top: 16px;
}

.face-search-panel,
.face-upload-panel,
.bulk-actions,
.onboarding-panel,
.print-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.06);
}

.face-search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px;
}

.face-upload-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(280px, 0.52fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 22px;
}

.face-upload-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.face-upload-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.face-search-panel h2 {
  margin: 0 0 8px;
}

.face-search-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.face-cluster-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.face-cluster-row a {
  display: grid;
  min-width: 92px;
  justify-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.face-cluster-row img {
  width: 72px;
  height: 72px;
  border: 3px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(23, 33, 31, 0.16);
}

.narrow {
  width: min(720px, 100%);
  margin: 0 auto;
}

.form-panel {
  padding: 24px;
}

.guided-form {
  display: grid;
  gap: 28px;
}

.form-panel p {
  margin: 0 0 18px;
}

.form-panel label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.helptext {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-intro,
.form-help {
  color: var(--muted);
  line-height: 1.6;
}

.form-section {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.form-section h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.window-preview {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 16px;
}

.window-preview span,
.window-preview strong {
  display: block;
}

.window-preview span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.choice-card-grid,
.toggle-list {
  display: grid;
  gap: 12px;
}

.choice-card,
.toggle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  cursor: pointer;
}

.choice-card input,
.toggle-row input {
  margin-top: 3px;
}

.choice-card strong,
.toggle-row strong {
  display: block;
  margin-bottom: 4px;
}

.choice-card small,
.toggle-row small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.choice-card:has(input:checked),
.toggle-row:has(input:checked) {
  border-color: rgba(15, 123, 104, 0.45);
  background: #f3fbf7;
}

.toggle-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #cbd8d3;
  transition: background 0.16s ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 33, 31, 0.2);
  transition: transform 0.16s ease;
}

.toggle-row input:checked + .toggle-switch {
  background: var(--accent);
}

.toggle-row input:checked + .toggle-switch::after {
  transform: translateX(20px);
}

.flatpickr-calendar {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.unlock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.access-checklist {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.album-toolbar,
.share-panel,
.guestbook-panel,
.live-wall header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.album-toolbar,
.share-panel,
.guestbook-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.media-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 0.35fr)) auto;
  gap: 10px;
}

.bulk-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 14px 18px;
}

.bulk-actions span {
  color: var(--muted);
  font-weight: 700;
}

.select-media {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 9px;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.13);
}

.photo-card {
  position: relative;
}

.photo-list {
  grid-template-columns: 1fr;
}

.photo-list .photo-card {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 150px;
}

.photo-list .photo-card > a img,
.photo-list .photo-card > a video {
  display: block;
  height: 100%;
  min-height: 150px;
  aspect-ratio: auto;
  border-radius: 0;
}

.photo-list .photo-card > div {
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.photo-list .photo-card strong {
  white-space: normal;
}

.photo-list .media-type,
.photo-list .media-action {
  margin-right: 6px;
}

.upload-panel {
  display: grid;
  gap: 18px;
}

.drop-zone {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  gap: 8px;
  border: 2px dashed rgba(15, 123, 104, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #eef8f4);
  padding: 28px;
  text-align: center;
}

.drop-zone strong {
  font-size: 1.25rem;
}

.drop-zone span {
  color: var(--muted);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.selected-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-files span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 10px;
}

.upload-progress {
  display: none;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: var(--panel-soft);
}

.upload-progress span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: upload-progress 1.2s ease-in-out infinite;
}

.upload-progress.is-active {
  display: block;
}

.upload-progress.is-active span {
  animation: none;
  transition: width 0.2s ease;
}

.form-errors {
  border: 1px solid #f1b6b6;
  border-radius: 8px;
  background: #fff0f0;
  color: #8d1f1f;
  font-weight: 700;
  padding: 12px 14px;
}

.limit-action-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(15, 123, 104, 0.22);
  border-radius: 8px;
  background: #f0faf6;
  padding: 14px;
}

.limit-action-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.form-help {
  margin: 0;
  color: var(--muted);
}

@keyframes upload-progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(260%);
  }
}

.onboarding-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  align-items: start;
  margin: 0 0 28px;
  padding: 22px;
}

.onboarding-panel h2 {
  margin: 0 0 16px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.checklist li::before {
  content: "";
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.checklist li.is-done {
  color: var(--accent-dark);
}

.checklist li.is-done::before {
  content: "✓";
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
}

.print-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 52px);
  text-align: center;
}

.print-card img {
  width: min(330px, 100%);
  margin: 24px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.print-card h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1;
}

.print-card p {
  color: var(--muted);
  line-height: 1.6;
}

.share-panel img {
  width: 180px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.share-kit {
  align-items: center;
}

.share-kit label {
  display: block;
  margin: 14px 0 7px;
  font-weight: 900;
}

.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 8px;
}

.copy-row input {
  min-width: 0;
}

.guest-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.share-panel h2,
.guestbook-panel h2 {
  margin: 0 0 8px;
}

.share-panel p,
.guestbook-panel p,
.message-wall p {
  color: var(--muted);
  line-height: 1.6;
}

.photo-card.is-muted,
.message-wall article.is-muted {
  opacity: 0.66;
}

.photo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.guestbook-panel {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  margin-top: 24px;
}

.message-wall {
  display: grid;
  gap: 12px;
}

.message-wall article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.message-wall strong {
  display: block;
  margin-bottom: 6px;
}

.live-wall {
  width: calc(100vw - 32px);
  margin-left: calc(50% - 50vw + 16px);
}

.live-wall header {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef8f4);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.live-wall h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.wall-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.14);
}

.wall-grid article.featured-wall-tile {
  grid-column: span 2;
  grid-row: span 2;
}

.wall-grid img,
.wall-grid video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.wall-grid article > div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.wall-grid p,
.wall-grid span {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.messages {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
}

.message {
  border: 1px solid #b7d7c2;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #edf8f0;
}

.message.error {
  border-color: #f1b6b6;
  background: #fff0f0;
}

.list {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.result-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 700;
}

.result-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.code-reveal {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid #b7d7c2;
  border-radius: 8px;
  padding: 18px;
  background: #edf8f0;
}

.code-reveal span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.code-reveal strong {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: 0.08em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stats-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.stats-grid strong {
  font-size: 2.1rem;
}

.table-panel {
  overflow-x: auto;
  padding: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .site-header .search {
    display: none;
  }

  .site-header nav,
  .page-heading,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
    justify-content: start;
  }

  .landing-hero {
    min-height: 600px;
    background-position: 58% center;
  }

  .hero-copy {
    padding: 28px;
  }

  .value-grid,
  .premium-showcase,
  .premium-grid,
  .billing-summary,
  .pricing-grid,
  .pricing-grid-four,
  .compact-pricing,
  .testimonial-grid,
  .demo-band,
  .face-search-panel,
  .face-upload-panel,
  .onboarding-panel,
  .comparison-panel,
  .comparison-grid,
  .album-toolbar,
  .media-filter,
  .share-panel,
  .guestbook-panel,
  .live-wall header,
  .two-column,
  .unlock-layout {
    grid-template-columns: 1fr;
  }

  .premium-copy {
    position: static;
  }

  .billing-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-list .photo-card {
    grid-template-columns: 1fr;
  }

  .photo-list .photo-card > a img,
  .photo-list .photo-card > a video {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .guest-gallery-mode .site-header {
    position: static;
    display: flex;
    padding: 10px 14px;
  }

  .guest-gallery-mode .site-header nav,
  .guest-gallery-mode .site-header .search {
    display: none;
  }

  .guest-gallery-mode .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .guest-gallery-mode .messages {
    margin-top: 10px;
  }

  .guest-gallery-mode .message {
    margin-bottom: 10px;
    padding: 9px 12px;
  }

  .guest-gallery-mode main {
    margin-top: 12px;
  }

  .guest-gallery-mode .page-heading.event-hero {
    padding: 22px;
  }

  .guest-gallery-mode .page-heading h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .guest-gallery-mode .hero-proof {
    gap: 8px;
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  main,
  .messages {
    width: min(100% - 24px, 1180px);
  }

  .landing-hero {
    width: calc(100vw - 24px);
    margin-left: calc(50% - 50vw + 12px);
  }

  .live-wall {
    width: calc(100vw - 24px);
    margin-left: calc(50% - 50vw + 12px);
  }

  .wall-grid article.featured-wall-tile {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-copy h1,
  .page-heading h1,
  .narrow h1 {
    font-size: 2.45rem;
  }
}

@media print {
  .site-header,
  .messages,
  .print-card .actions {
    display: none !important;
  }

  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  main {
    width: 100%;
    margin: 0;
  }

  .print-card {
    border: 0;
    box-shadow: none;
  }
}
