/* /gift — static port of the contractor gift page (artifacts/ava/src/pages/gift.tsx).
   Palette and spacing follow the React original. Scoped under .gift-page. */

.gift-page {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  background: #FEFDFB;
  color: #1E1A45;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.gift-page *,
.gift-page *::before,
.gift-page *::after { box-sizing: border-box; }

.gift-page img { display: block; max-width: 100%; height: auto; }
:where(.gift-page) a { color: inherit; text-decoration: none; }
/* Zero-specificity resets so the class-based spacing below still wins. */
:where(.gift-page) :is(p, h1, h2, h3, ul, ol) { margin: 0; }
:where(.gift-page) :is(ul, ol) { padding: 0; list-style: none; }

.gift-page :focus-visible {
  outline: 4px solid rgba(87, 80, 193, 0.35);
  outline-offset: 2px;
}

.g-display { font-family: Fraunces, Georgia, serif; }
.g-ic {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}
.g-ic-fill { fill: currentColor; }
.g-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.g-rel { position: relative; }
.g-md-only { display: none; }
@media (min-width: 768px) { .g-md-only { display: inline; } }

.g-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 70;
  border-radius: 999px;
  background: #3B2FA0;
  color: #FEFDFB;
  padding: 0.5rem 1rem;
}
.g-skip:focus { left: 1rem; top: 1rem; }

/* ---------- containers & sections ---------- */
.g-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.g-wrap-sm { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; }
.g-section { padding: 7rem 1.25rem; }
.g-max-3xl { max-width: 48rem; }
.g-max-2xl { max-width: 42rem; }
.g-max-xl { max-width: 36rem; }

/* ---------- type ---------- */
.g-h1 {
  margin-top: 1.75rem;
  font-size: clamp(3rem, 8vw, 6.25rem);
  font-weight: 600;
  line-height: 0.95;
  color: #3B2FA0;
}
.g-h1 em, .g-quote-xl em, .g-quote-lg em { font-style: italic; font-weight: 400; color: #D46A3A; }
.g-h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; line-height: 1.1; }
.g-h2-indigo { margin-top: 1rem; font-size: clamp(2.25rem, 4.5vw, 3rem); font-weight: 600; line-height: 1.1; color: #3B2FA0; }
.g-h2-cream { margin-top: 1rem; font-size: clamp(2.25rem, 4.5vw, 3rem); font-weight: 600; line-height: 1.1; color: #FEFDFB; }
.g-lead { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.6; color: rgba(30, 26, 69, 0.75); }
.g-body-lg { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.6; }
.g-small { margin-top: 0.75rem; font-size: 0.875rem; }
.g-cream { color: #FEFDFB; }
.g-cream-75 { color: rgba(254, 253, 251, 0.75); }
.g-ink-70 { color: rgba(30, 26, 69, 0.7); }
.g-accent { font-style: italic; color: #D46A3A; }
.g-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.g-eyebrow-peach { color: #F4A27A; }
.g-eyebrow-teal { color: #2E8A82; }
.g-eyebrow-brown { color: #9A4A22; }
.g-eyebrow-muted { color: rgba(30, 26, 69, 0.5); }
.g-eyebrow-mint { color: #9BE0D7; }
@media (min-width: 768px) {
  .g-h1 { font-size: 6.25rem; }
  .g-lead, .g-body-lg { font-size: 1.25rem; }
}

/* ---------- buttons & links ---------- */
.g-btn,
.g-btn-lg,
.g-btn-sm,
.g-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.g-btn {
  background: #3B2FA0;
  color: #FEFDFB;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  box-shadow: 0 14px 30px -12px #3B2FA0;
}
.g-btn:hover { background: #5750C1; }
.g-btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.g-btn-hero { box-shadow: 0 14px 30px -12px #3B2FA0; background: #3B2FA0; color: #FEFDFB; }
.g-btn-hero:hover { background: #5750C1; }
.g-btn-sm { background: #3B2FA0; color: #FEFDFB; padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.g-btn-sm:hover { background: #5750C1; }
.g-btn-block { width: 100%; padding: 1rem 1.5rem; }
.g-btn-outline {
  background: rgba(254, 253, 251, 0.1);
  color: #FEFDFB;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: inset 0 0 0 1px rgba(254, 253, 251, 0.25);
}
.g-btn-outline:hover { background: rgba(254, 253, 251, 0.2); }
.g-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  color: #3B2FA0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.g-btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.g-btn-ghost .g-ic { vertical-align: 0; }
.g-arrow { transition: transform 0.2s ease; }
.g-btn:hover .g-arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.g-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}
.g-header.is-scrolled {
  background: rgba(254, 253, 251, 0.9);
  box-shadow: 0 1px 0 hsl(246 30% 90%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.g-nav {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem max(1.25rem, env(safe-area-inset-right, 0px)) 1rem max(1.25rem, env(safe-area-inset-left, 0px));
}
.g-logo img { height: 1.5rem; width: auto; }
.g-nav-right { display: flex; align-items: center; gap: 0.5rem; }
.g-nav-explore {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(30, 26, 69, 0.7);
  transition: color 0.2s ease;
}
.g-nav-explore:hover { color: #3B2FA0; }
@media (min-width: 640px) {
  .g-nav-right { gap: 1.5rem; }
  .g-nav-explore { display: inline; }
}

/* ---------- hero ---------- */
.g-hero {
  position: relative;
  overflow: hidden;
  padding: calc(8rem + env(safe-area-inset-top, 0px)) 1.25rem 6rem;
}
@media (min-width: 768px) { .g-hero { padding: calc(10rem + env(safe-area-inset-top, 0px)) 1.25rem 6rem; } }
.g-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.g-blob-peach { left: -8rem; top: 0; width: 520px; height: 520px; background: rgba(244, 162, 122, 0.25); }
.g-blob-teal { right: -10rem; top: 10rem; width: 480px; height: 480px; background: rgba(155, 224, 215, 0.3); }
.g-hero-grid {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) { .g-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.g-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #FCE3D4;
  color: #9A4A22;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.g-hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .g-hero-ctas { flex-direction: row; align-items: center; } }

.g-phone-wrap { position: relative; width: 100%; max-width: 330px; margin: 0 auto; }
.g-phone-track { position: relative; will-change: transform; }
.g-phone-behind {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 2.5rem;
  bottom: -1.5rem;
  border-radius: 56px;
  background: #FCE3D4;
}
.g-ribbon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5rem;
  transform: translateX(-50%);
  background: rgba(244, 162, 122, 0.6);
  z-index: 0;
}
.g-phone-img {
  position: relative;
  z-index: 10;
  width: 100%;
  transform: rotate(-2deg);
  filter: drop-shadow(0 40px 50px rgba(59, 47, 160, 0.28));
}
.g-chip {
  position: absolute;
  z-index: 20;
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 20px 25px -5px rgba(30, 26, 69, 0.12);
}
.g-chip p { margin: 0; }
.g-chip-light {
  left: -3.5rem;
  top: 5rem;
  background: #FEFDFB;
  color: #3B2FA0;
  box-shadow: 0 20px 25px -5px rgba(30, 26, 69, 0.12), 0 0 0 1px rgba(59, 47, 160, 0.1);
}
.g-chip-light p:first-child { font-weight: 600; color: #3B2FA0; }
.g-chip-sub { color: rgba(30, 26, 69, 0.6); }
.g-chip-teal {
  right: -2rem;
  bottom: 6rem;
  background: #1F6B65;
  color: #FEFDFB;
  font-weight: 600;
}
.g-chip-teal .g-ic { color: #9BE0D7; }
@media (min-width: 640px) {
  .g-chip-light,
  .g-chip-teal { display: flex; }
}

.g-float {
  animation: g-float 6s ease-in-out infinite;
  transform: rotate(var(--r, 0deg));
}
.g-float-delay { animation-delay: -3s; }
@keyframes g-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}

.g-rise {
  animation: g-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes g-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ---------- scroll reveal (only when JS runs) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- the load ---------- */
.g-load { background: #3B2FA0; color: #FEFDFB; scroll-margin-top: calc(5rem + env(safe-area-inset-top, 0px)); }
.g-load-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .g-load-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .g-load-grid { grid-template-columns: repeat(4, 1fr); } }
.g-load-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #FEFDFB;
  color: #1E1A45;
  padding: 1.25rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.g-load-btn:hover { transform: translateY(-4px); }
.g-load-btn[aria-pressed="true"] { background: #1F6B65; color: #FEFDFB; }
.g-load-btn[aria-pressed="true"]:hover { transform: none; }
.g-load-btn:focus-visible { outline-color: rgba(244, 162, 122, 0.6); }
.g-load-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5750C1;
}
.g-load-kicker > span { display: inline-flex; align-items: center; gap: 0.375rem; }
.g-load-btn[aria-pressed="true"] .g-load-kicker { color: #9BE0D7; }
.g-load-check { display: none; width: 1rem; height: 1rem; }
.g-load-btn[aria-pressed="true"] .g-load-check { display: block; }
.g-load-title { display: block; margin-top: 0.5rem; font-weight: 600; }
.g-load-btn[aria-pressed="true"] .g-load-title { text-decoration: line-through; text-decoration-color: rgba(155, 224, 215, 0.7); }
.g-load-sub { display: block; font-size: 0.875rem; color: rgba(30, 26, 69, 0.6); }
.g-load-btn[aria-pressed="true"] .g-load-sub { color: rgba(254, 253, 251, 0.65); }
.g-load-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .g-load-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
.g-load-count { font-size: 1.5rem; }
@media (min-width: 768px) { .g-load-count { font-size: 1.875rem; } }

/* ---------- reframe ---------- */
.g-quote-lg {
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: #3B2FA0;
}
.g-compare {
  margin-top: 5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .g-compare { grid-template-columns: repeat(12, 1fr); }
  .g-compare-left { grid-column: span 5 / span 5; }
  .g-compare-right { grid-column: span 7 / span 7; margin-top: -1.5rem; }
}
.g-card-muted { border-radius: 32px; background: #F6F4FD; padding: 2rem; }
.g-card-peach {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #FCE3D4;
  padding: 2rem;
}
.g-card-peach-blob {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(244, 162, 122, 0.4);
}
.g-compare-list { margin-top: 1.5rem; display: grid; gap: 1rem; }
.g-compare-list li { padding-bottom: 1rem; }
.g-compare-list-muted { font-size: 1.125rem; color: rgba(30, 26, 69, 0.6); }
.g-compare-list-muted li { border-bottom: 1px solid rgba(59, 47, 160, 0.1); }
.g-compare-list-muted li:last-child { border-bottom: 0; }
.g-compare-list:not(.g-compare-list-muted) { font-size: 1.125rem; }
.g-compare-list:not(.g-compare-list-muted) li {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(154, 74, 34, 0.15);
}
.g-compare-list:not(.g-compare-list-muted) li:last-child { border-bottom: 0; }
.g-compare-list .g-teal { margin-top: 0.25rem; width: 1.25rem; height: 1.25rem; color: #1F6B65; }
.g-compare-right .g-eyebrow { margin: 0; }

/* ---------- product story ---------- */
.g-story { background: #F6F4FD; }
.g-story .g-wrap > * + * { margin-top: 8rem; }
.g-row {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 768px) { .g-row { grid-template-columns: 1fr 1fr; } }
.g-row-a > .g-text { order: 2; }
.g-row-a > .g-img-a,
.g-row-a > .g-img-b { order: 1; }
@media (min-width: 768px) {
  .g-row-a > .g-text { order: 1; }
  .g-row-a > .g-img-a,
  .g-row-a > .g-img-b { order: 2; }
}
.g-text .g-eyebrow { margin: 0; }
.g-img-narrow { margin: 0 auto; max-width: 300px; width: 100%; }
.g-img-wide { margin: 0 auto; max-width: 440px; width: 100%; }
.g-shot { width: 100%; filter: drop-shadow(0 30px 40px rgba(59, 47, 160, 0.25)); }
.g-shot-rot-pos { transform: rotate(2deg); }
.g-shot-rot-neg { transform: rotate(-2deg); filter: drop-shadow(0 30px 40px rgba(30, 26, 69, 0.25)); }
.g-shot-glow {
  position: absolute;
  inset: 1.5rem;
  border-radius: 48px;
  background: rgba(244, 162, 122, 0.4);
  filter: blur(32px);
}
.g-shot-glow + .g-shot-rot-neg { position: relative; }
.g-shot-rounded {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(59, 47, 160, 0.35), 0 0 0 1px rgba(59, 47, 160, 0.1);
}
.g-tag-pill {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #FEFDFB;
  color: #3B2FA0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(59, 47, 160, 0.1);
}

/* ---------- promises ---------- */
.g-promises {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .g-promises { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) {
  .g-promise-offset-1 { margin-top: 2rem; }
  .g-promise-offset-2 { margin-top: 4rem; }
}
.g-promise {
  border-radius: 28px;
  padding: 2rem;
}
.g-promise-teal { background: #E3F3F1; }
.g-promise-lilac { background: #EEEDFB; }
.g-promise-peach { background: #FCE3D4; }
.g-promise-ic { width: 1.5rem; height: 1.5rem; color: #3B2FA0; }
.g-promise-h { margin-top: 2rem; font-size: 1.5rem; font-weight: 600; color: #3B2FA0; }
.g-promise p:last-child { margin-top: 0.75rem; line-height: 1.6; color: rgba(30, 26, 69, 0.7); }

/* ---------- quote ---------- */
.g-closing-quote { padding: 3rem 1.25rem 7rem; }
.g-quote-xl {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  color: #3B2FA0;
}

/* ---------- personalize ---------- */
.g-personalize { padding: 0 1.25rem 7rem; scroll-margin-top: calc(5rem + env(safe-area-inset-top, 0px)); }
.g-panel {
  position: relative;
  overflow: hidden;
  max-width: 72rem;
  margin: 0 auto;
  border-radius: 40px;
  background: #3B2FA0;
  color: #FEFDFB;
  padding: 3.5rem 1.5rem;
}
@media (min-width: 768px) { .g-panel { padding: 4rem 3.5rem; } }
.g-panel-blob-a {
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: #5750C1;
}
.g-panel-blob-b {
  position: absolute;
  left: 2.5rem;
  bottom: -8rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(244, 162, 122, 0.25);
}
.g-personalize-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .g-personalize-grid { grid-template-columns: 1fr 1.05fr; align-items: start; } }

.g-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 28px;
  background: #FEFDFB;
  color: #1E1A45;
  padding: 1.5rem;
}
@media (min-width: 768px) { .g-form { padding: 2rem; } }
.g-fields-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .g-fields-2 { grid-template-columns: 1fr 1fr; } }
.g-field { display: block; }
.g-field > span,
.g-field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}
.g-field-head { display: flex; align-items: baseline; justify-content: space-between; }
.g-count { font-weight: 400; color: rgba(30, 26, 69, 0.5); }
.g-field input,
.g-field textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid rgba(59, 47, 160, 0.15);
  border-radius: 16px;
  background: #F6F4FD;
  padding: 0.75rem 1rem;
  font: inherit;
  color: #1E1A45;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.g-field textarea { resize: none; line-height: 1.6; }
.g-field input:focus,
.g-field textarea:focus {
  border-color: #5750C1;
  box-shadow: 0 0 0 4px rgba(87, 80, 193, 0.15);
}
.g-chips { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g-chip-btn {
  border: 0;
  border-radius: 999px;
  background: #FCE3D4;
  color: #9A4A22;
  padding: 0.375rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.g-chip-btn:hover { background: rgba(244, 162, 122, 0.4); }
.g-chip-btn[aria-pressed="true"] { background: #3B2FA0; color: #FEFDFB; }
.g-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 16px;
  background: #E3F3F1;
  color: #1F6B65;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
}
.g-notice-ic { margin-top: 0.125rem; width: 0.875rem; height: 0.875rem; }

.g-live { position: relative; }
@media (min-width: 1024px) { .g-live { position: sticky; top: 7rem; } }
.g-live-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254, 253, 251, 0.6);
}

/* gift card (live preview and dialog) */
.g-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #FCE3D4;
  color: #1E1A45;
  padding: 1.75rem;
  box-shadow: 0 30px 60px -24px rgba(30, 26, 69, 0.5);
}
@media (min-width: 768px) { .g-card { padding: 2.25rem; } }
.g-card-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 3.5rem;
  width: 2rem;
  background: rgba(244, 162, 122, 0.5);
}
.g-card-circle {
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(244, 162, 122, 0.4);
}
.g-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.g-card-logo { height: 1.25rem; width: auto; }
.g-card-tag {
  border-radius: 999px;
  background: rgba(254, 253, 251, 0.7);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9A4A22;
}
.g-card-recipient {
  position: relative;
  margin-top: 2.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: #3B2FA0;
}
.g-card-recipient em { font-style: italic; font-weight: 400; color: #D46A3A; }
.g-card-message {
  position: relative;
  margin-top: 1.5rem;
  min-height: 4.5rem;
  white-space: pre-line;
  overflow-wrap: break-word;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(30, 26, 69, 0.8);
}
.g-card-foot {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(154, 74, 34, 0.15);
  padding-top: 1.25rem;
}
.g-card-sender { font-size: 1.25rem; font-style: italic; color: #3B2FA0; }
.g-card-icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(30, 26, 69, 0.15); }

/* preview dialog */
.g-dialog {
  width: calc(100% - 2rem);
  max-width: 32rem;
  max-height: 92dvh;
  overflow-y: auto;
  margin: auto;
  border: 0;
  border-radius: 28px;
  background: #FEFDFB;
  color: #1E1A45;
  padding: 1.5rem;
  box-shadow: 0 30px 60px -24px rgba(30, 26, 69, 0.5);
}
.g-dialog::backdrop { background: rgba(30, 26, 69, 0.55); }
.g-dialog-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #FCE3D4;
  color: #9A4A22;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.g-dialog-title { padding-top: 0.5rem; font-size: 1.5rem; font-weight: 600; color: #3B2FA0; }
.g-dialog-desc { margin-top: 0.5rem; color: rgba(30, 26, 69, 0.65); }
.g-dialog .g-card { margin: 1.25rem 0; }
.g-dialog-close {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: none;
  box-shadow: inset 0 0 0 1px rgba(59, 47, 160, 0.2);
  color: #3B2FA0;
  padding: 0.875rem 1.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.g-dialog-close:hover { background: #EEEDFB; }

/* ---------- FAQ ---------- */
.g-faq-section { padding: 0 1.25rem 7rem; }
.g-faq-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) { .g-faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; } }
.g-faq-intro { margin-top: 1rem; color: rgba(30, 26, 69, 0.65); }
.g-faq-list { border-top: 1px solid rgba(59, 47, 160, 0.1); border-bottom: 1px solid rgba(59, 47, 160, 0.1); }
.g-faq-item + .g-faq-item { border-top: 1px solid rgba(59, 47, 160, 0.1); }
.g-faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.g-faq-btn:hover { color: #3B2FA0; }
.g-chev { width: 1.25rem; height: 1.25rem; color: #5750C1; transition: transform 0.2s ease; }
.g-faq-btn[aria-expanded="true"] .g-chev { transform: rotate(180deg); }
.g-faq-panel { padding: 0 2rem 1.25rem 0; line-height: 1.6; color: rgba(30, 26, 69, 0.7); }
.g-faq-panel[hidden] { display: none; }

/* ---------- final ---------- */
.g-final { padding: 0 1.25rem 6rem; }
.g-final-card {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 40px;
  background: #FCE3D4;
  padding: 4rem 2rem;
  text-align: center;
}
.g-final-card .g-h2-indigo { margin-top: 0; font-size: clamp(2.25rem, 6vw, 3.75rem); }
.g-final-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .g-final-ctas { flex-direction: row; } }

/* ---------- footer ---------- */
.g-footer { border-top: 1px solid rgba(59, 47, 160, 0.1); padding: 2.5rem 1.25rem; }
.g-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(30, 26, 69, 0.6);
}
.g-footer-inner img { height: 1.25rem; width: auto; }
.g-footer-link { transition: color 0.2s ease; }
.g-footer-link:hover { color: #3B2FA0; }
@media (min-width: 768px) { .g-footer-inner { flex-direction: row; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .g-rise,
  .g-float { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .g-btn,
  .g-load-btn,
  .g-header,
  .g-arrow { transition: none; }
}
