.apps-page {
  background: #080d1b;
  color: var(--ivory);
}

.apps-page .site-header {
  background: rgba(8, 13, 27, .9);
  border-bottom: 1px solid rgba(245, 240, 232, .1);
  backdrop-filter: blur(14px);
}

.apps-page .site-header.scrolled { background: rgba(8, 13, 27, .97); }
.apps-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.apps-wordmark { display: block; width: 128px; height: auto; object-fit: contain; }
.apps-brand span {
  padding-left: 11px;
  border-left: 1px solid rgba(245, 240, 232, .24);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apps-languages { display: flex; align-items: center; gap: 3px; }
.apps-languages a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}
.apps-languages a:hover,
.apps-languages a[aria-current="page"] { border-color: rgba(245, 240, 232, .22); color: var(--ivory); }

.apps-hero {
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  background: #080d1b;
}
.apps-hero__layout {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(350px, .76fr) minmax(560px, 1.24fr);
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
  padding-top: 70px;
  padding-bottom: 52px;
}
.apps-hero__copy { position: relative; z-index: 2; animation: apps-copy-enter .8s cubic-bezier(.22, .61, .36, 1) both; }
.apps-hero h1 {
  max-width: 650px;
  margin: 20px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 5.2vw, 78px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .94;
}
.apps-hero h1 em { color: var(--gold); font-weight: 500; font-style: italic; }
.apps-hero__copy > p:not(.eyebrow, .apps-hero__status) {
  max-width: 590px;
  margin: 28px 0 0;
  color: #dedad1;
  font-size: 17px;
  line-height: 1.65;
}
.apps-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.apps-hero__status { margin: 18px 0 0; color: #aaa59b; font-size: 12px; line-height: 1.5; }
.apps-hero__stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding-top: 42px;
  animation: apps-stage-enter .9s .08s cubic-bezier(.22, .61, .36, 1) both;
}
.apps-hero__product-logo {
  display: block;
  width: clamp(190px, 20vw, 270px);
  height: auto;
  margin: 0 0 18px 4%;
  object-fit: contain;
}
.apps-hero__screen {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 232, .2);
  border-radius: 8px;
  background: #101523;
  box-shadow: 0 36px 76px rgba(0, 0, 0, .52);
}
.apps-hero__media { display: block; width: 100%; height: auto; }
.apps-hero__pedestal {
  position: relative;
  z-index: 1;
  display: block;
  width: 111%;
  max-width: none;
  height: auto;
  margin: -5.5% -5.5% 0;
  object-fit: contain;
  animation: apps-pedestal-enter 1s .16s cubic-bezier(.22, .61, .36, 1) both;
}
.apps-index {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid rgba(245, 240, 232, .14);
  list-style: none;
  animation: apps-copy-enter .8s .22s cubic-bezier(.22, .61, .36, 1) both;
}
.apps-index li {
  display: grid;
  min-height: 76px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  padding: 18px 24px;
  border-right: 1px solid rgba(245, 240, 232, .12);
  color: #bcb7ad;
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
}
.apps-index li:last-child { border-right: 0; }
.apps-index li span { color: var(--gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; }

.apps-catalog { padding: 130px 0 110px; background: #0d1014; }
.apps-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}
.apps-heading h2,
.apps-compare h2,
.apps-maker h2 {
  margin: 16px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .98;
}
.apps-heading > p { max-width: 520px; color: var(--pearl); font-size: 16px; line-height: 1.75; }
.apps-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 18px; align-items: stretch; }
.product-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(245, 240, 232, .13);
  border-radius: 8px;
  background: #121827;
  color: var(--ivory);
  transition: transform .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(201, 169, 97, .48); }
.product-card--phrasefold { border-color: rgba(166, 157, 233, .32); }
.product-card--phrasefold:hover { border-color: rgba(166, 157, 233, .68); }
.product-card__media {
  position: relative;
  overflow: hidden;
  display: flex;
  aspect-ratio: 5 / 3;
  align-items: center;
  justify-content: center;
  background: #080d1b;
}
.product-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.012); }
.product-card__platform {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: rgba(5, 9, 18, .86);
  color: #f5f0e8;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 32px; }
.product-card__identity { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-card__number { color: var(--gold); font-size: 11px; letter-spacing: 0; }
.product-card__availability { color: #9bd7bd; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.product-card__availability--soon { color: var(--gold); }
.product-card__tag { margin: 30px 0 0; color: var(--muted); font-size: 10px; letter-spacing: 0; text-transform: uppercase; }
.product-card__logo-title { display: flex; min-height: 70px; align-items: center; margin: 14px 0 18px; }
.product-card__logo-title img { display: block; height: auto; object-fit: contain; }
.product-card__logo-title--phrasefold img { width: min(330px, 78%); }
.product-card__logo-title--livoza img { width: 106px; border-radius: 23%; }
.product-card p { max-width: 650px; color: var(--pearl); font-size: 14px; line-height: 1.7; }
.product-card__benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(245, 240, 232, .12); list-style: none; }
.product-card__benefits li { padding: 12px 0; border-bottom: 1px solid rgba(245, 240, 232, .12); color: #d8d4ca; font-size: 11px; }
.product-card__benefits li:nth-child(odd) { padding-right: 12px; }
.product-card__benefits li:nth-child(even) { padding-left: 12px; border-left: 1px solid rgba(245, 240, 232, .12); }
.product-card__price { margin: 26px 0 0 !important; color: #f5f0e8 !important; font-weight: 700; }
.product-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.product-card__actions .button { min-height: 46px; }

.apps-compare { padding: 110px 0; background: #080d1b; }
.apps-compare h2 { max-width: 820px; margin-top: 0; }
.apps-table-wrap { overflow-x: auto; margin-top: 44px; border-top: 1px solid rgba(245, 240, 232, .16); }
.apps-compare table { width: 100%; min-width: 660px; border-collapse: collapse; color: #dedad1; }
.apps-compare th,
.apps-compare td { padding: 20px 18px; border-bottom: 1px solid rgba(245, 240, 232, .12); text-align: left; }
.apps-compare thead th { color: var(--gold); font-size: 10px; letter-spacing: 0; text-transform: uppercase; }
.apps-compare tbody th { width: 46%; color: #f5f0e8; font-weight: 600; }
.apps-compare tbody td { color: #bcb7ad; }

.apps-maker {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: #080d1b;
}
.apps-maker > img,
.apps-maker__veil { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.apps-maker > img { object-fit: cover; object-position: center; opacity: .52; }
.apps-maker__veil { z-index: -1; background: rgba(4, 8, 18, .58); }
.apps-maker__content { padding-top: 100px; padding-bottom: 100px; }
.apps-maker h2 { max-width: 900px; }
.apps-maker__content > p:not(.eyebrow) { max-width: 660px; margin: 28px 0; color: #dedad1; font-size: 17px; line-height: 1.7; }

.apps-foot { background: #080d1b; }
.apps-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.apps-foot nav a { color: var(--muted); font-size: 11px; text-decoration: none; }
.apps-foot nav a:hover { color: var(--gold); }

@keyframes apps-copy-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes apps-stage-enter {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes apps-pedestal-enter {
  from { opacity: 0; transform: translateY(12px) scaleX(.96); }
  to { opacity: 1; transform: translateY(0) scaleX(1); }
}

@media (max-width: 1100px) {
  .apps-hero__layout { grid-template-columns: minmax(320px, .86fr) minmax(470px, 1.14fr); gap: 32px; }
  .apps-hero h1 { font-size: 62px; }
  .apps-heading { grid-template-columns: 1fr; gap: 28px; }
  .apps-grid { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 820px) {
  .apps-hero { padding-top: 72px; }
  .apps-hero__layout { min-height: 0; grid-template-columns: 1fr; padding-top: 62px; padding-bottom: 34px; }
  .apps-hero__copy { max-width: 660px; }
  .apps-hero__stage { width: min(100%, 720px); padding-top: 12px; }
  .apps-hero__product-logo { margin-left: 0; }
  .apps-index { grid-template-columns: 1fr; }
  .apps-index li { min-height: 58px; grid-template-columns: 32px 1fr; padding: 12px 18px; border-right: 0; border-bottom: 1px solid rgba(245, 240, 232, .12); font-size: 9px; }
  .apps-index li:last-child { border-bottom: 0; }
  .apps-index li span { font-size: 18px; }
}

@media (max-width: 700px) {
  .apps-wordmark { width: 104px; }
  .apps-brand span { font-size: 8px; }
  .apps-languages { gap: 0; }
  .apps-languages a { width: 27px; height: 30px; font-size: 9px; }
  .site-header__actions .button { display: none; }
  .apps-hero__layout { padding-top: 42px; }
  .apps-hero h1 { font-size: 48px; line-height: .96; }
  .apps-hero__copy > p:not(.eyebrow, .apps-hero__status) { margin-top: 22px; font-size: 15px; line-height: 1.6; }
  .apps-hero__actions { display: grid; margin-top: 24px; }
  .apps-hero__actions .button { width: 100%; }
  .apps-hero__status { margin-top: 16px; }
  .apps-hero__product-logo { width: 180px; margin-bottom: 12px; }
  .apps-hero__screen { border-radius: 6px; }
  .apps-hero__pedestal { width: 108%; margin: -5% -4% 0; }
  .apps-catalog { padding: 84px 0 76px; }
  .apps-heading h2,
  .apps-compare h2,
  .apps-maker h2 { font-size: 44px; }
  .apps-heading { margin-bottom: 36px; }
  .product-card__media { aspect-ratio: 5 / 3; }
  .product-card__platform { right: 10px; top: 10px; padding: 7px 8px; }
  .product-card__body { padding: 24px 20px; }
  .product-card__logo-title--phrasefold img { width: min(290px, 88%); }
  .product-card__logo-title--livoza img { width: 92px; }
  .product-card__benefits { grid-template-columns: 1fr; }
  .product-card__benefits li,
  .product-card__benefits li:nth-child(odd),
  .product-card__benefits li:nth-child(even) { padding: 11px 0; border-left: 0; }
  .product-card__actions { display: grid; }
  .product-card__actions .button { width: 100%; }
  .apps-compare { padding: 76px 0; }
  .apps-table-wrap { margin-top: 32px; }
  .apps-maker { min-height: 640px; align-items: flex-end; }
  .apps-maker > img { object-position: 58% center; }
  .apps-maker__content { padding-top: 86px; padding-bottom: 66px; }
  .apps-maker__content > p:not(.eyebrow) { font-size: 15px; }
  .apps-foot .shell { align-items: flex-start; }
  .apps-foot nav { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .apps-hero__copy,
  .apps-hero__stage,
  .apps-hero__pedestal,
  .apps-index,
  .product-card,
  .product-card__media img { animation: none; transition: none; }
}
