@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Intent Mesh shared production theme. */
:root,
html.light {
  --white: #f4f1ea;
  --off-white: #ebe7dd;
  --ink: #10131a;
  --ink2: #242832;
  --ink3: #5f626b;
  --ink4: #7b7d84;
  --ink5: #bdb9af;
  --line: rgba(16, 19, 26, 0.08);
  --line2: rgba(16, 19, 26, 0.14);
  --accent: #3f444b;
  --accent2: var(--accent);
  --accent3: var(--accent);
  --paper: #f4f1ea;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --card: rgba(255, 255, 255, 0.66);
  --dark-panel: #11151d;
  --panel-ink: #f9f8f4;
  --shadow: 0 24px 70px rgba(33, 31, 27, 0.10), 0 2px 8px rgba(33, 31, 27, 0.05);
}

html.dark {
  --white: #090b11;
  --off-white: #11141c;
  --ink: #f5f3ee;
  --ink2: #dedde2;
  --ink3: #a6a6ae;
  --ink4: #7d7e88;
  --ink5: #393b45;
  --line: rgba(255, 255, 255, 0.075);
  --line2: rgba(255, 255, 255, 0.13);
  --accent: #b9bdc3;
  --accent2: var(--accent);
  --accent3: var(--accent);
  --paper: #090b11;
  --glass: rgba(20, 23, 31, 0.68);
  --glass-strong: rgba(23, 26, 35, 0.88);
  --card: rgba(21, 24, 33, 0.72);
  --dark-panel: #f0eee8;
  --panel-ink: #12151c;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36), 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  html:not(.light) {
    --white: #090b11;
    --off-white: #11141c;
    --ink: #f5f3ee;
    --ink2: #dedde2;
    --ink3: #a6a6ae;
    --ink4: #7d7e88;
    --ink5: #393b45;
    --line: rgba(255, 255, 255, 0.075);
    --line2: rgba(255, 255, 255, 0.13);
    --accent: #b9bdc3;
    --accent2: var(--accent);
    --accent3: var(--accent);
    --paper: #090b11;
    --glass: rgba(20, 23, 31, 0.68);
    --glass-strong: rgba(23, 26, 35, 0.88);
    --card: rgba(21, 24, 33, 0.72);
    --dark-panel: #f0eee8;
    --panel-ink: #12151c;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.36), 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}

body.site-theme {
  position: relative;
  background:
    radial-gradient(circle at 4% 7%, rgba(79, 84, 92, 0.08), transparent 27rem),
    radial-gradient(circle at 94% 42%, rgba(79, 84, 92, 0.055), transparent 29rem),
    var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 1;
  animation: none;
}

body.site-theme::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 52%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 52%);
  opacity: 0.42;
}

.site-theme .wrap {
  width: 100%;
  max-width: 1320px;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
}

.site-theme :focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 4px;
}

/* Floating navigation */
.site-theme header,
.site-theme html.dark header,
.site-theme html.light header {
  padding: 1.25rem 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-theme header .wrap {
  max-width: 1380px;
}

.site-theme .hd {
  min-height: 58px;
  padding: 0.6rem 0.7rem 0.6rem 1rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: 0 10px 36px rgba(15, 18, 26, 0.06);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.site-theme header.scrolled {
  padding: 0.7rem 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-theme header.scrolled .hd {
  background: var(--glass-strong);
  box-shadow: 0 18px 48px rgba(15, 18, 26, 0.12);
  transform: translateY(-1px);
}

.site-theme .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.site-theme .wordmark:hover {
  color: var(--accent);
  opacity: 1;
}

.site-theme .hd-links {
  gap: 0.3rem;
  margin-left: auto;
  margin-right: 0.55rem;
}

.site-theme .hd-links a {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--ink3);
  font-size: 0.76rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-theme .hd-links a:hover {
  color: var(--ink);
  background: var(--line);
  transform: translateY(-1px);
}

.site-theme .theme-toggle,
.site-theme .hamburger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(127, 127, 127, 0.06);
}

.site-theme .theme-toggle:hover {
  color: var(--accent);
  background: rgba(79, 84, 92, 0.11);
  transform: rotate(8deg);
}

/* Hero */
.site-theme .hero {
  --mesh-x: 72%;
  --mesh-y: 42%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96svh;
  padding: clamp(9rem, 14vw, 12rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: clip;
  isolation: isolate;
}

.site-theme .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mesh-x) var(--mesh-y), rgba(79, 84, 92, 0.13), transparent 68%),
    radial-gradient(360px circle at 89% 22%, rgba(79, 84, 92, 0.08), transparent 70%);
  transition: background 0.2s ease;
}

.site-theme .hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(47vw, 680px);
  aspect-ratio: 1;
  top: 50%;
  right: max(-7rem, -6vw);
  border: 1px solid rgba(151, 156, 164, 0.22);
  border-radius: 44% 56% 61% 39% / 50% 42% 58% 50%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.72), transparent 8%),
    radial-gradient(circle at 36% 34%, rgba(218, 220, 223, 0.88), transparent 24%),
    radial-gradient(circle at 64% 62%, rgba(132, 137, 144, 0.74), transparent 29%),
    radial-gradient(circle at 60% 38%, rgba(52, 56, 62, 0.98), transparent 58%),
    #25282d;
  box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.18),
    0 46px 130px rgba(27, 30, 34, 0.24),
    0 12px 38px rgba(79, 84, 92, 0.16);
  transform: translateY(-46%) rotate(-9deg);
  animation: mesh-float 9s ease-in-out infinite;
}

@keyframes mesh-float {
  0%, 100% { transform: translateY(-46%) rotate(-9deg) scale(1); border-radius: 44% 56% 61% 39% / 50% 42% 58% 50%; }
  50% { transform: translateY(-50%) rotate(2deg) scale(1.025); border-radius: 57% 43% 42% 58% / 44% 58% 42% 56%; }
}

.site-theme .hero .wrap {
  position: relative;
}

.site-theme .hero .wrap::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(38vw, 530px);
  aspect-ratio: 1;
  right: clamp(-2rem, 2vw, 3rem);
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    repeating-radial-gradient(circle at center, transparent 0 28px, rgba(255, 255, 255, 0.11) 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.09) 32px 33px);
  mix-blend-mode: overlay;
  transform: translateY(-48%) rotate(8deg);
  animation: mesh-lines 16s linear infinite;
}

@keyframes mesh-lines {
  to { transform: translateY(-48%) rotate(368deg); }
}

.site-theme .hero .wrap > * {
  position: relative;
  z-index: 2;
  max-width: min(70%, 850px);
}

.site-theme .hero h1 {
  max-width: 9.5ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 8.1vw, 7.8rem);
  font-weight: 750;
  letter-spacing: -0.078em;
  line-height: 0.91;
  text-wrap: balance;
}

.site-theme .delight-accent {
  display: inline-block;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.site-theme .hero-sub {
  max-width: 48ch;
  margin: 2rem 0 2.2rem;
  color: var(--ink3);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.72;
}

.site-theme .hero-cta {
  width: fit-content;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  gap: 1rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--ink);
  background: var(--glass-strong);
  box-shadow: 0 12px 28px rgba(15, 18, 26, 0.08);
  font-size: 0.78rem;
  font-weight: 750;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-theme .hero-cta svg {
  width: 30px;
  height: 30px;
  padding: 8px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
}

.site-theme .hero-cta:hover {
  color: var(--ink);
  border-color: var(--line2);
  background: var(--glass-strong);
  box-shadow: 0 18px 42px rgba(15, 18, 26, 0.14);
  transform: translateY(-3px);
}

.site-theme .hero-cta:hover svg {
  transform: translateY(3px);
}

/* Product bento */
.site-theme .products {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 9vw, 9rem) 0;
  border: 0;
}

.site-theme .section-label {
  margin-bottom: 2rem;
  color: var(--ink3);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.site-theme .products .section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-theme .products .section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
}

.site-theme .product-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.15rem);
}

.site-theme .product {
  --card-rgb: 98, 103, 111;
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 2.8rem;
  min-height: 290px;
  padding: clamp(1.45rem, 2.2vw, 2.1rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line2);
  border-radius: clamp(20px, 2vw, 30px);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(var(--card-rgb), 0.085), transparent 43%),
    var(--card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px rgba(18, 20, 28, 0.035);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.45s cubic-bezier(0.18, 0.8, 0.18, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-theme .product:first-child {
  border-top: 1px solid var(--line2);
}

.site-theme .product::before {
  content: '';
  position: absolute;
  z-index: -2;
  width: 220px;
  height: 220px;
  right: -68px;
  bottom: -86px;
  border-radius: 44% 56% 58% 42%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 10%),
    radial-gradient(circle at center, rgba(var(--card-rgb), 0.72), rgba(var(--card-rgb), 0.06) 68%, transparent 72%);
  filter: saturate(1.12);
  opacity: 0.72;
  transform: rotate(-14deg);
  transition: transform 0.55s cubic-bezier(0.18, 0.8, 0.18, 1), opacity 0.35s ease;
}

.site-theme .product::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(var(--card-rgb), 0.2), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-theme .product:hover {
  padding-left: clamp(1.45rem, 2.2vw, 2.1rem);
  border-color: rgba(var(--card-rgb), 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-7px) scale(1.006);
}

.site-theme .product:hover::before {
  opacity: 0.92;
  transform: rotate(5deg) scale(1.12);
}

.site-theme .product:hover::after {
  opacity: 1;
}

.site-theme .product > div {
  position: relative;
  z-index: 2;
}

.site-theme .product-name {
  max-width: 18ch;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.site-theme .product-desc {
  max-width: 49ch;
  color: var(--ink3);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.68;
}

.site-theme .product-meta {
  align-self: flex-start;
  min-width: 0;
  padding: 0.48rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink3);
  background: rgba(127, 127, 127, 0.055);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  white-space: normal;
}

.site-theme .product-arrow {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-left: 0.35rem;
  border: 1px solid var(--line2);
  border-radius: 50%;
  opacity: 1;
  transform: translate(0, -1px);
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.site-theme .product:hover .product-arrow {
  color: #fff;
  background: rgb(var(--card-rgb));
  transform: translate(3px, -4px);
}

.site-theme .product:nth-child(1) { --card-rgb: 98, 103, 111; grid-column: span 5; }
.site-theme .product:nth-child(2) { --card-rgb: 98, 103, 111; grid-column: span 7; }
.site-theme .product:nth-child(3) { --card-rgb: 98, 103, 111; grid-column: span 4; }
.site-theme .product:nth-child(4) { --card-rgb: 98, 103, 111; grid-column: span 4; }
.site-theme .product:nth-child(5) { --card-rgb: 98, 103, 111; grid-column: span 4; }
.site-theme .product:nth-child(6) { --card-rgb: 98, 103, 111; grid-column: span 7; }
.site-theme .product:nth-child(7) { --card-rgb: 98, 103, 111; grid-column: span 5; }
.site-theme .product:nth-child(8) { --card-rgb: 98, 103, 111; grid-column: span 6; }
.site-theme .product:nth-child(9) { --card-rgb: 98, 103, 111; grid-column: span 6; }
.site-theme .product:nth-child(10) { --card-rgb: 98, 103, 111; grid-column: span 12; min-height: 245px; }

/* Thesis statement */
.site-theme .thesis {
  position: relative;
  margin: clamp(0.75rem, 2vw, 2rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: clamp(28px, 4vw, 52px);
  color: var(--panel-ink);
  background: var(--dark-panel);
  box-shadow: var(--shadow);
}

.site-theme .thesis::before,
.site-theme .thesis::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.site-theme .thesis::before {
  width: min(58vw, 760px);
  aspect-ratio: 1;
  right: -18%;
  top: -35%;
  background: radial-gradient(circle at 40% 40%, rgba(196, 199, 204, 0.65), rgba(91, 96, 104, 0.52) 38%, transparent 70%);
  opacity: 0.72;
}

.site-theme .thesis::after {
  width: min(40vw, 520px);
  aspect-ratio: 1;
  left: -12%;
  bottom: -50%;
  background: radial-gradient(circle, rgba(91, 96, 104, 0.46), transparent 68%);
  opacity: 0.7;
}

.site-theme .thesis .wrap {
  position: relative;
}

.site-theme .thesis .section-label {
  color: color-mix(in srgb, var(--panel-ink) 58%, transparent);
}

.site-theme .thesis-text {
  max-width: 1050px;
}

.site-theme .thesis-text p {
  max-width: 24ch;
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(2rem, 5vw, 4.65rem);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 1.06;
  text-wrap: balance;
}

/* Founder */
.site-theme .founder {
  padding: clamp(6rem, 11vw, 10rem) 0;
  border: 0;
}

.site-theme .founder-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.46fr) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding: clamp(1.2rem, 2vw, 1.75rem);
  border: 1px solid var(--line2);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(135deg, rgba(79, 84, 92, 0.09), transparent 36%),
    var(--card);
  box-shadow: 0 20px 55px rgba(18, 20, 28, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-theme .founder-initial {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.08;
  border-radius: clamp(18px, 2.4vw, 28px);
  object-position: center 18%;
  filter: saturate(0.86) contrast(1.04);
  box-shadow: 0 16px 35px rgba(18, 20, 28, 0.13);
}

.site-theme .founder-info {
  padding: clamp(0.4rem, 2vw, 2rem) clamp(0.4rem, 2vw, 2rem) clamp(0.4rem, 2vw, 2rem) 0;
}

.site-theme .founder-info h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 1;
}

.site-theme .founder-role {
  margin-bottom: 1.35rem;
  color: var(--accent);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-theme .founder-bio {
  max-width: 50ch;
  color: var(--ink3);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500;
  line-height: 1.72;
}

.site-theme .founder-link {
  margin-top: 1.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line2);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.site-theme .founder-link:hover {
  gap: 0.8rem;
  color: var(--accent);
  border-color: var(--accent);
}

/* Footer */
.site-theme footer {
  margin: 0 clamp(0.75rem, 2vw, 2rem) clamp(0.75rem, 2vw, 2rem);
  padding: clamp(4rem, 8vw, 7rem) 0 2.2rem;
  border: 1px solid var(--line2);
  border-radius: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 8% 0%, rgba(79, 84, 92, 0.11), transparent 30rem),
    var(--card);
  box-shadow: 0 12px 40px rgba(18, 20, 28, 0.045);
}

.site-theme .ft-top {
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(100px, auto));
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.site-theme .ft-brand {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.3vw, 3.15rem);
  font-weight: 730;
  letter-spacing: -0.065em;
}

.site-theme .ft-tagline {
  color: var(--ink3);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem;
}

.site-theme .ft-col h4 {
  color: var(--ink4);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
}

.site-theme .ft-col a {
  width: fit-content;
  color: var(--ink3);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-theme .ft-col a:hover,
.site-theme .ft-legal a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.site-theme .ft-copy,
.site-theme .ft-legal a {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.6rem;
}

/* Motion refinement */
.site-theme .rv {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.992);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-theme .rv.vis {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.site-theme .product-list .rv:nth-child(2n) { transition-delay: 0.07s; }
.site-theme .product-list .rv:nth-child(3n) { transition-delay: 0.12s; }

/* Responsive */
@media (max-width: 980px) {
  .site-theme .hero {
    min-height: 900px;
    align-items: flex-start;
  }

  .site-theme .hero .wrap > * {
    max-width: 86%;
  }

  .site-theme .hero h1 {
    font-size: clamp(4rem, 12vw, 6.4rem);
  }

  .site-theme .hero::after {
    width: min(70vw, 560px);
    top: auto;
    right: -11%;
    bottom: -16%;
    transform: rotate(-9deg);
  }

  .site-theme .hero .wrap::after {
    width: min(57vw, 460px);
    top: auto;
    right: -2%;
    bottom: -34rem;
    transform: rotate(8deg);
  }

  @keyframes mesh-float {
    0%, 100% { transform: rotate(-9deg) scale(1); border-radius: 44% 56% 61% 39% / 50% 42% 58% 50%; }
    50% { transform: rotate(2deg) scale(1.025); border-radius: 57% 43% 42% 58% / 44% 58% 42% 56%; }
  }

  @keyframes mesh-lines {
    to { transform: rotate(368deg); }
  }

  .site-theme .product,
  .site-theme .product:nth-child(n) {
    grid-column: span 6;
    min-height: 285px;
  }

  .site-theme .product:nth-child(10) {
    grid-column: span 12;
  }

  .site-theme .ft-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-theme .wrap {
    padding-inline: 1.25rem;
  }

  .site-theme header .wrap {
    padding-inline: 0.75rem;
  }

  .site-theme .hd {
    min-height: 54px;
    padding: 0.45rem 0.45rem 0.45rem 0.8rem;
  }

  .site-theme .theme-toggle,
  .site-theme .hamburger {
    width: 40px;
    height: 40px;
  }

  .site-theme .theme-toggle {
    margin-left: auto;
    margin-right: 0.35rem;
  }

  .site-theme .hero {
    min-height: 840px;
    padding: 8.5rem 0 5rem;
  }

  .site-theme .hero .wrap > * {
    max-width: 100%;
  }

  .site-theme .hero h1 {
    max-width: 8.9ch;
    font-size: clamp(3.5rem, 16vw, 5.2rem);
    line-height: 0.92;
  }

  .site-theme .hero-sub {
    max-width: 36ch;
    margin-top: 1.6rem;
    font-size: 0.95rem;
  }

  .site-theme .hero::after {
    width: 430px;
    right: -155px;
    bottom: -90px;
    opacity: 0.75;
  }

  .site-theme .hero .wrap::after {
    display: none;
  }

  .site-theme .products {
    padding: 5rem 0;
  }

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

  .site-theme .product,
  .site-theme .product:nth-child(n) {
    grid-column: 1;
    min-height: 250px;
    border-radius: 24px;
  }

  .site-theme .product:nth-child(10) {
    min-height: 250px;
  }

  .site-theme .thesis {
    margin-inline: 0.6rem;
    border-radius: 30px;
  }

  .site-theme .thesis-text p {
    font-size: clamp(2rem, 9.8vw, 3.15rem);
  }

  .site-theme .founder-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .site-theme .founder-initial {
    width: min(62%, 240px);
    aspect-ratio: 1;
  }

  .site-theme .founder-info {
    padding: 0.4rem 0.35rem 0.8rem;
  }

  .site-theme footer {
    margin-inline: 0.6rem;
    border-radius: 30px;
  }

  .site-theme .ft-top {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .site-theme .ft-bottom {
    gap: 1.2rem;
  }

  .site-theme .ft-legal {
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
  }

  .site-theme .mobile-nav {
    margin: 0.6rem;
    border: 1px solid var(--line2);
    border-radius: 28px;
    background: var(--glass-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .site-theme .mobile-nav a {
    font-size: 2rem;
    letter-spacing: -0.05em;
  }
}

@media (hover: none) {
  .site-theme .product::after { display: none; }
  .site-theme .product:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-theme .hero::after,
  .site-theme .hero .wrap::after {
    animation: none;
  }

  .site-theme .rv,
  .site-theme .rv.vis {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Shared inner-page treatment */
body.site-theme:not(.home-v2) {
  background:
    radial-gradient(circle at 5% 6%, rgba(184, 110, 63, 0.075), transparent 28rem),
    radial-gradient(circle at 95% 34%, rgba(17, 35, 46, 0.07), transparent 32rem),
    var(--paper);
}

.site-theme .page-hero {
  position: relative;
  max-width: 900px;
  padding: clamp(10rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.site-theme .contact-hero,
.site-theme .founder-hero,
.site-theme .est-hero,
.site-theme .game-hero {
  position: relative;
  padding-top: clamp(10rem, 14vw, 12rem);
}

.site-theme .page-hero::before,
.site-theme .contact-hero::before,
.site-theme .founder-hero::before,
.site-theme .est-hero::before,
.site-theme .game-hero::before {
  content: '';
  position: absolute;
  top: clamp(8.2rem, 11vw, 9.5rem);
  left: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.site-theme .page-hero h1,
.site-theme .contact-hero h1,
.site-theme .founder-hero h1,
.site-theme .est-hero h1,
.site-theme .game-hero h1 {
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.8rem, 5.4vw, 5.3rem);
  font-weight: 740;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.site-theme .page-hero .sub,
.site-theme .page-hero .subtitle,
.site-theme .page-hero .detail,
.site-theme .contact-hero p,
.site-theme .founder-hero p,
.site-theme .est-hero p,
.site-theme .game-hero p {
  color: var(--ink3);
  font-weight: 500;
  line-height: 1.72;
}

.site-theme main > section:not(.hero):not(.page-hero):not(.contact-hero):not(.founder-hero):not(.est-hero):not(.game-hero) {
  border-color: var(--line2);
}

.site-theme :is(
  .product-card,
  .game-card,
  .game-card-item,
  .more-game-card,
  .lab-card,
  .why-card,
  .mode-card,
  .tier-card,
  .detail-card,
  .truth-card,
  .cred-card,
  .work-card,
  .feature-item,
  .intent-node,
  .how-step,
  .cf-banner,
  .contact-form
) {
  border: 1px solid var(--line2);
  border-radius: clamp(18px, 2vw, 26px);
  background:
    linear-gradient(145deg, rgba(184, 110, 63, 0.065), transparent 38%),
    var(--card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 38px rgba(13, 26, 34, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-theme :is(
  a.product-card,
  a.game-card-item,
  .more-game-card,
  .lab-card,
  .why-card,
  .mode-card,
  .tier-card,
  .detail-card,
  .truth-card,
  .cred-card,
  .work-card
) {
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.site-theme :is(
  a.product-card,
  a.game-card-item,
  .more-game-card,
  .lab-card,
  .why-card,
  .mode-card,
  .tier-card,
  .detail-card,
  .truth-card,
  .cred-card,
  .work-card
):hover {
  border-color: rgba(184, 110, 63, 0.42);
  box-shadow: 0 24px 62px rgba(13, 26, 34, 0.12);
  transform: translateY(-5px);
}

.site-theme .tier-card.featured {
  border-color: var(--accent);
  box-shadow: 0 22px 60px rgba(184, 110, 63, 0.14);
}

.site-theme :is(
  .section-label,
  .detail-label,
  .truth-label,
  .why-label,
  .cred-label,
  .feature-label,
  .lab-badge,
  .roadmap-tag,
  .tier-label
) {
  color: var(--accent);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.11em;
}

.site-theme :is(
  .btn,
  .cta-btn,
  .hero-btn,
  .form-submit,
  .tier-cta,
  .dl-btn,
  .store-link,
  .error-home
) {
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(13, 26, 34, 0.12);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.site-theme :is(
  .btn,
  .cta-btn,
  .hero-btn,
  .form-submit,
  .tier-cta,
  .dl-btn,
  .store-link,
  .error-home
):hover {
  color: #fff9f0;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 15px 34px rgba(184, 110, 63, 0.22);
  transform: translateY(-2px);
}

.site-theme .btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line2);
  box-shadow: none;
}

.site-theme :is(input, textarea, select) {
  border: 1px solid var(--line2);
  border-radius: 12px;
  color: var(--ink);
  background: var(--glass);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-theme :is(input, textarea, select):focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 110, 63, 0.11);
}

.site-theme :is(.founder-avatar, .founder-initial) {
  filter: saturate(0.98) contrast(1.02);
}

.site-theme .legal-content section {
  border-color: var(--line2);
}

.site-theme .legal-content a,
.site-theme .contact-link,
.site-theme .social-link,
.site-theme .cf-link,
.site-theme .back-link {
  color: var(--accent);
}

.site-theme .error-code {
  color: var(--accent);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

@media (max-width: 700px) {
  .site-theme .page-hero,
  .site-theme .contact-hero,
  .site-theme .founder-hero,
  .site-theme .est-hero,
  .site-theme .game-hero {
    padding-top: 8.5rem;
  }

  .site-theme .page-hero::before,
  .site-theme .contact-hero::before,
  .site-theme .founder-hero::before,
  .site-theme .est-hero::before,
  .site-theme .game-hero::before {
    top: 7.25rem;
  }

  .site-theme .page-hero h1,
  .site-theme .contact-hero h1,
  .site-theme .founder-hero h1,
  .site-theme .est-hero h1,
  .site-theme .game-hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }
}
