:root {
  --navy: #183576;
  --navy-deep: #0e2458;
  --pink: #ed1680;
  --pink-dark: #cf0d69;
  --pink-soft: #fce7f2;
  --ivory: #f7f3ed;
  --sand: #e8ded2;
  --blue-wash: #edf2fb;
  --ink: #171a24;
  --muted: #686d79;
  --line: #dedfe4;
  --white: #ffffff;
  --green: #2c7a4b;
  --container: min(1200px, calc(100% - 40px));
  --shadow: 0 24px 60px rgba(13, 32, 77, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Apercu Pro", "Apercu", "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }

/* Typography */
.display, h1.display, h2.display,
h1, h2, h3, h4, h5, h6, .page-title, .section-title,
.builder-preview-section h3, .builder-wedding-hero h2 {
  font-family: "Apercu Pro", "Apercu", "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
}
h1, h2, h3, .page-title, .section-title, .display {
  font-weight: 650;
  letter-spacing: -.035em;
}
.page-title { margin: 0; color: var(--navy-deep); line-height: .98; font-size: clamp(3.4rem, 6vw, 6.4rem); }
.section-title {
  max-width: 720px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.55rem, 4.5vw, 4.75rem);
  line-height: .98;
}
.section-copy { max-width: 610px; margin: 22px 0 0; color: var(--muted); font-size: 1.04rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--pink); }
.muted { color: var(--muted); }
.lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }

/* Buttons & Links */
.btn {
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--pink); }
.btn-primary:hover { background: #d80d6d; }
.btn-secondary { color: var(--navy); background: #fff; border-color: rgba(24,53,118,.25); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-dark { color: #fff; background: var(--navy-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; }

/* Grid / Layout */
.section { padding: 110px 0; }
.section.ivory { background: var(--ivory); }
.section.blue { background: var(--blue-wash); }
.section.navy { background: var(--navy-deep); color: #fff; }
.section.navy .section-title, .section.navy .eyebrow { color: #fff; }
.section.navy .lead, .section.navy .section-copy { color: #c8d2e6; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 78px; align-items: center; }
.split.reverse { grid-template-columns: 1.15fr .85fr; }
.stack { display: grid; gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); background: #fff; }
.card h3 { margin: 0 0 10px; color: var(--navy-deep); }
.card p { margin: 0; color: var(--muted); }
.card-number { font-family: "Apercu Pro", "Apercu", "Plus Jakarta Sans", Helvetica, Arial, sans-serif; font-size: 2.4rem; color: var(--pink); font-weight: 400; }

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222,223,228,.9);
  border-top: 2px solid var(--navy);
}
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; position: relative; }
.brand img { width: 148px; height: 48px; object-fit: contain; object-position: left center; }

/* Centered Header Brand (used by default header logic, but overwritten by brand-header if present) */
.brand-centered {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
}
.brand-centered img { width: 174px; height: 54px; object-fit: contain; }

.header-left { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 700; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 600; color: #3d4250; }
.nav a { padding: 11px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-color: var(--pink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.header-link, .nav-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #171717;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}
.header-link:hover, .nav-trigger:hover { color: var(--navy); }

.login { padding: 10px 8px; color: var(--navy); font-weight: 700; }
.login-outline {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #171717;
  border-radius: 999px;
  color: #171717;
}
.header-cta {
  min-height: 48px;
  padding-inline: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.header-cta:hover { background: var(--pink-dark); }

.nav-dropdown { position: relative; }
.chevron { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown-menu {
  position: absolute;
  left: -18px;
  top: calc(100% + 10px);
  z-index: 120;
  width: 280px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(13,32,77,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .18s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 13px 14px; border-radius: 9px; }
.dropdown-menu a:hover { background: var(--ivory); }
.dropdown-menu b { display: block; color: var(--navy-deep); font-size: .88rem; }
.dropdown-menu small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; font-weight: 500; }

.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 23px; height: 2px; background: var(--navy); position: relative; margin: auto; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.mobile-menu { display: none; }
.mobile-label { margin-top: 12px; color: var(--pink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

/* Bridal Banda Overlay Brand Header (Cleaned up cascade) */
.brand-header {
  position: sticky;
  top: 0;
  z-index: 120;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  background: #d82e89;
  backdrop-filter: none;
}
.brand-header .header-inner { padding-left: 258px; }
.brand-overlap {
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 3;
  width: 228px;
  pointer-events: auto;
}
.brand-overlap img { width: 70%; height: auto; object-fit: contain; }

.brand-header .header-left { margin-left: auto; color: #fff; font-size: .92rem; }
.brand-header .header-link,
.brand-header .nav-trigger { color: #fff; }
.brand-header .header-link:hover,
.brand-header .nav-trigger:hover { opacity: .78; color: #fff; }

.brand-header .login { color: #fff; }
.brand-header .header-cta {
  border: 1px solid #fff;
  color: #d82e89;
  background: #fff;
}
.brand-header .header-cta:hover { transform: translateY(-1px); background: #fff5fa; }
.brand-header .dropdown-menu { z-index: 130; }
.brand-header .dropdown-menu a { color: var(--ink); }

.brand-header .menu-btn span,
.brand-header .menu-btn span::before,
.brand-header .menu-btn span::after { background: #fff; }

.brand-header .mobile-menu { background: #d82e89; border-top: 1px solid rgba(255,255,255,.28); color: #fff; }
.brand-header .mobile-label { color: #ffd6ec; }
.brand-header .mobile-login,
.brand-header .mobile-start {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.brand-header .mobile-start { color: var(--navy-deep); background: #fff; }

/* Home / Marketing Hero */
.hero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; min-height: 620px; }
.hero-copy {
  padding: 190px clamp(46px, 5vw, 84px) 64px max(20px, calc((100vw - 1200px)/2));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  top: 74px;
  align-self: start;
}
.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--navy-deep);
  font-size: 4em;
  line-height: 1;
}
.hero h1 em { color: var(--pink); font-style: normal; }
.hero-sub { max-width: 540px; margin: 26px 0 0; color: #565c68; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 22px; color: #727783; font-size: .82rem; }
.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.hero-media { position: relative; min-height: 920px; overflow: hidden; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247,243,237,.18), transparent 30%), linear-gradient(180deg, transparent 58%, rgba(7,20,49,.38));
}
.hero-photo { height: 100%; object-fit: cover; object-position: center; }
.hero-slide { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-progress { position: absolute; left: 34px; right: 34px; top: 24px; z-index: 2; display: flex; gap: 6px; }
.hero-slide-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.hero-slide-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.hero-slide-bar.done i { width: 100%; transition: none; }
.hero-slide-bar.active i { width: 100%; transition: width 4.5s linear; }
.hero-caption {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}
.hero-caption strong { display: block; font-family: "Apercu Pro", "Apercu", "Plus Jakarta Sans", Helvetica, Arial, sans-serif; font-size: 1.9rem; font-weight: 400; line-height: 1; }
.hero-caption small { display: block; margin-top: 7px; opacity: .82; }
.hero-preview {
  width: 260px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 12px;
  background: rgba(255,255,255,.93);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.hero-preview-top b { color: var(--navy-deep); font-size: .8rem; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: #267646; font-size: .66rem; font-weight: 700; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3caf69; }
.hero-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hero-preview-grid div { padding: 9px 7px; border-radius: 7px; background: #f4f6fa; }
.hero-preview-grid b { display: block; color: var(--navy-deep); font-size: .8rem; }
.hero-preview-grid span { color: #7c818c; font-size: .55rem; }

/* Page Hero (Standard) */
.page-hero { padding: 96px 0 84px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.hero-panel { min-height: 470px; padding: 28px; background: var(--blue-wash); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.hero-panel.navy { background: var(--navy-deep); }

/* Planning Suite Section */
.planning-suite { padding: 96px 0; background: #fff; border-bottom: 1px solid var(--line); }
.planning-suite-shell {
  display: grid;
  grid-template-columns: minmax(270px, .62fr) minmax(0, 1.38fr);
  border: 1px solid var(--line);
  background: #fff;
}
.planning-suite-intro {
  min-height: 760px;
  padding: 54px 46px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.planning-suite-intro h2 { margin: 0; color: var(--navy-deep); font-size: clamp(2.1rem, 2.6vw, 2.9rem); line-height: 1.05; }
.planning-suite-intro p { margin: 34px 0 0; color: var(--ink); font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.48; }
.planning-suite-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suite-card {
  min-width: 0;
  min-height: 380px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: background .2s ease;
}
.suite-card:nth-child(odd) { border-right: 1px solid var(--line); }
.suite-card:nth-last-child(-n+2) { border-bottom: 0; }
.suite-card:hover { background: #fbfaf8; }
.suite-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 600;
}
.suite-card-title::after { content: "→"; font-weight: 500; transition: transform .2s ease; }
.suite-card:hover .suite-card-title::after { transform: translateX(4px); }
.suite-card-copy { margin: 5px 0 22px; color: #4f5561; font-size: .9rem; }
.suite-media {
  position: relative;
  height: 245px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ivory);
}
.suite-media > img { width: 100%; height: 100%; object-fit: cover; }
.suite-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(7,20,49,.15)); pointer-events: none; }

.suite-product-chip, .suite-site-card, .suite-guest-chip, .suite-budget-chip {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border: 1px solid rgba(18,28,51,.28);
  box-shadow: 0 12px 28px rgba(16,30,68,.14);
}
.suite-product-chip {
  left: 50%;
  top: 50%;
  width: 154px;
  padding: 11px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  text-align: center;
}
.suite-product-chip img { height: 84px; object-fit: contain; border-radius: 8px; background: #f7f5f1; }
.suite-product-chip b { display: block; margin-top: 8px; color: var(--navy-deep); font-size: .78rem; }
.suite-product-chip span { display: inline-block; margin-top: 7px; padding: 5px 12px; border: 1px solid var(--navy-deep); border-radius: 999px; background: #edf8ed; font-size: .66rem; font-weight: 700; }
.suite-site-card { inset: 20px 28px; overflow: hidden; border-radius: 15px; }
.suite-site-bar { height: 30px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #dddfe4; font-size: .58rem; font-weight: 700; }
.suite-site-image { height: calc(100% - 30px); padding: 18px; display: grid; place-items: center; color: #fff; text-align: center; background: linear-gradient(rgba(8,23,55,.18), rgba(8,23,55,.38)), url("assets/wedding-home-hero-web.jpg") center/cover; }
.suite-site-image strong { font-size: 2rem; font-weight: 400; line-height: 1; }
.suite-site-image small { display: block; margin-top: 6px; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.suite-guest-chip { left: 20px; right: 20px; bottom: 18px; padding: 11px 13px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.suite-avatars { display: flex; }
.suite-avatars i { width: 27px; height: 27px; margin-left: -7px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: #f4cadf; font-style: normal; font-size: .54rem; font-weight: 800; }
.suite-avatars i:first-child { margin-left: 0; }
.suite-guest-chip b { color: var(--navy-deep); font-size: .74rem; }
.suite-budget-chip { left: 18px; bottom: 18px; padding: 11px 14px; border-radius: 12px; }
.suite-budget-chip b { display: block; color: var(--navy-deep); font-size: .75rem; }
.suite-budget-chip span { color: var(--pink); font-size: .64rem; font-weight: 700; }

/* Essentials Strip */
.essentials { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.essentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.essential { padding: 3px 26px; border-right: 1px solid var(--line); }
.essential:first-child { padding-left: 0; }
.essential:last-child { border-right: 0; }
.essential span { display: block; margin-bottom: 5px; color: var(--pink); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.essential b { display: block; color: var(--navy-deep); font-size: .95rem; }
.essential small { display: block; margin-top: 3px; color: var(--muted); }

/* Intro / Features */
.intro { padding: 120px 0 100px; }
.intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; align-items: start; }
.intro-copy { position: sticky; top: 112px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row .number { color: var(--pink); font-size: 2rem; }
.feature-row h3 { margin: 0; color: var(--navy-deep); font-size: 1.08rem; }
.feature-row p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.feature-row a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); }
.feature-row:hover a { border-color: var(--pink); color: var(--pink); }

/* Product Showcase */
.showcase { padding: 118px 0; overflow: hidden; }
.showcase.ivory { background: var(--ivory); }
.showcase.navy { color: #fff; background: var(--navy-deep); }
.showcase.blue { background: var(--blue-wash); }
.showcase-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 78px; align-items: center; }
.showcase-grid.reverse { grid-template-columns: 1.18fr .82fr; }
.showcase.navy .section-title, .showcase.navy .eyebrow, .showcase.navy .text-link { color: #fff; }
.showcase.navy .section-copy { color: #c7d1e6; }
.bullet-list { margin: 30px 0 34px; padding: 0; list-style: none; display: grid; gap: 13px; color: #555c68; }
.showcase.navy .bullet-list { color: #d3dced; }
.bullet-list li { position: relative; padding-left: 22px; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

/* Showcase Components */
.browser { border: 1px solid rgba(18,38,89,.14); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.browser-top { height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #ececef; }
.browser-top i { width: 7px; height: 7px; border-radius: 50%; background: #d8dae1; }
.site-builder { display: grid; grid-template-columns: 150px 1fr; min-height: 470px; }
.builder-panel { padding: 20px 15px; background: #f6f7f9; border-right: 1px solid #e7e8ec; }
.builder-panel b { color: var(--navy-deep); font-size: .72rem; }
.builder-item { margin-top: 12px; padding: 9px 10px; border-radius: 7px; color: #6e7481; background: #fff; font-size: .64rem; }
.builder-item.active { color: var(--navy); background: var(--pink-soft); }
.builder-canvas {
  min-height: 470px;
  padding: 32px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: linear-gradient(rgba(11,29,69,.24), rgba(11,29,69,.34)), url("assets/wedding-faq-hero-web.jpg"), url("assets/hero-wedding-fallback.png");
  background-position: center, center, center;
  background-size: cover, cover, cover;
}
.builder-canvas small { letter-spacing: .16em; text-transform: uppercase; }
.builder-canvas h3 { margin: 12px 0 4px; font-size: 4rem; line-height: 1; }
.builder-canvas button { width: fit-content; min-height: 38px; margin: 22px auto 0; padding: 0 17px; border: 0; border-radius: 7px; color: var(--navy); background: #fff; font-weight: 700; font-size: .7rem; }

.guest-panel { padding: 25px; border-radius: 14px; background: #f8f9fb; color: var(--ink); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.guest-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.guest-head h3 { margin: 0; color: var(--navy-deep); }
.guest-head button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 7px; color: #fff; background: var(--pink); font-weight: 700; font-size: .72rem; }
.guest-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 15px; }
.guest-stats div { padding: 13px; border: 1px solid #e9eaf0; background: #fff; }
.guest-stats b { display: block; color: var(--navy-deep); font-size: 1.05rem; }
.guest-stats span { color: #808591; font-size: .62rem; }
.guest-table { border: 1px solid #e8e9ed; background: #fff; }
.guest-row { display: grid; grid-template-columns: 1.4fr .9fr .8fr; gap: 8px; align-items: center; padding: 13px 14px; border-bottom: 1px solid #eff0f3; font-size: .72rem; }
.guest-row:last-child { border-bottom: 0; }
.guest-row.header { color: #8a8f9a; background: #fafbfc; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.person { display: flex; align-items: center; gap: 9px; }
.avatar { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #f4cadf; color: var(--navy); font-size: .58rem; font-weight: 800; }
.status { width: fit-content; padding: 4px 8px; border-radius: 999px; font-size: .6rem; font-weight: 700; }
.yes { color: #247545; }
.pending { color: #8b6419; }
.no { color: #ab3d4d; }
.rsvp-update { margin-top: 12px; padding: 12px 13px; border-left: 3px solid #3caf69; background: #fff; font-size: .7rem; }

.registry-visual { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.registry-photo { min-height: 500px; overflow: hidden; }
.registry-photo img { height: 100%; object-fit: cover; }
.registry-stack { display: grid; gap: 14px; }
.gift-card { overflow: hidden; border: 1px solid #e2e3e7; background: #fff; }
.gift-card img { height: 160px; object-fit: cover; }
.gift-info { padding: 14px; }
.gift-info b { display: block; color: var(--navy-deep); font-size: .82rem; }
.gift-info span { color: var(--pink); font-size: .72rem; font-weight: 700; }

.budget-dashboard { padding: 25px; border: 1px solid #dfe3ec; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.budget-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.budget-head h3 { margin: 0; color: var(--navy-deep); }
.budget-head button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 7px; color: #fff; background: var(--pink); font-size: .7rem; font-weight: 700; }
.budget-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.budget-summary div { padding: 15px; background: #f6f8fb; }
.budget-summary b { display: block; color: var(--navy-deep); font-size: 1rem; }
.budget-summary span { color: #7f8490; font-size: .63rem; }
.budget-chart { height: 190px; margin-top: 18px; padding: 18px 14px 8px; border: 1px solid #eceef2; display: flex; align-items: end; gap: 13px; }
.bar { flex: 1; position: relative; border-radius: 5px 5px 0 0; background: #dce4f1; }
.bar:nth-child(1) { height: 72%; }
.bar:nth-child(2) { height: 48%; }
.bar:nth-child(3) { height: 84%; background: var(--pink); }
.bar:nth-child(4) { height: 58%; }
.bar:nth-child(5) { height: 66%; }
.bar::after { content: attr(data-label); position: absolute; left: 50%; bottom: -23px; transform: translateX(-50%); color: #848995; font-size: .54rem; }
.expense-list { margin-top: 32px; border-top: 1px solid #eceef2; }
.expense { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eff0f3; font-size: .7rem; }
.expense b { color: var(--navy-deep); }
.paid { color: #237645; font-weight: 700; }

/* Photo bridge */
.photo-bridge { padding: 0 0 118px; background: var(--ivory); }
.photo-bridge-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.photo-bridge figure { position: relative; margin: 0; height: 560px; overflow: hidden; }
.photo-bridge img { width: 100%; height: 100%; object-fit: cover; }
.photo-bridge figcaption { position: absolute; left: 22px; bottom: 20px; padding: 10px 13px; color: var(--navy-deep); background: rgba(255,255,255,.92); font-size: .72rem; font-weight: 700; }

/* Steps */
.steps { padding: 120px 0; background: #fff; }
.steps-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.steps-head .section-copy { margin: 0; }
.steps-list { border-top: 1px solid var(--line); }
.step-row { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 40px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.step-row .number { color: var(--pink); font-size: 2.4rem; line-height: 1; }
.step-row h3 { margin: 0; color: var(--navy-deep); font-size: 1.1rem; }
.step-row p { margin: 0; color: var(--muted); }

/* Final CTA */
.final-cta { position: relative; min-height: 580px; overflow: hidden; color: #fff; }
.final-cta img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,51,.9) 0%, rgba(6,20,51,.62) 48%, rgba(6,20,51,.2) 100%); }
.final-cta-inner { position: relative; z-index: 2; min-height: 580px; display: flex; align-items: center; }
.final-copy { max-width: 620px; }
.final-copy h2 { margin: 0; font-size: 4em; line-height: .95; }
.final-copy p { max-width: 560px; margin: 22px 0 30px; color: #e4e9f2; font-size: 1.05rem; }

/* Misc Shared Classes */
.ui-shell { border: 1px solid #dfe2e8; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.ui-topbar { height: 44px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #eceef2; }
.ui-topbar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d9e0; }
.ui-body { padding: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-card { padding: 17px; border: 1px solid #e9eaf0; background: #fff; }
.stat-card b { display: block; color: var(--navy-deep); font-size: 1.3rem; }
.stat-card span { color: #7e8490; font-size: .72rem; }
.table { margin-top: 18px; border: 1px solid #e8e9ed; background: #fff; }
.tr { display: grid; grid-template-columns: 1.5fr .9fr .9fr; gap: 10px; padding: 14px; border-bottom: 1px solid #eff0f3; font-size: .78rem; }
.tr:last-child { border-bottom: 0; }
.tr.head { background: #fafbfc; color: #858b97; text-transform: uppercase; font-size: .63rem; letter-spacing: .08em; }
.progress { height: 10px; border-radius: 99px; background: #e3e7ef; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--pink); }

.form-card { max-width: 520px; padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { font-size: .82rem; font-weight: 700; color: #3c4250; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #d9dce3; border-radius: 8px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.google-btn { width: 100%; min-height: 50px; border: 1px solid #d5d8df; border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #8a8f99; font-size: .75rem; }
.divider:before, .divider:after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-page { height: calc(100vh - 82px); display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 980px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
.auth-visual { height: 100%; position: relative; background: var(--navy-deep); overflow: hidden; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.auth-visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,20,49,.75)); }
.auth-quote { position: absolute; z-index: 2; left: 48px; right: 48px; bottom: 45px; color: #fff; }
.auth-quote h2 { max-width: 520px; margin: 0; font-size: clamp(2.7rem, 4.5vw, 4.8rem); line-height: .98; }
.auth-main { height: 100%; padding: 40px clamp(28px, 7vw, 100px); display: flex; align-items: center; overflow: auto; }
.auth-main .form-card { box-shadow: none; border: 0; padding: 0; width: 100%; max-width: 470px; }
.auth-main h1 { margin: 0; color: var(--navy-deep); font-size: 3.8rem; line-height: 1; }
.auth-main p { color: var(--muted); }

/* Footer */
footer { padding: 68px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 46px; }
.footer-brand img { width: 170px; }
.footer-brand p { max-width: 340px; color: var(--muted); }
.footer-col h4 { margin: 0 0 16px; color: var(--navy-deep); }
.footer-col a { display: block; margin: 10px 0; color: #5e6470; font-size: .88rem; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #7d818c; font-size: .8rem; }

/* Media Queries (Consolidated) */
@media (max-width: 1180px) {
  .brand-header .header-inner { padding-left: 225px; }
  .brand-overlap { width: 205px; }
  .brand-header .header-left { gap: 20px; font-size: .82rem; }
  .builder-layout-expanded { grid-template-columns: 230px minmax(560px, 1fr) 320px; }
  .builder-layout-expanded .builder-stage { padding: 20px; }
  .builder-page-long { max-width: 760px; }
  .builder-preview-section { padding: 52px 34px; }
}
@media (max-width: 1120px) {
  .header-left { gap: 18px; font-size: .82rem; }
  .brand-centered img { width: 152px; }
}
@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .planning-suite-intro { padding: 44px 34px; }
  .suite-card { padding: 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid, .showcase-grid.reverse { gap: 45px; }
  .intro-grid { gap: 65px; }
}
@media (max-width: 980px) {
  .nav, .header-actions { display: none !important; }
  .header-left { display: none !important; }
  .menu-btn { display: block; margin-left: auto; }
  
  .planning-suite-shell { grid-template-columns: 1fr; }
  .planning-suite-intro { min-height: auto; padding: 56px 42px; border-right: 0; border-bottom: 1px solid var(--line); }
  .planning-suite-intro h2, .planning-suite-intro p { max-width: 680px; }
  
  .mobile-menu { padding: 12px 20px 22px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu.open { display: grid; gap: 8px; }
  .mobile-menu a { padding: 10px 0; font-weight: 600; }
  
  .hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { position: static; padding: 74px max(20px, calc((100vw - 720px)/2)) 60px; }
  .hero-media { min-height: 560px; }
  .hero-panel { min-height: auto; padding: 20px; }
  
  .essentials-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .essential:nth-child(2) { border-right: 0; }
  .essential:nth-child(3) { padding-left: 0; }
  
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy { position: static; }
  
  .showcase-grid, .showcase-grid.reverse { grid-template-columns: 1fr; }
  .showcase-grid.reverse .showcase-copy { order: -1; }
  
  .steps-head { grid-template-columns: 1fr; gap: 22px; }
  .step-row { grid-template-columns: 70px 1fr; }
  .step-row p { grid-column: 2; }

  /* Default header */
  .header-inner { min-height: 72px; }
  .brand-centered img { width: 150px; height: 48px; }
  
  /* Brand header overrides */
  .brand-header .header-inner { min-height: 74px; padding-left: 180px; }
  .brand-overlap { left: 0; top: 9px; width: 166px; }
  .brand-header .header-left, .brand-header .header-actions { display: none !important; }
  .brand-header .menu-btn { display: block; margin-left: auto; }
  .brand-header .mobile-menu { padding: 18px 20px 24px; }
  .brand-header .mobile-menu.open { display: grid; gap: 8px; }
  .brand-header .mobile-menu a { padding: 8px 0; color: #fff; font-weight: 650; }

  /* Builder Layout overrides */
  .builder-layout, .builder-layout-expanded { height: auto; grid-template-columns: 1fr; }
  .builder-layout .builder-left, .builder-layout .builder-right,
  .builder-layout-expanded .builder-left, .builder-layout-expanded .builder-right { display: block; border: 0; border-bottom: 1px solid var(--line); min-height: 300px; }
  .builder-layout .builder-stage, .builder-layout-expanded .builder-stage { order: 2; }
  .builder-layout .builder-right, .builder-layout-expanded .builder-right { order: 3; }
  .builder-layout-expanded .section-list { grid-template-columns: 1fr 1fr; }
  .builder-top-actions .app-profile { display: none; }
  .builder-page-long { min-height: 0; }
  .builder-viewbar { max-width: 100%; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}
@media (max-width: 680px) {
  .chart-bars { gap: 5px; }
  .chart-month-labels { font-size: .56rem; }
  .chart-month-labels span:nth-child(even) { display: none; }
  .log-row { grid-template-columns: 70px 1fr; gap: 8px; font-size: .8rem; }
  .funnel-row { grid-template-columns: 1fr; gap: 4px; text-align: left; }
  .funnel-row b { text-align: left; }
  .cohort-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1200px); }
  .planning-suite { padding: 68px 0; }
  .planning-suite-intro { padding: 42px 26px; }
  .planning-suite-cards { grid-template-columns: 1fr; }
  .suite-card, .suite-card:nth-child(odd), .suite-card:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .suite-card:last-child { border-bottom: 0; }
  .suite-card { min-height: 350px; padding: 24px 22px; }
  .suite-media { height: 220px; }
  
  .header-inner { min-height: 68px; }
  .brand img { width: 136px; }
  
  .hero-copy { padding: 58px 18px 48px; }
  .hero h1, .section-title, .final-copy h2, .page-title { font-size: 2.75em !important; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-media { min-height: 480px; }
  .hero-caption { left: 16px; right: 16px; bottom: 16px; align-items: stretch; flex-direction: column; }
  .hero-preview { width: 100%; }
  .hero-caption > div:first-child { display: none; }
  
  .essentials { padding: 28px 0; }
  .essentials-grid { grid-template-columns: 1fr; }
  .essential, .essential:first-child, .essential:nth-child(3) { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .essential:last-child { border-bottom: 0; }
  
  .intro, .showcase, .steps { padding: 82px 0; }
  .feature-row { grid-template-columns: 42px 1fr auto; gap: 12px; min-height: 118px; }
  
  .site-builder { grid-template-columns: 1fr; }
  .builder-panel { display: none; }
  .builder-canvas { min-height: 420px; padding: 24px 18px; }
  .builder-canvas h3 { font-size: 3.15rem; }
  
  .guest-panel { padding: 15px; }
  .guest-stats { grid-template-columns: repeat(2, 1fr); }
  .guest-row { grid-template-columns: 1.25fr .8fr; }
  .guest-row > :nth-child(3) { display: none; }
  
  .registry-visual { grid-template-columns: 1fr; }
  .registry-photo { min-height: 360px; }
  .registry-stack { grid-template-columns: 1fr 1fr; }
  .gift-card img { height: 130px; }
  
  .budget-summary { grid-template-columns: 1fr; }
  
  .photo-bridge-grid { grid-template-columns: 1fr; }
  .photo-bridge figure, .photo-bridge figure:last-child { height: 420px; }
  
  .step-row { grid-template-columns: 52px 1fr; gap: 18px; }
  
  .final-cta, .final-cta-inner { min-height: 540px; }
  .final-cta::after { background: linear-gradient(90deg, rgba(6,20,51,.9), rgba(6,20,51,.48)); }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  
  .builder-topbar { align-items: flex-start; }
  .builder-top-actions { flex-wrap: wrap; justify-content: flex-end; }
  .builder-top-actions .btn { min-height: 38px; padding: 0 11px; font-size: .65rem; }
  .builder-layout-expanded .section-list { grid-template-columns: 1fr; }
  .builder-stage { padding: 12px !important; }
  .builder-wedding-hero { min-height: 430px; padding: 26px 18px; }
  .builder-wedding-hero h2 { font-size: 3.6rem; }
  .builder-preview-section { padding: 46px 20px; }
  .preview-detail-grid { grid-template-columns: 1fr; }
  .preview-rsvp-actions .btn { width: 100%; }
  .image-specs { grid-template-columns: 1fr; }
  .upload-actions { flex-direction: column; }
  .upload-actions .btn { width: 100%; }
  
  .builder-brand-footer { grid-template-columns: 1fr; text-align: center; }
  .builder-brand-footer img { margin: auto; }
  .builder-brand-footer div { text-align: center; }
}
@media (max-width: 520px) {
  .mobile-actions { grid-template-columns: 1fr; }
  .brand-header .header-inner { padding-left: 148px; }
  .brand-overlap { width: 140px; top: 15px; }
  .brand-header .mobile-actions { grid-template-columns: 1fr; }
}

/* App dashboard and Builder styles */
.app-body { background: #f5f6f9; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; transition: grid-template-columns .2s ease; }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: var(--navy-deep); color: #fff; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 8px 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.app-logo { display: block; min-width: 0; overflow: hidden; }
.app-logo img { width: 150px; max-width: 100%; filter: none; }
.sidebar-toggle { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sidebar-toggle:hover { background: rgba(255,255,255,.08); }
.sidebar-toggle svg { transition: transform .2s ease; }
.app-shell.sidebar-collapsed { grid-template-columns: 76px 1fr; }
.app-shell.sidebar-collapsed .app-sidebar { padding: 24px 14px; }
.app-shell.sidebar-collapsed .sidebar-head { flex-direction: column; gap: 14px; padding-bottom: 20px; }
.app-shell.sidebar-collapsed .app-logo { display: none; }
.app-shell.sidebar-collapsed .app-nav small { display: none; }
.app-shell.sidebar-collapsed .app-nav { gap: 4px; }
.app-shell.sidebar-collapsed .app-nav a { display: block; text-align: center; padding: 11px 0; font-size: 0; }
.app-shell.sidebar-collapsed .app-nav a::first-letter { font-size: .82rem; }
.app-shell.sidebar-collapsed .sidebar-toggle svg { transform: rotate(180deg); }
.app-nav { display: grid; gap: 6px; margin-top: 24px; }
.app-nav a { padding: 11px 12px; border-radius: 7px; color: #d4dced; font-size: .9rem; }
.app-nav a:hover, .app-nav a.active { color: #fff; background: rgba(255,255,255,.12); }
.app-nav small { display: block; margin: 24px 12px 8px; color: #92a0bd; text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; }
.app-main { min-width: 0; }
.app-topbar { height: 72px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fff; }
.app-topbar strong { color: var(--navy-deep); }
.app-profile { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: #f4cadf; font-weight: 800; }
.app-content { padding: 30px; }
.app-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.app-page-head h1 { margin: 0; color: var(--navy-deep); font-size: 1.8rem; }
.app-page-head p { margin: 5px 0 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.panel { padding: 22px; border: 1px solid #e1e3e8; background: #fff; }
.panel h3 { margin: 0 0 15px; color: var(--navy-deep); }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: 1 / -1; }
.metric { font-size: 1.7rem; font-weight: 700; color: var(--navy-deep); }
.metric-label { color: var(--muted); font-size: .76rem; }
.chart-bars { height: 220px; display: flex; align-items: end; gap: 12px; padding-top: 20px; }
.chart-bars i { flex: 1; background: #dce4f1; border-radius: 5px 5px 0 0; }
.chart-bars i:nth-child(3), .chart-bars i:nth-child(6) { background: var(--pink); }
.activity { display: grid; }
.activity-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eceef2; }
.activity-row:last-child { border-bottom: 0; }
.activity-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); font-weight: 800; }
.activity-row small { color: var(--muted); }

.builder-layout { height: calc(100vh - 72px); display: grid; grid-template-columns: 220px 1fr 285px; background: #eceff4; }
.builder-left, .builder-right { padding: 20px; background: #fff; overflow: auto; }
.builder-left { border-right: 1px solid var(--line); }
.builder-right { border-left: 1px solid var(--line); }
.builder-stage { padding: 28px; overflow: auto; }
.builder-page { max-width: 820px; min-height: 760px; margin: auto; background: #fff; box-shadow: var(--shadow); }
.builder-wedding-hero { min-height: 520px; padding: 40px; color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(rgba(10,28,65,.26), rgba(10,28,65,.45)), url('assets/hero-couple-wide.jpg') center/cover; }
.builder-wedding-hero h2 { margin: 10px 0; font-size: 4.8rem; line-height: 1; }
.builder-control { padding: 11px 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfc; font-size: .8rem; }
.color-dots { display: flex; gap: 8px; margin-top: 12px; }
.color-dots i { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #ccc; }
.color-dots i:nth-child(1) { background: var(--navy); }
.color-dots i:nth-child(2) { background: var(--pink); }
.color-dots i:nth-child(3) { background: #bc9b80; }

.screen-map { padding: 90px 0; background: var(--ivory); }
.screen-group { margin-top: 40px; }
.screen-group h2 { margin: 0 0 16px; color: var(--navy-deep); }
.screen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.screen-card { padding: 20px; border: 1px solid var(--line); background: #fff; }
.screen-card small { display: block; color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.screen-card b { display: block; margin-top: 8px; color: var(--navy-deep); }
.screen-card span { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--navy-deep); }
details p { max-width: 760px; color: var(--muted); }

/* Expanded Website Builder */
.builder-topbar > div:first-child { display: flex; align-items: center; gap: 12px; }
.save-state { padding: 5px 9px; border-radius: 999px; color: #267646; background: #e7f4eb; font-size: .67rem; font-weight: 700; }
.builder-top-actions { display: flex; align-items: center; gap: 10px; }
.builder-panel-title, .property-heading, .settings-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.builder-panel-title small, .property-heading small { display: block; margin-top: 2px; color: var(--muted); font-size: .66rem; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 800; cursor: pointer; }
.builder-help { margin: 14px 0 16px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.section-list { display: grid; gap: 7px; }
.section-item { width: 100%; padding: 11px 10px; border: 1px solid var(--line); border-radius: 9px; display: grid; grid-template-columns: 18px 1fr auto; gap: 9px; align-items: center; text-align: left; background: #fff; color: var(--ink); cursor: pointer; }
.section-item.active { border-color: rgba(237,22,128,.45); background: var(--pink-soft); }
.drag-handle { color: #a2a6af; font-size: .75rem; letter-spacing: -2px; }
.section-name b { display: block; color: var(--navy-deep); font-size: .78rem; }
.section-name small { display: block; margin-top: 2px; color: var(--muted); font-size: .6rem; }
.image-status { padding: 4px 7px; border-radius: 999px; color: #8b6419; background: #fff1d6; font-size: .56rem; font-weight: 800; }
.image-status.ready { color: #267646; background: #e7f4eb; }
.builder-viewbar { max-width: 980px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #626875; font-size: .72rem; font-weight: 700; }
.view-switch { display: flex; border: 1px solid #d7d9df; border-radius: 8px; overflow: hidden; background: #fff; }
.view-switch button { min-height: 34px; padding: 0 12px; border: 0; border-right: 1px solid #e4e5e8; background: #fff; color: #686d79; font-size: .65rem; cursor: pointer; }
.view-switch button:last-child { border-right: 0; }
.view-switch button.active { color: #fff; background: var(--navy); }
.builder-preview-section { padding: 64px 58px; text-align: center; background: #fff; }
.builder-preview-section.preview-tint { background: #edf2fb; }
.preview-kicker { margin: 0 0 10px; color: var(--pink); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.builder-preview-section h3 { max-width: 600px; margin: 0 auto 14px; color: var(--navy-deep); font-size: clamp(2.5rem, 4vw, 3.7rem); line-height: 1; }
.builder-preview-section > p:last-child { max-width: 650px; margin: 0 auto; color: var(--muted); }
.preview-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.preview-detail-grid article { padding: 22px; border: 1px solid var(--line); background: #fff; }
.preview-detail-grid b, .preview-detail-grid span { display: block; }
.preview-detail-grid span { margin-top: 5px; color: var(--muted); font-size: .76rem; }
.preview-faq { max-width: 690px; margin: 28px auto 0; border-top: 1px solid var(--line); text-align: left; }
.preview-faq details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.preview-faq summary { cursor: pointer; color: var(--navy-deep); font-size: .82rem; font-weight: 800; }
.preview-faq p { margin: 8px 0 0; color: var(--muted); font-size: .76rem; }
.preview-rsvp { background: #fce7f2; }
.preview-rsvp-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.property-heading { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.property-heading b { display: block; color: var(--navy-deep); }
.settings-card { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.settings-card > b, .settings-card-head b { color: var(--navy-deep); font-size: .8rem; }
.settings-card-head span { color: var(--muted); font-size: .62rem; }
.image-dropzone { margin-top: 12px; padding: 20px 12px; border: 1px dashed #bbc0cb; border-radius: 10px; text-align: center; background: #fafbfc; }
.upload-icon { width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: var(--blue-wash); font-weight: 800; }
.image-dropzone b, .image-dropzone small { display: block; }
.image-dropzone b { color: var(--navy-deep); font-size: .75rem; }
.image-dropzone small { margin-top: 3px; color: var(--muted); font-size: .62rem; }
.upload-actions { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.upload-actions .btn { min-height: 36px; padding: 0 10px; font-size: .62rem; }
.image-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.image-specs div { padding: 9px; border-radius: 7px; background: #f5f7fa; }
.image-specs span, .image-specs b { display: block; }
.image-specs span { color: var(--muted); font-size: .56rem; }
.image-specs b { margin-top: 2px; color: var(--navy-deep); font-size: .64rem; }
.format-note { margin: 10px 0 0; color: var(--muted); font-size: .62rem; line-height: 1.55; }
.settings-label { display: block; margin: 13px 0 6px; color: #656b77; font-size: .65rem; font-weight: 700; }
.settings-input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: .7rem; }
.check-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 11px; color: #4f5561; font-size: .68rem; line-height: 1.45; }
.check-row input { margin-top: 2px; }
.image-guide-table { margin-top: 11px; border-top: 1px solid var(--line); }
.image-guide-table div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef0f2; font-size: .62rem; }
.image-guide-table span { color: var(--muted); }
.image-guide-table b { color: var(--navy-deep); }
.faq-editor-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef0f2; }
.faq-editor-item b { color: #4a505c; font-size: .65rem; }
.faq-editor-item button { border: 0; background: transparent; color: var(--pink); font-size: .62rem; font-weight: 800; cursor: pointer; }
.builder-brand-footer { padding: 24px 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center; background: #fff; color: var(--muted); font-size: .64rem; }
.builder-brand-footer img { width: 130px; }
.builder-brand-footer div { text-align: center; }
.builder-brand-footer b { display: block; margin-top: 3px; color: var(--pink); font-size: .69rem; }

/* Modals */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14,36,88,.55); }
.modal-overlay.open { display: flex; }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
@media(max-width:480px){.modal-overlay{padding:14px;}.modal{padding:20px;}}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.modal-head h3 { margin: 0; color: var(--navy-deep); }
.modal-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* Notifications */
.notif { position: relative; }
.notif-bell { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.05rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.notif-dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; }
.notif-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 150; width: 340px; max-width: calc(100vw - 32px); max-height: 420px; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: none; }
.notif-panel.open { display: block; }
.notif-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); }
.notif-panel-head b { color: var(--navy-deep); }
.notif-panel-head button { border: 0; background: none; padding: 0; color: var(--pink); font-size: .76rem; font-weight: 700; cursor: pointer; }
.notif-item { display: flex; gap: 10px; padding: 12px 8px; border-bottom: 1px solid #f1f2f5; }
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { background: var(--pink-soft); }
.notif-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-wash); color: var(--navy); font-weight: 800; font-size: .76rem; }
.notif-item b { display: block; color: var(--navy-deep); font-size: .86rem; font-weight: 700; }
.notif-item small { color: var(--muted); font-size: .74rem; }
.notif-panel-foot { padding: 10px 8px 2px; text-align: center; }
.notif-panel-foot a { color: var(--navy); font-weight: 700; font-size: .8rem; }
.notif-list { display: grid; }
.notif-list .notif-item { padding: 16px 4px; }

/* Admin Analytics */
.mini-bars { height: 120px; display: flex; align-items: end; gap: 6px; padding-top: 14px; }
.mini-bars i { flex: 1; background: #dce4f1; border-radius: 4px 4px 0 0; }
.mini-bars span { display: block; margin-top: 6px; text-align: center; color: var(--muted); font-size: .6rem; }
.mini-bars-col { display: flex; flex-direction: column; }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eceef2; }
.stat-row:last-child { border-bottom: 0; }
.stat-row b { color: var(--navy-deep); }
.location-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #eceef2; font-size: .88rem; }
.location-row:last-child { border-bottom: 0; }
.location-row span:last-child { color: var(--muted); }
.queue-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eceef2; }
.queue-row:last-child { border-bottom: 0; }
.queue-row b { display: block; color: var(--navy-deep); }
.queue-row small { color: var(--muted); }
.log-row { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid #eceef2; font-size: .85rem; }
.log-row:last-child { border-bottom: 0; }
.log-row span:first-child { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.chart-month-labels { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; }
.funnel-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.funnel-row span:first-child { color: var(--navy-deep); font-weight: 700; font-size: .85rem; }
.funnel-row b { color: var(--muted); font-size: .82rem; text-align: right; }
.cohort-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.cohort-table th { text-align: left; padding: 10px 8px; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.cohort-table td { padding: 10px 8px; border-bottom: 1px solid #eceef2; color: var(--navy-deep); }

/* Manage-couple modal */
.manage-modal .modal { max-width: 560px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.detail-grid div { padding: 12px; border: 1px solid var(--line); background: var(--ivory); }
.detail-grid span { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.detail-grid b { display: block; margin-top: 4px; color: var(--navy-deep); }
.flag-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 18px; border: 1px solid #f3d4a8; background: #fff8ec; color: #8b6419; font-size: .85rem; border-radius: 8px; }
.flag-note svg { flex: 0 0 18px; margin-top: 1px; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media(max-width:480px) { .detail-grid { grid-template-columns: 1fr; } }

/* Onboarding */
.onboarding-overlay { position: fixed; inset: 0; z-index: 300; display: none; background: var(--ivory); overflow: auto; }
.onboarding-overlay.open { display: block; }
.onboarding-wrap { max-width: 640px; margin: 0 auto; padding: 70px 24px 60px; }
.onboarding-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.onboarding-steps span { flex: 1; height: 4px; border-radius: 3px; background: var(--line); }
.onboarding-steps span.active, .onboarding-steps span.done { background: var(--pink); }
.onboarding-step { display: none; }
.onboarding-step.active { display: block; }
.onboarding-actions { display: flex; justify-content: space-between; margin-top: 36px; }
.style-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.style-option { padding: 20px 16px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; text-align: center; }
.style-option b { display: block; color: var(--navy-deep); }
.style-option span { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }
.style-option.selected { border-color: var(--pink); background: var(--pink-soft); }
.style-meta { margin-top: 12px; text-align: left; }
.style-meta small { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 8px; }
.style-colors { display: flex; gap: 7px; }
.style-colors span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(0,0,0,.08); display: inline-block; }
@media(max-width:640px){.style-options{grid-template-columns:1fr;}.onboarding-wrap{padding:50px 18px 40px;}}

/* Email Verification / OTP Page */
.otp-group { display: flex; gap: 10px; justify-content: flex-start; margin-top: 28px; }
.otp-input { width: 52px; height: 62px; border: 2px solid var(--line); border-radius: 10px; font-size: 1.6rem; font-weight: 700; text-align: center; color: var(--navy-deep); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.otp-input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(237,22,128,.12); }
.otp-error { margin-top: 12px; color: #d1364a; font-size: .85rem; }
@media (max-width: 400px) { .otp-input { width: 42px; height: 52px; font-size: 1.3rem; } .otp-group { gap: 7px; } }

/* Notifications Page */
.notif-group { margin-bottom: 8px; }
.notif-group-label { margin: 0 0 4px; padding: 0 4px; color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Admin Users Page */
.admin-table .tr { grid-template-columns: 1.3fr 1.6fr 1fr .9fr .9fr .7fr; }
@media (max-width: 640px) {
  .admin-table .tr { grid-template-columns: 1.3fr .9fr .7fr; }
  .admin-table .tr > *:nth-child(2), .admin-table .tr > *:nth-child(3), .admin-table .tr > *:nth-child(5) { display: none; }
}

/* ── Mobile sidebar overlay ── */
.sidebar-mob-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(14,36,88,.45);
  backdrop-filter: blur(2px);
}
.sidebar-backdrop.open { display: block; }

@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    width: 260px;
    transform: translateX(-100%);
    transition: transform .22s ease;
    height: 100dvh;
    overflow-y: auto;
  }
  .app-sidebar.sidebar-open { transform: translateX(0); }
  .app-shell.sidebar-collapsed { grid-template-columns: 1fr; }
  .sidebar-mob-toggle { display: inline-flex; }
  .sidebar-toggle { display: none; }
  .builder-layout { grid-template-columns: 1fr; }
  .builder-right { display: none; }
  .builder-left { border-right: none; border-bottom: 1px solid var(--line); }
  .dashboard-grid .span-3, .dashboard-grid .span-4 { grid-column: span 6; }
  .dashboard-grid .span-5, .dashboard-grid .span-6, .dashboard-grid .span-7, .dashboard-grid .span-8 { grid-column: 1 / -1; }
  .app-content { padding: 20px 16px; }
}

@media (max-width: 600px) {
  .dashboard-grid .span-4 { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .dashboard-grid .span-3 { grid-column: span 12; }
  .app-topbar { padding: 0 16px; gap: 10px; }
  .app-page-head { flex-direction: column; gap: 12px; }
}

/* ── Forgot password: success state ── */
.reset-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 1.7rem;
  margin-bottom: 20px;
}
