@font-face {
  font-family: Lack;
  src: url("/https/pumaai.com/fonts/Lack-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lack Line";
  src: url("/https/pumaai.com/fonts/Lack-Line-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #eef1f4;
  --bg-soft: #e6eaef;
  --ink: #111111;
  --muted: color-mix(in srgb, #111111 58%, transparent);
  --muted-2: color-mix(in srgb, #111111 48%, transparent);
  --dim: color-mix(in srgb, #111111 38%, transparent);
  --accent: #111111;
  --rule: rgba(0, 0, 0, 0.1);
  --soft-rule: rgba(255, 255, 255, 0.45);
  --maxw: 1080px;
  --reading: 720px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: Lack, "DM Sans", system-ui, sans-serif;
  --font-display-italic: "Lack Line", Lack, "DM Sans", system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Liquid Glass material tokens */
  --glass-blur: 28px;
  --glass-sat: 1.55;
  --glass-fill: rgba(255, 255, 255, 0.38);
  --glass-fill-strong: rgba(255, 255, 255, 0.55);
  --glass-fill-tint: rgba(245, 248, 252, 0.48);
  --glass-edge: rgba(255, 255, 255, 0.72);
  --glass-edge-soft: rgba(255, 255, 255, 0.4);
  --glass-rim: rgba(0, 0, 0, 0.06);
  --glass-highlight:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 1px 0 0 rgba(255, 255, 255, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.12);
  --glass-shadow:
    0 1px 1px rgba(255, 255, 255, 0.5),
    0 10px 40px rgba(30, 40, 55, 0.1),
    0 2px 10px rgba(30, 40, 55, 0.05);
  --glass-shadow-lift:
    0 1px 1px rgba(255, 255, 255, 0.6),
    0 18px 48px rgba(30, 40, 55, 0.14),
    0 6px 16px rgba(30, 40, 55, 0.08);
  --glass-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

html[lang="ja"] {
  --font-sans: "DM Sans", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-display: Lack, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "DM Sans", system-ui, sans-serif;
  --font-display-italic: "Lack Line", Lack, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "DM Sans", system-ui, sans-serif;
}

html[lang="ja"] body {
  line-height: 1.75;
  letter-spacing: 0.01em;
}

html[lang="ja"] .eyebrow,
html[lang="ja"] .card-kicker,
html[lang="ja"] .article-meta,
html[lang="ja"] .status-label {
  letter-spacing: 0.06em;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] .section-title p {
  word-break: auto-phrase;
}

.term-nowrap {
  white-space: nowrap;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 48% at 92% -8%, rgba(120, 150, 180, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 42% at -8% 18%, rgba(190, 165, 140, 0.2), transparent 52%),
    radial-gradient(ellipse 45% 40% at 48% 72%, rgba(140, 155, 175, 0.14), transparent 62%),
    radial-gradient(ellipse 35% 30% at 78% 42%, rgba(210, 200, 185, 0.16), transparent 55%),
    linear-gradient(165deg, #f3f6f9 0%, #e8edf2 42%, #f2f0ec 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.35), transparent 24%);
  animation: atmosphere-drift 28s ease-in-out infinite alternate;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(0, 0, 0, 0.28);
  transition:
    color var(--ease),
    text-decoration-color var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    transform var(--ease-spring),
    opacity var(--ease),
    box-shadow var(--ease),
    backdrop-filter var(--ease),
    filter var(--ease);
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 14px 3% 0;
  background: transparent;
  border: none;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  min-height: 58px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius-pill);
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.brand-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.brand-links a:not(.logo) {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
}

.brand-links a:not(.logo):hover {
  color: var(--ink);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
  opacity: 0.72;
}

.logo img {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links {
  font-size: 0.95rem;
  margin-left: auto;
}

.nav-links .nav-cta {
  margin-left: 4px;
}

.nav-links a,
.nav-cta,
.footer-links a,
.footer-brand,
.text-link,
.primary,
.ghost {
  text-decoration: none;
}

.nav-links a:not(.nav-cta) {
  color: var(--muted);
  padding: 6px 2px;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta)[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.nav-cta:hover {
  color: #fff;
  background: rgba(34, 34, 34, 0.88);
  transform: scale(1.03);
}

.nav-bar {
  display: contents;
}

.nav-cta-bar,
.nav-toggle,
.nav-ext {
  display: none;
}

.nav-toggle {
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease-spring);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.78);
}

.nav-toggle-bars {
  display: block;
  width: 16px;
  height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 5px / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 10px / 100% 2px no-repeat;
}

.nav.is-open .nav-toggle-bars {
  background: linear-gradient(var(--ink), var(--ink)) 0 5px / 100% 2px no-repeat;
  position: relative;
}

.nav.is-open .nav-toggle-bars::before,
.nav.is-open .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 2px;
  background: var(--ink);
}

.nav.is-open .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.lang-switcher a {
  min-width: 2rem;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
}

.lang-switcher a:hover {
  color: var(--ink);
  text-decoration: none;
}

.lang-switcher a[aria-current="true"] {
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.lang-switcher a[aria-current="true"]:hover {
  color: #fff;
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 3% 96px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 48px;
  align-items: center;
  padding: 64px 0 28px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero .cta-row {
  margin-bottom: 0;
}

.hero + .section {
  padding-top: 56px;
}

.hero h1 .hero-brand {
  display: block;
}

.hero h1 .hero-brand,
.hero h1 .serif {
  min-height: 1.15em;
}

.hero h1 .serif.is-typing::after,
.hero h1 .hero-brand.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.06em;
  vertical-align: -0.05em;
  background: currentColor;
  animation: caret-blink 0.7s steps(1) infinite;
}

.eyebrow,
.card-kicker,
.article-meta,
.status-label {
  color: var(--dim);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  line-height: 1.1;
}

.serif,
.hero-line {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72em;
  letter-spacing: -0.02em;
  margin-top: 0.18em;
  line-height: 1.2;
}

.lead {
  max-width: 520px;
  font-size: 1.12rem;
  line-height: 1.55;
  margin-bottom: 28px;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
}

.primary {
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.primary:hover {
  color: #fff;
  background: rgba(34, 34, 34, 0.9);
  transform: scale(1.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

.ghost {
  color: var(--ink);
  border: 1px solid var(--glass-edge);
  background: var(--glass-fill);
  box-shadow: var(--glass-highlight), 0 6px 20px rgba(30, 40, 55, 0.06);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.62);
  transform: scale(1.035);
}

.sticker {
  position: relative;
  width: 220px;
  height: 220px;
  justify-self: end;
  opacity: 0.92;
  transform: rotate(-8deg);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 18px 36px rgba(30, 40, 55, 0.18));
}

.section {
  padding: 72px 0 28px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.section-title {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-title h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-title > p:last-child,
.section-title div > p:last-child {
  color: var(--muted-2);
  max-width: 540px;
}

.title-with-link {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.title-with-link > a {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  text-decoration: none;
}

.title-with-link > a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  transform: scale(1.03);
}

.title-with-link h2:last-child {
  margin-bottom: 0;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.research-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 0;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  transition:
    border-color var(--ease),
    transform var(--ease-spring),
    box-shadow var(--ease),
    background-color var(--ease);
}

.research-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.48) 0%,
    transparent 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

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

.research-card:hover {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.02) translateY(-2px);
  box-shadow: var(--glass-highlight), var(--glass-shadow-lift);
}

.research-card h3 {
  font-size: 1.28rem;
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.research-card h3 a,
.feature h3 a,
.project-card h2 a {
  text-decoration: none;
}

.research-card .text-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}

.text-link span {
  color: inherit;
}

.feature-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--glass-edge-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: var(--glass-highlight), 0 8px 28px rgba(30, 40, 55, 0.06);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition:
    transform var(--ease-spring),
    box-shadow var(--ease),
    background-color var(--ease),
    border-color var(--ease);
}

.feature:hover {
  transform: scale(1.015);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.feature p {
  color: var(--muted-2);
}

.app-panel {
  display: block;
}

.app-copy .lead,
.app-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 22px;
}

.app-copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.platform-list li {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.waitlist-form {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--glass-edge);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
  background: var(--glass-fill-tint);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.waitlist-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 28%,
    transparent 48%,
    transparent 70%,
    rgba(255, 255, 255, 0.14) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.waitlist-form > * {
  position: relative;
  z-index: 1;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 8px;
  max-width: var(--maxw);
}

.platform-card {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.platform-card strong {
  display: block;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.platform-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.app-features {
  max-width: var(--reading);
  margin: 28px auto 0;
}

.backer-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.backer-list li {
  min-width: 0;
  line-height: 1.35;
}

.backer-list strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.backer-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

.backer-list-more {
  color: var(--muted);
  font-style: italic;
  align-self: end;
}

.article-body .backer-list {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 16px 24px;
}

.article-body .backer-list li + li {
  margin-top: 0;
}

.values-row {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  color: var(--muted);
}

.team-card {
  max-width: 700px;
  padding: 28px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--glass-edge);
  background: var(--glass-fill-tint);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.team-card h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.team-card > p {
  color: var(--muted-2);
  max-width: 560px;
}

/* The shared row margin is for page flow. Inside this card it stacks on the
   28px padding and leaves the actions sitting on the paragraph. */
.team-card .cta-row {
  margin: 22px 0 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto 28px;
  padding: 28px 3% 28px;
  border-top: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  color: var(--dim);
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--glass-highlight), 0 8px 28px rgba(30, 40, 55, 0.05);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  width: calc(100% - 6%);
}

.footer-brand {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-copy {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--dim);
}

.footer-links {
  justify-content: flex-end;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

/* Interior pages */
.breadcrumb {
  max-width: var(--reading);
  margin: 28px auto 24px;
  color: var(--dim);
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}

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

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--dim);
}

.page-hero,
.article-header,
.article-body,
.article-footer {
  max-width: var(--reading);
  margin-left: auto;
  margin-right: auto;
}

.page-hero,
.article-header {
  padding: 28px 0 48px;
}

.page-hero h1,
.article-header h1 {
  font-size: clamp(2.35rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.page-hero .lead,
.article-header .lead {
  margin-bottom: 0;
  color: var(--muted);
}

.article-meta {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.article-body {
  font-size: 1.02rem;
  color: var(--muted);
}

.article-body > * + * {
  margin-top: 1.2em;
}

.article-body h2 {
  color: var(--ink);
  font-size: 1.85rem;
  padding-top: 1.15em;
  margin-top: 1.5em;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  letter-spacing: -0.02em;
}

.article-body h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  padding-top: 0.65em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body strong {
  color: var(--ink);
  font-weight: 500;
}

.article-body a {
  color: var(--ink);
}

.article-body blockquote,
.note-box {
  border-left: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--glass-edge-soft);
  border-left-width: 3px;
  border-left-color: var(--ink);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-wrap: anywhere;
}

.note-box code {
  overflow-wrap: anywhere;
}

.article-body table,
.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-body th,
.article-body td,
.api-table th,
.api-table td {
  padding: 10px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  text-align: left;
  vertical-align: top;
}

.article-body th,
.api-table th {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
}

.article-body code,
.api-table code,
.code-block {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
}

.code-block {
  overflow-x: auto;
  background: rgba(23, 23, 23, 0.92);
  color: #f0f0f0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: pre;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-footer {
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  margin-top: 56px;
  padding-top: 28px;
}

.byline-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.byline-card img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--glass-edge);
  box-shadow: 0 4px 14px rgba(30, 40, 55, 0.12);
}

.project-grid {
  grid-template-columns: 1fr;
  max-width: var(--reading);
  margin: 0 auto;
}

.project-card {
  border-top: none;
  margin-bottom: 14px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight), 0 8px 28px rgba(30, 40, 55, 0.05);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition:
    transform var(--ease-spring),
    box-shadow var(--ease),
    background-color var(--ease);
}

.project-card:hover {
  transform: scale(1.01);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.project-card h2 {
  font-size: 1.85rem;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.project-card p {
  max-width: 650px;
  color: var(--muted-2);
}

.project-card .text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 500;
}

.about-grid {
  max-width: var(--reading);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-grid section {
  border-top: none;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.about-grid h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.about-grid p {
  color: var(--muted-2);
}

.about-grid p + p {
  margin-top: 12px;
}

.about-grid a {
  color: var(--ink);
}

.api-list {
  max-width: var(--reading);
  margin: 0 auto;
}

.api-list section {
  padding: 28px 24px;
  margin-bottom: 14px;
  border-top: none;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.api-list h2 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.api-list p,
.api-list li {
  color: var(--muted-2);
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@keyframes atmosphere-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 1.5%, 0) scale(1.04);
  }
}

@media (max-width: 900px) {
  /* The drifting overlay forces the glass filters to resample on every scroll frame. */
  body::before {
    animation: none;
  }

  .site-header {
    position: static;
    top: auto;
    margin: 10px 10px 0;
  }

  .nav {
    height: auto;
    min-height: 52px;
    padding: 0 8px 0 10px;
    flex-wrap: wrap;
    align-items: center;
    border-radius: var(--radius-pill);
    row-gap: 0;
    column-gap: 8px;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .nav.is-open,
  html:not(.nav-enhanced) .nav {
    border-radius: 22px;
    row-gap: 10px;
    padding-bottom: 12px;
  }

  .brand-links {
    flex: 1 1 auto;
    min-width: min-content;
    gap: 0;
    flex-wrap: nowrap;
  }

  .brand-ext {
    display: none;
  }

  .logo {
    gap: 8px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .logo img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .nav-cta-bar {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 12px;
    min-height: 44px;
    min-width: 44px;
    font-size: 0.78rem;
    line-height: 1;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    padding: 0 12px;
    min-height: 44px;
    min-width: 44px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .nav-links {
    display: flex;
    flex: 1 1 100%;
    order: 4;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 4px 4px 2px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  html.nav-enhanced .nav-links {
    display: none;
  }

  html.nav-enhanced .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a:not(.nav-cta) {
    padding: 10px 12px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta):focus-visible {
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
  }

  .nav-links .lang-switcher {
    align-self: flex-start;
    margin: 6px 8px 4px;
    flex-shrink: 0;
  }

  .nav-links .lang-switcher a {
    padding: 5px 9px;
    border-radius: var(--radius-pill);
  }

  .nav-links .lang-switcher a:hover,
  .nav-links .lang-switcher a:focus-visible {
    background: transparent;
  }

  .nav-links .lang-switcher a[aria-current="true"],
  .nav-links .lang-switcher a[aria-current="true"]:hover,
  .nav-links .lang-switcher a[aria-current="true"]:focus-visible {
    background: rgba(17, 17, 17, 0.82);
    color: #fff;
  }

  /* Phone hit areas: at least 44px, without moving the visible control.
     Extra padding (logo, breadcrumbs) or a transparent border (language
     pills, so the painted fill stays on the padding box) is cancelled by
     the same negative margin. Outer edges grow away from neighbors. */
  .logo {
    padding-block: 8px;
    margin-block: -8px;
  }

  .breadcrumb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 9px;
    margin: -14px -9px;
  }

  .nav-links .lang-switcher a {
    position: relative;
    z-index: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    background-clip: padding-box;
    border-style: solid;
    border-color: transparent;
    border-width: 7px 0;
    margin-block: -7px;
  }

  .nav-links .lang-switcher a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--radius-pill);
    pointer-events: none;
  }

  .nav-links .lang-switcher a:first-child {
    border-left-width: 10px;
    margin-left: -10px;
  }

  .nav-links .lang-switcher a:last-child {
    border-right-width: 11px;
    margin-right: -11px;
  }

  .nav-links .lang-switcher a[aria-current="true"],
  .nav-links .lang-switcher a[aria-current="true"]:hover,
  .nav-links .lang-switcher a[aria-current="true"]:focus-visible {
    background: transparent;
    box-shadow: none;
  }

  .nav-links .lang-switcher a[aria-current="true"]::before {
    background: rgba(17, 17, 17, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  html.jungle .nav-links .lang-switcher a[aria-current="true"],
  html.jungle .nav-links .lang-switcher a[aria-current="true"]:hover,
  html.jungle .nav-links .lang-switcher a[aria-current="true"]:focus-visible {
    background: transparent;
    color: #10251a;
  }

  html.jungle .nav-links .lang-switcher a[aria-current="true"]::before {
    background: #f5eedd;
  }

  .nav-ext {
    display: block;
  }

  html.nav-enhanced .nav-ext {
    display: none;
  }

  html.nav-enhanced .nav.is-open .nav-ext {
    display: block;
  }

  .nav-cta-menu {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 36px 0 20px;
  }

  .sticker {
    width: 160px;
    height: 160px;
    margin: 4px 8px 0 auto;
  }

  .research-grid,
  .feature-grid,
  .backer-list,
  .platform-grid {
    grid-template-columns: 1fr;
  }

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

  .platform-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .research-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 17px;
  }

  .nav-cta-bar,
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 0 10px;
    font-size: 0.75rem;
  }

  .logo {
    font-size: 0.88rem;
    gap: 6px;
    flex-shrink: 0;
  }

  .hero h1,
  .page-hero h1,
  .article-header h1 {
    font-size: 2.25rem;
  }

  .title-with-link,
  .site-footer {
    display: block;
  }

  .title-with-link > a {
    display: inline-block;
    margin-top: 14px;
  }

  .site-footer .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .about-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .sticker {
    width: 148px;
    height: 148px;
    margin-top: 8px;
    transform: rotate(-6deg);
    animation: none;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
  }

  .api-table {
    display: table;
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }

  .api-table a,
  .api-table code {
    overflow-wrap: anywhere;
  }
}

/* JA controls (参加する / メニュー) are wider than EN. Pull the row in a little
   so the wordmark keeps slack at a 390px phone instead of ellipsizing. */
@media (max-width: 480px) {
  html[lang="ja"] .nav {
    padding-left: 8px;
    padding-right: 6px;
    column-gap: 4px;
  }

  html[lang="ja"] .nav-bar {
    gap: 4px;
  }

  html[lang="ja"] .nav-cta-bar,
  html[lang="ja"] .nav-toggle {
    padding-inline: 8px;
  }
}

/* At 380px and below, メニュー no longer fits beside the wordmark, switch, and
   CTA. Keep the control (and its aria-label); show the icon only. */
@media (max-width: 380px) {
  html[lang="ja"] .nav-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 340px) {
  .site-header {
    margin-inline: 6px;
  }

  .nav {
    padding-left: 8px;
    padding-right: 6px;
    column-gap: 4px;
  }

  .nav-bar {
    gap: 4px;
  }

  .nav-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

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

  body::before {
    animation: none;
  }

  .hero h1 .serif.is-typing::after,
  .hero h1 .hero-brand.is-typing::after {
    content: none;
    animation: none;
  }

  a,
  .research-card,
  .feature,
  .project-card,
  .primary,
  .ghost,
  .nav-cta,
  .nav-toggle,
  .title-with-link > a {
    transition: none;
  }

  .research-card:hover,
  .feature:hover,
  .project-card:hover,
  .primary:hover,
  .ghost:hover,
  .nav-cta:hover,
  .title-with-link > a:hover {
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav,
  .research-card,
  .feature,
  .team-card,
  .site-footer,
  .ghost,
  .primary,
  .nav-cta,
  .project-card,
  .about-grid section,
  .api-list section,
  .backer-list,
  .byline-card,
  .title-with-link > a,
  .waitlist-form,
  .platform-card {
    background: rgba(255, 255, 255, 0.88);
  }

  .primary,
  .nav-cta {
    background: #111;
  }
}

.page-hero.app-hero {
  max-width: none;
}

.app-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
  gap: 20px 40px;
  align-items: center;
  margin-top: 32px;
}

.waitlist-form h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.waitlist-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.waitlist-form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--dim);
}

.waitlist-form button.primary {
  width: 100%;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.waitlist-form button.primary:disabled {
  cursor: progress;
  opacity: 0.72;
}

.waitlist-turnstile {
  margin: 0 0 14px;
}

.waitlist-form:has(.waitlist-turnstile) {
  overflow: visible;
}

.waitlist-status {
  min-height: 0;
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.waitlist-status:empty {
  display: none;
}

.waitlist-status[data-state="success"] {
  color: #1d6b3a;
}

.waitlist-status[data-state="error"] {
  color: #9a3412;
}

.app-puma {
  width: min(380px, 100%);
  margin: 0;
  justify-self: center;
  position: relative;
  z-index: 5;
  color: #1c2126;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.app-puma svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: bounding-box;
}

@media (max-width: 900px) {
  .app-signup {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 28px;
  }

  .app-puma {
    width: min(300px, 78vw);
    justify-self: end;
    margin-top: 8px;
  }
}
