/* JoinOurDay legacy-theme adapter.
   Current page architecture stays intact; this stylesheet maps it back to the
   pre-redesign Inter/Plus Jakarta, pink-theme landing-page look. */

:root {
  --theme-color: #f9a7bc;
  --theme-color-secondary: #fb6f92;
  --theme-color-strong: #e94f78;
  --theme-color-deep: #d16a89;
  --header-color: #3b2a2e;
  --ink: #31282c;
  --gray: #64575c;
  --light-gray: #90a0b2;
  --smoke: #eee2e5;
  --snow: #fffdfd;
  --magnolia: #fff9fa;
  --lavender: #fff5f7;
  --blush: #fff0f4;
  --white: #fff;
  --gold: #d9b359;
  --gold-light: #fff2b4;
  --gold-deep: #c49123;
  --yellow: #f2d98c;
  --tra-black: rgba(5, 5, 5, 0.05);
  --tra-gray: rgba(99, 86, 94, 0.14);
  --shadow: 0 4px 12px rgba(116, 55, 70, 0.11);
  --shadow-lg: 0 18px 50px rgba(251, 111, 146, 0.18);
  --container: 1140px;
  --radius: 24px;
  --ease: 320ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.6666;
  font-weight: 400;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

a:hover {
  color: var(--theme-color-secondary);
}

main {
  overflow: hidden;
}

@media only screen and (max-width: 991px) {
  html {
    height: auto;
    overflow-y: auto;
  }

  body {
    height: auto;
    overflow-y: visible;
  }

  body.nav-open {
    overflow: hidden;
  }
}

::selection {
  background: rgba(249, 167, 188, 0.42);
  color: var(--header-color);
}

:focus-visible {
  outline: 3px solid rgba(251, 111, 146, 0.68);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--header-color);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 1.8rem + 3vw, 4.15rem);
}

h2 {
  font-size: clamp(2rem, 1.55rem + 2vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
}

.lede,
.p-lg {
  color: var(--gray);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.25rem);
  line-height: 1.65;
}

.em,
.amp {
  color: var(--theme-color);
  font-family: inherit;
  font-style: inherit;
}

.eyebrow,
.small,
.article-meta {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--theme-color-secondary);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 max(18px, calc((100vw - var(--container)) / 2));
  background: var(--white);
  box-shadow: 0 2px 3px rgba(96, 96, 96, 0.1);
  transition: box-shadow var(--ease), min-height var(--ease);
}

.site-header[data-scrolled] {
  min-height: 70px;
  box-shadow: 0 3px 10px rgba(96, 96, 96, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand img {
  width: 156px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.brand span {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: 22px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:not(.nav-cta):hover {
    color: var(--theme-color-secondary);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--header-color);
}

.nav-toggle span {
  font-size: 0;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto 5px;
  background: var(--header-color);
  border-radius: 10px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle::after {
  margin-bottom: 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span::before {
  opacity: 0;
}

.nav-open .nav-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons and badges */
.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.78rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease),
    color var(--ease), border-color var(--ease);
}

/* Primary: filled rose, white text — the one action that moves a user forward. */
.button-primary,
.nav-cta {
  background: linear-gradient(135deg, var(--theme-color-secondary), var(--theme-color));
  border-color: transparent;
  color: var(--white) !important;
  box-shadow: 0 8px 18px rgba(251, 111, 146, 0.18), 0 2px 8px rgba(217, 179, 89, 0.1);
}

/* Secondary: soft blush fill, rose text, no hard outline. */
.button-secondary {
  background: rgba(255, 245, 247, 0.78);
  border-color: transparent;
  color: var(--theme-color-strong);
}

/* Ghost / text action: no chrome, reads as a link. */
.button-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--theme-color-secondary);
}

/* Directional arrow for primary CTAs — revealed on hover, always shown on touch. */
.button-primary::after {
  content: "\2192";
  font-weight: 700;
}

/* Hover affordances only on real pointers, so touch never gets a stuck state. */
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .nav-cta:hover {
    background: linear-gradient(135deg, var(--theme-color-strong), var(--theme-color-secondary));
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(233, 79, 120, 0.22), 0 3px 10px rgba(217, 179, 89, 0.12);
    transform: translateY(-2px);
  }

  .button-secondary:hover {
    background: rgba(255, 240, 244, 0.92);
    border-color: transparent;
    color: var(--theme-color-strong);
    transform: translateY(-2px);
  }

  .button-ghost:hover {
    color: var(--theme-color-strong);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .button-primary::after {
    max-width: 0;
    margin-left: -8px;
    opacity: 0;
    transform: translateX(-4px);
    transition: max-width var(--ease), margin-left var(--ease), opacity var(--ease),
      transform var(--ease);
  }

  .button-primary:hover::after {
    max-width: 1.4em;
    margin-left: 0;
    opacity: 1;
    transform: translateX(0);
  }
}

/* Press feedback on every pointer type (the only tactile cue touch gets). */
.button:active,
.nav-cta:active {
  transform: translateY(1px) scale(0.99);
}

.button-small {
  min-height: 40px;
  padding: 0.62rem 1.18rem;
  font-size: 0.88rem;
}

.button-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-color: transparent;
  background: rgba(255, 245, 247, 0.78);
  color: var(--theme-color-strong);
  box-shadow: none;
}

.button-icon span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  font-family: Georgia, serif;
  font-style: italic;
}

.button-disabled,
.button[aria-disabled="true"],
.button:disabled {
  border-color: transparent;
  background: #f6f2f3;
  color: rgba(100, 87, 92, 0.58) !important;
  box-shadow: none;
  cursor: not-allowed;
}

.button.is-loading {
  pointer-events: none;
}

.button.is-loading::before {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-spin 700ms linear infinite;
}

.button.is-loading::after {
  content: none;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.align-center .cta-row,
.page-hero .cta-row {
  justify-content: center;
}

.store-badge {
  width: auto;
  max-height: 54px;
}

/* Hero sections */
.hero-home {
  position: relative;
  display: flex;
  align-items: center;
  padding: 64px 20px 0;
  margin-bottom: 72px;
  color: var(--header-color);
  background: var(--white);
  border-bottom: 1px solid rgba(251, 111, 146, 0.12);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  width: min(100%, var(--container));
  margin: 0 auto;
}

.hero-copy {
  padding-bottom: 74px;
}

.hero-home .eyebrow,
.page-hero .eyebrow,
.interlude .eyebrow {
  color: var(--theme-color-strong);
}

.hero-home h1,
.hero-home h2,
.page-hero h1,
.page-hero h2,
.interlude h2,
.interlude .statement {
  color: var(--header-color);
}

.hero-home h1 {
  max-width: 12ch;
  font-size: clamp(2.65rem, 2rem + 3.4vw, 4.85rem);
  line-height: 1.18;
}

.hero-home p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--gray);
  font-size: 1.15rem;
}

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

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(251, 111, 146, 0.2);
  border-radius: 100px;
  background: var(--white);
  color: var(--header-color);
  box-shadow: 0 6px 16px rgba(251, 111, 146, 0.08);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-figure {
  align-self: end;
}

.hero-phone {
  width: min(100%, 430px);
  max-height: 620px;
  margin: 0 auto -72px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 22px 60px rgba(116, 55, 70, 0.14), 0 0 0 1px rgba(251, 111, 146, 0.12);
}

.dashboard-hero {
  min-height: min(700px, calc(100vh - 78px));
  padding-bottom: clamp(72px, 8vw, 108px);
}

.dashboard-hero .hero-copy {
  padding-bottom: 0;
}

.dashboard-hero .hero-figure {
  align-self: center;
}

.dashboard-hero .hero-phone {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  padding: 124px 20px 92px;
  color: var(--header-color);
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid rgba(251, 111, 146, 0.12);
}

.page-hero-inner {
  width: min(100%, 880px);
  margin: 0 auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--gray);
  font-size: 1.15rem;
}

/* Sections */
.section,
.split-section,
.timeline,
.functional-section,
.legal-section,
.article,
.band-inner,
.final-cta,
.quote-band .band-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section,
.split-section,
.functional-section,
.legal-section,
.article {
  padding: 100px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
}

.split-section.reverse {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
}

.split-section.reverse .split-copy {
  order: 2;
}

.split-copy h2,
.section-intro h2,
.timeline-head h2 {
  margin-bottom: 18px;
}

.split-copy .lede {
  max-width: 58ch;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(251, 111, 146, 0.12);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-frame.phone {
  max-width: 430px;
  justify-self: center;
  background: var(--snow);
}

.media-frame.phone img {
  min-height: auto;
  object-fit: contain;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.step {
  position: relative;
  padding: 26px 28px 26px 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(251, 111, 146, 0.1);
  box-shadow: 0 4px 12px var(--tra-black);
}

.step::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(217, 179, 89, 0.16);
}

.step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--header-color);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.08rem;
}

.band {
  padding: 100px 0;
  background: var(--white);
}

.band-inner {
  padding: 0;
}

.section-intro,
.timeline-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-intro p:last-child,
.timeline-head p:last-child {
  color: var(--gray);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 28px;
}

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

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

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

.card,
.download-card,
.guest-section,
.notice,
.message,
.alert {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(251, 111, 146, 0.1);
  box-shadow: 0 4px 12px var(--tra-black);
}

.card::before,
.download-card::before,
.guest-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-color), var(--theme-color-secondary), var(--gold-light));
  opacity: 0.72;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 30px 30px;
}

.band .card,
.download-card,
.guest-section,
.notice {
  background: var(--white);
}

.section > .grid .card {
  background: var(--white);
}

.card h3,
.download-card h2 {
  margin-bottom: 12px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.card p,
.download-card p {
  color: var(--gray);
}

.card a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--theme-color-secondary);
  font-weight: 700;
}

.card a:not(.button)::after {
  content: "\2192";
}

@media (hover: hover) and (pointer: fine) {
  .card a:not(.button)::after {
    max-width: 0;
    margin-left: -4px;
    opacity: 0;
    transform: translateX(-4px);
    transition: max-width var(--ease), margin-left var(--ease), opacity var(--ease),
      transform var(--ease);
  }

  .card a:not(.button):hover {
    color: var(--theme-color-strong);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .card a:not(.button):hover::after {
    max-width: 1.4em;
    margin-left: 0;
    opacity: 1;
    transform: translateX(0);
  }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 9px 14px;
  border-radius: 100px;
  background: var(--magnolia);
  color: var(--header-color);
  font-weight: 700;
}

/* Timeline */
.timeline {
  padding: 104px 0;
}

.timeline-track {
  display: grid;
  gap: 34px;
}

.tl-act {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(251, 111, 146, 0.1);
}

.tl-act:nth-child(even) .tl-body {
  order: 2;
}

.tl-time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--theme-color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tl-body p {
  margin-top: 14px;
  color: var(--gray);
}

.tl-media {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tl-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Full-width wedding image statement */
.interlude {
  position: relative;
  padding: 118px 20px;
  color: var(--header-color);
  background: var(--white);
  border-top: 1px solid rgba(251, 111, 146, 0.12);
  border-bottom: 1px solid rgba(251, 111, 146, 0.12);
}

.interlude-inner {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.statement {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 1.3rem + 3vw, 4rem);
  font-weight: 700;
  line-height: 1.24;
}

/* CTA/footer */
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin-top: 34px;
  margin-bottom: 100px;
  padding: 54px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray);
  border: 1px solid rgba(251, 111, 146, 0.18);
  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  color: var(--header-color);
}

.final-cta .eyebrow {
  color: var(--theme-color-strong);
}

.final-cta p {
  max-width: 720px;
  color: var(--gray);
}

.final-cta .cta-row {
  margin: 0;
  justify-content: flex-end;
}

.site-footer {
  padding: 92px 20px 36px;
  color: var(--gray);
  background: var(--white);
  border-top: 1px solid var(--smoke);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(130px, 0.7fr));
  gap: 34px;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 22px;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--header-color);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 0.96rem;
}

.site-footer a:hover {
  color: var(--theme-color-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--container));
  margin: 50px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--smoke);
}

.footer-bottom p {
  margin: 0;
  color: var(--light-gray);
  font-size: 0.86rem;
}

/* Functional/legal/blog surfaces */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: min(calc(100% - 40px), var(--container));
  margin: 32px auto 0;
  color: var(--light-gray);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--theme-color-secondary);
  font-weight: 700;
}

.functional-section,
.legal-section,
.article {
  max-width: 900px;
}

.functional-section h1,
.legal-section h1,
.article h1 {
  margin-bottom: 18px;
}

.legal-section h2,
.article h2 {
  margin: 40px 0 14px;
  font-size: 1.55rem;
}

.legal-section p,
.legal-section li,
.article p,
.article li {
  color: var(--gray);
}

.article ul,
.legal-section ul {
  padding-left: 22px;
}

.legal-section .table-scroll {
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.processing-summary-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.55;
}

.processing-summary-table th,
.processing-summary-table td {
  padding: 16px 18px;
  border: 1px solid var(--smoke);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.processing-summary-table th {
  background: var(--soft-pink);
  color: var(--black);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.processing-summary-table tbody tr:nth-child(even) {
  background: rgba(255, 245, 247, 0.58);
}

.article-header {
  padding-top: 84px;
}

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

.download-card {
  padding: 34px 30px;
}

.download-card.is-recommended {
  box-shadow: 0 0 0 2px var(--theme-color-secondary), 0 14px 32px rgba(251, 111, 146, 0.18), 0 2px 14px rgba(217, 179, 89, 0.16);
}

.download-card .store-badge {
  margin-top: 24px;
}

.support-contact-section {
  padding-top: 18px;
  padding-bottom: 96px;
}

.support-links-section {
  padding-top: 58px;
  padding-bottom: 34px;
}

.support-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(251, 111, 146, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 245, 247, 0.82), rgba(255, 255, 255, 0.96)),
    var(--white);
  box-shadow: 0 12px 34px rgba(116, 55, 70, 0.08);
}

.support-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-color), var(--theme-color-secondary), var(--gold-light));
}

.support-contact-copy {
  position: relative;
  z-index: 1;
}

.support-contact-copy h2 {
  margin-bottom: 14px;
  color: var(--header-color);
  font-size: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  line-height: 1.15;
}

.support-contact-copy p:last-child {
  max-width: 58ch;
  color: var(--gray);
  font-size: 1.08rem;
}

.support-email-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(251, 111, 146, 0.2);
  border-radius: 18px;
  background: var(--white);
  color: var(--header-color);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.08);
}

.support-email-card:hover,
.support-email-card:focus-visible {
  color: var(--theme-color-strong);
  text-decoration: none;
}

.support-email-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--light-gray);
  font-weight: 700;
}

.support-email-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.32rem);
  line-height: 1.25;
}

.notice,
.message,
.alert {
  padding: 22px 24px;
  color: var(--gray);
}

.notice {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--magnolia);
}

.alert-danger {
  border-left: 5px solid #dc3545;
}

.alert-success {
  border-left: 5px solid #0fbc49;
}

.form-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--header-color);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--smoke);
  border-radius: 12px;
  background: var(--snow);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--theme-color);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(249, 167, 188, 0.18);
}

.guest-section {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.guest-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.guest-title {
  font-size: 1.22rem;
}

.embed-frame {
  width: 100%;
  min-height: 780px;
  margin-top: 30px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Brand book */
.brand-book-page {
  --brand-rose: #fb6f92;
  --brand-rose-deep: #e94f78;
  --brand-petal: #f9a7bc;
  --brand-blush: #fff5f7;
  --brand-ink: #31282c;
  --brand-gray: #64575c;
  --brand-gold: #d9b359;
  --brand-champagne: #fff2b4;
  --brand-rule: rgba(251, 111, 146, 0.16);
  background: var(--white);
}

.brand-book-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 max(18px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--brand-rule);
  backdrop-filter: blur(14px);
}

.brand-book-topline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--brand-gray);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.brand-book-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--brand-rule);
  border-radius: 999px;
  background: var(--white);
}

.brand-book-hero,
.brand-guide-section,
.brand-book-index {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.brand-book-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: auto;
  padding: clamp(72px, 8vw, 108px) 0 72px;
}

.brand-book-hero h1 {
  max-width: 12ch;
  color: var(--brand-ink);
  font-size: clamp(3rem, 2.1rem + 4vw, 5.8rem);
  line-height: 1.05;
}

.brand-book-hero .lede {
  max-width: 60ch;
  margin-top: 26px;
}

.brand-book-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.brand-book-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--brand-rule);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand-ink);
  box-shadow: 0 8px 22px rgba(251, 111, 146, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.brand-book-cover {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border: 1px solid var(--brand-rule);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 245, 247, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 84% 16%, rgba(255, 242, 180, 0.9), transparent 34%);
  box-shadow: 0 22px 70px rgba(116, 55, 70, 0.12);
  overflow: hidden;
}

.brand-book-cover::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(217, 179, 89, 0.32);
  border-radius: 28px;
  pointer-events: none;
}

.brand-book-cover::after {
  content: "JoinOurDay";
  position: absolute;
  right: -14px;
  bottom: 20px;
  color: rgba(251, 111, 146, 0.12);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.brand-cover-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(116, 55, 70, 0.12);
}

.brand-cover-card img {
  width: 132px;
  border-radius: 30px;
  box-shadow: 0 14px 34px rgba(251, 111, 146, 0.18);
}

.brand-cover-card p,
.type-specimen p,
.sample-label {
  margin-bottom: 10px;
  color: var(--brand-rose-deep);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-cover-card strong {
  display: block;
  color: var(--brand-ink);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.14;
}

.brand-cover-rhythm {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-left: 28px;
}

.brand-cover-rhythm::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(var(--brand-rose), var(--brand-gold));
}

.brand-cover-rhythm span {
  color: var(--brand-ink);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.brand-book-index {
  position: sticky;
  top: 78px;
  z-index: 900;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 0;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.94);
  border-block: 1px solid var(--brand-rule);
  backdrop-filter: blur(14px);
}

.brand-book-index a {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--brand-gray);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.brand-book-index a:hover {
  background: var(--brand-blush);
  color: var(--brand-rose-deep);
}

.brand-guide-section {
  scroll-margin-top: 150px;
  padding: 96px 0;
  border-bottom: 1px solid var(--brand-rule);
}

.brand-section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-bottom: 46px;
}

.brand-section-heading h2 {
  max-width: 820px;
  color: var(--brand-ink);
  font-size: clamp(2rem, 1.45rem + 2.3vw, 3.5rem);
}

.brand-two-col,
.type-specimen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 72px);
}

.brand-large-statement {
  padding: 34px;
  border-left: 4px solid var(--brand-gold);
  background: linear-gradient(90deg, rgba(255, 242, 180, 0.28), rgba(255, 255, 255, 0));
}

.brand-large-statement p {
  color: var(--brand-ink);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.32;
}

.brand-principles {
  display: grid;
  gap: 18px;
}

.brand-principles article,
.brand-rule-grid article,
.voice-grid article,
.ui-sample {
  padding: 28px;
  border: 1px solid var(--brand-rule);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

.brand-principles article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}

.brand-principles span {
  color: var(--brand-gold);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
}

.brand-principles p {
  grid-column: 2 / -1;
  margin-bottom: 0;
}

.brand-principles h3,
.brand-rule-grid h3,
.voice-grid h3,
.ui-sample strong {
  margin-bottom: 8px;
  color: var(--brand-ink);
}

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

.brand-logo-specimen,
.brand-appicon-specimen {
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--brand-rule);
  border-radius: 28px;
}

.brand-logo-specimen {
  display: grid;
  place-items: center;
  text-align: center;
}

.brand-logo-specimen img {
  width: min(100%, 312px);
}

.brand-logo-specimen p {
  margin-top: 26px;
  color: var(--brand-gray);
  font-weight: 700;
}

.brand-logo-specimen-light {
  background: var(--white);
}

.brand-logo-specimen-dark {
  background:
    linear-gradient(135deg, rgba(49, 40, 44, 0.96), rgba(233, 79, 120, 0.72)),
    var(--brand-ink);
}

.brand-logo-specimen-dark p {
  color: var(--white);
}

.brand-appicon-specimen {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--brand-blush);
}

.brand-appicon-specimen img {
  border-radius: 34px;
  box-shadow: 0 16px 40px rgba(251, 111, 146, 0.2);
}

.brand-rule-grid,
.voice-grid,
.button-rules,
.ui-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.brand-palette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.brand-swatch {
  overflow: hidden;
  border: 1px solid var(--brand-rule);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

.brand-swatch span {
  display: block;
  min-height: 132px;
  background: var(--swatch);
  border-bottom: 1px solid rgba(49, 40, 44, 0.08);
}

.brand-swatch h3,
.brand-swatch p,
.brand-swatch small {
  margin-inline: 20px;
}

.brand-swatch h3 {
  margin-top: 20px;
  color: var(--brand-ink);
  font-size: 1.08rem;
}

.brand-swatch p {
  margin-bottom: 8px;
  color: var(--brand-rose-deep);
  font-weight: 700;
}

.brand-swatch small {
  display: block;
  min-height: 72px;
  margin-bottom: 20px;
  color: var(--brand-gray);
  line-height: 1.5;
}

.brand-dos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.brand-dos div {
  padding: 28px;
  border-radius: 22px;
  background: var(--brand-blush);
  border: 1px solid var(--brand-rule);
}

.brand-dos h3 {
  color: var(--brand-ink);
}

.type-specimen-grid {
  align-items: stretch;
}

.type-specimen,
.type-scale {
  padding: 34px;
  border: 1px solid var(--brand-rule);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

.type-display {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

.type-specimen strong {
  display: block;
  margin-bottom: 20px;
  color: var(--brand-ink);
  font-size: 1.05rem;
}

.type-specimen span {
  display: block;
  color: var(--brand-ink);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
}

.type-body span {
  color: var(--brand-gray);
  font-size: clamp(1.15rem, 1.2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.65;
}

.type-scale {
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
}

.type-scale div,
.usage-table div {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--brand-rule);
}

.type-scale div:last-child,
.usage-table div:last-child {
  border-bottom: 0;
}

.type-scale span,
.usage-table strong {
  color: var(--brand-rose-deep);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
}

.type-scale strong,
.usage-table span {
  color: var(--brand-ink);
}

.button-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.button-showcase,
.button-rules article {
  padding: 28px;
  border: 1px solid var(--brand-rule);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

.button-showcase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
}

.button-showcase-primary {
  background:
    linear-gradient(135deg, rgba(255, 245, 247, 0.92), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.button-showcase small {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-gray);
  line-height: 1.55;
}

.button-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-rules article {
  margin-top: 0;
}

.button-rules h3 {
  color: var(--brand-ink);
}

.button-rules p {
  color: var(--brand-gray);
}

.component-specimen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.component-specimen {
  padding: 28px;
  border: 1px solid var(--brand-rule);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

.component-specimen-wide {
  grid-column: 1 / -1;
}

.component-preview {
  display: grid;
  gap: 16px;
  align-items: start;
  margin: 18px 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(251, 111, 146, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 245, 247, 0.64), rgba(255, 255, 255, 0.96));
}

.component-specimen > p:last-child {
  color: var(--brand-gray);
}

.component-grid-preview.grid {
  gap: 16px;
}

.component-grid-preview .card {
  padding: 26px 22px 22px;
}

.component-form-preview {
  margin-top: 0;
}

.component-page-hero {
  width: 100%;
  min-height: auto;
  padding: 54px 22px;
  border-radius: 18px;
  border: 1px solid rgba(251, 111, 146, 0.1);
}

.component-final-cta {
  width: 100%;
  margin: 0;
  padding: 34px;
}

.component-footer-preview.site-footer {
  padding: 34px 26px;
  border: 1px solid rgba(251, 111, 146, 0.1);
  border-radius: 18px;
}

.component-footer-preview .footer-grid {
  width: 100%;
  gap: 24px;
}

.component-footer-preview .footer-bottom {
  display: none;
}

.voice-grid {
  align-items: start;
}

.voice-grid article {
  text-align: left;
}

.voice-grid ul {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.voice-grid li {
  margin-bottom: 10px;
  color: var(--brand-gray);
}

.imagery-board {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr 0.92fr;
  gap: 22px;
  align-items: stretch;
}

.imagery-board figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--brand-rule);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

.imagery-board img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.imagery-board figure:nth-child(2) img,
.imagery-board figure:nth-child(3) img {
  object-fit: contain;
  background: var(--brand-blush);
}

.imagery-board figcaption {
  padding: 18px 20px 22px;
  color: var(--brand-gray);
  font-weight: 700;
}

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

.ui-sample {
  min-height: 190px;
}

.ui-sample-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-rose), var(--brand-petal));
  border-color: transparent;
}

.ui-sample-primary .sample-label,
.ui-sample-primary strong {
  color: var(--white);
}

.ui-sample-secondary {
  border: 2px solid var(--brand-rose);
}

.ui-sample-surface {
  background: var(--white);
}

.ui-sample-note {
  border-color: rgba(217, 179, 89, 0.42);
  background: linear-gradient(180deg, rgba(255, 242, 180, 0.32), var(--white));
}

.ui-sample p {
  color: var(--brand-gray);
}

.usage-table {
  padding: 34px;
  border: 1px solid var(--brand-rule);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(116, 55, 70, 0.06);
}

/* Legacy utility bridge for restored assets/pages. */
.color--white,
.color--white h1,
.color--white h2,
.color--white h3,
.color--white p {
  color: var(--white);
}

.bg--03 {
  background-color: var(--magnolia);
  background-image: url("/images/bg-03.jpg");
  background-size: cover;
}

/* Motion: keep current reveal behavior, in the old template's subtle fade style. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: 24px;
  }

  .brand-book-topbar {
    padding-inline: 24px;
  }

  .site-nav a {
    padding-inline: 11px;
    font-size: 0.88rem;
  }

  .grid-4,
  .brand-palette,
  .button-system-grid,
  .component-specimen-grid,
  .ui-pattern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    font-size: 15px;
  }

  .site-header {
    min-height: 74px;
  }

  .brand img {
    width: 142px;
  }

  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 22px 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(251, 111, 146, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Left-aligned list: links and the CTA share one consistent left edge. */
  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 52px;
    padding: 12px 2px;
    font-size: 1rem;
    border-bottom: 1px solid var(--smoke);
  }

  /* CTA: full-width primary pill pinned below the list. */
  .site-nav .nav-cta {
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    padding: 0.9rem 1.7rem;
    font-size: 0.98rem;
  }

  .hero-home {
    min-height: auto;
    padding-top: 68px;
    text-align: center;
  }

  .hero-inner,
  .split-section,
  .split-section.reverse,
  .tl-act,
  .final-cta,
  .support-contact-card,
  .brand-book-hero,
  .brand-section-heading,
  .brand-two-col,
  .type-specimen-grid,
  .imagery-board {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-home h1,
  .hero-home p:not(.eyebrow) {
    margin-inline: auto;
  }

  .hero-home .cta-row,
  .hero-proof {
    justify-content: center;
  }

  .hero-phone {
    max-height: 560px;
  }

  .page-hero {
    min-height: 360px;
    padding-top: 92px;
  }

  .brand-book-hero {
    min-height: auto;
    padding-top: 64px;
  }

  .brand-book-hero h1 {
    max-width: 14ch;
  }

  .brand-book-cover {
    min-height: 460px;
  }

  .brand-book-index {
    top: 74px;
  }

  .split-section.reverse .split-copy,
  .tl-act:nth-child(even) .tl-body {
    order: initial;
  }

  .grid-3,
  .download-grid,
  .component-grid-preview.grid,
  .logo-system-grid,
  .brand-rule-grid,
  .button-rules,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .brand-appicon-specimen {
    grid-column: auto;
  }

  .final-cta {
    text-align: center;
    padding: 42px 28px;
  }

  .final-cta .cta-row {
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .section,
  .split-section,
  .timeline,
  .functional-section,
  .legal-section,
  .article,
  .band,
  .brand-guide-section {
    scroll-margin-top: 188px;
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero-home {
    padding-inline: 18px;
    padding-top: 62px;
    margin-bottom: 52px;
  }

  .hero-home h1 {
    font-size: 2.25rem;
  }

  .page-hero {
    padding: 84px 18px 68px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .cta-row,
  .notice {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .support-contact-section {
    padding-top: 0;
    padding-bottom: 74px;
  }

  .support-contact-card {
    padding: 24px;
  }

  .support-email-card {
    padding: 18px;
  }

  .legal-section .table-scroll {
    overflow: visible;
  }

  .processing-summary-table {
    display: block;
    min-width: 0;
    border: 0;
    font-size: 0.94rem;
  }

  .processing-summary-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .processing-summary-table tbody,
  .processing-summary-table tr,
  .processing-summary-table td {
    display: block;
    width: 100%;
  }

  .processing-summary-table tr {
    padding: 18px;
    border: 1px solid var(--smoke);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(116, 55, 70, 0.06);
  }

  .processing-summary-table tr + tr {
    margin-top: 16px;
  }

  .processing-summary-table tbody tr:nth-child(even) {
    background: var(--white);
  }

  .processing-summary-table td {
    padding: 0;
    border: 0;
    color: var(--gray);
  }

  .processing-summary-table td + td {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--smoke);
  }

  .processing-summary-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--black);
    font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .grid-2,
  .grid-4,
  .footer-grid,
  .brand-palette,
  .button-system-grid,
  .component-specimen-grid,
  .brand-dos,
  .ui-pattern-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .download-card,
  .guest-section {
    padding: 28px 22px;
  }

  .tl-act {
    padding: 28px 22px;
  }

  .media-frame img {
    min-height: 300px;
  }

  .brand-book-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 16px;
  }

  .brand-book-topline {
    justify-content: flex-start;
  }

  .brand-book-index {
    top: 104px;
    width: 100%;
    padding-inline: 18px;
  }

  .brand-book-cover,
  .brand-cover-card,
  .brand-logo-specimen,
  .brand-appicon-specimen,
  .button-showcase,
  .component-specimen,
  .component-preview,
  .type-specimen,
  .type-scale,
  .usage-table {
    padding: 24px;
    border-radius: 22px;
  }

  .brand-cover-card,
  .brand-appicon-specimen,
  .type-scale div,
  .usage-table div {
    grid-template-columns: 1fr;
  }

  .brand-cover-card img,
  .brand-appicon-specimen img {
    width: 112px;
  }

  .brand-book-cover::after {
    font-size: 3rem;
  }

  .imagery-board img {
    height: 320px;
  }

  .button-pair,
  .button-showcase .button:not(.button-icon) {
    width: 100%;
  }

  .component-final-cta {
    padding: 28px 22px;
  }

  .footer-bottom {
    margin-top: 34px;
  }
}

/* ============================================================
   Download page — editorial split hero + official store badges
   ============================================================ */
.download-hero {
  min-height: min(700px, calc(100vh - 78px));
  margin-bottom: 0;
  padding-bottom: clamp(72px, 8vw, 108px);
}

.download-hero .hero-copy {
  padding-bottom: 0;
}

.download-hero .hero-figure {
  align-self: center;
}

.download-hero .hero-phone {
  margin-bottom: 0;
}

/* The two app-store badges sit together as the page's primary action. */
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 16px;
  margin-top: clamp(26px, 3vw, 34px);
}

.store-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.store-badge {
  width: 184px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 325 / 100;
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(29, 17, 19, 0.18);
  transition: transform var(--ease), box-shadow var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .store-link:hover .store-badge {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(29, 17, 19, 0.26);
  }
}

.store-link:active .store-badge {
  transform: translateY(0) scale(0.99);
}

/* "Recommended for this device" flag — text filled in by site.js. */
.store-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--blush);
  color: var(--theme-color-strong);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store-flag:empty {
  display: none;
}

.store-flag::before {
  content: "\2713";
  font-weight: 800;
}

.store-link.is-recommended .store-badge {
  box-shadow: 0 0 0 2px var(--theme-color-secondary), 0 14px 32px rgba(251, 111, 146, 0.22);
}

.download-fineprint {
  margin-top: 16px;
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* Quiet band that routes invited guests to their invitation link. */
.guest-band {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto clamp(72px, 9vw, 116px);
  padding: clamp(40px, 5vw, 60px) clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--magnolia);
  border: 1px solid rgba(251, 111, 146, 0.12);
  box-shadow: 0 4px 12px var(--tra-black);
}

.guest-band .section-intro {
  margin: 0 auto;
  max-width: 56ch;
}

.guest-band h2 {
  margin-bottom: 14px;
}

.guest-band p {
  margin-inline: auto;
  max-width: 52ch;
}

.guest-band .button {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .dashboard-hero {
    min-height: auto;
    padding-bottom: clamp(48px, 8vw, 72px);
  }

  .download-hero {
    min-height: auto;
    padding-bottom: clamp(48px, 8vw, 72px);
  }

  .store-actions {
    justify-content: center;
  }

  .download-fineprint {
    text-align: center;
  }
}
