/* GrayCat moonlit workbench visual system */
:root {
  color-scheme: light;
  --night: #0b1118;
  --night-soft: #111c28;
  --ink: #17232d;
  --muted: #66727a;
  --paper: #f6f3ec;
  --paper-bright: #fffdf8;
  --line: rgba(23, 35, 45, 0.14);
  --teal: #0f8c89;
  --teal-dark: #076b69;
  --blue: #173b60;
  --gold: #d7ad5d;
  --soft-gold: #f1e4c7;
  --shadow-sm: 0 14px 40px rgba(24, 35, 43, 0.08);
  --shadow-lg: 0 34px 90px rgba(4, 12, 19, 0.22);
  --radius-sm: 1.1rem;
  --radius-md: 1.7rem;
  --radius-lg: 2.7rem;
  --pointer-x: 72%;
  --pointer-y: 12%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 35, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 45, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(15, 140, 137, 0.12), transparent 32rem),
    radial-gradient(circle at 8% 34%, rgba(215, 173, 93, 0.09), transparent 26rem);
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  z-index: -1;
  top: -18rem;
  right: -14rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(15, 140, 137, 0.12);
  filter: blur(90px);
  pointer-events: none;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(15, 140, 137, 0.52);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer,
main {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0.8rem;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 12px 36px rgba(23, 35, 45, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.72rem;
  color: var(--ink);
  text-decoration: none;
}

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

.brand-orbit {
  position: relative;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(23, 35, 45, 0.2);
  border-radius: 50%;
}

.brand-orbit::before,
.brand-orbit::after,
.brand-orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brand-orbit::before {
  inset: 7px;
  background: var(--night);
}

.brand-orbit::after {
  top: 2px;
  right: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--paper-bright);
  background: var(--teal);
}

.brand-orbit span {
  right: -2px;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.brand-name {
  align-self: end;
  font-size: 1.02rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-note {
  align-self: start;
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a,
.language-link {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
}

.site-nav a[aria-current="page"] {
  background: var(--night);
  color: #fff;
}

.site-nav a:hover,
.language-link:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"]:hover {
  color: #fff;
}

.language-link {
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
}

.menu-button {
  display: none;
  min-width: 48px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-bright);
  color: var(--ink);
  padding: 0.55rem 0.78rem;
  font: inherit;
  font-weight: 700;
}

main {
  padding-block: 1.4rem 6rem;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 77% 18%, rgba(24, 175, 169, 0.2), transparent 24rem),
    radial-gradient(circle at 93% 80%, rgba(215, 173, 93, 0.15), transparent 20rem),
    linear-gradient(145deg, #0b1118 0%, #102330 58%, #0c171f 100%);
  color: #f7f3eb;
  box-shadow: var(--shadow-lg);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}

.home-hero {
  min-height: min(720px, calc(100vh - 7rem));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2.2rem, 5vw, 4.2rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 6vw, 5.65rem);
}

.home-hero h1 > span,
.home-hero h1 em > span {
  display: block;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #72d3cc;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong",
    Georgia, serif;
  font-weight: 620;
}

h1 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(3.35rem, 7vw, 6.6rem);
}

h1 em {
  display: block;
  color: #75d4cd;
  font-style: italic;
  font-weight: 520;
}

.page-title {
  max-width: 16ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  font-weight: 760;
}

.lede {
  max-width: 61ch;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  line-height: 1.72;
}

.hero .lede,
.page-hero .lede {
  color: rgba(247, 243, 235, 0.7);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  background: var(--teal);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 140, 137, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 140, 137, 0.25);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.section .button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
}

.button.disabled,
.button.disabled:hover {
  border-color: rgba(23, 35, 45, 0.12);
  background: rgba(23, 35, 45, 0.07);
  color: #768087;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-top: 2rem;
  color: rgba(247, 243, 235, 0.58);
  font-size: 0.82rem;
}

.hero-signals span::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin: 0 0.55rem 0.1rem 0;
  border-radius: 50%;
  background: var(--gold);
}

.workbench {
  position: relative;
  z-index: 1;
  min-height: 540px;
  perspective: 1000px;
}

.workbench-grid {
  position: absolute;
  inset: 9% 4% 4% 7%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(15, 140, 137, 0.2), rgba(15, 140, 137, 0.02) 48%, transparent 70%);
  transform: rotateX(61deg) rotateZ(-8deg);
  box-shadow: inset 0 0 80px rgba(21, 176, 169, 0.08);
}

.workbench-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.ring-one {
  top: 19%;
  right: 4%;
  bottom: 9%;
  left: 15%;
  transform: rotate(-14deg);
}

.ring-two {
  top: 29%;
  right: 16%;
  bottom: 19%;
  left: 4%;
  border-color: rgba(112, 211, 204, 0.15);
  transform: rotate(18deg);
}

.floating-app {
  position: absolute;
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2.2rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.floating-app img {
  border-radius: 1.55rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.26);
}

.floating-app span {
  padding-inline: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-markdown {
  z-index: 3;
  top: 18%;
  left: 20%;
  transform: rotate(-7deg);
  animation: drift-markdown 7s ease-in-out infinite;
}

.floating-markdown img {
  width: 176px;
  height: 176px;
}

.floating-knee {
  z-index: 2;
  right: 8%;
  bottom: 17%;
  border-radius: 1.75rem;
  transform: rotate(8deg);
  animation: drift-knee 8s 0.8s ease-in-out infinite;
}

.floating-knee img {
  width: 112px;
  height: 112px;
  border-radius: 1.25rem;
}

.floating-text {
  z-index: 2;
  top: 7%;
  right: 5%;
  padding: 0.65rem;
  border-radius: 1.55rem;
  transform: rotate(5deg);
  animation: drift-text 7.5s 0.35s ease-in-out infinite;
}

.floating-text img {
  width: 92px;
  height: 92px;
  border-radius: 1.15rem;
}

.future-chip {
  position: absolute;
  min-width: 88px;
  display: grid;
  gap: 0.08rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
  background: rgba(8, 17, 24, 0.56);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.future-chip strong {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.future-chip span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
}

.chip-music {
  bottom: 7%;
  left: 10%;
  transform: rotate(-5deg);
}

.chip-pdf {
  right: 27%;
  bottom: 2%;
  transform: rotate(3deg);
}

.workbench-star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px 5px rgba(112, 211, 204, 0.45);
}

.star-one {
  top: 16%;
  left: 8%;
}

.star-two {
  top: 55%;
  right: 2%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  box-shadow: 0 0 16px 4px rgba(215, 173, 93, 0.45);
}

@keyframes drift-markdown {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
}

@keyframes drift-knee {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }
  50% {
    transform: translateY(9px) rotate(6deg);
  }
}

@keyframes drift-text {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2.6rem;
}

.split-intro {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 3rem;
}

.split-intro .lede {
  margin: 0 0 0.55rem;
}

.showcase-section {
  padding-top: clamp(5rem, 9vw, 8rem);
}

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

.product-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(23, 35, 45, 0.14);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -42% 28%;
  height: 66%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(16px);
  pointer-events: none;
}

.product-card-top,
.product-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-visual {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}

.product-visual img {
  width: 112px;
  height: 112px;
  border-radius: 1.65rem;
  box-shadow: 0 17px 32px rgba(11, 17, 24, 0.2);
}

.product-monogram {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 35, 45, 0.13);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.status {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23, 35, 45, 0.1);
  border-radius: 999px;
  padding: 0.34rem 0.66rem;
  background: rgba(255, 255, 255, 0.45);
  color: #5d523e;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-transform: uppercase;
}

.status.available {
  border-color: rgba(25, 98, 60, 0.14);
  background: rgba(229, 244, 234, 0.74);
  color: #1e663b;
}

.product-copy {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin-top: auto;
  padding-top: 2.5rem;
}

.product-copy h3 {
  margin-bottom: 0.8rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", Georgia, serif;
  font-size: clamp(2.05rem, 3vw, 3.15rem);
  font-weight: 620;
}

.product-copy > p:not(.product-category):not(.product-boundary) {
  max-width: 47ch;
  margin-bottom: 0;
  color: rgba(23, 35, 45, 0.68);
  font-size: 1rem;
}

.product-category {
  margin: 0 0 0.55rem;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-boundary {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: rgba(23, 35, 45, 0.53);
  font-size: 0.78rem;
}

.product-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 35, 45, 0.12);
  color: rgba(23, 35, 45, 0.58);
  font-size: 0.78rem;
  font-weight: 670;
}

.product-link,
.text-link {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.product-link:hover,
.text-link:hover {
  color: var(--teal-dark);
}

.product-markdown {
  background:
    radial-gradient(circle at 78% 9%, rgba(255, 255, 255, 0.62), transparent 18rem),
    linear-gradient(145deg, #d8efea 0%, #c4e5df 55%, #e9f3eb 100%);
}

.product-kneedaily {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 81% 10%, rgba(215, 173, 93, 0.2), transparent 18rem),
    linear-gradient(145deg, #183e62 0%, #0e2942 58%, #0b1d30 100%);
  color: #fff;
}

.product-kneedaily .product-category,
.product-kneedaily .product-link {
  color: #e1be79;
}

.product-kneedaily .product-copy > p:not(.product-category):not(.product-boundary),
.product-kneedaily .product-boundary,
.product-kneedaily .product-meta {
  color: rgba(255, 255, 255, 0.62);
}

.product-kneedaily .product-meta {
  border-top-color: rgba(255, 255, 255, 0.13);
}

.product-kneedaily .status.available {
  border-color: rgba(215, 173, 93, 0.25);
  background: rgba(215, 173, 93, 0.15);
  color: #f1d59d;
}

.product-kneedaily::after {
  background: rgba(215, 173, 93, 0.11);
}

.roadmap-section {
  border-top: 0 !important;
  border-radius: var(--radius-lg);
  padding-inline: clamp(1.5rem, 5vw, 4.3rem);
  background:
    radial-gradient(circle at 90% 14%, rgba(15, 140, 137, 0.12), transparent 22rem),
    var(--night);
  color: #f7f3eb;
  box-shadow: var(--shadow-lg);
}

.roadmap-section .eyebrow {
  color: #72d3cc;
}

.roadmap-section .lede {
  color: rgba(247, 243, 235, 0.58);
}

.roadmap-section > .text-link {
  display: inline-block;
  margin-top: 2rem;
  color: #fff;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-card.compact {
  min-height: 330px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 95% 0%, rgba(15, 140, 137, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.04);
  box-shadow: none;
  color: #fff;
}

.product-card.compact::after {
  display: none;
}

.product-card.compact .product-card-top {
  flex-direction: column-reverse;
}

.product-card.compact .product-visual {
  width: 84px;
  height: 84px;
}

.product-card.compact .product-monogram {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
}

.product-card.compact .status {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
}

.product-card.compact .product-copy {
  padding-top: 1.8rem;
}

.product-card.compact .product-copy h3 {
  color: #fff;
  font-family: inherit;
  font-size: 1.24rem;
  font-weight: 760;
}

.product-card.compact .product-category {
  color: #72d3cc;
}

.product-card.compact .product-copy > p:not(.product-category) {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
}

.product-card.compact .product-meta {
  border-top-color: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.42);
}

.catalog-products .product-card.compact {
  background:
    radial-gradient(circle at 95% 0%, rgba(15, 140, 137, 0.1), transparent 12rem),
    var(--night-soft);
}

.principles-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.principle-statement {
  position: sticky;
  top: 7rem;
}

.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.fact {
  min-height: 165px;
  display: grid;
  grid-template-columns: 42px minmax(0, 0.68fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line);
}

.fact > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fact strong {
  font-size: 1rem;
}

.fact p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 4.8rem);
}

.product-page-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  align-items: center;
  gap: 3rem;
}

.markdown-page-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(115, 214, 207, 0.28), transparent 24rem),
    linear-gradient(145deg, #0a3a4b 0%, #0a5c66 54%, #083a47 100%);
}

.text-page-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 173, 93, 0.22), transparent 23rem),
    radial-gradient(circle at 92% 78%, rgba(115, 214, 207, 0.18), transparent 19rem),
    linear-gradient(145deg, #121820 0%, #202c36 56%, #151d25 100%);
}

.product-page-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-page-visual img {
  width: min(220px, 40vw);
  border-radius: 3.3rem;
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.28);
  transform: rotate(3deg);
}

.text-page-visual .product-monogram {
  width: min(220px, 40vw);
  height: min(220px, 40vw);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 3.3rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.28);
  transform: rotate(3deg);
}

.page-hero .release-note {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: rgba(247, 243, 235, 0.58);
  font-size: 0.88rem;
}

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

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

.card {
  min-height: 220px;
  border: 1px solid rgba(23, 35, 45, 0.11);
  border-radius: var(--radius-sm);
  padding: 1.55rem;
  background: rgba(255, 253, 248, 0.73);
  box-shadow: 0 10px 28px rgba(23, 35, 45, 0.04);
}

.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.card .status {
  margin-bottom: 1.25rem;
}

.catalog-hero .lede {
  max-width: 690px;
}

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

.catalog-products .product-markdown {
  grid-row: span 2;
}

.specialist-section {
  border-top: 0 !important;
  border-radius: var(--radius-lg);
  padding-inline: clamp(1.5rem, 5vw, 4.3rem);
  background: var(--soft-gold);
}

.specialist-products {
  grid-template-columns: minmax(0, 0.75fr);
}

.download-grid {
  display: grid;
  gap: 1.1rem;
}

.download-products-section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.download-safety {
  padding-top: clamp(2.5rem, 4vw, 3.75rem);
}

.download-product {
  --download-accent-rgb: 15, 140, 137;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(440px, 1.22fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(23, 35, 45, 0.1);
  border-radius: var(--radius-md);
  padding: clamp(1.45rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at 7% 5%, rgba(var(--download-accent-rgb), 0.12), transparent 17rem),
    rgba(255, 253, 248, 0.8);
  box-shadow: var(--shadow-sm);
}

.download-product::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(var(--download-accent-rgb), 0.78);
}

.download-text {
  --download-accent-rgb: 72, 92, 100;
}

.download-kneedaily {
  --download-accent-rgb: 33, 72, 110;
}

.download-product-overview,
.download-channels {
  position: relative;
  z-index: 1;
}

.download-product-heading {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 1.15rem;
}

.download-product-icon,
.download-product-monogram {
  width: 92px;
  height: 92px;
  border-radius: 1.35rem;
  box-shadow: 0 16px 32px rgba(23, 35, 45, 0.18);
}

.download-product-icon {
  object-fit: cover;
}

.download-product-monogram {
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 35, 45, 0.1);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.download-product-heading .product-category {
  margin-bottom: 0.2rem;
}

.download-product h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.045em;
}

.download-platforms {
  margin: 0.25rem 0 0;
  color: rgba(23, 35, 45, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
}

.download-product-summary {
  max-width: 44ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-channels {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.download-channel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(23, 35, 45, 0.1);
  border-radius: 1.15rem;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.58);
}

.download-channel-copy {
  min-width: 0;
  display: grid;
  gap: 0.16rem;
}

.download-channel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.18rem;
}

.download-channel-label {
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.download-channel-format {
  border-radius: 999px;
  padding: 0.15rem 0.42rem;
  background: rgba(23, 35, 45, 0.06);
  color: rgba(23, 35, 45, 0.54);
  font-size: 0.65rem;
  font-weight: 740;
}

.download-channel-copy > strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.download-channel-meta,
.download-channel-trust {
  color: rgba(23, 35, 45, 0.58);
  font-size: 0.76rem;
  line-height: 1.45;
}

.download-channel-trust {
  color: rgba(23, 35, 45, 0.48);
}

.download-channel-actions {
  min-width: 166px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.45rem;
}

.download-channel-actions .button {
  min-width: 166px;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.download-verify {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  text-decoration: none;
}

.download-verify:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.prose {
  max-width: 820px;
}

main > .prose:first-child {
  margin-top: 1.6rem;
  border: 1px solid rgba(23, 35, 45, 0.09);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  margin-top: 3.7rem;
  font-family: inherit;
  font-size: 1.9rem;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.prose h3 {
  margin-top: 2.2rem;
}

.prose p,
.prose li {
  line-height: 1.78;
}

.prose code {
  padding: 0.16rem 0.38rem;
  border-radius: 0.38rem;
  background: rgba(23, 35, 45, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.notice {
  margin: 2rem 0;
  border-left: 4px solid var(--teal);
  padding: 1rem 1.2rem;
  background: rgba(15, 140, 137, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem 2rem;
  align-items: end;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--night);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.footer-brand {
  display: grid;
  gap: 0.22rem;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.06rem;
}

.footer-brand span {
  max-width: 45ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.75rem;
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    padding-inline: 2.6rem;
  }

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

  .site-nav {
    gap: 0;
    font-size: 0.82rem;
  }

  .site-nav a {
    padding-inline: 0.56rem;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 1.2rem, 1240px);
  }

  .site-header {
    position: relative;
    top: 0;
    min-height: 62px;
    margin-top: 0.6rem;
    padding-left: 0.8rem;
  }

  .brand-note {
    display: none;
  }

  .brand {
    grid-template-rows: auto;
  }

  .brand-orbit {
    grid-row: auto;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-wrap {
    position: absolute;
    z-index: 30;
    top: 70px;
    right: 0;
    left: 0;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.3rem;
    padding: 1rem;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  .nav-wrap[hidden] {
    display: none;
  }

  .site-nav {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-inline: 0.8rem;
  }

  .language-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    align-self: start;
  }

  main {
    padding-top: 0.8rem;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 1.5rem;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 12vw, 5.5rem);
  }

  .workbench {
    min-height: 440px;
  }

  .floating-markdown {
    top: 14%;
    left: 20%;
  }

  .floating-markdown img {
    width: 148px;
    height: 148px;
  }

  .product-grid,
  .catalog-products,
  .specialist-products,
  .grid,
  .grid.two,
  .split-intro,
  .principles-section,
  .product-page-hero,
  .download-product {
    grid-template-columns: 1fr;
  }

  .catalog-products .product-markdown {
    grid-row: auto;
  }

  .product-card {
    min-height: 430px;
  }

  .principle-statement {
    position: static;
  }

  .fact {
    grid-template-columns: 38px 1fr;
  }

  .fact p {
    grid-column: 2;
  }

  .product-page-visual {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    border-radius: 1.2rem;
  }

  .home-hero,
  .page-hero,
  .roadmap-section,
  .specialist-section {
    border-radius: 1.65rem;
  }

  .hero-copy .lede {
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-signals {
    display: grid;
  }

  .workbench {
    min-height: 390px;
  }

  .floating-markdown {
    left: 12%;
  }

  .floating-knee {
    right: 5%;
    bottom: 14%;
  }

  .floating-text {
    top: 5%;
    right: 2%;
  }

  .chip-music {
    left: 1%;
  }

  .chip-pdf {
    display: none;
  }

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

  .product-card.compact {
    min-height: 300px;
  }

  .product-card-top {
    align-items: flex-start;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-product {
    padding: 1.15rem;
  }

  .download-product-heading {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .download-product-icon,
  .download-product-monogram {
    width: 68px;
    height: 68px;
    border-radius: 1rem;
  }

  .download-product-summary {
    margin-top: 1rem;
  }

  .download-channel {
    grid-template-columns: 1fr;
  }

  .download-channel-actions {
    min-width: 0;
    align-items: stretch;
  }

  .download-channel-actions .button {
    min-width: 0;
    width: 100%;
  }

  .download-verify {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .page-title {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .prose h2 {
    margin-top: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
