/* newlywedkit.com — Clean Wedding UI Design System */
:root {
  /* Core Wedding Palette */
  --canvas: #FAF8F5;              /* Alabaster linen canvas */
  --card-bg: #FFFFFF;             /* Soft cream / pure white card backing */
  --charcoal: #2C2A29;            /* Dark slate charcoal typography */
  --charcoal-light: #4A4644;      /* Medium slate charcoal */
  --muted: #6E6B68;               /* Warm charcoal / stone muted text */
  --gold: #C5A880;                /* Champagne Gold accent */
  --gold-hover: #B3956B;          /* Deep Champagne Gold hover */
  --gold-wash: rgba(197, 168, 128, 0.12);
  --gold-border: rgba(197, 168, 128, 0.28);
  --blush: #F5ECE8;               /* Subtle blush accent */
  --sage: #8A9A86;                /* Subtle botanical sage highlight */
  --sage-text: #3D5A44;           /* Botanical sage for success text */
  --danger: #B83A4B;              /* Velvet crimson (Soft remove / delete) */
  --danger-hover: #9E2B3B;
  --danger-deep: #8B0000;         /* Deep wine (Permanent purge) */
  --success: #2E7D47;             /* Forest emerald (Live / restore) */
  --success-hover: #246337;
  --accent: #C5A880;              /* Default accent (Champagne Gold) */
  --border-warm: #ECE7E1;         /* Soft linen border */
  --border-gold: #C5A880;
  --bg-alabaster: #FAF8F5;
  --bg-cream: #FFFFFF;
  --text-charcoal: #2C2A29;
  --text-muted: #6E6B68;
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1100px;
  --shadow-card: 0 4px 16px rgba(44, 42, 41, 0.05);
  --shadow-hover: 0 8px 24px rgba(44, 42, 41, 0.08);
  --font-heading: "Cormorant Garamond", "Playfair Display", Didot, "Bodoni MT", Georgia, Garamond, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --accent-champagne: #C5A880;
  --accent-champagne-hover: #9A7848;
  --shadow-soft: 0 8px 28px rgba(44, 42, 41, 0.06);
  --shadow-elevated: 0 20px 50px rgba(44, 42, 41, 0.10);
}

* {
  box-sizing: border-box;
}

a {
  color: var(--charcoal);
  text-decoration-color: rgba(197, 168, 128, 0.65);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
  color: var(--charcoal);
  background-color: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
}

h1 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0.2rem 0 0.85rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--charcoal);
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 1rem 0 0.4rem;
  color: var(--charcoal);
  font-weight: 600;
}

/* Site Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-warm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  height: 38px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.site-title {
  font-family: "Playfair Display", Didot, Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--charcoal);
}

/* Base Interactive Buttons (Strict 48px Minimum Touch Target) */
.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #EAE5DF;
  color: var(--charcoal);
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn:hover:not(:disabled) {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary, .btn-choose {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.35);
}

.btn-primary:hover:not(:disabled), .btn-choose:hover:not(:disabled) {
  background: var(--gold-hover);
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.45);
}

.btn-secondary {
  background: var(--charcoal);
  color: #FFFFFF;
}

.btn-secondary:hover:not(:disabled) {
  background: #403D3B;
}

.btn-danger {
  background: var(--danger);
  color: #FFFFFF;
}

.btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(44, 42, 41, 0.18);
  color: var(--charcoal);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(44, 42, 41, 0.05);
}

.btn-sm {
  min-height: 48px;
  min-width: 54px;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  border-radius: 8px;
}

/* ==========================================================================
   Guest Portal & Upload Page
   ========================================================================== */

.upload-hero {
  text-align: center;
  margin: 0.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.script-title {
  font-family: "Cormorant Garamond", "Playfair Display", "Snell Roundhand", "Savoye LET", "Apple Chancery", "Bickham Script Pro", "Great Vibes", "Brush Script MT", "Segoe Script", cursive, serif;
  font-style: italic;
  font-size: clamp(2.6rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0.25rem 0 1rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.polaroids {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0.5rem 0 1.25rem;
  perspective: 1000px;
}

.polaroid {
  margin: 0;
  background: var(--card-bg);
  padding: 12px 12px 38px 12px;
  border-radius: 4px;
  box-shadow: 0 10px 25px -4px rgba(44, 42, 41, 0.12), 0 4px 8px -2px rgba(44, 42, 41, 0.08), 0 0 1px 1px var(--gold-border);
  max-width: 44%;
  width: 205px;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  max-height: 220px;
  object-fit: cover;
  border-radius: 2px;
  background: #F4F1EA;
}

.polaroid.tilt-l {
  transform: rotate(-3.5deg);
  z-index: 1;
}

.polaroid.tilt-r {
  transform: rotate(3deg);
  margin-left: -18px;
  z-index: 2;
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow: 0 18px 36px -6px rgba(44, 42, 41, 0.2), 0 6px 12px -2px rgba(44, 42, 41, 0.1);
  z-index: 10;
}

.welcome {
  max-width: 500px;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", serif;
}

/* Upload Form Card */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem auto;
  max-width: 460px;
  width: 100%;
  background: var(--card-bg);
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
}

.btn-choose {
  font-size: 1.15rem;
  padding: 1rem 1.5rem;
  min-height: 52px;
  letter-spacing: 0.01em;
}

#uploadBtn {
  min-height: 50px;
  font-size: 1.05rem;
}

#uploadBtn:disabled {
  background: #E2DED7;
  color: #8C8882;
  box-shadow: none;
}

/* Previews Grid */
.previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin: 1rem 0;
}

.previews:empty {
  display: none;
}

.preview {
  position: relative;
  background: var(--card-bg);
  border-radius: 4px;
  padding: 8px 8px 12px 8px;
  box-shadow: 0 3px 10px rgba(44, 42, 41, 0.08);
  border: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview img, .preview video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  background: #F4F1EA;
}

/* Touch-optimized 48px remove button with 28px visual badge */
.preview-x {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
}

.preview-x::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(44, 42, 41, 0.78);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
  z-index: -1;
}

.preview-x:hover::before {
  background: var(--danger);
  transform: scale(1.1);
}

.preview input {
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #E2DED7;
  border-radius: 6px;
  font-size: 0.88rem;
  min-width: 0;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: inherit;
}

.preview input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.25);
  background: #FFFFFF;
}

/* Progress bar */
progress#prog {
  width: 100%;
  max-width: 460px;
  margin: 0.5rem auto;
  display: block;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 0;
  background-color: #E8E4DC;
}

progress#prog::-webkit-progress-bar {
  background-color: #E8E4DC;
  border-radius: 4px;
}

progress#prog::-webkit-progress-value {
  background-color: var(--accent);
  border-radius: 4px;
  transition: width 0.3s ease;
}

progress#prog::-moz-progress-bar {
  background-color: var(--accent);
  border-radius: 4px;
}

/* Guestbook Message Bubble */
.message-bubble {
  background: var(--card-bg);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  margin: 1.75rem auto;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.message-bubble h2 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.bubble-hint {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
  font-style: italic;
}

.message-bubble textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #E0DCD5;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--canvas);
  margin-bottom: 0.75rem;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.message-bubble textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
  background: #FFFFFF;
}

.message-bubble button.btn {
  width: 100%;
  min-height: 48px;
  background: var(--charcoal);
  color: #FAF8F5;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.message-bubble button.btn:hover {
  background: #403D3B;
  color: #FFFFFF;
}

#messageStatus {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--sage-text);
  font-weight: 500;
  text-align: center;
}

.file-count {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 1.1em;
}

/* Polaroid Grid for Uploaded Photos (#myGrid) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 10px 10px 14px 10px;
  box-shadow: 0 4px 12px rgba(44, 42, 41, 0.08), 0 1px 3px rgba(44, 42, 41, 0.04);
  border: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 24px rgba(44, 42, 41, 0.12), 0 2px 6px rgba(44, 42, 41, 0.06);
}

.card img, .card video {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  background: #F4F1EA;
}

.card-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px 4px;
}

.card-caption input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #E2DED7;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--canvas);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card-caption input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
  background: #FFFFFF;
}

.card-caption .btn-sm {
  min-height: 48px;
  min-width: 54px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 8px;
  background: var(--accent);
  color: #FFFFFF;
}

.card .btn-danger {
  min-height: 48px;
  margin-top: 6px;
  border-radius: 8px;
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(184, 58, 75, 0.35);
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}

.card .btn-danger:hover {
  background: var(--danger);
  color: #FFFFFF;
}

/* Download Gallery Section */
.download-gallery {
  text-align: center;
  margin: 2.25rem 0 1rem;
}

.btn-download {
  background: var(--charcoal);
  color: #FAF8F5;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  min-height: 52px;
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(44, 42, 41, 0.15);
  transition: all 0.2s ease;
}

.btn-download:hover {
  background: #1A1918;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44, 42, 41, 0.22);
}

.download-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
  font-style: italic;
}

/* ==========================================================================
   Themes: Coastal (Guest Canvas) & Admin
   ========================================================================== */

/* Theme Coastal (Guest Canvas) */
body.theme-coastal {
  background-color: var(--canvas);
  background-image:
    radial-gradient(rgba(197, 168, 128, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(44, 42, 41, 0.03) 1px, var(--canvas) 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  color: var(--charcoal);
}

body.theme-coastal .site-header {
  background: rgba(250, 248, 245, 0.92);
  border-bottom: 1px solid var(--gold-border);
}

body.theme-coastal .card-section {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--gold-border);
}

/* Theme Admin */
body.theme-admin {
  background: var(--bg-alabaster);
  color: var(--text-charcoal);
}

body.theme-admin .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-warm);
}

body.theme-admin .admin-heading,
body.theme-admin .mod-heading {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--text-charcoal);
  letter-spacing: -0.02em;
}

.admin-subhead, .mod-subhead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.admin-subhead a, .mod-subhead a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.admin-subhead a:hover {
  text-decoration: underline;
}

.admin-topbar, .mod-header-row, .mod-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Card Sections */
.card-section {
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.25rem 0;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
}

.card-section:hover {
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.card-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text-charcoal);
}

.card-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.25rem 0 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.card-divider {
  border: 0;
  border-top: 1px solid var(--border-warm);
  margin: 1.5rem 0;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 1.25rem;
}

.tabs .btn {
  min-height: 48px;
  min-width: 100px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
}

.tabs .btn[aria-pressed="true"] {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(197, 168, 128, 0.3);
}

/* Form Fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.65rem 0;
  width: 100%;
  max-width: 580px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=date],
.field input[type=number],
.field input:not([type]),
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-charcoal);
  background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
  box-sizing: border-box;
}

.field textarea {
  min-height: 78px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
}

.file-picker-input {
  display: block;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.file-picker-input::file-selector-button {
  padding: 0.5rem 0.9rem;
  margin-right: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-warm);
  background: #FFFFFF;
  color: var(--text-charcoal);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.file-picker-input::file-selector-button:hover {
  background: #F4EFE6;
}

/* Live Color Picker Preview */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.field input[type=color] {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}

.color-hex-code {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-charcoal);
  background: var(--bg-alabaster);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border-warm);
}

.accent-sample-badge {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.palette-presets {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.preset-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.color-preset-btn {
  width: 32px;
  height: 32px;
  min-height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.color-preset-btn:hover {
  transform: scale(1.15);
}

/* Logo & Hero Slots */
.logo-setting-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.logo-preview-box {
  width: 120px;
  height: 60px;
  border-radius: 8px;
  background: var(--bg-alabaster);
  border: 1px dashed var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-slot-card {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 1rem;
}

.hero-slot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.badge-custom {
  background: var(--gold-wash);
  color: var(--gold-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-slot-preview-frame {
  height: 155px;
  border-radius: 8px;
  overflow: hidden;
  background: #F4EFE6;
  border: 1px dashed var(--border-warm);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder-polaroid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-btn-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Printable QR Code Card */
.qr-stationery-card {
  max-width: 440px;
  margin: 1.5rem auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.18);
  padding: 1.5rem;
  text-align: center;
}

.stationery-border {
  border: 2px solid var(--border-gold);
  outline: 1px solid var(--border-gold);
  outline-offset: -5px;
  border-radius: 8px;
  padding: 1.5rem 1rem;
}

.stationery-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stationery-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin: 0 0 0.25rem;
}

.stationery-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.qr-wrapper {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0;
}

.qr-code-img {
  width: 220px;
  height: 220px;
  display: block;
}

.stationery-url {
  font-size: 0.9rem;
  color: var(--text-charcoal);
  margin: 0.75rem 0 0.25rem;
  word-break: break-all;
}

.stationery-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.qr-admin-controls {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-warm);
}

/* Link Rows & Copy Buttons */
.link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}

.link-row code {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-warm);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  word-break: break-all;
  color: var(--text-charcoal);
}

.copy-btn {
  background: var(--accent);
  color: #FFFFFF;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: var(--gold-hover);
}

/* User & Invite Lists */
.admin-two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.admin-user-list, .invite-links-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}

.admin-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--bg-alabaster);
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  margin: 0.4rem 0;
  font-size: 0.9rem;
}

.role-badge {
  background: var(--border-warm);
  color: var(--text-charcoal);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.inline-add-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.inline-add-form input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  font-size: 0.9rem;
  min-height: 48px;
}

/* Admin Login Card */
.admin-login-card {
  max-width: 460px;
  margin: 3rem auto;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-elevated);
}

/* ==========================================================================
   Moderation Grid & Popover
   ========================================================================== */

.mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 1.5rem 0;
}

.grid-empty {
  color: #889;
  padding: 2rem 0;
}

.tile {
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-warm);
}

.tile-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #E9EDF1;
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}

/* Status Badges */
.tile-status {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.tile-status.status-live {
  background: var(--success);
  color: #FFFFFF;
}

.tile-status.status-removed {
  background: var(--danger);
  color: #FFFFFF;
}

.tile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 2px 2px;
}

.tile-info {
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 6px 8px;
  min-height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.tile-info:hover {
  background: var(--bg-alabaster);
}

.tile-actions {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}

.tile-actions .btn {
  flex: 1;
  min-height: 48px;
  padding: 0.65rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* High-contrast action buttons for moderation */
button[data-remove] {
  background: var(--danger) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(184, 58, 75, 0.35);
}

button[data-remove]:active {
  background: var(--danger-hover) !important;
}

button[data-restore] {
  background: var(--success) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(46, 125, 71, 0.35);
}

button[data-restore]:active {
  background: var(--success-hover) !important;
}

button[data-purge] {
  background: var(--danger-deep) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(139, 0, 0, 0.35);
}

button[data-purge]:active {
  background: #6B0000 !important;
}

/* EXIF Popover */
.tile-pop {
  position: absolute;
  left: 0;
  right: auto;
  width: min(270px, 80vw);
  bottom: calc(100% + 9px);
  z-index: 20;
  background: #FFFFFF;
  color: #1A1A1A;
  border: 1px solid #E6E6EA;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 11px 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.tile-pop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 22px;
  border: 7px solid transparent;
  border-top-color: #FFFFFF;
}

.tile:hover .tile-pop, .tile.open .tile-pop {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tile.pop-below .tile-pop {
  bottom: auto;
  top: calc(100% + 9px);
  transform: translateY(-6px);
}

.tile.pop-below .tile-pop::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #FFFFFF;
}

.tile.pop-below:hover .tile-pop, .tile.pop-below.open .tile-pop {
  transform: translateY(0);
}

dl.exif {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  font-size: 0.8rem;
}

dl.exif dt {
  color: #8A93A0;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: center;
}

dl.exif dd {
  margin: 0;
  word-break: break-word;
  line-height: 1.3;
}

dl.exif dd a {
  color: var(--accent);
}

.exif-empty {
  color: #889;
  font-size: 0.8rem;
  margin: 0;
}

/* Guest Messages Moderation List */
.messages {
  list-style: none;
  padding: 0;
  max-width: 720px;
}

.msg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  min-height: 56px;
}

.msg-row span {
  font-size: 0.95rem;
  color: var(--text-charcoal);
  flex: 1;
}

.msg-row .btn-sm {
  min-height: 48px;
  min-width: 80px;
  padding: 0.65rem 1rem;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 600px) {
  .wrap {
    padding: 1rem 0.75rem;
  }
  .script-title {
    font-size: 2.2rem;
  }
  .polaroid {
    width: 145px;
    padding: 8px 8px 28px 8px;
  }
  .polaroid.tilt-l {
    transform: rotate(-3deg);
  }
  .polaroid.tilt-r {
    transform: rotate(2.5deg);
    margin-left: -12px;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .mod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .previews {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
  .card {
    padding: 8px 8px 12px 8px;
  }
  .card-caption {
    flex-direction: column;
    gap: 6px;
  }
  .card-caption .btn-sm {
    width: 100%;
  }
  .card .btn-danger {
    width: 100%;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .polaroid {
    width: 185px;
    padding: 10px 10px 34px 10px;
  }
}

@media (min-width: 1025px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
  }
  .polaroid {
    width: 210px;
    padding: 12px 12px 40px 12px;
  }
}

/* ==========================================================================
   Printable Table Tent Sign Styles (@media print)
   ========================================================================== */

@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 12pt;
  }
  .site-header,
  .admin-topbar,
  .mod-topbar,
  .tabs,
  .card-section:not(.qr-card),
  .qr-admin-controls,
  .card-header,
  .section-desc,
  .btn,
  .admin-signout-row,
  form,
  #messages {
    display: none !important;
  }
  .wrap {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .card-section.qr-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
  }
  .qr-stationery-card {
    display: block !important;
    width: 4.8in !important;
    margin: 0.8in auto !important;
    padding: 0.4in !important;
    border: 3px double #C5A880 !important;
    border-radius: 8px !important;
    text-align: center !important;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
  .stationery-badge {
    color: #C5A880 !important;
    font-size: 10pt !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 8pt !important;
  }
  .stationery-title {
    font-family: serif !important;
    font-size: 24pt !important;
    margin-bottom: 6pt !important;
    color: #2C2A29 !important;
  }
  .stationery-subtitle {
    font-size: 13pt !important;
    color: #6D6964 !important;
    margin-bottom: 16pt !important;
    font-style: italic !important;
  }
  .qr-code-img {
    width: 2.6in !important;
    height: 2.6in !important;
    margin: 0 auto 10pt !important;
    display: block !important;
  }
  .stationery-url {
    font-size: 12pt !important;
    margin-top: 10pt !important;
    color: #2C2A29 !important;
  }
  .stationery-note {
    font-size: 10pt !important;
    color: #8C8782 !important;
    margin-top: 6pt !important;
  }
}

/* ==========================================================================
   newlywedkit.com Platform, Marketing, Signup, Wedding Hub & Site Admin UI
   ========================================================================== */

body.theme-platform,
.platform-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--canvas);
  color: var(--charcoal);
}

.nwk-main {
  flex: 1;
}

/* Top Navigation Bar */
.nwk-navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-warm);
}

.nwk-navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nwk-brand,
.nwk-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  color: var(--text-charcoal) !important;
}

.nwk-brand-mark,
.nwk-brand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2C2A29 0%, #443F3B 100%);
  color: #E8D5B5;
  border: 1px solid var(--accent-champagne);
  box-shadow: 0 2px 8px rgba(44, 42, 41, 0.12);
}

.nwk-brand-text,
.nwk-brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-charcoal);
  letter-spacing: -0.01em;
}

.nwk-brand-tld {
  color: var(--accent-champagne-hover);
  font-weight: 500;
}

.nwk-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nwk-nav-link {
  text-decoration: none !important;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nwk-nav-link:hover,
.nwk-nav-link.active {
  color: var(--text-charcoal);
  border-bottom-color: var(--accent-champagne);
}

.nwk-nav-cta,
.nwk-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nwk-nav-cta .btn {
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-size: 0.92rem;
}

/* Button Size Variants */
.btn-lg {
  padding: 0.9rem 1.65rem;
  font-size: 1.02rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

/* Hero Section */
.nwk-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem 4.25rem;
  background: radial-gradient(circle at 82% 22%, rgba(197, 168, 128, 0.18) 0%, rgba(250, 248, 245, 0) 55%),
              linear-gradient(180deg, #FAF8F5 0%, #F3EDE2 100%);
  border-bottom: 1px solid var(--border-warm);
}

.nwk-product-hero {
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}

.nwk-hero-grid,
.nwk-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 2.75rem;
  align-items: center;
}

.nwk-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.nwk-hero-copy .stationery-badge {
  background: rgba(197, 168, 128, 0.16);
  border: 1px solid rgba(197, 168, 128, 0.42);
  color: var(--accent-champagne-hover);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.nwk-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.55rem, 4.3vw, 3.85rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text-charcoal);
  margin: 0 0 1.15rem;
  letter-spacing: -0.015em;
}

.nwk-hero-title em {
  font-style: italic;
  color: #8E6E46;
  font-weight: 600;
}

.nwk-hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.85rem;
  max-width: 600px;
}

.nwk-product-hero .nwk-hero-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.nwk-hero-lead code {
  background: rgba(197, 168, 128, 0.16);
  color: var(--text-charcoal);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.94em;
  font-weight: 600;
}

.nwk-hero-buttons,
.nwk-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.85rem;
}

.nwk-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 168, 128, 0.3);
  width: 100%;
}

.nwk-trust-pills span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-charcoal);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-warm);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Hero Browser Showcase Card */
.nwk-hero-showcase {
  width: 100%;
  min-width: 0;
}

.nwk-Browser-frame,
.nwk-showcase-frame {
  background: #FFFFFF;
  border: 1px solid #E2D9CC;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(44, 42, 41, 0.12), 0 4px 16px rgba(197, 168, 128, 0.14);
  overflow: hidden;
}

.nwk-browser-bar,
.nwk-showcase-bar {
  background: #F4EFE6;
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--border-warm);
}

.nwk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D5CCBE;
}

.nwk-dot:nth-child(1) { background: #E2B4AC; }
.nwk-dot:nth-child(2) { background: #E2CFA8; }
.nwk-dot:nth-child(3) { background: #B5C9B6; }

.nwk-browser-url,
.nwk-showcase-url {
  margin-left: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-charcoal);
  background: #FFFFFF;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-warm);
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nwk-showcase-canvas,
.nwk-showcase-body {
  padding: 1.85rem 1.5rem 1.65rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #FFFDF9 0%, #F7F2E9 100%);
}

.nwk-showcase-polaroids {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 1.25rem;
}

.nwk-showcase-polaroids .polaroid {
  width: 158px;
  padding: 9px 9px 26px 9px;
  margin: 0;
  background: #FFFFFF;
}

.nwk-showcase-polaroids .polaroid.tilt-r {
  margin-left: -14px;
}

.nwk-art-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  display: block;
}

.nwk-polaroid-caption {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: -16px;
}

.nwk-showcase-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin: 0.15rem 0 0.35rem;
}

.nwk-showcase-caption p {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 auto 0.95rem;
  max-width: 340px;
}

.nwk-showcase-badges {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* Platform Content Sections */
.nwk-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.nwk-section-alt {
  max-width: none;
  background: #F3EDE2;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
  padding: 4.5rem 1.5rem;
}

.nwk-section-alt > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.nwk-section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.75rem;
}

.nwk-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--text-charcoal);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.2;
}

/* Suite Grid & Cards */
.nwk-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.nwk-suite-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.65rem;
  box-shadow: var(--shadow-soft);
}

.nwk-suite-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin: 0.15rem 0;
  line-height: 1.3;
}

.nwk-suite-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.nwk-suite-featured,
.nwk-suite-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF5EC 100%);
  border: 2px solid var(--accent-champagne);
  padding: 2.15rem;
}

.nwk-suite-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
}

.tag-live {
  background: rgba(46, 125, 71, 0.12);
  color: #256639;
  border: 1px solid rgba(46, 125, 71, 0.3);
}

.tag-included {
  background: rgba(197, 168, 128, 0.18);
  color: #826238;
  border: 1px solid rgba(197, 168, 128, 0.4);
}

.tag-soon {
  background: #F3EDE2;
  color: var(--text-muted);
  border: 1px solid var(--border-warm);
}

.nwk-feature-Check-list,
.nwk-feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.55rem 1.25rem;
}

.nwk-collateral-card .nwk-feature-Check-list,
.nwk-pricing-card .nwk-feature-Check-list {
  grid-template-columns: 1fr;
}

.nwk-feature-Check-list li,
.nwk-feature-checklist li {
  font-size: 0.92rem;
  color: var(--text-charcoal);
  position: relative;
  padding-left: 1.45rem;
  line-height: 1.45;
}

.nwk-feature-Check-list li::before,
.nwk-feature-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-champagne-hover);
  font-weight: 700;
}

.nwk-suite-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.65rem;
}

/* 3-Step Architecture Cards */
.nwk-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.nwk-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 1.85rem;
  box-shadow: var(--shadow-soft);
}

.nwk-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.16);
  border: 1px solid rgba(197, 168, 128, 0.4);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-champagne-hover);
  margin-bottom: 0.85rem;
}

.nwk-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin: 0 0 0.5rem;
}

.nwk-step-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* Subdomain Jump Bar & Active Wedding Directory */
.nwk-jump-bar {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: #FFFFFF;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid #DFD6C7;
  box-shadow: var(--shadow-soft);
}

.nwk-jump-bar input[type="text"],
#subdomainJumpInput {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text-charcoal);
  background: transparent;
  min-height: 48px;
}

.nwk-jump-bar input[type="text"]:focus,
#subdomainJumpInput:focus {
  outline: none;
}

.nwk-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.35rem;
}

.nwk-wedding-directory-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-top: 4px solid var(--card-accent, var(--accent-champagne));
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nwk-wedding-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nwk-date-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #F4EFE6;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.nwk-wedding-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin: 0.15rem 0 0;
}

.nwk-wedding-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.5rem;
  flex: 1;
}

.nwk-wedding-card-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-warm);
}

.nwk-wedding-card-actions .btn {
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  border-radius: 9px;
}

/* Bottom CTA Banner */
.nwk-cta-banner {
  padding: 4.5rem 1.5rem;
  background: linear-gradient(135deg, #2C2A29 0%, #3E3A37 100%);
  color: #FAF8F5;
  text-align: center;
  border-top: 1px solid var(--border-warm);
}

.nwk-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.nwk-cta-inner .stationery-badge {
  color: #E8D5B5;
}

.nwk-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  color: #FFFFFF;
  margin: 0.35rem 0 0.75rem;
}

.nwk-cta-inner p {
  color: #D8D1C7;
  font-size: 1.05rem;
  margin: 0 auto 1.85rem;
  max-width: 580px;
}

.nwk-cta-inner .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.nwk-cta-inner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Product Gallery Collateral Grid & Comparison Table */
.nwk-feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.nwk-collateral-card {
  margin: 0 !important;
  padding: 2rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nwk-collateral-card h2 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.45rem;
}

.nwk-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.nwk-comparison-table th,
.nwk-comparison-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-warm);
  font-size: 0.92rem;
  vertical-align: middle;
}

.nwk-comparison-table th {
  background: #FAF8F5;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

.nwk-comparison-table .highlight-col,
.nwk-col-highlight {
  background: rgba(197, 168, 128, 0.12);
  font-weight: 600;
  color: var(--text-charcoal);
}

/* Pricing Grid */
.nwk-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.nwk-pricing-card {
  margin: 0 !important;
  padding: 2rem 1.75rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 18px;
}

.nwk-pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin: 0.2rem 0;
}

.nwk-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin: 0.35rem 0 0.65rem;
  line-height: 1.1;
}

.nwk-price span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nwk-pricing-card .btn-full {
  margin-top: auto;
}

.nwk-pricing-popular {
  border: 2px solid var(--accent-champagne) !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCF9F2 100%) !important;
  box-shadow: var(--shadow-elevated) !important;
  transform: translateY(-4px);
}

/* Sign-Up Page & Form Layout */
.nwk-signup-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
}

.nwk-signup-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  padding: 2.5rem 2.25rem !important;
  box-shadow: var(--shadow-elevated);
  margin: 0 !important;
}

.nwk-signup-card .field,
.auth-form .field,
.settings-form-grid .field {
  max-width: 100%;
}

.nwk-two-col-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.nwk-subdomain-input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  width: 100%;
}

.nwk-subdomain-input-group input[type="text"] {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.nwk-subdomain-suffix {
  background: #F3EDE2;
  color: var(--text-charcoal);
  padding: 0 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border-warm);
  white-space: nowrap;
}

/* Auth Alerts, Divider & Footer Links */
.auth-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}

.auth-alert-error {
  background: #FDF2F2;
  border: 1px solid #E6B8B8;
  color: #8C2D2D;
}

.auth-form {
  display: grid;
  gap: 0.65rem;
  text-align: left;
  margin-top: 1rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-warm);
}

.auth-footer-links {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-warm);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-footer-links a {
  color: var(--accent-champagne-hover);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-links a:hover {
  text-decoration: underline;
}

.subdomain-pill {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-champagne-hover);
  background: #FAF6EE;
  border: 1px solid rgba(197, 168, 128, 0.42);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}

/* Wedding Hub (/w/:slug & subdomain root) */
.nwk-wedding-hub {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 4rem;
}

.nwk-hub-date {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: -0.25rem 0 1rem;
}

.nwk-hub-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.nwk-hub-card {
  margin: 0 !important;
  padding: 1.85rem !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
}

.nwk-hub-card h2 {
  margin: 0.2rem 0;
}

.nwk-hub-card p {
  margin: 0;
}

/* Overall Site Admin Control Plane (/site-admin) */
.nwk-site-admin-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4.5rem;
}

.nwk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.nwk-kpi-card {
  margin: 0 !important;
  padding: 1.35rem 1.5rem !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.nwk-kpi-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nwk-kpi-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.15;
}

.tenant-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-active {
  background: rgba(46, 125, 71, 0.14);
  color: #256639;
  border: 1px solid rgba(46, 125, 71, 0.32);
}

.status-suspended {
  background: rgba(184, 58, 75, 0.14);
  color: #962836;
  border: 1px solid rgba(184, 58, 75, 0.32);
}

.nwk-tenants-table .link-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: nowrap;
  align-items: center;
}

.nwk-tenants-table .btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
}

.admin-two-col-grid .nwk-comparison-table th,
.admin-two-col-grid .nwk-comparison-table td {
  padding: 0.65rem 0.6rem;
  font-size: 0.84rem;
}

/* Platform Footer */
.nwk-footer {
  background: #252322;
  color: #E6E0D6;
  padding: 3.5rem 1.5rem 2.25rem;
  margin-top: auto;
  border-top: 1px solid #383533;
}

.nwk-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nwk-footer .nwk-brand-text {
  color: #FAF8F5;
}

.nwk-footer .nwk-brand-tld {
  color: #DFC39D;
}

.nwk-footer .section-desc {
  color: #B5AEA4;
}

.nwk-footer-links {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.nwk-footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nwk-footer-links strong {
  font-family: var(--font-heading);
  color: #E8D5B5;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.nwk-footer-links a {
  color: #D2CBC0 !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.nwk-footer-links a:hover {
  color: #FFFFFF !important;
}

.nwk-footer-bottom {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #9A9389;
}

/* Live Ballroom Projector Screen Hero Showcase */
.nwk-projector-bezel {
  background: #141312;
  border: 2px solid #35302B;
  border-radius: 18px;
  box-shadow: 0 28px 64px rgba(20, 18, 16, 0.28), 0 0 0 1px rgba(197, 168, 128, 0.28);
  overflow: hidden;
  color: #FAF8F5;
}

.nwk-projector-topbar {
  background: #1D1B1A;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
}

.nwk-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38C96B;
  box-shadow: 0 0 10px rgba(56, 201, 107, 0.85);
  display: inline-block;
  flex-shrink: 0;
}

.nwk-projector-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #DFC39D;
}

.nwk-projector-url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #B9B2A8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nwk-projector-screen {
  background: radial-gradient(circle at 50% 35%, #231F1D 0%, #0E0D0C 100%);
  padding: 0.9rem 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.nwk-projector-stage-grid {
  display: grid;
  grid-template-columns: 74px 1fr 94px;
  gap: 0.65rem;
  align-items: stretch;
}

.nwk-stage-rail {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: space-between;
}

.nwk-rail-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A89F93;
  display: block;
}

.nwk-rail-thumb {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.28);
  background: linear-gradient(145deg, #2D2621 0%, #191614 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.25rem;
  text-align: center;
}

.nwk-rail-thumb span {
  font-size: 0.6rem;
  font-weight: 600;
  color: #E8DFD1;
  line-height: 1.15;
}

.nwk-thumb-1 {
  background: radial-gradient(circle at 50% 30%, rgba(197, 168, 128, 0.35), #1F1B18 75%);
}

.nwk-thumb-2 {
  background: radial-gradient(circle at 50% 30%, rgba(196, 139, 159, 0.32), #1F1B18 75%);
}

.nwk-thumb-3 {
  background: radial-gradient(circle at 50% 30%, rgba(94, 122, 104, 0.35), #1F1B18 75%);
}

.nwk-thumb-4 {
  background: radial-gradient(circle at 50% 30%, rgba(223, 195, 157, 0.38), #1F1B18 75%);
}

.nwk-rail-thumb svg,
.nwk-stage-main-photo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nwk-stage-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nwk-stage-main-photo {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.nwk-upnext-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nwk-screen-qr-card {
  background: #FAF8F5;
  color: #2C2A29;
  border-radius: 8px;
  padding: 0.45rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.nwk-screen-qr-card strong {
  font-size: 0.62rem;
  line-height: 1.15;
  color: #2C2A29;
}

.nwk-screen-qr-card span {
  font-size: 0.56rem;
  color: #6E6B68;
  font-weight: 600;
}

.nwk-mini-qr-grid {
  width: 44px;
  height: 44px;
  border: 2px solid #2C2A29;
  border-radius: 4px;
  background-image:
    radial-gradient(#2C2A29 38%, transparent 40%),
    radial-gradient(#2C2A29 38%, transparent 40%);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
  background-color: #FFFFFF;
}

.nwk-projector-ticker {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
}

.nwk-ticker-pill {
  background: #C5A880;
  color: #1B1918;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nwk-ticker-text {
  font-size: 0.74rem;
  color: #F3EDE2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nwk-projector-stand-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Legal pages (/privacy, /terms) */
.nwk-legal-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.nwk-legal-card {
  padding: 2.25rem 2.5rem;
}

.nwk-legal-card h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.5rem 0 0.25rem;
  line-height: 1.15;
}

.nwk-legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.nwk-legal-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent, #C5A880);
  background: rgba(197, 168, 128, 0.08);
  border-radius: 0 8px 8px 0;
  margin: 0 0 1.75rem;
}

.nwk-legal-card h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}

.nwk-legal-card p,
.nwk-legal-card li {
  line-height: 1.68;
  color: var(--text-secondary, #3A3531);
}

.nwk-legal-card ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nwk-legal-footer-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border, #E6DFD5);
  font-size: 0.92rem;
  font-weight: 600;
}

.nwk-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nwk-footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Responsive Breakpoints for Platform UI */
@media (max-width: 960px) {
  .nwk-hero-grid,
  .nwk-suite-grid,
  .nwk-feature-showcase-grid,
  .nwk-pricing-grid,
  .nwk-kpi-grid {
    grid-template-columns: 1fr;
  }
  .nwk-pricing-popular {
    transform: none;
  }
}

@media (max-width: 680px) {
  .nwk-two-col-fields,
  .nwk-hub-actions-grid {
    grid-template-columns: 1fr;
  }
  .nwk-jump-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .nwk-signup-card {
    padding: 1.5rem 1.25rem !important;
  }
  .nwk-projector-stage-grid {
    grid-template-columns: 1fr;
  }
  .nwk-stage-rail-l {
    display: none;
  }
}


