:root {
  color-scheme: light;
  --page-bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #aeaec2;
  --line: #ebebef;
  --radius: 26px;
  --shell: min(820px, calc(100vw - 32px));
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 80px 0 64px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.avatar-mark,
.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
}

.avatar-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--text);
}

.avatar-image {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
}

.hero p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 96px;
  font-size: 14px;
  font-weight: 600;
}

.social-links a,
.back-link {
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 2px;
  text-decoration: none;
}

.apps-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 96px;
}

.app-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  align-items: center;
  min-height: 380px;
  padding: 40px 44px;
  border-radius: var(--radius);
  background: var(--app-bg);
  color: var(--app-text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.app-card > * {
  position: relative;
  z-index: 1;
}

.app-card-liquid-purple,
.app-detail-liquid-purple {
  --app-text: #201433;
  --app-muted: #5f5471;
  background:
    radial-gradient(circle at 18% 18%, #f7f2ff 0 16%, transparent 34%),
    radial-gradient(
      circle at 68% 42%,
      rgba(142, 92, 255, 0.42) 0 26%,
      transparent 58%
    ),
    linear-gradient(
      135deg,
      #f7f2ff 0%,
      rgba(142, 92, 255, 0.42) 48%,
      rgba(126, 180, 255, 0.36) 100%
    );
}

.app-card-liquid-purple::before,
.app-card-liquid-purple::after,
.app-detail-liquid-purple::before,
.app-detail-liquid-purple::after {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
}

.app-card-liquid-purple::before,
.app-detail-liquid-purple::before {
  background: radial-gradient(
    closest-side at 42% 48%,
    currentColor,
    transparent 70%
  );
  color: rgba(142, 92, 255, 0.42);
  filter: blur(28px);
  opacity: 0.9;
  transform: rotate(-7deg);
}

.app-card-liquid-purple::after,
.app-detail-liquid-purple::after {
  background: radial-gradient(
    closest-side at 70% 32%,
    currentColor,
    transparent 70%
  );
  color: rgba(126, 180, 255, 0.36);
  filter: blur(34px);
  opacity: 0.7;
}

.app-card-liquid-purple .app-media-cropped,
.app-detail-liquid-purple .app-media-cropped {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

.app-card-liquid-purple .app-media-cropped img,
.app-detail-liquid-purple .app-media-cropped img {
  width: 100%;
  max-width: 100%;
  height: 155%;
  object-fit: cover;
  object-position: center center;
}

.app-card-reverse {
  grid-template-columns: 260px minmax(0, 1fr);
}

.app-card-reverse .app-copy {
  order: 2;
}

.app-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--app-primary);
  box-shadow: color-mix(in srgb, var(--app-primary) 30%, transparent) 0 6px 14px;
  font-size: 21px;
}

.app-icon-transparent {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.app-icon.large {
  width: 62px;
  height: 62px;
  font-size: 24px;
}

.app-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.app-name {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.app-category {
  color: var(--app-muted);
  font-size: 12.5px;
}

.app-tagline {
  margin-bottom: 20px;
  color: var(--app-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  white-space: pre-line;
}

.app-link,
.store-button {
  display: inline-block;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 22px;
  text-decoration: none;
}

.app-media,
.detail-media {
  min-width: 300px;
  min-height: 300px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.24) 0,
    rgba(255, 255, 255, 0.24) 14px,
    rgba(255, 255, 255, 0.38) 14px,
    rgba(255, 255, 255, 0.38) 28px
  );
  box-shadow: rgba(29, 29, 31, 0.14) 0 14px 30px;
  overflow: hidden;
}

.app-media img,
.detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-frame,
.detail-frame {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-muted);
  font:
    11px ui-monospace,
    Menlo,
    monospace;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

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

.split-section h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
}

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-row,
.repo-row {
  display: flex;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.blog-row {
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  font-weight: 600;
}

.blog-row time,
.repo-description,
.repo-language,
.repo-stars {
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 400;
}

.repo-row {
  align-items: baseline;
  font-size: 14.5px;
}

.repo-name {
  font-family: ui-monospace, Menlo, monospace;
  font-weight: 600;
}

.repo-description {
  flex: 1;
  color: #86868b;
}

.repo-stars {
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--soft);
  font-size: 12px;
}

.detail-page .site-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 13px;
  font-weight: 700;
}

.detail-page .back-link {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 3;
  color: var(--text);
}

.privacy-link {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 3;
  color: var(--text);
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.detail-page .site-footer {
  display: none;
}

.app-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(340px, 500px);
  gap: 32px;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
  padding: 84px 36px 60px;
  border-radius: 0;
  color: var(--app-text);
  overflow: hidden;
  isolation: isolate;
}

.app-detail > * {
  position: relative;
  z-index: 1;
}

.app-detail-copy {
  max-width: 420px;
}

.app-detail-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.app-detail-name {
  color: var(--app-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.app-detail-category {
  margin-top: 5px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 700;
}

.app-detail-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  border: 1px solid rgba(32, 20, 51, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.app-detail-version strong {
  color: var(--app-text);
}

.app-detail-tagline {
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.22;
  white-space: pre-line;
}

.app-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-detail .detail-media {
  min-width: 340px;
  min-height: 480px;
}

.app-detail .detail-media img {
  height: 135%;
}

.app-release {
  padding: 80px 36px 88px;
  background: #f7f6f9;
  color: #211c28;
}

.app-release-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.app-release-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.app-release-kicker {
  margin-bottom: 14px;
  color: #716b78;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-release-header h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.app-release-header > p {
  margin: 0;
  color: #5f5866;
  font-size: 16px;
  line-height: 1.65;
}

.app-release-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(33, 28, 40, 0.14);
}

.app-release-highlight {
  min-width: 0;
  padding: 24px 24px 30px 0;
}

.app-release-highlight + .app-release-highlight {
  border-left: 1px solid rgba(33, 28, 40, 0.14);
  padding-left: 24px;
}

.app-release-highlight span {
  color: #8d8496;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.app-release-highlight h3 {
  margin: 28px 0 12px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.app-release-highlight p {
  margin: 0;
  color: #655e6b;
  font-size: 13px;
  line-height: 1.7;
}

.app-release-upgrade {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  border-radius: 18px;
  padding: 20px 24px;
  background: #ebe6f2;
}

.app-release-upgrade strong {
  font-size: 13px;
}

.app-release-upgrade p {
  margin: 0;
  color: #5f5866;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .site-shell {
    padding-top: 48px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .app-card,
  .app-card-reverse {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .app-card-reverse .app-copy {
    order: 0;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .repo-row {
    flex-wrap: wrap;
  }

  .repo-description {
    flex-basis: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }

  .app-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 80px 22px 36px;
  }

  .app-detail-name {
    font-size: 21px;
  }

  .app-detail-tagline {
    font-size: 21px;
  }

  .app-detail .detail-media {
    min-width: 0;
    min-height: 320px;
  }

  .app-release {
    padding: 60px 22px 64px;
  }

  .app-release-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .app-release-header h2 {
    font-size: 40px;
  }

  .app-release-header > p {
    font-size: 14px;
  }

  .app-release-highlights {
    grid-template-columns: 1fr;
  }

  .app-release-highlight,
  .app-release-highlight + .app-release-highlight {
    border-left: 0;
    border-bottom: 1px solid rgba(33, 28, 40, 0.14);
    padding: 20px 0 24px;
  }

  .app-release-highlight h3 {
    margin-top: 18px;
  }

  .app-release-upgrade {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
    padding: 18px;
  }

  .detail-page .back-link {
    left: 28px;
  }
}

/* Home page: minimal product studio */

.home-page {
  --home-bg: #f5f4f1;
  --home-surface: #ffffff;
  --home-surface-muted: #e9e6df;
  --home-text: #171715;
  --home-muted: #6f6d67;
  --home-soft: #706c63;
  --home-line: rgba(23, 23, 21, 0.11);
  --home-focus: #6948e8;
  background:
    radial-gradient(circle at 88% 7%, rgba(125, 92, 246, 0.07), transparent 24rem),
    var(--home-bg);
  color: var(--home-text);
}

.home-page .site-shell {
  width: min(980px, calc(100vw - 48px));
  padding: 18px 0 36px;
}

.home-page a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--home-focus) 66%, transparent);
  outline-offset: 4px;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--home-line);
  animation: home-rise 480ms ease-out both;
}

.site-brand,
.site-nav,
.site-nav a {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: 9px;
  color: var(--home-text);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.home-page .avatar-image,
.home-page .avatar-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23, 23, 21, 0.08);
}

.site-nav {
  gap: 24px;
  font-size: 12px;
  font-weight: 650;
}

.site-nav a {
  gap: 3px;
  color: var(--home-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--home-text);
}

.site-nav-external span {
  transition: transform 180ms ease;
}

.site-nav-external:hover span {
  transform: translate(2px, -2px);
}

.home-page .hero {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 64px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.015em;
  animation: home-rise 520ms 70ms ease-out both;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6e55e8;
  box-shadow: 0 0 0 4px rgba(110, 85, 232, 0.1);
}

.home-page .hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--home-text);
  font-size: clamp(48px, 5.4vw, 62px);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 1.06;
  text-wrap: balance;
  animation: home-rise 560ms 120ms ease-out both;
}

.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-top: 44px;
  animation: home-rise 560ms 180ms ease-out both;
}

.hero-motto p {
  margin: 0 0 6px;
  color: var(--home-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-motto span {
  color: var(--home-muted);
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-button,
.home-page .app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 720;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero-button-primary,
.home-page .app-link {
  background: var(--home-text);
  color: #ffffff;
}

.hero-button-primary:hover,
.home-page .app-link:hover {
  background: #302f2b;
}

.hero-button-secondary {
  border-color: var(--home-line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--home-text);
}

.hero-button-secondary:hover {
  border-color: rgba(23, 23, 21, 0.22);
  background: #ffffff;
}

.link-arrow,
.repo-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.hero-button:hover .link-arrow,
.home-page .app-link:hover .link-arrow {
  transform: translate(3px, -2px);
}

.hero-button-primary:hover .link-arrow {
  transform: translateY(3px);
}

.home-page .apps-section,
.open-source-section,
.journal-section {
  margin-bottom: 96px;
  scroll-margin-top: 28px;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-index {
  order: 2;
  padding-bottom: 4px;
  color: var(--home-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-page .app-card {
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
  gap: 36px;
  min-height: 400px;
  padding: 40px;
  border: 1px solid rgba(68, 38, 112, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(70, 46, 115, 0.12);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.home-page .app-card-liquid-purple {
  border: 0;
  box-shadow: 0 28px 70px rgba(100, 72, 164, 0.16);
}

.home-page .app-card:hover {
  box-shadow: 0 34px 82px rgba(50, 43, 62, 0.14);
  transform: translateY(-4px);
}

.home-page .app-card-liquid-purple:hover {
  box-shadow: 0 34px 82px rgba(100, 72, 164, 0.22);
}

.home-page .app-card-liquid-purple .app-name,
.home-page .app-card-liquid-purple .app-tagline {
  color: #211827;
}

.home-page .app-card-liquid-purple .app-card-label,
.home-page .app-card-liquid-purple .app-category {
  color: #3b2c45;
}

.home-page .app-card-reverse {
  grid-template-columns: minmax(0, 1.32fr) minmax(230px, 0.68fr);
}

.home-page .app-copy {
  align-self: center;
}

.app-card-label {
  margin-bottom: 26px;
  color: var(--app-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-page .app-heading {
  gap: 12px;
  margin-bottom: 18px;
}

.home-page .app-icon {
  width: 50px;
  height: 50px;
}

.home-page .app-name {
  color: var(--app-text);
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.home-page .app-category {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
}

.home-page .app-tagline {
  margin-bottom: 22px;
  font-size: clamp(23px, 2.5vw, 29px);
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.home-page .app-link {
  min-height: 38px;
  gap: 20px;
  padding-inline: 16px;
}

.home-page .app-media {
  align-self: center;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
}

.home-page .app-card-liquid-purple .app-media-cropped img {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  transform: scale(1);
  transition: transform 260ms ease;
}

.home-page .app-card-liquid-purple:hover .app-media-cropped img {
  transform: scale(1.025);
}

.repo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  grid-template-rows: repeat(2, minmax(165px, 1fr));
  gap: 14px;
}

.repo-card {
  display: flex;
  min-height: 165px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--home-text);
  text-decoration: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.repo-card:hover {
  border-color: rgba(23, 23, 21, 0.2);
  box-shadow: 0 18px 42px rgba(23, 23, 21, 0.08);
  transform: translateY(-4px);
}

.repo-card:hover .repo-arrow {
  transform: translate(3px, -3px);
}

.repo-card-featured {
  grid-row: span 2;
  min-height: 344px;
  padding: 28px;
  border-color: #1d1d1a;
  background:
    radial-gradient(circle at 85% 15%, rgba(125, 92, 246, 0.2), transparent 15rem),
    #1d1d1a;
  color: #ffffff;
}

.repo-card-featured:hover {
  border-color: #1d1d1a;
  box-shadow: 0 24px 58px rgba(23, 23, 21, 0.18);
}

.repo-card-topline,
.repo-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--home-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repo-card-featured .repo-card-topline,
.repo-card-featured .repo-card-meta {
  color: rgba(255, 255, 255, 0.58);
}

.repo-card-copy h3 {
  margin: 0 0 12px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.repo-card-copy p {
  max-width: 430px;
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.55;
}

.repo-card-featured .repo-card-copy h3 {
  font-size: clamp(28px, 3.6vw, 38px);
}

.repo-card-featured .repo-card-copy p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.journal-section .list-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-page .blog-row {
  min-height: 120px;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.closing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 8px;
  border-top: 1px solid var(--home-line);
  padding: 28px 0 40px;
}

.closing-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.closing-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.closing-avatar-mark {
  display: grid;
  place-items: center;
  background: var(--home-text);
  color: #ffffff;
  font-weight: 750;
}

.closing-identity div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.closing-identity strong {
  font-size: 14px;
}

.closing-identity span {
  color: var(--home-muted);
  font-size: 12px;
}

.closing-note p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.home-page .site-footer {
  border-top: 0;
  padding-top: 0;
  color: var(--home-soft);
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .home-page .hero {
    min-height: 480px;
  }

  .home-page .hero h1 {
    font-size: clamp(44px, 6vw, 56px);
  }

  .home-page .app-card {
    gap: 28px;
    min-height: 380px;
    padding: 34px;
  }
}

@media (max-width: 820px) {
  .home-page .app-card,
  .home-page .app-card-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .home-page .app-card-reverse .app-copy {
    order: 0;
  }

  .home-page .app-media {
    width: 100%;
  }

  .repo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .repo-card-featured {
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .home-page .site-shell {
    width: calc(100vw - 32px);
    padding-top: 12px;
  }

  .home-header {
    min-height: 52px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav-anchor {
    display: none !important;
  }

  .home-page .hero {
    min-height: 0;
    padding: 56px 0 72px;
  }

  .hero-kicker {
    margin-bottom: 18px;
  }

  .home-page .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    letter-spacing: -0.06em;
    line-height: 1.08;
  }

  .hero-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 26px;
    margin-top: 36px;
  }

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

  .hero-button {
    gap: 12px;
    padding-inline: 14px;
  }

  .home-page .apps-section,
  .open-source-section,
  .journal-section {
    margin-bottom: 72px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-index {
    padding: 0;
  }

  .home-page .app-card,
  .home-page .app-card-reverse {
    gap: 24px;
    padding: 22px;
    border-radius: 22px;
  }

  .app-card-label {
    margin-bottom: 20px;
  }

  .home-page .app-tagline {
    font-size: 23px;
  }

  .home-page .app-media {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .home-page .app-card-liquid-purple .app-media-cropped img {
    padding: 4px;
  }

  .repo-card,
  .repo-card-featured {
    min-height: 180px;
    padding: 22px;
    border-radius: 20px;
  }

  .repo-card-featured {
    min-height: 230px;
  }

  .repo-card-featured .repo-card-copy h3 {
    font-size: 28px;
  }

  .journal-section .list-stack {
    grid-template-columns: 1fr;
  }

  .closing-note {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 36px;
  }

  .closing-note p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-header,
  .hero-kicker,
  .home-page .hero h1,
  .hero-footer {
    animation: none;
  }

  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
