:root {
  --ink: #182c44;
  --ink-soft: #5d6d7e;
  --green: #182c44;
  --green-deep: #102237;
  --mint: #dcecf6;
  --mint-light: #f1f7fb;
  --coral: #3a85b3;
  --coral-light: #eaf5fc;
  --sun: #79bce7;
  --paper: #ffffff;
  --canvas: #f7f9fc;
  --line: #d8e2eb;
  --shadow: 0 24px 70px rgba(24, 44, 68, 0.15);
  --page-pad: clamp(20px, 5vw, 78px);
  --content-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--green);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 12px var(--page-pad);
  border-bottom: 1px solid rgba(216, 226, 235, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.brand-logo {
  width: 154px;
  height: auto;
  border-radius: 6px;
}

.product-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.product-nav button {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.product-nav button[aria-selected="true"] {
  color: var(--paper);
  background: var(--green);
}

.header-contact {
  justify-self: end;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.header-contact span,
.primary-button span,
.facebook-link span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms ease;
}

.header-contact:hover span,
.primary-button:hover span,
.facebook-link:hover span {
  transform: translate(2px, -2px);
}

.product-page {
  animation: page-enter 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.product-page[hidden] {
  display: none;
}

@keyframes page-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-hero {
  position: relative;
  isolation: isolate;
  min-height: min(690px, calc(100svh - 126px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.invitations-hero {
  background-image: url("../images/showcase/wedding-showcase-ai.webp");
  background-position: center 38%;
}

.vault-marketing-hero {
  background-image: url("../images/showcase/debut-showcase-ai.webp");
  background-position: center;
}

.seats-marketing-hero {
  background-image: url("../images/showcase/wedding-showcase-ai.webp");
  background-position: center;
}

.hero-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(247, 249, 252, 0.82);
}

.hero-wash::after {
  content: "";
  position: absolute;
  inset: 0 42% 0 0;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 34px 0 70px rgba(255, 255, 255, 0.75);
}

.hero-content {
  width: min(650px, 54%);
  margin-left: max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  padding: 70px 0 76px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 500;
  line-height: 1.04;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
}

p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 30px;
  color: #40566c;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
}

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

.primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--paper);
  background: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 44, 68, 0.2);
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.text-button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.hero-proof {
  max-width: 650px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 45px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 44, 68, 0.22);
}

.hero-proof div {
  padding-right: 20px;
}

.hero-proof div + div {
  padding-left: 20px;
  border-left: 1px solid rgba(24, 44, 68, 0.18);
}

.hero-proof dt {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 800;
}

.hero-proof dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.feature-band,
.product-detail,
.reviews {
  padding: 96px var(--page-pad);
}

.feature-band,
.product-detail {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-heading,
.detail-intro {
  max-width: 720px;
}

.section-heading > p:last-child,
.detail-intro > p:last-child {
  max-width: 620px;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-grid article {
  min-height: 260px;
  padding: 32px;
  background: var(--paper);
}

.feature-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  color: var(--green);
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.feature-grid article:nth-child(2) .feature-number {
  color: #2f688a;
  background: var(--coral-light);
}

.feature-grid article:nth-child(3) .feature-number {
  color: #486a83;
  background: #e5f2fa;
}

.feature-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding: 88px max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  background: var(--mint-light);
}

.showcase-copy {
  align-self: center;
}

.showcase-copy > p:last-of-type {
  max-width: 430px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.icon-button:hover {
  color: var(--paper);
  background: var(--green);
}

.carousel-count {
  min-width: 62px;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}

.snapshot-carousel {
  min-width: 0;
  overflow: hidden;
  outline: none;
}

.snapshot-track {
  display: flex;
  transition: transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.snapshot-slide {
  min-width: 100%;
  margin: 0;
}

.snapshot-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(24, 44, 68, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.snapshot-slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px 0;
  font-size: 13px;
}

.snapshot-slide figcaption span {
  color: var(--ink-soft);
}

.carousel-dots {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 26px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #aec6d6;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button[aria-current="true"] {
  width: 45px;
  background: var(--green);
}

.vault-product-preview,
.seat-product-preview {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  width: min(42vw, 560px);
  transform: translateY(-50%);
  border: 1px solid rgba(24, 44, 68, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.vault-product-preview {
  padding: 20px;
}

.vault-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 16px;
  font-size: 14px;
  font-weight: 800;
}

.live-pill {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--mint);
  font-size: 10px;
  text-transform: uppercase;
}

.vault-preview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, 138px);
  gap: 8px;
}

.vault-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.vault-preview-grid img:first-child {
  grid-row: 1 / 3;
}

.preview-action {
  width: max-content;
  display: block;
  margin: 16px auto 0;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--paper);
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-grid li {
  min-height: 250px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.steps-grid li > span,
.flow-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.steps-grid p {
  margin-bottom: 0;
  font-size: 13px;
}

.benefit-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  background: var(--green);
}

.benefit-band div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 32px;
  color: var(--paper);
  background: var(--green);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.benefit-band div:first-child {
  border-left: 0;
}

.benefit-band strong,
.benefit-band span {
  display: block;
}

.benefit-band strong {
  margin-bottom: 7px;
  font-size: 16px;
}

.benefit-band span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.seat-product-preview {
  padding: 22px 150px 22px 22px;
}

.seat-demo-search {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #7c8c9b;
  background: #fafcfb;
  font-size: 12px;
}

.seat-demo-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.guest-initials {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.guest-initials.coral {
  color: #245f83;
  background: var(--coral-light);
}

.seat-demo-result strong,
.seat-demo-result small {
  display: block;
}

.seat-demo-result strong {
  font-size: 13px;
}

.seat-demo-result small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
}

.seat-demo-qr {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 116px;
  height: 116px;
  transform: translateY(-50%);
  border: 8px solid var(--paper);
  border-radius: 5px;
  box-shadow: 0 6px 20px rgba(24, 44, 68, 0.14);
}

.seat-detail {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr);
}

.seat-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr auto) 1fr;
  align-items: center;
}

.seat-flow article {
  min-width: 0;
}

.seat-flow p {
  margin-bottom: 0;
  font-size: 13px;
}

.flow-icon {
  margin-bottom: 26px;
}

.flow-arrow {
  padding: 0 14px;
  color: var(--coral);
  font-size: 24px;
}

.coral-band,
.coral-band div {
  background: var(--coral);
}

.reviews {
  background: var(--paper);
}

.reviews-heading {
  max-width: var(--content-width);
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px 90px;
  align-items: end;
}

.reviews-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.reviews-heading h2,
.reviews-heading > p:last-child {
  margin-bottom: 0;
}

.reviews-heading > p:last-child {
  justify-self: end;
  padding-bottom: 7px;
  text-align: right;
}

.reviews-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reviews-grid figure {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.reviews-grid figure:nth-child(2) {
  background: var(--mint-light);
}

.reviews-grid figure:nth-child(3) {
  background: var(--coral-light);
}

.reviews-grid blockquote {
  margin: 0 0 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.reviews-grid figcaption strong,
.reviews-grid figcaption span {
  display: block;
}

.reviews-grid figcaption strong {
  font-size: 13px;
}

.reviews-grid figcaption span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.facebook-link {
  width: max-content;
  display: block;
  margin: 30px auto 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-band {
  padding: 90px var(--page-pad);
  text-align: center;
  background: var(--mint);
}

.contact-band h2 {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
}

.contact-band .primary-button {
  margin-top: 14px;
}

.site-footer {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--page-pad);
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 12px;
}

.footer-logo {
  width: 138px;
  height: auto;
  border-radius: 5px;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .product-nav {
    justify-self: center;
  }

  .product-hero {
    min-height: 650px;
  }

  .hero-content {
    width: 58%;
  }

  .vault-product-preview,
  .seat-product-preview {
    width: 37vw;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    max-width: 820px;
  }

  .seat-flow {
    max-width: 820px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
    grid-template-columns: auto 1fr;
    padding-top: 10px;
    padding-bottom: 10px;
    backdrop-filter: none;
  }

  .brand-logo {
    width: 132px;
  }

  .header-contact {
    font-size: 0;
  }

  .header-contact::before {
    content: "Email";
    font-size: 13px;
  }

  .header-contact span {
    font-size: 13px;
  }

  .product-nav {
    position: fixed;
    z-index: 55;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: stretch;
    box-shadow: 0 10px 34px rgba(24, 44, 68, 0.22);
  }

  .product-nav button {
    min-width: 0;
    flex: 1 1 0;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 11px;
  }

  .product-hero {
    min-height: auto;
    align-items: flex-start;
    padding-bottom: 340px;
  }

  .invitations-hero {
    min-height: 710px;
    padding-bottom: 0;
    background-position: 61% center;
  }

  .hero-wash {
    background: rgba(247, 249, 252, 0.76);
  }

  .hero-wash::after {
    inset: 0 0 42% 0;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 34px 70px rgba(255, 255, 255, 0.72);
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 64px var(--page-pad) 44px;
  }

  h1 {
    font-size: clamp(45px, 12vw, 68px);
  }

  .hero-proof {
    gap: 12px;
  }

  .hero-proof div,
  .hero-proof div + div {
    padding: 0;
    border-left: 0;
  }

  .feature-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 210px;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-copy {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 28px;
  }

  .showcase-copy > * {
    grid-column: 1;
  }

  .showcase-copy .carousel-controls {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: end;
  }

  .vault-product-preview,
  .seat-product-preview {
    top: auto;
    right: var(--page-pad);
    bottom: 42px;
    left: var(--page-pad);
    width: auto;
    transform: none;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .steps-grid li {
    scroll-snap-align: start;
  }

  .benefit-band {
    grid-template-columns: 1fr;
  }

  .benefit-band div,
  .benefit-band div:first-child {
    min-height: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .reviews-heading {
    grid-template-columns: 1fr;
  }

  .reviews-heading .eyebrow {
    grid-column: 1;
  }

  .reviews-heading > p:last-child {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-contact span {
    display: none;
  }

  .brand-logo {
    width: 122px;
  }

  .product-hero {
    padding-bottom: 315px;
  }

  .invitations-hero {
    min-height: 700px;
    padding-bottom: 0;
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: baseline;
  }

  .feature-band,
  .product-detail,
  .reviews,
  .showcase {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .showcase-copy {
    display: block;
  }

  .showcase-copy .carousel-controls {
    display: flex;
  }

  .snapshot-slide figcaption {
    flex-direction: column;
    gap: 3px;
  }

  .snapshot-slide img {
    aspect-ratio: 4 / 3;
  }

  .vault-product-preview,
  .seat-product-preview {
    right: 18px;
    bottom: 34px;
    left: 18px;
  }

  .vault-preview-grid {
    grid-template-rows: repeat(2, 95px);
  }

  .seat-product-preview {
    padding: 15px 112px 15px 15px;
  }

  .seat-demo-qr {
    right: 12px;
    width: 90px;
    height: 90px;
  }

  .seat-demo-result {
    padding: 10px 0;
  }

  .seat-demo-result:nth-of-type(3) {
    display: none;
  }

  .seat-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .seat-flow article {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .flow-icon {
    margin-bottom: 22px;
  }

  .flow-arrow {
    justify-self: center;
    padding: 5px 0;
    transform: rotate(90deg);
  }

  .reviews-grid figure {
    min-height: 230px;
  }

  .contact-band {
    padding-bottom: 120px;
  }

  .contact-band .primary-button {
    width: 100%;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
