@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --bg-elevated: #ffffff;
  --ink: #0b0b0b;
  --muted: #6b6b73;
  --muted-2: #52525b;
  --rule: rgba(11, 11, 11, 0.1);
  --rule-strong: rgba(11, 11, 11, 0.18);
  --soft: #ececef;
  --hover: #f0f0f2;
  --maxw: 1128px;
  --nav-h: 70px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: Lack, "DM Sans", system-ui, sans-serif;

  /* Liquid Glass materials */
  --glass-dark: rgba(14, 14, 16, 0.52);
  --glass-dark-strong: rgba(14, 14, 16, 0.78);
  --glass-light: rgba(255, 255, 255, 0.58);
  --glass-light-strong: rgba(255, 255, 255, 0.78);
  --glass-blur: 22px;
  --glass-saturate: 1.55;
  --glass-edge: rgba(255, 255, 255, 0.72);
  --glass-edge-soft: rgba(255, 255, 255, 0.26);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --glass-rim-strong: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  --glass-outline: 0 0 0 1px rgba(11, 11, 11, 0.06);
  --radius-control: 12px;
  --radius-panel: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.65;
}

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

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Shell / nav ---------- */

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 52% 38% at 8% 6%, rgba(165, 180, 205, 0.28), transparent 62%),
    radial-gradient(ellipse 70% 48% at 92% -8%, rgba(120, 145, 190, 0.22), transparent 58%),
    radial-gradient(ellipse 48% 32% at 48% 52%, rgba(190, 198, 212, 0.16), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 36%, #eef0f4 100%);
}

.page-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #0e0e10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.page-topbar-inner,
.workspace-link,
.breadcrumb {
  width: min(var(--maxw), calc(100vw - 48px));
  margin: 0 auto;
}

.page-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.brand,
.workspace-link,
.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand:hover,
.workspace-link:hover,
.breadcrumb-home:hover {
  opacity: 0.7;
}

.brand-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-links a {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand-links a:hover {
  color: #ffffff;
}

.brand img,
.workspace-link img,
.breadcrumb-home img {
  width: auto;
  height: 28px;
  filter: invert(1);
}

.brand-mark {
  width: 48px;
  height: 42px;
  flex: 0 0 auto;
}

.brand .brand-mark {
  height: 42px;
}

.brand-word {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  line-height: 1;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

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

.lang-switcher-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  user-select: none;
}

html[lang="ja"] body {
  font-feature-settings: "palt" 1;
}

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

.designs-link {
  display: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.breadcrumb-current {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

/* ---------- Content ---------- */

.page-content {
  width: min(var(--maxw), calc(100vw - 48px));
  margin: 0 auto;
  padding: 48px 0 120px;
}

.home-hero {
  padding: 48px 0 72px;
}

.home-kicker {
  margin: 0 0 28px;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 28ch;
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-lead {
  max-width: 38em;
  margin: 0 0 36px;
  color: var(--muted-2);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
}

.type-target.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  height: 0.85em;
  margin-left: 0.06em;
  background: currentColor;
  vertical-align: -0.04em;
  animation: caret-blink 700ms step-end infinite;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(11, 11, 11, 0.1);
  border-radius: var(--radius-control);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    var(--glass-rim-strong),
    var(--glass-outline),
    0 1px 2px rgba(11, 11, 11, 0.04);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    color 200ms ease,
    opacity 200ms ease;
}

.btn:hover {
  opacity: 1;
  background: var(--glass-light-strong);
  border-color: rgba(11, 11, 11, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.35),
    var(--glass-outline),
    0 10px 28px rgba(11, 11, 11, 0.07);
  color: var(--ink);
}

.btn-primary {
  background: var(--glass-dark-strong);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 20px rgba(11, 11, 11, 0.18);
}

.btn-primary:hover {
  opacity: 1;
  background: rgba(14, 14, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(11, 11, 11, 0.22);
}

.home-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section:nth-of-type(2) { animation-delay: 80ms; }
.section:nth-of-type(3) { animation-delay: 140ms; }
.section:nth-of-type(4) { animation-delay: 200ms; }
.section:nth-of-type(5) { animation-delay: 260ms; }

.section-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.initiative {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-panel);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    var(--glass-rim-strong),
    var(--glass-outline),
    0 1px 0 rgba(11, 11, 11, 0.04),
    0 10px 32px rgba(11, 11, 11, 0.04);
  text-decoration: none;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.initiative-stamp {
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 1;
  padding: 7px 10px;
  border: 2px solid rgba(11, 11, 11, 0.55);
  border-radius: 3px;
  color: rgba(11, 11, 11, 0.62);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(8deg);
  pointer-events: none;
  user-select: none;
}

.initiative:hover {
  opacity: 1;
  background: var(--glass-light-strong);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    var(--glass-outline),
    0 16px 40px rgba(11, 11, 11, 0.08);
}

.initiative-index {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.initiative h3 {
  margin: 48px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.initiative p {
  margin: 0;
  color: var(--muted-2);
  font-size: 16px;
  line-height: 1.5;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.experiment {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-control);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    var(--glass-rim),
    var(--glass-outline),
    0 1px 0 rgba(11, 11, 11, 0.04),
    0 6px 18px rgba(11, 11, 11, 0.03);
  text-decoration: none;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.experiment:hover {
  opacity: 1;
  background: var(--glass-light-strong);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    var(--glass-outline),
    0 12px 32px rgba(11, 11, 11, 0.07);
}

.experiment-index {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experiment h3 {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.15;
}

.experiment p {
  margin: 0;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.4;
}

.experiment .store-row {
  margin-top: 10px;
  gap: 8px 14px;
  font-size: 13px;
}

.store-row a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.press-list {
  display: grid;
  gap: 12px;
}

.beliefs {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: belief;
}

.beliefs li {
  counter-increment: belief;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.beliefs li:first-child {
  border-top: 1px solid var(--rule);
}

.beliefs li::before {
  content: counter(belief, decimal-leading-zero);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-top: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
}

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

.split ul {
  margin: 0;
  padding-left: 1.2rem;
}

.split li + li {
  margin-top: 0.45rem;
}

.values {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

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

.quick-links {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.group-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.group-label.spaced {
  margin-top: 18px;
}

.connect-block {
  margin-top: 12px;
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.footer-col hr {
  margin: 0 0 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.site-footer {
  width: min(var(--maxw), calc(100vw - 48px));
  margin: 0 auto;
  padding: 0 0 80px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer p {
  margin: 0;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer-nav a {
  color: var(--muted-2);
  font-size: 14px;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.page-breadcrumb a {
  color: var(--muted-2);
}

.page-breadcrumb .breadcrumb-separator {
  color: var(--muted);
}

/* ---------- Shared typography for inner pages ---------- */

.page-icon-wrap {
  margin-bottom: 28px;
}

.page-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.page-icon-emoji {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--rule);
  font-size: 36px;
}

h1,
h2,
h3,
.page-title {
  color: var(--ink);
  font-weight: 400;
}

h1,
.page-title,
.redirect-card h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 48px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.35rem;
}

hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.page-lead {
  max-width: 40em;
  margin: 0 0 16px;
  color: var(--muted-2);
  font-size: 21px;
}

.page-subtle,
.page-footer {
  color: var(--muted);
}

.downloads-note {
  font-size: 21px;
  line-height: 1.42;
}

.callout {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  margin: 18px 0 8px;
  padding: 16px;
  border-radius: var(--radius-control);
  border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: var(--glass-rim), var(--glass-outline);
}

.callout-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 11, 11, 0.06);
  color: var(--muted);
  font-size: 14px;
}

.callout-body strong {
  display: block;
  margin-bottom: 4px;
}

.callout-body p {
  margin: 0;
  color: var(--muted-2);
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 12px 0 6px;
}

.column {
  min-width: 0;
}

.page-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-control);
  color: var(--ink);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow:
    var(--glass-rim),
    var(--glass-outline),
    0 1px 2px rgba(11, 11, 11, 0.03);
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.page-card:hover {
  opacity: 1;
  background: var(--glass-light-strong);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--glass-outline),
    0 8px 24px rgba(11, 11, 11, 0.06);
}

.page-card-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.page-card-icon-emoji {
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.page-card-icon-image {
  border-radius: 4px;
  object-fit: cover;
}

.page-card-icon-fallback {
  border-radius: 4px;
  background: rgba(11, 11, 11, 0.06);
}

.page-card-title {
  min-width: 0;
}

.bookmark-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-panel);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    var(--glass-rim),
    var(--glass-outline),
    0 8px 28px rgba(11, 11, 11, 0.04);
  color: var(--ink);
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.bookmark-card:hover {
  opacity: 1;
  background: var(--glass-light-strong);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--glass-outline),
    0 14px 36px rgba(11, 11, 11, 0.07);
}

.bookmark-cover {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.bookmark-body {
  grid-column: 1;
  min-width: 0;
}

.bookmark-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.bookmark-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: 0 0 auto;
}

.bookmark-source {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bookmark-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.bookmark-card span {
  display: block;
  color: var(--muted);
}

.notion-image {
  width: 100%;
  margin: 22px 0;
}

.notion-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--soft);
}

.redirect-page {
  min-height: 100vh;
}

.redirect-card {
  width: min(var(--maxw), calc(100vw - 48px));
  margin: 0 auto;
  padding: 88px 0 80px;
}

.redirect-card p {
  max-width: 40em;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(11, 11, 11, 0.1);
  border-radius: var(--radius-control);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: var(--glass-rim), var(--glass-outline);
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  opacity: 1;
  background: var(--glass-light-strong);
  border-color: rgba(11, 11, 11, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--glass-outline),
    0 8px 20px rgba(11, 11, 11, 0.06);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .section {
    animation: none;
  }

  .type-target.is-typing::after {
    content: none;
    animation: none;
  }

  .page-topbar,
  .btn,
  .btn-primary,
  .initiative,
  .experiment,
  .page-card,
  .bookmark-card,
  .button,
  .callout {
    transition: none;
  }
}

/* Opaque fallbacks when backdrop-filter is unavailable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .btn,
  .button,
  .initiative,
  .experiment,
  .page-card,
  .bookmark-card,
  .callout {
    background: rgba(255, 255, 255, 0.92);
  }

  .btn-primary {
    background: rgba(14, 14, 16, 0.94);
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 56px;
  }

  .page-topbar {
    position: static;
  }

  .page-topbar-inner,
  .workspace-link,
  .breadcrumb,
  .page-content,
  .site-footer,
  .redirect-card {
    width: min(var(--maxw), calc(100vw - 32px));
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .brand-mark,
  .brand .brand-mark {
    width: 32px;
    height: 28px;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-cluster {
    gap: 16px;
  }

  .brand-links {
    gap: 14px;
  }

  .brand-links a {
    font-size: 13px;
  }

  .page-content {
    padding-top: 28px;
  }

  .home-hero {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .initiative-grid,
  .experiment-grid,
  .split,
  .footer-grid,
  .columns {
    grid-template-columns: 1fr;
  }

  .initiative,
  .experiment {
    min-height: 0;
  }

  .initiative-stamp {
    top: 18px;
    right: 14px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .initiative h3 {
    margin-top: 28px;
  }

  .experiment h3 {
    margin-top: 6px;
  }

  .beliefs li {
    grid-template-columns: 40px 1fr;
    font-size: 22px;
  }

  .bookmark-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bookmark-body,
  .bookmark-cover {
    grid-column: 1;
  }

  .bookmark-cover {
    grid-row: 1;
    height: 180px;
  }

  .bookmark-body {
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  :root {
    --nav-h: 48px;
  }

  .nav-links > a:nth-of-type(n + 3) {
    display: none;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 12px;
  }

  .lang-switcher a {
    font-size: 12px;
  }

  .brand-cluster {
    gap: 12px;
  }

  .brand-links {
    gap: 10px;
  }

  .brand-links a {
    font-size: 11px;
  }

  .brand-word {
    display: none;
  }

  .brand-mark,
  .brand .brand-mark {
    width: 28px;
    height: 24px;
  }
}

/* Editorial direction: ink, paper, and a sculptural Puma signature. */
.home-page { --maxw: 1180px; --accent: #ed571e; }
.home-page .page-shell { background: #f6f6f4; }
.home-page .page-topbar { background: #f6f6f4; color: #151515; border-bottom: 1px solid #d9d9d5; box-shadow: none; position: static; }
.home-page .brand, .home-page .brand-links a, .home-page .nav-links a { color: #151515; }
.home-page .brand img { filter: none; }
.home-page .brand-word { font-size: 20px; }
.home-page .brand-links a { font-family: var(--font-sans); font-size: 14px; }
.home-page .lang-switcher { border-color: #ccc; }
.home-page .lang-switcher-sep { color: #777; }
.home-page .lang-switcher a { color: #666; }
.home-page .lang-switcher a[aria-current] { color: #151515; }
.home-page .page-content { padding: 48px 0 80px; }
.eyebrow { margin: 0 0 20px; font: 500 14px/1.4 var(--font-sans); letter-spacing: .07em; text-transform: uppercase; }
.editorial-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; padding: 0 0 42px; }
.editorial-intro h1 { font: 400 clamp(64px, 8.5vw, 112px)/.96 var(--font-display); letter-spacing: -.055em; margin: 0; }
.editorial-intro h1 span { color: #787873; }
.editorial-intro-copy { max-width: 350px; justify-self: end; padding-bottom: 6px; }
.editorial-intro-copy p { font-size: 19px; line-height: 1.5; margin: 0 0 22px; }
.editorial-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 44px; border-bottom: 1px solid #aaa; font-size: 15px; }
.editorial-link span { color: var(--accent); font-size: 23px; }
.browser-showcase { position: relative; min-height: clamp(520px, 48vw, 600px); background: #101010; color: #fff; border-radius: 3px; overflow: hidden; isolation: isolate; }
.browser-showcase::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 8, .78) 0%, rgba(8, 8, 8, .42) 38%, rgba(8, 8, 8, 0) 68%); pointer-events: none; z-index: 0; }
.chrome-emblem { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.showcase-copy { position: relative; z-index: 1; width: 46%; max-width: 520px; padding: 40px 42px 82px; }
.showcase-copy h2 { font: 400 clamp(36px, 4.6vw, 52px)/1.08 var(--font-display); letter-spacing: -.035em; margin: 0 0 18px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.showcase-copy > p { color: #e8e8e8; font-size: 17px; line-height: 1.5; margin: 0 0 26px; }
.showcase-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; background: #ff793f; color: #151515; min-height: 48px; padding: 0 18px; border-radius: 2px; font-size: 15px; font-weight: 500; }
.showcase-cta:hover { background: #ff9568; opacity: 1; }
.showcase-cta span { font-size: 22px; }
.showcase-downloads { display: flex; gap: 24px; margin-top: 10px; }
.showcase-downloads a { color: #c9c9c9; font-size: 14px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.showcase-downloads a:hover { color: #fff; opacity: 1; }
.showcase-footnote { position: absolute; bottom: 0; left: 42px; right: 42px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff26; padding: 17px 0; font-size: 13px; color: #bcbcbc; }
.browser-showcase a:focus-visible { outline-color: #ff996a; outline-offset: 5px; }
.hero-workflow { margin: 28px 0 0; padding: 0; background: #101010; border-radius: 3px; overflow: hidden; }
.hero-workflow img { display: block; width: 100%; height: auto; }
.home-page .section { padding: 64px 0; animation: none; }
.home-page .editorial-hero + .section { border-top: 0; }
.home-page .section-label { font-size: 14px; color: #666660; margin-bottom: 14px; }
.home-page .section h2 { font-size: clamp(32px, 4vw, 48px); max-width: 22ch; margin-bottom: 32px; }
.home-page .initiative-grid { gap: 28px; align-items: start; }
.home-page .initiative { display: flex; min-height: 0; padding: 0 0 24px; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home-page .initiative-research { margin-top: 72px; }
.home-page .initiative-index { font-size: 14px; border-bottom: 1px solid #cececa; padding-bottom: 12px; color: #51514c; }
.home-page .chrome-art { height: auto; aspect-ratio: 3 / 2; margin: 16px 0 22px; background: #101010; mix-blend-mode: normal; isolation: isolate; overflow: hidden; border-radius: 3px; }
.home-page .chrome-art-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 400ms ease; }
/* Render the original studio images directly: no masks or color compositing. */
.home-page :is(.chrome-emblem, .chrome-art-image) {
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}
.home-page .initiative h3 { margin: 0 0 12px; font-size: 34px; }
.home-page .initiative p { max-width: 43ch; font-size: 17px; }
.home-page .initiative .store-row { color: #393934; font-size: 14px; }
.home-page .initiative:hover { opacity: 1; background: transparent; box-shadow: none; }
.home-page .experiment-grid { gap: 28px; margin-top: 20px; }
.home-page .experiment { display: grid; grid-template-columns: 94px 1fr; align-items: start; padding: 24px 0; border: 0; border-top: 1px solid #cececa; background: transparent; box-shadow: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home-page .experiment-index { padding-top: 5px; font-size: 12px; }
.home-page .experiment h3 { margin-top: 0; }
.home-page .experiment:hover { opacity: 1; background: transparent; box-shadow: none; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.home-page .quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.home-page .page-card { background: transparent; border: 0; border-bottom: 1px solid #cececa; border-radius: 0; padding: 14px 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home-page .page-card:hover { background: transparent; border-color: #151515; box-shadow: none; opacity: .7; }
.home-page .page-card > .ui-icon { color: #74746e; }
.home-page .bookmark-card { background: #fff; border: 0; border-radius: 3px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 22px; }
.home-page .bookmark-card:hover { box-shadow: none; background: #fff; }
.home-page .beliefs { border-top: 1px solid #ccc; }
.home-page .beliefs li { font-size: clamp(22px, 2.5vw, 30px); }
.investor-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 24px 0; gap: 0 20px; }
.investor-highlights li { padding: 12px 0; border-bottom: 1px solid #cececa; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 16px; }
.home-page .site-footer { border-color: #ccc; }
@media (max-width: 1000px) {
  .home-page .brand-cluster { gap: 18px; }
  .home-page .brand-links, .home-page .nav-links { gap: 16px; }
  .showcase-copy { padding-left: 24px; padding-right: 16px; width: 50%; }
  .showcase-copy h2 { font-size: clamp(32px, 5vw, 44px); }
  .showcase-footnote { left: 30px; right: 30px; }
}
@media (max-width: 860px) {
  .home-page .page-topbar { height: auto; }
  .home-page .page-topbar-inner { min-height: 70px; flex-wrap: wrap; gap: 8px 20px; padding: 12px 0; }
  .home-page .brand-links a, .home-page .nav-links a { font-size: 14px; }
  .home-page .nav-links > a:nth-of-type(n) { display: inline-flex; min-height: 36px; align-items: center; }
  .editorial-intro { gap: 24px; grid-template-columns: 1.3fr 1fr; }
  .editorial-intro h1 { font-size: 76px; }
  .editorial-intro-copy p { font-size: 17px; }
  .home-page .initiative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-page .experiment-grid { grid-template-columns: 1fr; gap: 0; }
  .home-page .section { padding: 48px 0; }
}
@media (max-width: 600px) {
  .home-page .page-content { padding-top: 32px; }
  .home-page .brand-word { display: inline; font-size: 18px; }
  .home-page .brand-cluster { width: 100%; justify-content: space-between; }
  .home-page .nav-links { width: 100%; justify-content: space-between; gap: 12px; }
  .home-page .lang-switcher { margin-left: auto; }
  .editorial-intro { grid-template-columns: 1fr; gap: 24px; padding-bottom: 30px; }
  .editorial-intro h1 { font-size: clamp(54px, 14vw, 80px); }
  .editorial-intro-copy { justify-self: start; max-width: 32em; }
  .editorial-intro-copy p { margin-bottom: 10px; }
  .browser-showcase { min-height: 0; display: flex; flex-direction: column; }
  .chrome-emblem { position: relative; order: 2; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; inset: auto; margin-top: 24px; z-index: 0; }
  .browser-showcase::before { display: none; }
  .showcase-copy { width: 100%; max-width: none; padding: 28px 24px 0; }
  .showcase-copy h2 { font-size: clamp(34px, 9vw, 44px); }
  .showcase-footnote { position: static; order: 3; margin: 0 24px; flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .hero-workflow { margin-top: 20px; }
  .home-page .initiative-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-page .initiative-research { margin-top: 0; }
  .home-page .quick-links { grid-template-columns: 1fr; gap: 0; }
  .home-page .section { padding: 40px 0; }
  .investor-highlights { grid-template-columns: 1fr; }
}
html[lang="ja"] .editorial-intro h1 { font-size: clamp(44px, 6.5vw, 86px); line-height: 1.12; letter-spacing: -.06em; }
@media (max-width: 600px) {
  html[lang="ja"] .editorial-intro h1 { font-size: clamp(40px, 10vw, 60px); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-page .initiative:hover .chrome-art-image,
  .home-page .initiative:focus-visible .chrome-art-image { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .chrome-art-image { transition: none; }
}
