:root {
  color-scheme: dark;
  --ink: oklch(95% 0.008 92);
  --muted: oklch(72% 0.012 96);
  --dim: oklch(58% 0.01 96);
  --line: oklch(100% 0.006 92 / 12%);
  --surface: oklch(7.8% 0.009 116);
  --surface-deep: oklch(3.5% 0.006 116);
  --accent: oklch(76% 0.16 61);
  --accent-deep: oklch(55% 0.18 42);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface-deep);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 51%, oklch(28% 0.055 126 / 28%), transparent 30rem),
    linear-gradient(100deg, var(--surface-deep) 0%, var(--surface) 52%, oklch(5% 0.01 126) 100%);
  font-family: Avenir Next, Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

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

.site-shell {
  min-height: 100svh;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  padding: 3.5rem 4.3rem 2rem;
  background:
    radial-gradient(circle at 67% 64%, oklch(67% 0.16 55 / 13%), transparent 15rem),
    radial-gradient(circle at 5% 35%, oklch(100% 0.01 92 / 5%), transparent 26rem);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, oklch(2.4% 0.006 116 / 98%) 0%, oklch(4.5% 0.009 116 / 92%) 36%, transparent 66%),
    radial-gradient(circle at 32% 88%, oklch(18% 0.022 95 / 38%), transparent 22rem);
}

.hero__image {
  position: absolute;
  inset: 0 -5.2rem 0 auto;
  z-index: -2;
  width: min(54rem, 54vw);
  height: 100%;
  opacity: 0;
  filter: saturate(1.08) contrast(1.04);
  object-fit: contain;
  object-position: right bottom;
  transform: translateX(1.6rem) scale(1.015);
  animation: image-enter 900ms var(--ease-out) 90ms forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, oklch(3% 0.006 116 / 98%) 0%, oklch(3% 0.006 116 / 82%) 39%, oklch(3% 0.006 116 / 25%) 63%, oklch(3% 0.006 116 / 18%) 100%),
    linear-gradient(0deg, oklch(2.4% 0.006 116 / 72%) 0%, transparent 34%, transparent 100%);
}

.site-header {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  gap: 1.9rem;
  width: min(68rem, 100%);
  min-height: 2.25rem;
}

.brand,
.brand-line {
  opacity: 0;
  transform: translateY(0.45rem);
  animation: item-enter 560ms var(--ease-out) forwards;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

.brand__mark {
  width: 1.72rem;
  height: 1.72rem;
  display: block;
  filter: brightness(1.35) contrast(1.08);
  object-fit: contain;
  object-position: center;
}

.brand__name {
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-line {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1;
  animation-delay: 50ms;
}

.brand-line::before {
  position: absolute;
  top: 50%;
  left: -1rem;
  width: 1px;
  height: 1.55rem;
  content: "";
  background: var(--line);
  transform: translateY(-50%);
}

.hero__content {
  width: min(75rem, 100%);
  padding-top: 16.8rem;
}

.hero__content > * {
  opacity: 0;
  transform: translateY(0.85rem);
  animation: item-enter 700ms var(--ease-out) forwards;
}

.hero__content h1 {
  max-width: 65rem;
  margin: 0;
  color: oklch(93% 0.008 92);
  font-family: Didot, "Bodoni 72", Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.11;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0.45rem 2.5rem oklch(0% 0 0 / 32%);
  animation-delay: 170ms;
}

.hero__content h1 span {
  display: block;
}

.scripture {
  display: flex;
  align-items: center;
  gap: 0.92rem;
  margin: 3rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  animation-delay: 250ms;
}

.scripture span {
  width: 1.78rem;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 1.1rem oklch(76% 0.16 61 / 60%);
}

.hero__copy {
  max-width: 31rem;
  margin: 2.05rem 0 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.45;
  animation-delay: 310ms;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.6rem;
  min-width: 12rem;
  min-height: 3.9rem;
  margin-top: 2.8rem;
  padding: 0 1.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--ink);
  background: oklch(100% 0.006 92 / 2.5%);
  font-size: 1rem;
  font-weight: 650;
  box-shadow:
    inset 0 1px 0 oklch(100% 0.006 92 / 5%),
    0 1.5rem 5rem oklch(0% 0 0 / 15%);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 140ms var(--ease-press);
  animation-delay: 370ms;
}

.hero__button-arrow {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms var(--ease-out);
}

.hero__button:active {
  transform: scale(0.975);
}

.hero__button:focus-visible,
.brand:focus-visible,
.app-card__title-link:focus-visible,
.app-card__logo-link:focus-visible,
.app-card__action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.35rem;
}

.section-preview {
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 4.3rem clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(circle at 70% 18%, oklch(22% 0.042 126 / 20%), transparent 24rem),
    linear-gradient(180deg, oklch(2.6% 0.006 116) 0%, oklch(4.2% 0.008 116) 100%);
}

.section-preview__box {
  width: min(92rem, 100%);
  min-height: clamp(42rem, 56vw, 54rem);
  margin: 0 auto;
  padding: clamp(3.25rem, 6vw, 5.8rem) clamp(2.1rem, 4.4vw, 4.2rem) clamp(2.8rem, 5vw, 4.6rem);
  background:
    linear-gradient(135deg, oklch(100% 0.006 92 / 3.5%), transparent 36%),
    oklch(100% 0.006 92 / 1.5%);
}

.apps-panel {
  display: grid;
  align-content: start;
  gap: clamp(4.2rem, 8vw, 7.5rem);
  overflow: hidden;
}

.apps-panel__header {
  display: grid;
  gap: clamp(2.8rem, 5vw, 4.5rem);
  max-width: 58rem;
}

.section-kicker {
  margin: 0;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "[ ";
}

.section-kicker::after {
  content: " ]";
}

.apps-panel__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

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

.app-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: clamp(31rem, 36vw, 38rem);
  overflow: hidden;
  padding: clamp(1.9rem, 3vw, 2.7rem) clamp(1.6rem, 3vw, 2.6rem) 0;
  border-left: 1px solid oklch(100% 0.006 92 / 10%);
}

.app-card h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  font-weight: 500;
  line-height: 1.12;
}

.app-card__title-link {
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease;
}

.app-card__copy {
  position: relative;
  z-index: 1;
  max-width: 23rem;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.45;
}

.app-card__preview {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: end;
  min-height: 16rem;
  margin: 2.5rem 0 1.8rem;
}

.app-card__logo-link {
  display: grid;
  place-items: center;
  width: min(18rem, 78%);
  aspect-ratio: 1;
  opacity: 0.24;
  transition:
    opacity 180ms ease,
    transform 180ms var(--ease-out);
}

.app-card__logo-link img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.app-card--tracit .app-card__logo-link {
  width: min(17rem, 74%);
  opacity: 0.34;
}

.app-card--blocks .app-card__logo-link {
  width: min(12.5rem, 58%);
  opacity: 0.28;
}

.app-card__action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.28rem;
  height: 1.52rem;
  min-height: 0;
  margin-bottom: 0.1rem;
  padding: 0 0.66rem;
  border: 1px solid oklch(100% 0.006 92 / 20%);
  border-radius: 99rem;
  color: var(--ink);
  background: oklch(0% 0 0 / 18%);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.58rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms var(--ease-press);
}

.app-card__action span:last-child {
  font-size: 0.62rem;
  letter-spacing: 0;
  transition: transform 180ms var(--ease-out);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 36rem;
  padding: clamp(12.5rem, 18vw, 16rem) 4.3rem 3.4rem;
  background:
    radial-gradient(circle at 20% 38%, oklch(16% 0.018 116 / 42%), transparent 27rem),
    linear-gradient(180deg, oklch(4.2% 0.008 116) 0%, oklch(2.4% 0.006 116) 100%);
}

.footer-globe {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: clamp(12rem, 21vw, 19rem);
  background-image: linear-gradient(180deg, transparent 0%, oklch(2.4% 0.006 116 / 22%) 52%, oklch(2.4% 0.006 116) 100%), url("assets/footer-globe.png");
  background-repeat: no-repeat;
  background-position: center 41%;
  background-size: cover;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 54%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 54%, transparent 100%);
}

.site-footer__inner {
  width: min(42rem, 100%);
}

.site-footer__brand h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.35vw, 1.45rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.site-footer__social {
  display: grid;
  gap: 0.72rem;
  margin-top: 2.65rem;
}

.site-footer__social p {
  margin: 0 0 0.3rem;
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1;
  transition:
    color 160ms ease,
    transform 160ms var(--ease-press);
}

.social-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.18rem;
  height: 1.18rem;
  flex: 0 0 auto;
}

.social-icon--instagram {
  border: 1.5px solid currentColor;
  border-radius: 0.32rem;
}

.social-icon--instagram::before {
  width: 0.38rem;
  height: 0.38rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.social-icon--instagram::after {
  position: absolute;
  width: 0.14rem;
  height: 0.14rem;
  margin: -0.48rem 0 0 0.48rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.social-icon--x {
  font-size: 1.04rem;
  font-weight: 400;
  font-family: Avenir Next, Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.site-footer__bottom p {
  margin: 0;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: 1.65rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  padding-bottom: 0.38rem;
  border-bottom: 1px solid oklch(100% 0.006 92 / 28%);
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1;
  transition:
    border-color 160ms ease,
    transform 160ms var(--ease-press);
}

.legal-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 3.5rem 4.3rem;
  background:
    radial-gradient(circle at 76% 20%, oklch(22% 0.04 126 / 34%), transparent 27rem),
    radial-gradient(circle at 20% 74%, oklch(71% 0.14 55 / 8%), transparent 23rem),
    linear-gradient(125deg, var(--surface-deep) 0%, oklch(5.2% 0.008 116) 54%, oklch(7% 0.012 126) 100%);
  color: var(--ink);
}

.legal-page::before {
  position: absolute;
  inset: auto -12rem -18rem auto;
  width: min(42rem, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, oklch(100% 0.006 92 / 12%), transparent 0.28rem),
    repeating-radial-gradient(circle at 44% 35%, oklch(90% 0.012 220 / 18%) 0 1px, transparent 1px 1.15rem);
  opacity: 0.18;
  content: "";
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
}

.legal-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.legal-brand {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1;
}

.legal-home {
  color: var(--muted);
  font-size: 0.92rem;
  transition:
    color 160ms ease,
    transform 160ms var(--ease-press);
}

.legal-hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: clamp(19rem, 44vw, 34rem);
  max-width: 72rem;
}

.legal-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1;
}

.legal-kicker::before {
  width: 1.8rem;
  height: 1px;
  background: var(--accent);
  content: "";
}

.legal-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
}

.legal-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  max-width: 58rem;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.legal-page-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  max-width: 58rem;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.legal-updated {
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.35rem;
  padding: 0.62rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--muted);
  background: oklch(100% 0.006 92 / 3%);
  font-size: 0.84rem;
  line-height: 1;
}

.legal-block {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.legal-block:last-child {
  border-bottom: 0;
}

.legal-block h2 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-block p {
  margin: 0;
}

.legal-block p + p,
.legal-block p + ul {
  margin-top: 0.85rem;
}

.legal-block ul {
  display: grid;
  gap: 0.54rem;
  margin: 0;
  padding-left: 1.25rem;
}

.legal-block a {
  color: var(--ink);
  border-bottom: 1px solid oklch(76% 0.16 61 / 55%);
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero__button:hover {
    border-color: oklch(76% 0.16 61 / 55%);
    background: oklch(100% 0.006 92 / 5%);
  }

  .hero__button:hover .hero__button-arrow {
    transform: translateX(0.22rem);
  }

  .site-footer__social a:hover,
  .footer-link:hover,
  .legal-home:hover {
    transform: translateX(0.15rem);
  }

  .footer-link:hover {
    border-color: var(--accent);
  }

  .legal-home:hover {
    color: var(--ink);
  }

  .app-card__title-link:hover {
    color: oklch(92% 0.04 92);
  }

  .app-card:hover .app-card__logo-link,
  .app-card:focus-within .app-card__logo-link {
    opacity: 0.48;
    transform: translateY(-0.16rem);
  }

  .app-card__action:hover {
    border-color: oklch(100% 0.006 92 / 34%);
    background: oklch(100% 0.006 92 / 4%);
    transform: translateY(-0.12rem);
  }

  .app-card__action:hover span:last-child {
    transform: translate(0.12rem, -0.12rem);
  }
}

@media (max-width: 1050px) {
  .hero {
    padding: 2rem 2rem 4rem;
  }

  .site-header {
    grid-template-columns: max-content;
    gap: 1.2rem;
  }

  .brand-line {
    display: none;
  }

  .hero__image {
    right: -6.5rem;
    width: min(42rem, 64vw);
    height: 100%;
    opacity: 0.72;
  }

  .hero__content {
    padding-top: 13rem;
  }

  .hero__content h1 {
    max-width: 16.2ch;
    font-size: 3.45rem;
  }
}

@media (max-width: 1100px) {
  .section-preview {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid oklch(100% 0.006 92 / 10%);
  }

  .app-card {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
    grid-template-rows: auto auto auto;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    min-height: 19rem;
    padding: 2rem 0;
    border-left: 0;
    border-bottom: 1px solid oklch(100% 0.006 92 / 10%);
  }

  .app-card h3,
  .app-card__copy,
  .app-card__action {
    grid-column: 1;
  }

  .app-card__copy {
    max-width: 28rem;
  }

  .app-card__preview {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    min-height: 12.5rem;
    margin: 0;
  }

  .app-card__action {
    height: 1.48rem;
    justify-self: start;
    margin-top: 1rem;
    padding: 0 0.62rem;
    font-size: 0.56rem;
  }

  .app-card:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 1200px) and (min-height: 900px) {
  .hero {
    min-height: min(100svh, 58rem);
  }

  .site-header {
    grid-template-columns: max-content max-content;
    width: min(82rem, 100%);
  }

  .hero__image {
    top: -12rem;
    right: -4rem;
    bottom: auto;
    width: min(56rem, 46vw);
    height: min(68rem, 68svh);
  }
}

@media (min-width: 721px) and (max-width: 1199px) and (min-height: 900px) {
  .hero {
    min-height: min(100svh, 58rem);
  }

  .hero__image {
    top: -8rem;
    right: -13rem;
    bottom: auto;
    width: min(35rem, 52vw);
    height: min(52rem, 58svh);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 1.3rem 1.15rem clamp(7rem, 22svh, 11.5rem);
  }

  .hero::before {
    background:
      linear-gradient(180deg, oklch(3% 0.006 116 / 98%) 0%, oklch(3% 0.006 116 / 85%) 42%, oklch(3% 0.006 116 / 54%) 100%),
      radial-gradient(circle at 52% 74%, oklch(63% 0.14 55 / 14%), transparent 14rem);
  }

  .hero__image {
    top: auto;
    right: -7.3rem;
    bottom: 0;
    width: 33rem;
    height: min(62svh, 31rem);
    opacity: 0.62;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, oklch(3% 0.006 116 / 96%) 0%, oklch(3% 0.006 116 / 78%) 45%, oklch(3% 0.006 116 / 18%) 100%),
      linear-gradient(90deg, oklch(3% 0.006 116 / 88%) 0%, oklch(3% 0.006 116 / 36%) 68%, transparent 100%);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }

  .brand {
    justify-self: start;
  }

  .hero__content {
    padding-top: 7.2rem;
  }

  .hero__content h1 {
    max-width: 12.7ch;
    font-size: 2.62rem;
    line-height: 1.12;
  }

  .scripture {
    margin-top: 2rem;
    font-size: 0.93rem;
  }

  .hero__copy {
    margin-top: 1.65rem;
    font-size: 1.03rem;
  }

  .hero__copy br {
    display: none;
  }

  .hero__button {
    min-width: 11rem;
    min-height: 3.5rem;
    margin-top: 2rem;
    padding: 0 1.35rem;
  }

  .section-preview {
    padding: 2rem 1.15rem 4rem;
  }

  .section-preview__box {
    min-height: auto;
    padding: 2rem 1.35rem;
  }

  .apps-panel {
    gap: 3rem;
  }

  .apps-panel__header {
    gap: 1.85rem;
  }

  .section-kicker {
    font-size: 0.72rem;
  }

  .apps-panel__header h2 {
    font-size: clamp(2.6rem, 12vw, 4.35rem);
  }

  .app-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    min-height: 27rem;
    padding: 1.55rem 0.2rem 1.2rem;
  }

  .app-card__copy {
    max-width: 24rem;
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .app-card__preview {
    grid-column: 1;
    grid-row: auto;
    align-self: end;
    min-height: 12.8rem;
    margin-top: 1.65rem;
    margin-bottom: 1.45rem;
  }

  .app-card__logo-link {
    width: min(10.5rem, 62%);
  }

  .app-card--tracit .app-card__logo-link {
    width: min(9.75rem, 58%);
  }

  .app-card--blocks .app-card__logo-link {
    width: min(8.4rem, 48%);
  }

  .app-card__action {
    align-self: start;
    height: 1.48rem;
    justify-self: center;
    margin-top: 0;
    margin-bottom: 0.45rem;
    padding: 0 0.62rem;
    font-size: 0.56rem;
  }

  .site-footer {
    min-height: 28rem;
    padding: 8.8rem 1.15rem 2.4rem;
  }

  .footer-globe {
    height: 9rem;
    background-position: center 41%;
    background-size: cover;
  }

  .site-footer__brand h2 {
    font-size: clamp(1.2rem, 0.74vw, 0.82rem);
  }

  .site-footer__social {
    margin-top: 2.4rem;
  }

  .site-footer__social p {
    font-size: 0.65rem;
  }

  .site-footer__social a {
    font-size: 0.9rem;
  }

  .site-footer__bottom {
    margin-top: 1.9rem;
    padding-top: 1.4rem;
  }

  .footer-links {
    gap: 0.82rem 1.08rem;
    margin-top: 1.45rem;
  }

  .footer-link {
    font-size: 0.78rem;
  }

  .legal-page {
    padding: 1.3rem 1.15rem;
  }

  .legal-header {
    align-items: flex-start;
  }

  .legal-brand {
    font-size: 0.94rem;
  }

  .legal-home {
    font-size: 0.88rem;
  }

  .legal-hero {
    min-height: clamp(22rem, 48svh, 28rem);
  }

  .legal-kicker {
    font-size: 0.8rem;
  }

  .legal-hero h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 18vw, 5.6rem);
    line-height: 0.96;
    white-space: normal;
  }

  .legal-content {
    gap: 1.55rem;
    padding-bottom: 4rem;
  }

  .legal-page-links {
    gap: 0.82rem 1.08rem;
    padding-bottom: 4rem;
  }

  .legal-block {
    padding-bottom: 1.4rem;
  }

  .legal-block p,
  .legal-block li {
    font-size: 0.95rem;
    line-height: 1.68;
  }
}

@media (max-width: 390px) {
  .brand__name {
    font-size: 0.95rem;
  }

  .hero__content h1 {
    font-size: 2.28rem;
  }
}

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

@keyframes item-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-enter {
  to {
    opacity: 0.88;
    transform: translateX(0) scale(1);
  }
}
