@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap");

:root {
  --color-bg: #ffffff;
  --color-surface: #fdfbf8;
  --color-panel: #ffffff;
  --color-panel-soft: #fffaf5;
  --color-line: rgba(239, 118, 71, 0.26);
  --color-line-soft: rgba(91, 110, 126, 0.12);
  --color-accent: #ef7647;
  --color-accent-soft: rgba(239, 118, 71, 0.12);
  --color-ink: #1f252b;
  --color-muted: #5b6e7e;
  --color-soft: #f4efe9;
  --shadow-soft: 0 24px 60px rgba(91, 110, 126, 0.08);
  --shadow-card: 0 18px 44px rgba(91, 110, 126, 0.08);
  --radius-2xl: 36px;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --layout-width: 1160px;
  --font-brand: "Greycliff CF", "Nunito", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(239, 118, 71, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 34%, #ffffff 100%);
  color: var(--color-ink);
  font-family: var(--font-brand);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(var(--layout-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(91, 110, 126, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 212px;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.button--ghost {
  border: 1px solid rgba(91, 110, 126, 0.16);
  background: #ffffff;
  color: var(--color-muted);
}

.button--block {
  width: 100%;
}

.button--compact {
  min-height: 46px;
  padding: 0 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--color-accent);
  background: rgba(239, 118, 71, 0.12);
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--color-accent);
  background: rgba(239, 118, 71, 0.1);
}

.hero,
.page-shell {
  position: relative;
}

.hero {
  padding: 68px 0 44px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.hero__content,
.hero__panel,
.page-frame,
.pricing-card,
.feature-card,
.showcase-card,
.timeline__item,
.detail-band__card,
.portal-card,
.pay-card,
.module-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(91, 110, 126, 0.12);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero__grid--split {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.hero__intro {
  width: 100%;
  max-width: 620px;
  margin: 0;
  padding-left: clamp(20px, 5vw, 64px);
  text-align: left;
}

.hero__intro .eyebrow {
  justify-content: flex-start;
}

.hero__intro .lead {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  line-height: 1.72;
}

.hero-carousel-card {
  min-width: 0;
}

.hero-carousel {
  position: relative;
  isolation: isolate;
}

.hero-carousel__track {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f2ede7;
  border-radius: 0 0 28px 28px;
  border: 1px solid rgba(91, 110, 126, 0.12);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 10px;
}

.hero-carousel__dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-carousel__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(239, 118, 71, 0.22);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hero-carousel__dot.is-active::before {
  background: rgba(239, 118, 71, 0.55);
  transform: scale(1.15);
}

.hero-carousel__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.hero h1,
.page-title,
.section-heading h2 {
  margin: 20px 0 16px;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: var(--color-muted);
}

.hero h1,
.page-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.lead,
.page-intro,
.section-heading p,
.feature-card p,
.timeline__item p,
.showcase-card p,
.pricing-card p,
.detail-band__card p,
.module-card p,
.portal-note,
.pay-intro p {
  color: rgba(31, 37, 43, 0.72);
  line-height: 1.72;
}

.lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1.08rem;
}

.hero__actions,
.cta-panel__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__highlights {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding-left: 20px;
  color: rgba(31, 37, 43, 0.72);
  line-height: 1.72;
}

.conversation-card,
.stack-card,
.receipt-card {
  border-radius: 22px;
  border: 1px solid rgba(91, 110, 126, 0.1);
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.conversation-card__top,
.conversation-card__meta,
.receipt-card__head,
.portal-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.conversation-card__top span,
.conversation-card__meta span,
.stack-card__title,
.signal-strip__item span,
.pricing-card__name,
.pricing-card__badge,
.module-card__tag,
.portal-status span,
.receipt-card__head span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-card__top span,
.conversation-card__meta span,
.signal-strip__item span,
.portal-status span,
.receipt-card__head span {
  color: rgba(91, 110, 126, 0.82);
}

.conversation-card__top strong,
.conversation-card__meta strong,
.portal-status strong,
.receipt-card__head strong {
  display: block;
  color: var(--color-muted);
}

.chat-bubble {
  max-width: 88%;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.6;
}

.chat-bubble--guest {
  background: rgba(91, 110, 126, 0.08);
}

.chat-bubble--assistant {
  margin-left: auto;
  background: rgba(239, 118, 71, 0.12);
}

.conversation-card__meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(91, 110, 126, 0.1);
}

.stack-card__title {
  margin: 0 0 18px;
  color: var(--color-muted);
}

.stack-list {
  display: grid;
  gap: 16px;
}

.stack-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.stack-item__index,
.timeline__step,
.pay-step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
  font-weight: 800;
}

.stack-item strong,
.timeline__item h3,
.feature-card h3,
.showcase-card h3,
.detail-band__card h2,
.module-card h2,
.portal-card h2,
.receipt-card__head h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: var(--color-muted);
  letter-spacing: -0.03em;
}

.stack-item p {
  margin: 0;
  color: rgba(31, 37, 43, 0.72);
  line-height: 1.65;
}

.section {
  padding: 18px 0 48px;
}

.section--tight {
  padding-top: 6px;
}

.section--contrast {
  padding-top: 22px;
}

.section--cta {
  padding-top: 10px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.signal-strip__item {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(91, 110, 126, 0.12);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.signal-strip__item strong {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--color-accent);
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.section-heading p {
  margin: 0;
  max-width: 48ch;
}

.section-heading--feature {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.section-heading__intro--centered {
  width: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.section-heading__intro--centered h2 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.section--contrast .section-heading > div {
  display: grid;
  width: 100%;
  justify-items: center;
  padding-left: 0;
  text-align: center;
}

.section--contrast .section-heading p {
  padding-right: clamp(20px, 5vw, 64px);
}

.section--contrast .section-heading h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.8vw, 3.5rem);
}

.video-placeholder {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.video-placeholder__surface {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 340px;
  padding: 36px;
  border-radius: 26px;
  border: 1px dashed rgba(91, 110, 126, 0.24);
  background: linear-gradient(
    180deg,
    rgba(239, 118, 71, 0.08) 0%,
    #fffaf5 100%
  );
  text-align: center;
}

.video-placeholder__surface strong {
  color: var(--color-muted);
  font-size: 1.16rem;
}

.video-placeholder__surface p {
  max-width: 26ch;
  margin: 0;
  color: rgba(31, 37, 43, 0.68);
}

.video-placeholder__play {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(239, 118, 71, 0.14);
  position: relative;
}

.video-placeholder__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--color-accent);
  transform: translate(-35%, -50%);
}

.feature-card--intro-copy h3 {
  margin-top: 0;
}

.feature-grid,
.showcase-grid,
.detail-band,
.module-grid,
.pricing-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.showcase-card,
.timeline__item,
.detail-band__card,
.module-card {
  padding: 26px;
}

.feature-grid .feature-card {
  border-color: rgba(239, 118, 71, 0.34);
}

.feature-card__kicker,
.text-link,
.pricing-card__badge,
.module-card__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-card--accent,
.pricing-card--accent {
  border-color: rgba(239, 118, 71, 0.34);
  background: linear-gradient(180deg, rgba(239, 118, 71, 0.08) 0%, #ffffff 54%);
}

.timeline__item {
  min-height: 210px;
}

.section--contrast .timeline__item {
  min-height: 236px;
}

.section--contrast .timeline__item h3 {
  margin: 14px 0 12px;
  font-size: 1.28rem;
  line-height: 1.22;
}

.section--contrast .timeline__item p {
  margin: 0;
  max-width: 24ch;
}

.timeline__step {
  margin-bottom: 18px;
}

.showcase-card--quote {
  background: #ffffff;
}

.showcase-card--quote p,
.showcase-card--quote span {
  color: rgba(31, 37, 43, 0.72);
}

.section-heading--profile > div,
.section-heading--profile p {
  width: 100%;
}

.section-heading--profile > div {
  display: grid;
  justify-items: center;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  text-align: center;
}

.section-heading--profile p {
  max-width: 42ch;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  text-align: center;
}

.showcase-card--image {
  padding: 0;
  overflow: hidden;
}

.showcase-card--image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.showcase-grid--journey .showcase-card--image img {
  height: auto;
  aspect-ratio: 3 / 4;
}

@media (min-width: 601px) and (max-width: 1080px) {
  .showcase-grid.showcase-grid--journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .showcase-grid.showcase-grid--journey {
    grid-template-columns: 1fr;
  }
}

.text-link {
  margin-top: 18px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding: 30px 32px;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(91, 110, 126, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
  box-shadow: var(--shadow-soft);
}

.cta-panel__content {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cta-panel h2 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.05em;
  color: var(--color-muted);
  max-width: 18ch;
}

.cta-panel p {
  max-width: 60ch;
  margin: 0;
  color: rgba(31, 37, 43, 0.72);
  line-height: 1.7;
}

.cta-panel__actions {
  justify-content: center;
}

.page-shell {
  padding: 56px 0 72px;
}

.page-shell--flow {
  padding: 18px 0 24px;
}

.page-hero {
  max-width: 920px;
  margin-bottom: 24px;
}

.page-title {
  margin-top: 0;
}

.pricing-grid--enhanced {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.pricing-card__name {
  margin: 0;
  color: var(--color-accent);
}

.pricing-card > .button {
  margin-top: auto;
}

.pricing-card__badge {
  width: fit-content;
  margin-bottom: 8px;
}

.pricing-card__price {
  margin: 18px 0 12px;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-muted);
  letter-spacing: -0.05em;
}

.pricing-card__summary {
  margin: 0 0 14px;
}

.pricing-card ul {
  margin: 0 0 24px;
  padding-left: 18px;
  color: rgba(31, 37, 43, 0.72);
  line-height: 1.8;
}

.detail-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.comparison {
  margin-top: 28px;
}

.comparison-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(91, 110, 126, 0.12);
  box-shadow: var(--shadow-soft);
}

.comparison-table__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 22px;
  background: #ffffff;
  border-bottom: 1px solid rgba(91, 110, 126, 0.08);
}

.comparison-table__row:last-child {
  border-bottom: none;
}

.comparison-table__row--head {
  background: rgba(239, 118, 71, 0.08);
  color: var(--color-muted);
  font-weight: 800;
}

.comparison-table__row span:first-child {
  font-weight: 700;
  color: var(--color-muted);
}

.portal-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.page-frame,
.portal-card,
.pay-card {
  padding: 28px;
}

.portal-frame .page-title,
.pay-intro .page-title {
  max-width: 12ch;
}

.module-grid {
  margin-top: 24px;
}

.portal-card__head p {
  margin: 0;
}

.portal-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.portal-form label {
  display: grid;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.portal-form input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(91, 110, 126, 0.18);
  border-radius: 16px;
  background: #fffdfb;
  color: var(--color-ink);
}

.portal-form input:focus {
  outline: 2px solid rgba(239, 118, 71, 0.2);
  border-color: rgba(239, 118, 71, 0.35);
}

.portal-status {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(91, 110, 126, 0.1);
}

.portal-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(91, 110, 126, 0.08);
  color: var(--color-muted);
}

.pay-layout {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 470px);
  gap: 24px;
  align-items: start;
}

.pay-checkout {
  display: flex;
  justify-content: center;
}

.pay-intro {
  padding-top: 8px;
}

.pay-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pay-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 110, 126, 0.1);
  background: #ffffff;
  color: var(--color-muted);
  font-weight: 700;
}

.pay-step--active {
  border-color: rgba(239, 118, 71, 0.3);
  background: rgba(239, 118, 71, 0.1);
  color: var(--color-accent);
}

.pay-step span {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.pay-card {
  max-width: 100%;
}

.pay-card--checkout {
  width: min(100%, 520px);
  padding: 24px;
}

.page-pay .pay-card--checkout {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-pay--embedded .page-shell--flow {
  padding: 0;
}

.page-pay--embedded .shell,
.page-pay--embedded .pay-checkout,
.page-pay--embedded .pay-card--checkout {
  width: 100%;
}

.page-pay--embedded .pay-merchant,
.page-pay--embedded .pay-merchant-skeleton {
  display: none !important;
}

.page-pay .eyebrow {
  display: inline-flex;
  margin: 2px 0 10px;
  line-height: 1;
}

.pay-card--checkout.is-loading .payment-panel__head,
.pay-card--checkout.is-loading .payment-element-shell,
.pay-card--checkout.is-loading .payment-trust {
  display: none;
}

.pay-logo {
  width: 140px;
  height: auto;
  margin-bottom: 18px;
}

.pay-merchant {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pay-merchant[hidden] {
  display: none;
}

.pay-merchant-skeleton {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pay-merchant-skeleton[hidden] {
  display: none;
}

.pay-merchant-logo {
  width: 44px;
  height: 44px;
  border: 1px dashed rgba(91, 110, 126, 0.26);
  border-radius: 10px;
  background: rgba(91, 110, 126, 0.04);
  object-fit: cover;
}

.pay-merchant-logo--image {
  border-style: solid;
  background: #ffffff;
}

.pay-merchant-label {
  color: rgba(91, 110, 126, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.skeleton--merchant-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.skeleton--merchant-label {
  width: 132px;
  height: 16px;
  border-radius: 999px;
}

.pay-card--checkout .page-title {
  margin: 12px 0 12px;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(0.95rem, 3.4vw, 1.5rem);
}

.pay-card--checkout .page-intro {
  margin-bottom: 22px;
  font-size: 1rem;
}

.pay-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(239, 118, 71, 0.12) 0%,
    rgba(239, 118, 71, 0.06) 100%
  );
  border: 1px solid rgba(239, 118, 71, 0.18);
}

.pay-amount span {
  color: rgba(91, 110, 126, 0.9);
  font-weight: 700;
}

.pay-amount strong {
  color: var(--color-accent);
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pay-amount__value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 164px;
}

.pay-card--checkout.is-loading .pay-amount__value {
  color: transparent;
}

.pay-details {
  margin: -6px 0 18px;
  border: 1px solid rgba(91, 110, 126, 0.1);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.pay-details[hidden] {
  display: none;
}

.pay-details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.pay-details__summary::-webkit-details-marker {
  display: none;
}

.pay-details__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(91, 110, 126, 0.7);
  border-bottom: 2px solid rgba(91, 110, 126, 0.7);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.pay-details[open] .pay-details__chevron {
  transform: rotate(225deg);
}

.pay-details__body {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(91, 110, 126, 0.08);
}

.pay-details__head,
.pay-details__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 88px;
  gap: 10px;
  align-items: start;
}

.pay-details__head {
  padding-top: 12px;
  color: rgba(91, 110, 126, 0.82);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pay-details__list {
  display: grid;
  gap: 8px;
}

.pay-details__head span:last-child {
  text-align: right;
}

.pay-details__row {
  color: rgba(31, 37, 43, 0.76);
  font-size: 0.62rem;
  line-height: 1.45;
}

.pay-details__row--modifier {
  color: rgba(91, 110, 126, 0.86);
}

.pay-details__product {
  min-width: 0;
}

.pay-details__qty,
.pay-details__amount {
  text-align: right;
  white-space: nowrap;
}

.payment-form {
  display: grid;
  gap: 16px;
}

.payment-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  border: none;
  background: transparent;
}

.payment-loading {
  display: none;
  gap: 14px;
}

.pay-card--checkout.is-loading .payment-loading {
  display: grid;
}

.payment-panel__head {
  display: grid;
  gap: 4px;
}

.payment-panel__head strong {
  color: var(--color-muted);
  font-size: 1.1rem;
}

.payment-panel__head span,
.payment-caption {
  color: rgba(31, 37, 43, 0.62);
  line-height: 1.6;
}

.payment-element-shell {
  min-height: 224px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(91, 110, 126, 0.14);
  background: #fffdfb;
}

.payment-mock {
  display: grid;
  gap: 12px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(91, 110, 126, 0.08) 0%,
    rgba(91, 110, 126, 0.13) 100%
  );
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.62) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

.skeleton--title {
  width: 38%;
  height: 18px;
  border-radius: 999px;
}

.skeleton--field {
  width: 100%;
  height: 56px;
}

.skeleton--note {
  width: 74%;
  height: 72px;
}

.payment-field,
.payment-trust {
  display: grid;
  gap: 8px;
}

.payment-field span,
.payment-trust strong {
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.payment-field input,
.payment-field__mock {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(91, 110, 126, 0.16);
  background: #fffdfb;
  color: var(--color-ink);
  font: inherit;
}

.payment-field input:focus {
  outline: 2px solid rgba(239, 118, 71, 0.2);
  border-color: rgba(239, 118, 71, 0.35);
}

.payment-field__mock {
  display: flex;
  align-items: center;
  color: rgba(91, 110, 126, 0.78);
}

.payment-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-trust {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(91, 110, 126, 0.08);
}

.payment-trust p {
  margin: 0;
  color: rgba(31, 37, 43, 0.68);
  line-height: 1.65;
}

.payment-wallet {
  margin-bottom: 1.25rem;
}

.payment-wallet__separator {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line-soft);
  color: var(--color-muted);
  font-size: 0.85rem;
  text-align: center;
}

.payment-tip {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 110, 126, 0.12);
  background: rgba(255, 250, 245, 0.92);
}

.payment-tip[hidden] {
  display: none;
}

.payment-tip__head {
  display: grid;
  gap: 4px;
}

.payment-tip__head strong {
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.payment-tip__head span {
  color: rgba(31, 37, 43, 0.68);
  font-size: 0.87rem;
  line-height: 1.55;
}

.payment-tip__toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.payment-tip__option {
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(91, 110, 126, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.payment-tip__option.is-selected {
  border-color: rgba(239, 118, 71, 0.35);
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.payment-tip__custom {
  display: grid;
  gap: 8px;
}

.payment-tip__amount {
  margin: 0;
  min-height: 22px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.payment-tip__amount[hidden] {
  display: block !important;
  visibility: hidden;
}

.payment-tip--custom .payment-tip__amount[hidden] {
  display: none !important;
}

.payment-tip__custom[hidden] {
  display: none;
}

.payment-tip__custom span:first-child {
  color: rgba(31, 37, 43, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
}

.payment-tip__custom-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(91, 110, 126, 0.14);
  border-radius: 16px;
  background: #ffffff;
}

.payment-tip__custom-field > span {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 800;
}

.payment-tip__custom-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.payment-tip__custom-field input::placeholder {
  color: rgba(91, 110, 126, 0.54);
}

.payment-simulation {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(239, 118, 71, 0.08);
  color: var(--color-muted);
}

.payment-simulation strong {
  color: var(--color-accent);
}

.payment-simulation p {
  margin: 0;
  line-height: 1.65;
}

.payment-caption {
  margin: 0;
  text-align: center;
  font-size: 0.94rem;
}

.payment-caption--error {
  color: #c53c16;
}

.payment-caption--success {
  color: #2f7d57;
}

.pay-powered-by {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  color: rgba(91, 110, 126, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pay-powered-by__logo {
  width: 114px;
  height: auto;
}

.voice-card {
  min-height: calc(100dvh - 28px);
}

.voice-status-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid rgba(91, 110, 126, 0.12);
  border-radius: 20px;
  background: #ffffff;
}

.voice-orb {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255, 255, 255, 0.96) 0 28%,
      transparent 29%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(91, 110, 126, 0.16) 0 42%,
      rgba(91, 110, 126, 0.08) 43% 68%,
      transparent 69%
    );
  transition: background 180ms ease;
}

.voice-card[data-status="connecting"] .voice-orb,
.voice-card[data-status="connected"] .voice-orb {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255, 255, 255, 0.96) 0 28%,
      transparent 29%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(239, 118, 71, 0.18) 0 42%,
      rgba(239, 118, 71, 0.08) 43% 68%,
      transparent 69%
    );
}

.voice-card[data-status="error"] .voice-orb {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255, 255, 255, 0.96) 0 28%,
      transparent 29%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(197, 60, 22, 0.18) 0 42%,
      rgba(197, 60, 22, 0.08) 43% 68%,
      transparent 69%
    );
}

.voice-orb span {
  display: block;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(91, 110, 126, 0.58),
    rgba(91, 110, 126, 0.42)
  );
  box-shadow: 0 18px 40px rgba(91, 110, 126, 0.18);
  transform: scale(0.9);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 220ms ease;
}

.voice-card[data-status="connecting"] .voice-orb span,
.voice-card[data-status="connected"] .voice-orb span {
  background: linear-gradient(
    180deg,
    rgba(239, 118, 71, 0.98),
    rgba(197, 60, 22, 0.92)
  );
  box-shadow: 0 18px 40px rgba(239, 118, 71, 0.24);
}

.voice-card[data-status="error"] .voice-orb span {
  background: linear-gradient(
    180deg,
    rgba(197, 60, 22, 0.9),
    rgba(151, 42, 12, 0.84)
  );
  box-shadow: 0 18px 40px rgba(197, 60, 22, 0.2);
}

.voice-card[data-status="connected"] .voice-orb span,
.voice-card[data-status="connecting"] .voice-orb span {
  animation: voice-pulse 1.8s ease-in-out infinite;
}

.voice-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-controls .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.voice-mute-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  padding: 0;
}

.voice-mute-button[data-muted="true"] {
  background: rgba(197, 60, 22, 0.1);
  color: #c53c16;
  box-shadow: inset 0 0 0 1px rgba(197, 60, 22, 0.16);
}

.voice-mute-button::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-42deg);
}

.voice-mute-button svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.voice-context-panel {
  display: grid;
  align-content: start;
  min-height: max(300px, calc(100dvh - 200px));
  margin-top: 18px;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(91, 110, 126, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 248, 244, 0.92)
    ),
    radial-gradient(
      circle at 12% 18%,
      rgba(239, 118, 71, 0.12),
      transparent 34%
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.voice-product-grid {
  display: grid;
  gap: 12px;
}

.voice-product-card,
.voice-product-detail {
  border: 1px solid rgba(91, 110, 126, 0.11);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(91, 110, 126, 0.08);
}

.voice-product-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.voice-product-card:focus-visible {
  outline: 3px solid rgba(239, 118, 71, 0.24);
  outline-offset: 2px;
}

.voice-product-card:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 118, 71, 0.26);
  box-shadow: 0 16px 34px rgba(91, 110, 126, 0.12);
}

.voice-product-card__image {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 15px;
  object-fit: cover;
  background: var(--color-soft);
}

.voice-product-card__body,
.voice-product-detail__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.voice-product-card__body strong {
  color: var(--color-ink);
  font-size: 0.93rem;
  line-height: 1.16;
}

.voice-product-card__body p,
.voice-product-detail__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.38;
}

.voice-product-price {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 900;
}

.voice-product-detail {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
}

.voice-product-detail__image {
  width: 100%;
  max-height: 220px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--color-soft);
}

.voice-product-detail__body h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.28rem;
  line-height: 1.1;
}

.voice-product-price--large {
  min-height: 28px;
  padding: 0 12px;
  font-size: 0.84rem;
}

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

.voice-product-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 18px;
}

.voice-product-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 37, 43, 0.46);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.voice-product-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(82vh, 680px);
  margin: 0 auto;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 248, 244, 0.96)
    ),
    radial-gradient(
      circle at 14% 10%,
      rgba(239, 118, 71, 0.16),
      transparent 34%
    );
  box-shadow: 0 28px 80px rgba(31, 37, 43, 0.24);
}

.voice-product-modal__close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(91, 110, 126, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.voice-product-modal__close:focus-visible {
  outline: 3px solid rgba(239, 118, 71, 0.24);
  outline-offset: 2px;
}

.voice-product-modal-open {
  overflow: hidden;
}

.voice-product-modal .voice-product-detail {
  padding-top: 48px;
  box-shadow: none;
}

.voice-check-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(91, 110, 126, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(91, 110, 126, 0.08);
}

.voice-check-card__header,
.voice-check-totals__row,
.voice-check-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.voice-check-card__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.voice-check-card__title {
  display: grid;
  gap: 2px;
}

.voice-check-card__title span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voice-check-card__title strong {
  color: var(--color-ink);
  font-size: 1.14rem;
  line-height: 1.1;
}

.voice-check-card__total {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
  font-size: 0.92rem;
  font-weight: 900;
}

.voice-check-card__pay,
.voice-payment__back,
.voice-payment__tab {
  border: 1px solid rgba(91, 110, 126, 0.16);
  background: #ffffff;
  color: var(--color-muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.voice-check-card__pay {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--color-accent);
  font-size: 0.76rem;
}

.voice-payment {
  display: grid;
  gap: 16px;
  width: 100%;
}

.voice-payment__back {
  justify-self: start;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.76rem;
}

.voice-payment__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-ink);
}

.voice-payment__heading strong {
  font-size: 1.08rem;
}

.voice-payment__heading span {
  color: var(--color-accent);
  font-size: 0.98rem;
  font-weight: 900;
}

.voice-payment__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.voice-payment__tab {
  min-height: 42px;
  padding: 7px 5px;
  border-radius: 14px;
  font-size: 0.74rem;
  line-height: 1.15;
}

.voice-payment__tab.is-selected {
  border-color: rgba(239, 118, 71, 0.35);
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
}

.voice-payment__tab:disabled {
  cursor: default;
  opacity: 0.58;
}

.voice-payment__content {
  display: grid;
  gap: 12px;
}

.voice-payment__action.is-selected {
  background: #2f7d57;
  box-shadow: none;
}

.voice-payment__frame {
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.voice-check-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.voice-check-card__meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(91, 110, 126, 0.08);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voice-check-item {
  padding: 10px 0;
  border-top: 1px solid rgba(91, 110, 126, 0.09);
}

.voice-check-item__qty {
  flex: 0 0 34px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.voice-check-item__body {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.voice-check-item__body strong {
  color: var(--color-ink);
  font-size: 0.86rem;
  line-height: 1.2;
}

.voice-check-item__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.voice-check-item__price {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.voice-check-totals {
  display: grid;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid rgba(91, 110, 126, 0.12);
}

.voice-check-totals__row {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.voice-check-totals__row strong {
  color: var(--color-ink);
}

.voice-check-totals__row--total {
  color: var(--color-ink);
  font-size: 1rem;
}

.voice-transcript {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(91, 110, 126, 0.12);
  background: #ffffff;
}

.voice-transcript__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.voice-transcript__head strong {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.voice-transcript__meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(91, 110, 126, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
}

.voice-transcript__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.voice-transcript[data-collapsed="false"] .voice-transcript__chevron {
  transform: rotate(225deg) translateY(-2px);
}

.voice-transcript__list {
  display: grid;
  gap: 10px;
  max-height: 34vh;
  min-height: 116px;
  overflow: auto;
  overscroll-behavior: contain;
}

.voice-transcript[data-collapsed="true"] .voice-transcript__list {
  display: none;
}

.voice-empty {
  align-self: center;
  margin: 0;
  color: rgba(31, 37, 43, 0.56);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.voice-message {
  display: grid;
  gap: 4px;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(91, 110, 126, 0.08);
}

.voice-message span {
  color: rgba(91, 110, 126, 0.8);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.voice-message p {
  margin: 0;
  color: var(--color-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.voice-message--assistant {
  justify-self: start;
}

.voice-message--user {
  justify-self: end;
  background: rgba(239, 118, 71, 0.12);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

@keyframes voice-pulse {
  0%,
  100% {
    transform: scale(0.9);
  }

  50% {
    transform: scale(1.03);
  }
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.receipt-card__head {
  align-items: end;
}

.receipt-list,
.receipt-totals {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(31, 37, 43, 0.72);
}

.receipt-row strong {
  color: var(--color-muted);
}

.receipt-row--sub {
  padding-left: 14px;
  font-size: 0.94rem;
}

.receipt-totals {
  padding-top: 18px;
  border-top: 1px solid rgba(91, 110, 126, 0.1);
}

.receipt-row--total {
  padding-top: 6px;
  font-weight: 800;
}

.receipt-row--total strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: var(--color-accent);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 18px;
}

.method-card {
  min-height: 68px;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(91, 110, 126, 0.12);
  background: #ffffff;
  color: var(--color-muted);
  font-weight: 800;
}

.method-card--active {
  border-color: rgba(239, 118, 71, 0.34);
  background: rgba(239, 118, 71, 0.12);
  color: var(--color-accent);
}

.site-footer {
  padding: 28px 0 40px;
}

.site-footer__inner {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid rgba(91, 110, 126, 0.1);
}

.page-pricing .site-footer__inner {
  align-items: center;
}

.page-pricing .footer-brand {
  width: 213px;
  max-width: 30%;
  height: auto;
  margin-inline: auto;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(91, 110, 126, 0.82);
  font-size: 0.95rem;
}

.footer-nav a {
  color: inherit;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(239, 118, 71, 0.24);
  background: rgba(239, 118, 71, 0.08);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .section-heading--feature {
    gap: 18px;
  }

  .video-placeholder {
    max-width: none;
  }

  .hero__grid--split {
    grid-template-columns: 1fr;
  }

  .hero__intro {
    max-width: 100%;
  }

  .hero__intro {
    padding-left: 0;
  }

  .hero-carousel-card {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .hero__grid,
  .portal-layout,
  .feature-grid,
  .pricing-grid,
  .showcase-grid,
  .detail-band,
  .signal-strip,
  .module-grid,
  .timeline,
  .pay-layout,
  .section-heading,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .site-footer__copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--layout-width), calc(100% - 24px));
  }

  .hero {
    padding-top: 36px;
  }

  .page-shell--flow {
    padding: 10px 0 18px;
  }

  .voice-card {
    min-height: calc(100dvh - 28px);
  }

  .voice-context-panel {
    min-height: max(300px, calc(100dvh - 188px));
  }

  .hero__content,
  .hero__panel,
  .page-frame,
  .portal-card,
  .pay-card,
  .feature-card,
  .showcase-card,
  .timeline__item,
  .detail-band__card,
  .pricing-card,
  .module-card {
    padding: 22px;
  }

  .conversation-card,
  .stack-card,
  .receipt-card {
    padding: 18px;
  }

  .nav {
    gap: 6px;
  }

  .nav a {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .brand img {
    width: 176px;
  }

  .hero h1,
  .page-title {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .section-heading h2 {
    max-width: none;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table__row {
    width: 720px;
  }

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

  .payment-field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pay-details__summary,
  .pay-details__body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pay-details__body {
    padding-bottom: 14px;
  }

  .pay-details__head,
  .pay-details__row {
    grid-template-columns: 30px minmax(0, 1fr) 82px;
  }

  .footer-brand {
    width: 132px;
  }
}
