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

a:focus-visible,
button:focus-visible,
.nav-dropdown__trigger:focus-visible {
  outline: 2px solid #21180c;
  outline-offset: 2px;
  border-radius: 4px;
}

html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1c1712;
  background: #f7f5f1;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  overflow: visible;
  position: relative;
  margin: 0 auto;
}

.page > * {
  min-width: 0;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(145, 130, 119, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(33, 24, 12, 0.06), transparent 60%);
  pointer-events: none;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand__name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #21180c;
}

.header__start {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b635a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: #1c1712;
}

.nav-dropdown__menu--wide {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 0.5rem;
  row-gap: 0.125rem;
  width: max-content;
  min-width: auto;
  padding: 0.625rem;
}

.nav-dropdown__menu--products {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 0.5rem;
  row-gap: 0.125rem;
  width: max-content;
  min-width: auto;
  padding: 0.625rem;
}

.nav-dropdown__menu--wide .nav-dropdown__item,
.nav-dropdown__menu--products .nav-dropdown__item {
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b635a;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown:focus-within .nav-dropdown__trigger {
  color: #1c1712;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 10rem;
  padding: 0.625rem 0.375rem 0.375rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(33, 24, 12, 0.08);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.625rem;
  transform: translateY(-100%);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1c1712;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__item:hover {
  background: rgba(33, 24, 12, 0.05);
  color: #21180c;
}

.nav-dropdown__item--active {
  background: rgba(33, 24, 12, 0.06);
  color: #21180c;
}

html:has(.page--home) body,
html:has(.page--product) body,
html:has(.page--pricing) body,
html:has(.page--cases) body {
  overflow-y: auto;
}

body.nav-open {
  overflow: hidden;
}

.page--home {
  height: auto;
  min-height: 100dvh;
  max-height: none;
}

.page--home .home {
  position: relative;
  z-index: 1;
}

.page--home .hero {
  min-height: calc(100dvh - 8rem);
  padding-bottom: 2rem;
}

.market {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 3rem;
}

.market__inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.25rem clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.58) 100%);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 1.125rem;
  box-shadow: 0 12px 40px rgba(33, 24, 12, 0.05);
  backdrop-filter: blur(12px);
}

.market__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #796e62;
}

.market__headline {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #21180c;
}

.market__headline em {
  font-style: italic;
  color: #6b635a;
}

.market__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.market-stat {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem 1rem;
  background: rgba(247, 245, 241, 0.65);
  border: 1px solid rgba(33, 24, 12, 0.06);
  border-radius: 0.875rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.market-stat:hover {
  border-color: rgba(33, 24, 12, 0.12);
  transform: translateY(-2px);
}

.market-stat--accent {
  background: #21180c;
  border-color: #21180c;
}

.market-stat--accent .market-stat__value,
.market-stat--accent .market-stat__label {
  color: #f7f5f1;
}

.market-stat--accent .market-stat__label {
  opacity: 0.72;
}

.market-stat__value {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #21180c;
}

.market-stat__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6b635a;
}

.market__footnote {
  margin: 0;
  max-width: 38rem;
  margin-inline: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #796e62;
}

.market__sources {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: #796e62;
}

@media (max-width: 640px) {
  .market {
    padding-bottom: 2rem;
  }

  .market__inner {
    padding: 1.75rem 1.25rem;
  }

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

  .market-stat--accent {
    order: -1;
  }
}

.home .section {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 4vw, 2.5rem);
}

.home .section + .section {
  padding-top: 0;
}

.section__intro {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #21180c;
}

.section__desc {
  margin: 0 auto;
  max-width: 42ch;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.65;
  color: #6b635a;
}

.card-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
}

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

.card-grid--products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 56rem;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 0.875rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(33, 24, 12, 0.14);
  box-shadow: 0 8px 24px rgba(33, 24, 12, 0.06);
  transform: translateY(-2px);
}

.feature-card__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #21180c;
}

.feature-card__desc {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b635a;
}

.feature-card__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #21180c;
}

@media (max-width: 900px) {
  .card-grid--solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .page--home .hero {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .home .section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .card-grid--solutions,
  .card-grid--products {
    grid-template-columns: 1fr;
  }

  .section__intro {
    margin-bottom: 1.75rem;
  }
}

.page--product {
  grid-template-rows: auto 1fr auto;
  height: auto;
  min-height: 100dvh;
}

.page--product .hero {
  justify-content: flex-start;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.page--cases {
  grid-template-rows: auto 1fr auto;
  height: auto;
  min-height: 100dvh;
}

.cases {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
  min-width: 0;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 1rem;
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow-y: auto;
}

.cases__intro {
  text-align: center;
}

.cases__intro .badge {
  margin-bottom: 1rem;
}

.cases__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.case-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 0.875rem;
  backdrop-filter: blur(8px);
}

.case-card__name {
  margin: 0 0 0.75rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.case-card__tag {
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b635a;
  background: rgba(33, 24, 12, 0.05);
  border-radius: 999px;
}

.case-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b635a;
}

@media (max-width: 640px) {
  .cases__grid {
    grid-template-columns: 1fr;
  }

  .cases {
    gap: 1.25rem;
    justify-content: flex-start;
    padding-top: 0.5rem;
  }
}

.page--pricing {
  grid-template-rows: auto 1fr auto;
  height: auto;
  min-height: 100dvh;
}

.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  min-width: 0;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 2rem;
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow-y: auto;
}

.pricing__intro {
  text-align: center;
}

.pricing__intro .badge {
  margin-bottom: 1rem;
}

.pricing__title {
  margin: 0 0 0.75rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pricing__desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b635a;
}

.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 0.875rem;
  backdrop-filter: blur(8px);
}

.pricing-table th,
.pricing-table td {
  padding: 0.875rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(33, 24, 12, 0.06);
  vertical-align: middle;
}

.pricing-table thead th {
  padding-top: 1.25rem;
  border-bottom: 1px solid rgba(33, 24, 12, 0.08);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table__feature {
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: #21180c;
}

.pricing-table__plan {
  min-width: 7rem;
}

.pricing-table__name {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #21180c;
}

.pricing-table__price {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b635a;
}

.pricing-table__price-note {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #796e62;
}

.pricing-table__feature-note {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #796e62;
}

.pricing-table__value {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #21180c;
}

.pricing-table__value-sub {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #796e62;
}

.pricing-table__footnote {
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #796e62;
  text-align: center;
}

.pricing-table__plan--highlight {
  background: rgba(33, 24, 12, 0.03);
}

.pricing-table__check,
.pricing-table__dash {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
}

.pricing-table__check {
  color: #21180c;
  font-weight: 600;
}

.pricing-table__dash {
  color: #c4bdb4;
}

.pricing-table tfoot td {
  padding: 1.25rem 1rem;
  border-bottom: none;
  border-top: 1px solid rgba(33, 24, 12, 0.08);
}

.pricing-table__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #21180c;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(33, 24, 12, 0.12);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-table__cta:hover {
  border-color: rgba(33, 24, 12, 0.2);
  box-shadow: 0 4px 12px rgba(33, 24, 12, 0.06);
}

.pricing-table__cta--primary {
  color: #f7f5f1;
  background: #21180c;
  border-color: #21180c;
}

.pricing-table__cta--primary:hover {
  background: #2e2214;
  border-color: #2e2214;
  box-shadow: 0 4px 12px rgba(33, 24, 12, 0.15);
}

@media (max-width: 640px) {
  .pricing {
    gap: 1.5rem;
    padding-top: 0.5rem;
  }
}

.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(33, 24, 12, 0.1);
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.85);
  color: #21180c;
  cursor: pointer;
  flex-shrink: 0;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__menu-icon {
  position: relative;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.header__menu-icon::before {
  top: -5px;
}

.header__menu-icon::after {
  top: 5px;
}

body.nav-open .header__menu-icon {
  background: transparent;
}

body.nav-open .header__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .header__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.header__nav-backdrop,
.header__nav-close {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
}

.header__lang-link {
  padding: 0.25rem 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #918277;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.header__lang-link:hover {
  color: #21180c;
}

.header__lang-link--active {
  color: #21180c;
  background: rgba(33, 24, 12, 0.06);
}

.header__lang-sep {
  font-size: 0.75rem;
  color: #c4bdb4;
  user-select: none;
}

.header__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b635a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header__link:hover {
  color: #1c1712;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  position: relative;
  z-index: 1;
  min-height: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b635a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.headline {
  margin: 0 auto 1.25rem;
  width: 100%;
  max-width: min(900px, 100%);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.headline__line {
  display: block;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.headline__line--nowrap {
  white-space: nowrap;
  font-size: clamp(1.125rem, 4.2vw, 3.75rem);
}

.headline__line:nth-child(1) {
  animation-delay: 0.08s;
}

.headline__line:nth-child(2) {
  animation-delay: 0.16s;
}

.headline__line--accent {
  font-style: italic;
  color: #21180c;
}

.subhead {
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 48ch;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.65;
  color: #6b635a;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero--with-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem 3rem;
  max-width: 80rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  text-align: left;
}

.hero--with-visual .hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero--with-visual .headline,
.hero--with-visual .subhead {
  margin-left: 0;
  margin-right: 0;
}

/* Hero intro — mysterious card on page load */

.page--home.is-hero-intro .hero__content--deferred,
.page--home.is-hero-intro .hero__visual--deferred {
  opacity: 0;
  visibility: hidden;
}

.page--home.is-hero-intro .hero--with-visual .badge,
.page--home.is-hero-intro .hero--with-visual .headline__line,
.page--home.is-hero-intro .hero--with-visual .subhead,
.page--home.is-hero-intro .hero--with-visual .hero__actions {
  animation: none;
}

.page--home.is-hero-ready .hero--with-visual .badge {
  animation: fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.page--home.is-hero-ready .hero--with-visual .headline__line:nth-child(1) {
  animation: fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.page--home.is-hero-ready .hero--with-visual .headline__line:nth-child(2) {
  animation: fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.page--home.is-hero-ready .hero--with-visual .subhead {
  animation: fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.page--home.is-hero-ready .hero--with-visual .hero__actions {
  animation: fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.page--home.is-hero-ready .hero__visual--deferred {
  animation: hero-visual-reveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-intro.is-exiting {
  opacity: 0;
}

.hero-intro.is-exiting .hero-intro__card-wrap {
  animation: none;
  transform: translateY(-6px) scale(0.98);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
}

.page--home.is-hero-intro .hero--with-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, rgba(247, 245, 241, 0.55) 100%);
}

.hero-intro__ambient {
  position: absolute;
  width: min(22rem, 70vw);
  height: min(22rem, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 118, 0.28) 0%, rgba(201, 168, 118, 0) 68%);
  filter: blur(28px);
  animation: hero-intro-glow 2.8s ease-in-out infinite;
}

.hero-intro__card-wrap {
  position: relative;
  z-index: 1;
  perspective: 1400px;
  animation: hero-intro-float 3.2s ease-in-out infinite;
}

.hero-intro__card {
  width: min(17.5rem, 72vw);
  height: 11.5rem;
  animation: hero-intro-enter 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-intro__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-intro.is-flip .hero-intro__inner {
  transform: rotateY(180deg) scale(1.02);
}

.hero-intro__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  backface-visibility: hidden;
  overflow: hidden;
}

.hero-intro__face--back {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 118, 0.14) 0%, transparent 55%),
    linear-gradient(145deg, #2a2018 0%, #100c08 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 56px rgba(15, 10, 6, 0.42);
}

.hero-intro__face--front {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.55) 0%, transparent 52%),
    linear-gradient(135deg, #f7f5f1 0%, #e8dcc8 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 28px 56px rgba(33, 24, 12, 0.22);
}

.hero-intro__brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-intro__face--back .hero-intro__brand {
  color: rgba(247, 245, 241, 0.92);
  text-shadow: 0 0 32px rgba(201, 168, 118, 0.35);
}

.hero-intro__face--front .hero-intro__brand {
  color: rgba(33, 24, 12, 0.88);
}

.hero-intro__shimmer {
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.07) 48%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.07) 52%,
    transparent 58%
  );
  transform: translateX(-120%) rotate(8deg);
  opacity: 0;
}

.hero-intro.is-shimmer .hero-intro__shimmer {
  animation: hero-intro-shimmer 1.35s cubic-bezier(0.16, 1, 0.3, 1) 2;
}

.hero-intro__spark {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.65) 0%, transparent 55%);
  opacity: 0;
  transform: scale(0.6);
}

.hero-intro.is-flip .hero-intro__spark {
  animation: hero-intro-spark 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__visual {
  margin: 0;
  flex-shrink: 0;
}

.hero__visual-image {
  display: block;
  width: min(280px, 42vw);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(33, 24, 12, 0.18));
}

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

.hero-cards {
  position: relative;
  width: min(320px, 78vw);
  margin-inline: auto;
}

.hero-cards__stack {
  position: relative;
  height: 13.25rem;
  padding-top: 2rem;
}

.hero-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 2rem;
  height: 11.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.375rem;
  border-radius: 0.875rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 48px rgba(33, 24, 12, 0.18);
  transform: translateY(-2.5rem) scale(0.94);
  opacity: 0.45;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  transform-origin: center top;
  will-change: transform, opacity;
}

.hero-card.is-stack-4 {
  z-index: 0;
  transform: translateY(-2.5rem) scale(0.94);
  opacity: 0.45;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 6px 16px rgba(33, 24, 12, 0.06);
}

.hero-card.is-stack-3 {
  z-index: 1;
  transform: translateY(-1.875rem) scale(0.955);
  opacity: 0.55;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(33, 24, 12, 0.08);
}

.hero-card.is-stack-2 {
  z-index: 2;
  transform: translateY(-1.25rem) scale(0.97);
  opacity: 0.72;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 28px rgba(33, 24, 12, 0.12);
}

.hero-card.is-stack-1 {
  z-index: 3;
  transform: translateY(-0.625rem) scale(0.985);
  opacity: 0.88;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 36px rgba(33, 24, 12, 0.15);
}

.hero-card.is-active {
  z-index: 4;
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 48px rgba(33, 24, 12, 0.18);
}

.hero-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-card__brand {
  flex-shrink: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: 0.72;
}

.hero-card__type {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card__title {
  margin: 0.625rem 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-card__meta {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-card__value {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 999px;
}

.hero-card--gift {
  background: linear-gradient(135deg, #f7f5f1 0%, #e8dcc8 100%);
  color: #21180c;
}

.hero-card--gift .hero-card__type,
.hero-card--gift .hero-card__meta {
  color: rgba(33, 24, 12, 0.62);
}

.hero-card--gift .hero-card__pill {
  color: #f7f5f1;
  background: #21180c;
}

.hero-card--guest {
  background: linear-gradient(135deg, #f7f5f1 0%, #e8e2d8 100%);
  color: #21180c;
}

.hero-card--guest .hero-card__type,
.hero-card--guest .hero-card__meta {
  color: rgba(33, 24, 12, 0.62);
}

.hero-card--guest .hero-card__pill {
  color: #f7f5f1;
  background: #21180c;
}

.hero-card--session {
  background: linear-gradient(135deg, #d4e4dc 0%, #a8c4b8 100%);
  color: #21180c;
}

.hero-card--session .hero-card__type,
.hero-card--session .hero-card__meta {
  color: rgba(33, 24, 12, 0.62);
}

.hero-card--session .hero-card__pill {
  color: #f7f5f1;
  background: #384d3e;
}

.hero-card--membership {
  background: linear-gradient(135deg, #384d3e 0%, #21180c 100%);
  color: #fff;
}

.hero-card--membership .hero-card__type,
.hero-card--membership .hero-card__meta {
  color: rgba(255, 255, 255, 0.72);
}

.hero-card--membership .hero-card__brand {
  color: #fff;
  opacity: 0.88;
}

.hero-card--membership .hero-card__pill--member {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-card--loyalty {
  background: linear-gradient(135deg, #f0e0c8 0%, #c9a876 100%);
  color: #21180c;
}

.hero-card--loyalty .hero-card__type,
.hero-card--loyalty .hero-card__meta {
  color: rgba(33, 24, 12, 0.62);
}

.hero-card--loyalty .hero-card__pill {
  color: #f7f5f1;
  background: #21180c;
}

.hero-card--membership .hero-card__footer {
  justify-content: flex-start;
}

.hero-cards__dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-cards__dot {
  width: 0.4375rem;
  height: 0.4375rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(33, 24, 12, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-cards__dot.is-active {
  transform: scale(1.35);
  background: #21180c;
}

.hero-cards__dot:focus-visible {
  outline: 2px solid #21180c;
  outline-offset: 2px;
}

.page--home .hero--with-visual {
  min-height: calc(100dvh - 8rem);
}

.page--home .hero--with-visual .hero__visual {
  padding-bottom: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-card {
    transition: none;
  }

  .hero-card:not(.is-active) {
    opacity: 0;
    visibility: hidden;
  }

  .hero-intro,
  .hero-intro__card-wrap,
  .hero-intro__ambient,
  .hero-intro__shimmer,
  .hero-intro__spark {
    animation: none !important;
  }
}

.section--wallet {
  padding-top: 2rem;
}

.wallet-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem 3rem;
  max-width: 56rem;
  margin: 0 auto;
}

.wallet-showcase__copy .section__title,
.wallet-showcase__copy .section__desc {
  text-align: left;
  margin-left: 0;
}

.wallet-showcase__figure {
  margin: 0;
}

.wallet-showcase__image {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(33, 24, 12, 0.14));
}

@media (max-width: 900px) {
  .hero--with-visual,
  .wallet-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero--with-visual .hero__content {
    align-items: center;
  }

  .hero--with-visual .headline,
  .hero--with-visual .subhead {
    margin-inline: auto;
  }

  .hero-cards {
    width: min(300px, 88vw);
  }

  .wallet-showcase__copy .section__title,
  .wallet-showcase__copy .section__desc {
    text-align: center;
    margin-inline: auto;
  }

  .wallet-showcase__figure {
    order: -1;
  }
}

.product-solutions {
  margin-top: 1.75rem;
}

.product-solutions__label {
  margin: 0 0 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #796e62;
}

.product-solutions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-solutions__item {
  display: inline-flex;
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #21180c;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 24, 12, 0.1);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.product-solutions__item:hover {
  background: #fff;
  border-color: rgba(33, 24, 12, 0.18);
}

.hero--with-visual .product-solutions {
  width: 100%;
}

.hero:not(.hero--with-visual) .product-solutions {
  text-align: center;
}

.hero:not(.hero--with-visual) .product-solutions__list {
  justify-content: center;
}

.feature-card__solutions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card__solution {
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #796e62;
  background: rgba(33, 24, 12, 0.04);
  border-radius: 999px;
}

.solution {
  width: 100%;
  min-width: 0;
}

.solution-products {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4rem);
}

.solution-products .section__intro {
  margin-bottom: 1.5rem;
}

.page--product .solution > .hero {
  max-width: none;
}

.feature-card__use-cases {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.feature-card__use-cases-label {
  margin: 0.125rem 0 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #796e62;
}

.feature-card__use-case {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6e655c;
}

.feature-card:has(.feature-card__use-cases) .feature-card__desc {
  flex: none;
}

.feature-card:has(.feature-card__use-cases) .feature-card__use-cases {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn--primary {
  color: #f7f5f1;
  background: #21180c;
  box-shadow: 0 1px 2px rgba(33, 24, 12, 0.12), 0 4px 16px rgba(33, 24, 12, 0.12);
}

.btn--primary:hover {
  background: #3d2f1f;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(33, 24, 12, 0.14), 0 8px 24px rgba(33, 24, 12, 0.16);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--header {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--ghost {
  color: #21180c;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(33, 24, 12, 0.12);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: #fff;
  border-color: rgba(33, 24, 12, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(33, 24, 12, 0.08);
}

.btn--ghost:active {
  transform: translateY(0);
}

.hero .integrations__list {
  margin-top: 0.5rem;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.integrations__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.integrations__list span {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b635a;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(33, 24, 12, 0.07);
  border-radius: 999px;
  white-space: nowrap;
}

.section--stories {
  padding-top: 0;
  padding-bottom: 3rem;
}

.section--stories .section__intro {
  margin-bottom: 1.75rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 24, 12, 0.08);
  border-radius: 0.875rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.story-card:hover {
  border-color: rgba(33, 24, 12, 0.14);
  box-shadow: 0 8px 24px rgba(33, 24, 12, 0.06);
  transform: translateY(-2px);
}

.story-card__name {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #21180c;
}

.story-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.story-card__tag {
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b635a;
  background: rgba(33, 24, 12, 0.05);
  border-radius: 999px;
}

.story-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b635a;
}

.stories-grid__footer {
  margin: 1.25rem 0 0;
  text-align: center;
}

.stories-grid__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #796e62;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stories-grid__link:hover {
  color: #21180c;
}

@media (max-width: 640px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

.page--home .footer {
  margin-top: 1rem;
}

.footer {
  width: 100%;
  min-width: 0;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(33, 24, 12, 0.08);
  background: rgba(255, 255, 255, 0.35);
}

.footer__inner {
  max-width: 90rem;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}

.footer__heading {
  margin: 0 0 0.875rem;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #796e62;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li + li {
  margin-top: 0.5rem;
}

.footer__list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b635a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: #21180c;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(33, 24, 12, 0.06);
}

.footer__company {
  display: inline-grid;
  place-items: center;
  width: max-content;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #796e62;
  text-decoration: none;
  white-space: nowrap;
}

.footer__note {
  margin: 0;
  font-size: 0.75rem;
  color: #796e62;
}

.footer__short,
.footer__full {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  transition: opacity 0.5s ease-in-out;
}

.footer__short {
  opacity: 0.35;
}

.footer__full {
  opacity: 0;
}

.footer__company:hover .footer__short {
  opacity: 0;
}

.footer__company:hover .footer__full {
  opacity: 0.65;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    margin-bottom: 2rem;
  }

}

/* Animations */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-intro-enter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.88) rotateX(12deg);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
  }
}

@keyframes hero-intro-float {
  0%,
  100% {
    transform: translateY(0) rotateZ(-1deg);
  }
  50% {
    transform: translateY(-10px) rotateZ(1deg);
  }
}

@keyframes hero-intro-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes hero-intro-shimmer {
  0% {
    opacity: 0;
    transform: translateX(-120%) rotate(8deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) rotate(8deg);
  }
}

@keyframes hero-intro-spark {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  35% {
    opacity: 0.75;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes hero-visual-reveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge,
  .headline__line,
  .subhead,
  .hero__actions,
  .hero .integrations__list {
    animation: none;
  }
}

@media (max-width: 900px) {
  .header {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 1rem 1rem;
    position: relative;
    z-index: 210;
  }

  .header__start {
    flex: 1;
    gap: 0.75rem;
    min-width: 0;
  }

  .header__menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100vw, 20rem);
    margin: 0;
    padding: 4.5rem 1.25rem 2rem;
    background: #f7f5f1;
    border-left: 1px solid rgba(33, 24, 12, 0.08);
    box-shadow: -12px 0 40px rgba(33, 24, 12, 0.08);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    visibility: hidden;
  }

  body.nav-open .header__nav {
    transform: translateX(0);
    visibility: visible;
  }

  .header__nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(33, 24, 12, 0.35);
    cursor: pointer;
  }

  body.nav-open .header__nav-backdrop {
    display: block;
  }

  .header__nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(33, 24, 12, 0.1);
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.85);
    color: #21180c;
    cursor: pointer;
  }

  .header__nav-close-icon,
  .header__nav-close-icon::before {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
  }

  .header__nav-close-icon {
    position: relative;
    transform: rotate(45deg);
  }

  .header__nav-close-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transform: rotate(-90deg);
  }

  .header__nav-link {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(33, 24, 12, 0.06);
  }

  .nav-dropdown {
    border-bottom: 1px solid rgba(33, 24, 12, 0.06);
  }

  .nav-dropdown__trigger {
    display: block;
    width: 100%;
    padding: 0.875rem 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #796e62;
    cursor: pointer;
  }

  .nav-dropdown__menu,
  .nav-dropdown__menu--wide,
  .nav-dropdown__menu--products {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .nav-dropdown__menu::before {
    display: none;
  }

  .nav-dropdown__item {
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    border-radius: 0;
  }

  .header__actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .header__link {
    display: none;
  }

  .btn--header {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .headline {
    font-size: clamp(1.875rem, 8vw, 2.75rem);
  }

  .headline__line--nowrap {
    white-space: normal;
  }

  .hero {
    padding-inline: 1rem;
  }

  .hero--with-visual {
    gap: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  }

  .hero__visual-image {
    width: min(220px, 72vw);
    margin-inline: auto;
  }

  .wallet-showcase__image {
    width: min(220px, 72vw);
    margin-inline: auto;
  }

  .market {
    padding-inline: 1rem;
  }

  .market__inner {
    padding: 1.5rem 1rem;
  }

  .home .section {
    padding-inline: 1rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .product-solutions__list {
    justify-content: center;
  }

  .hero--with-visual .product-solutions__list {
    justify-content: center;
  }

  .pricing-table-wrap {
    margin-inline: -0.25rem;
  }

  .pricing-table__feature {
    font-size: 0.8125rem;
    padding-inline: 0.75rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.625rem;
  }

  .pricing-table__cta {
    min-width: 0;
    width: 100%;
    padding-inline: 0.625rem;
    font-size: 0.75rem;
  }

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

  .page--home .hero {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .page--home .hero--with-visual {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .header {
    padding-top: 1rem;
  }

  .header__start {
    gap: 0.875rem;
  }

  .header__actions {
    gap: 0.875rem;
  }

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

  .badge {
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
  }

  .subhead {
    margin-bottom: 1.5rem;
  }

  .footer {
    padding-bottom: 1rem;
  }
}

@media (max-height: 640px) {
  .badge {
    margin-bottom: 1rem;
  }

  .headline {
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  }

  .subhead {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
  }
}
