:root {
  --color-bg: #04050b;
  --color-bg-elevated: #0d101b;
  --color-bg-hero-gradient: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.025)
  );
  --color-bg-atmosphere: #04050b;
  --color-text: #f7f8ff;
  --color-text-body: #c9d0df;
  --color-text-muted: #a4adbf;
  --color-text-soft: #dce2ef;
  --color-text-subtle: #737d91;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.22);
  --color-success: #95ffd3;
  --color-success-bg: rgba(149, 255, 211, 0.09);
  --color-success-border: rgba(149, 255, 211, 0.2);
  --color-gold: #f0c978;
  --card: rgba(255, 255, 255, 0.045);
  --accent: #9f8cff;
  --accent-blue: #88c9ff;
  --accent-pink: #ff85b7;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --container-wide: 1120px;
  --line-height-base: 1.65;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: clamp(17px, 1.8vw, 20px);
  --font-size-xl: clamp(22px, 2.6vw, 30px);
  --font-size-hero: clamp(46px, 8vw, 86px);
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 34px;
  --radius-pill: 999px;
  --space-section: clamp(56px, 8vw, 96px);
  --space-footer: clamp(48px, 7vw, 80px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.home-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      900px 520px at 72% -12%,
      rgba(116, 105, 190, 0.2),
      transparent 68%
    ),
    radial-gradient(
      700px 440px at 8% 12%,
      rgba(94, 127, 158, 0.12),
      transparent 70%
    ),
    linear-gradient(180deg, #080912 0%, #05060c 48%, #030409 100%);
}

.home-page main {
  overflow: hidden;
}

.home-hero,
.featured-apps,
.brand-statement {
  width: min(var(--container-wide), calc(100% - 44px));
  margin: 0 auto;
}

.home-hero {
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: clamp(42px, 7vw, 92px) 0 clamp(36px, 6vw, 76px);
}

.home-hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.76fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #dfe5f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 12.4ch;
  margin: 0;
  font-size: clamp(50px, 7.3vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 860;
}

.hero-text {
  max-width: 34rem;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-button:hover {
  transform: translateY(-2px);
}

.site-button--primary,
.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #fbfcff 0%, #cbd6ff 52%, #9f8cff 100%);
  color: #060711;
  box-shadow: 0 18px 44px rgba(72, 66, 132, 0.28);
}

.site-button--secondary,
.button-secondary {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.045);
  color: #f4f6ff;
}

.site-button--secondary:hover,
.button-secondary:hover {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.075);
}

.hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(380px, 41vw, 560px);
}

.device-frame {
  position: relative;
  width: clamp(230px, 24vw, 318px);
  aspect-ratio: 9 / 19.3;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.54),
    rgba(255, 255, 255, 0.1) 10%,
    #161924 36%,
    #04050a 100%
  );
  box-shadow:
    0 56px 88px rgba(0, 0, 0, 0.5),
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 5px rgba(255, 255, 255, 0.035) inset;
}

.device-frame::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 50%;
  width: 34%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(235, 239, 255, 0.45);
  transform: translateX(-50%);
}

.device-screen {
  position: absolute;
  inset: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 33px;
  padding: 0;
  background:
    radial-gradient(
      210px 170px at 76% 12%,
      rgba(160, 140, 255, 0.28),
      transparent 72%
    ),
    linear-gradient(180deg, #171126 0%, #070814 100%);
  box-shadow:
    0 0 0 1px rgba(222, 214, 255, 0.09) inset,
    0 18px 48px rgba(88, 50, 176, 0.18) inset;
}

.device-screen::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(
      180px 150px at 52% 25%,
      rgba(219, 202, 255, 0.17),
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(5, 4, 12, 0.18),
      rgba(5, 4, 12, 0.04) 43%,
      rgba(5, 4, 12, 0.42) 100%
    ),
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.15),
      transparent 28%,
      rgba(255, 255, 255, 0.035) 64%,
      transparent 82%
    );
  pointer-events: none;
}

.device-screen::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      170px 220px at 50% 2%,
      rgba(179, 146, 255, 0.24),
      transparent 62%
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12),
      transparent 12%,
      transparent 88%,
      rgba(255, 255, 255, 0.07)
    );
  mix-blend-mode: screen;
  opacity: 0.68;
  pointer-events: none;
}

.device-image {
  position: absolute;
  left: -4%;
  top: -31%;
  display: block;
  width: 168%;
  height: 168%;
  object-fit: cover;
  object-position: 26% 43%;
  filter: contrast(1.12) saturate(1.1) brightness(0.88);
  transform: translateZ(0);
}

.featured-apps {
  padding: clamp(20px, 4vw, 44px) 0 clamp(36px, 7vw, 80px);
}

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

.section-heading .eyebrow {
  flex: 0 0 auto;
  margin: 0;
}

.section-heading h2 {
  max-width: 14ch;
  margin: 0;
  text-align: right;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

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

.featured-card {
  --card-accent-glow: rgba(159, 140, 255, 0.23);
  --card-accent-glow-hover: rgba(159, 140, 255, 0.28);
  --card-accent-border: rgba(159, 140, 255, 0.42);
  --card-accent-fill: rgba(159, 140, 255, 0.16);
  --card-accent-text: #d8d1ff;
  position: relative;
  display: flex;
  min-height: 244px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 20px;
  background:
    radial-gradient(
      260px 180px at 90% 0%,
      var(--card-accent-glow),
      transparent 66%
    ),
    rgba(255, 255, 255, 0.045);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  background:
    radial-gradient(
      260px 180px at 90% 0%,
      var(--card-accent-glow-hover),
      transparent 66%
    ),
    rgba(255, 255, 255, 0.06);
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    transparent 34%
  );
  pointer-events: none;
}

.featured-card--illusio {
  --card-accent-glow: rgba(159, 140, 255, 0.23);
  --card-accent-glow-hover: rgba(159, 140, 255, 0.28);
  --card-accent-border: rgba(159, 140, 255, 0.42);
  --card-accent-fill: rgba(159, 140, 255, 0.16);
  --card-accent-text: #d8d1ff;
}

.featured-card--couple {
  --card-accent-glow: rgba(255, 133, 183, 0.2);
  --card-accent-glow-hover: rgba(255, 133, 183, 0.26);
  --card-accent-border: rgba(255, 133, 183, 0.36);
  --card-accent-fill: rgba(255, 133, 183, 0.13);
  --card-accent-text: #ffc5da;
}

.featured-card--arithon {
  --card-accent-glow: rgba(136, 201, 255, 0.19);
  --card-accent-glow-hover: rgba(136, 201, 255, 0.25);
  --card-accent-border: rgba(136, 201, 255, 0.36);
  --card-accent-fill: rgba(136, 201, 255, 0.13);
  --card-accent-text: #bee4ff;
}

.featured-card__mark,
.featured-card__body,
.featured-card__link {
  position: relative;
  z-index: 1;
}

.featured-card__mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-accent-border);
  border-radius: 16px;
  background: var(--card-accent-fill);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.featured-card__body {
  display: block;
  margin-top: 42px;
}

.featured-card__name,
.featured-card__copy,
.featured-card__link {
  display: block;
}

.featured-card__name {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.featured-card__copy {
  max-width: 25ch;
  margin-top: 9px;
  color: rgba(238, 242, 255, 0.7);
  font-size: 13px;
  line-height: 1.48;
}

.featured-card__link {
  margin-top: 26px;
  color: var(--card-accent-text);
  font-size: 13px;
  font-weight: 800;
}

.brand-statement {
  padding: clamp(18px, 4vw, 40px) 0 clamp(48px, 8vw, 96px);
}

.brand-statement p {
  max-width: 33ch;
  margin: 0 auto;
  color: #f5f7ff;
  text-align: center;
  font-size: clamp(29px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 830;
}

.home-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  padding: 22px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 9, 0.52);
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.home-footer a {
  color: #9ca5b6;
  font-size: 13px;
  text-decoration: none;
}

.home-footer a:hover {
  color: #fff;
}

.home-footer p {
  margin: 0;
  color: #687286;
  font-size: 13px;
}

/* Basic legal/content page support */

.content-page,
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(
      760px 420px at 18% 0%,
      rgba(141, 108, 255, 0.18),
      transparent 64%
    ),
    linear-gradient(180deg, #05060c, #030409);
  color: var(--color-text);
  line-height: 1.7;
}

.content-page .container,
.legal-page .container {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.content-page .back,
.legal-page .back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--color-text-muted);
  font-size: 14px;
  text-decoration: none;
}

.content-page .card,
.legal-page .card {
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 46px);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.34);
}

.content-page h1,
.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.legal-page h2,
.content-page h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.content-page p,
.legal-page p,
.legal-page li {
  color: #c8cfdf;
}

@media (max-width: 920px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-device {
    min-height: 420px;
    justify-content: flex-start;
  }

  .device-frame {
    margin-left: clamp(18px, 16vw, 160px);
  }

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

  .featured-card {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .home-hero,
  .featured-apps,
  .brand-statement {
    width: min(100% - 32px, var(--container-wide));
  }

  .home-hero {
    padding-top: 34px;
  }

  .home-hero h1 {
    max-width: 10.4ch;
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-button {
    width: 100%;
  }

  .hero-device {
    min-height: 360px;
  }

  .device-frame {
    width: 210px;
    margin-left: 8vw;
    border-radius: 36px;
  }

  .device-screen {
    border-radius: 28px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 16px;
  }

  .section-heading h2 {
    max-width: 12ch;
    text-align: left;
  }

  .featured-card {
    min-height: 210px;
    border-radius: 24px;
  }

  .featured-card__body {
    margin-top: 34px;
  }

  .brand-statement p {
    text-align: left;
  }

  .home-footer {
    flex-direction: column;
  }

  .content-page .container,
  .legal-page .container {
    width: min(100% - 28px, 860px);
    padding-top: 28px;
  }

  .content-page .card,
  .legal-page .card {
    border-radius: 22px;
  }
}

@media (max-width: 420px) {
  .device-frame {
    width: 196px;
    margin-left: 2vw;
  }
}

/* Premium app portfolio */

.portfolio-page {
  background:
    radial-gradient(
      920px 580px at 80% -12%,
      rgba(159, 140, 255, 0.28),
      transparent 68%
    ),
    radial-gradient(
      760px 480px at 8% 10%,
      rgba(136, 201, 255, 0.13),
      transparent 70%
    ),
    radial-gradient(
      680px 460px at 78% 45%,
      rgba(255, 133, 183, 0.1),
      transparent 72%
    ),
    linear-gradient(180deg, #080912 0%, #05060c 48%, #030409 100%);
}

.portfolio-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
  pointer-events: none;
}

.portfolio-hero,
.portfolio-main,
.portfolio-section,
.portfolio-closing {
  width: min(var(--container-wide), calc(100% - 44px));
  margin: 0 auto;
}

.portfolio-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 18px;
}

.portfolio-nav a {
  color: rgba(238, 242, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease;
}

.portfolio-nav a:hover {
  color: #fff;
}

.portfolio-brand {
  letter-spacing: -0.02em;
}

.portfolio-support {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.045);
}

.portfolio-hero__inner {
  max-width: 900px;
  padding: clamp(74px, 11vw, 138px) 0 clamp(58px, 9vw, 104px);
}

.portfolio-hero h1 {
  margin: 0;
  font-size: clamp(76px, 14vw, 168px);
  line-height: 0.82;
  letter-spacing: -0.09em;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    #fff 0%,
    #dfe5ff 36%,
    #9f8cff 72%,
    #ff85b7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.portfolio-hero__text {
  max-width: 42rem;
  margin: 28px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
}

.portfolio-main {
  padding-bottom: clamp(58px, 8vw, 96px);
}

.portfolio-section {
  padding: clamp(46px, 7vw, 90px) 0;
}

.portfolio-section-heading h2,
.portfolio-split-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.portfolio-split-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: 24px;
}

.portfolio-split-heading .eyebrow {
  margin: 0;
}

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

.section-supporting-text {
  max-width: 44rem;
  margin: 20px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.58;
}

.showcase-grid--premium {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(28px, 5vw, 52px);
}

.showcase-grid--premium .showcase-card {
  grid-column: span 3;
}

.showcase-grid--premium .showcase-card--arithon {
  grid-column: 2 / span 4;
}

.showcase-card {
  --showcase-glow: rgba(159, 140, 255, 0.22);
  --showcase-border: rgba(159, 140, 255, 0.38);
  --showcase-fill: rgba(159, 140, 255, 0.15);
  position: relative;
  display: flex;
  min-height: clamp(460px, 38vw, 560px);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 38px;
  padding: clamp(24px, 3.6vw, 38px);
  background:
    radial-gradient(
      460px 340px at 88% -4%,
      var(--showcase-glow),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.105),
      rgba(255, 255, 255, 0.038) 54%,
      rgba(255, 255, 255, 0.06)
    );
  box-shadow:
    0 40px 96px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%),
    radial-gradient(
      320px 220px at 12% 104%,
      rgba(255, 255, 255, 0.09),
      transparent 70%
    );
  pointer-events: none;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    transparent 38%
  );
  opacity: 0.55;
  pointer-events: none;
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--showcase-border);
  box-shadow:
    0 52px 112px rgba(0, 0, 0, 0.42),
    0 0 46px var(--showcase-glow);
}

.showcase-card__ambient {
  position: absolute;
  right: -18%;
  bottom: -22%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, var(--showcase-glow), transparent 70%);
  filter: blur(3px);
  opacity: 0.78;
  pointer-events: none;
}

.showcase-card--couple {
  --showcase-glow: rgba(255, 133, 183, 0.2);
  --showcase-border: rgba(255, 133, 183, 0.36);
  --showcase-fill: rgba(255, 133, 183, 0.13);
}

.showcase-card--arithon {
  --showcase-glow: rgba(136, 201, 255, 0.2);
  --showcase-border: rgba(136, 201, 255, 0.36);
  --showcase-fill: rgba(136, 201, 255, 0.13);
}

.showcase-card__header,
.showcase-card__body,
.product-actions {
  position: relative;
  z-index: 2;
}

.showcase-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.product-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--showcase-border, rgba(159, 140, 255, 0.38));
  border-radius: 22px;
  background: var(--showcase-fill, rgba(159, 140, 255, 0.15));
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.product-icon--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-icon--large {
  width: clamp(82px, 8vw, 112px);
  height: clamp(82px, 8vw, 112px);
  border-radius: 28px;
  font-size: clamp(34px, 4vw, 48px);
}

.product-icon--small {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 20px;
}

.status-pill {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(238, 242, 255, 0.78);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.showcase-card__body {
  margin-top: auto;
  padding-top: clamp(86px, 9vw, 128px);
}

.product-kicker {
  margin: 0 0 10px;
  color: rgba(238, 242, 255, 0.56);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.showcase-card h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.showcase-card__body p:last-child {
  max-width: 34ch;
  margin: 20px 0 0;
  color: rgba(238, 242, 255, 0.76);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.6;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.product-actions a,
.product-store-note {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.055);
  color: #f5f7ff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.product-actions a:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.085);
}

.product-actions .product-detail-link {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #fbfcff 0%, #dfe5ff 54%, #b8aaff 100%);
  color: #070813;
}

.product-store-note {
  color: rgba(238, 242, 255, 0.5);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-tile {
  display: flex;
  min-height: 186px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(
      220px 160px at 90% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 72%
    ),
    rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.product-tile:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  background:
    radial-gradient(
      220px 160px at 90% 0%,
      rgba(159, 140, 255, 0.15),
      transparent 72%
    ),
    rgba(255, 255, 255, 0.058);
}

.product-tile strong,
.product-tile small {
  display: block;
}

.product-tile strong {
  font-size: 17px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.product-tile small {
  margin-top: 8px;
  color: rgba(238, 242, 255, 0.58);
  font-size: 12px;
  line-height: 1.4;
}

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

.update-card {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.update-card::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #9f8cff);
  box-shadow: 0 0 34px rgba(159, 140, 255, 0.62);
}

.update-card__date {
  display: block;
  margin-bottom: 12px;
  color: #cfc7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.update-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.update-card p {
  margin: 14px 0 0;
  color: rgba(238, 242, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

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

.stat-card {
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(
      280px 180px at 88% 0%,
      rgba(136, 201, 255, 0.13),
      transparent 70%
    ),
    rgba(255, 255, 255, 0.045);
}

.stat-card strong {
  display: block;
  font-size: clamp(58px, 8vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.stat-card span {
  display: block;
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-closing {
  margin-top: clamp(28px, 5vw, 54px);
  border: 1px solid var(--color-border);
  border-radius: 38px;
  padding: clamp(32px, 7vw, 74px);
  background:
    radial-gradient(
      520px 340px at 78% 0%,
      rgba(159, 140, 255, 0.23),
      transparent 72%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.085),
      rgba(255, 255, 255, 0.035)
    );
  text-align: center;
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.34);
}

.portfolio-closing .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.portfolio-closing h2 {
  max-width: 11ch;
  margin: 0 auto;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.portfolio-closing p:not(.eyebrow) {
  max-width: 38rem;
  margin: 24px auto 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.56;
}

.portfolio-closing .site-button {
  margin-top: 28px;
}

@media (max-width: 1040px) {
  .showcase-grid,
  .showcase-grid--premium,
  .updates-timeline,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid--premium .showcase-card,
  .showcase-grid--premium .showcase-card--arithon {
    grid-column: auto;
  }

  .showcase-card {
    min-height: 440px;
  }

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

@media (max-width: 680px) {
  .portfolio-hero,
  .portfolio-main,
  .portfolio-section,
  .portfolio-closing {
    width: min(100% - 32px, var(--container-wide));
  }

  .portfolio-hero__inner {
    padding: 54px 0 42px;
  }

  .portfolio-hero h1 {
    font-size: clamp(72px, 25vw, 112px);
  }

  .portfolio-section {
    padding: 42px 0;
  }

  .portfolio-split-heading {
    display: block;
  }

  .portfolio-split-heading .eyebrow {
    margin-bottom: 16px;
  }

  .showcase-card {
    min-height: 430px;
    border-radius: 28px;
  }

  .showcase-card__header {
    display: block;
  }

  .showcase-card__body {
    padding-top: 72px;
  }

  .status-pill {
    margin-top: 14px;
    display: inline-flex;
    white-space: normal;
  }

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

  .product-tile {
    min-height: 154px;
  }

  .portfolio-closing {
    border-radius: 28px;
    text-align: left;
  }

  .portfolio-closing .eyebrow,
  .portfolio-closing h2,
  .portfolio-closing p:not(.eyebrow) {
    margin-left: 0;
    margin-right: 0;
  }
}
