:root {
  color-scheme: light;
  --bw-deep-teal: #0f766e;
  --bw-primary: #14b8a6;
  --bw-mid-teal: #2dd4bf;
  --bw-soft-teal: #99f6e4;
  --bw-light-teal: #e6faf8;
  --ink: #13223a;
  --muted: #59677a;
  --background: #fafbfa;
  --surface: #ffffff;
  --border: #dfe6e5;
  --soft-border: #ebefee;
  --max-width: 78rem;
  --content-padding: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--background);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
[tabindex]:focus-visible {
  border-radius: 0.25rem;
  outline: 0.2rem solid var(--bw-mid-teal);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(calc(100% - (var(--content-padding) * 2)), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 2.55rem;
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem clamp(1rem, 2vw, 1.5rem);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem clamp(1rem, 3vw, 2.5rem);
}

.site-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 620;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--bw-deep-teal);
}

.language-link {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--bw-deep-teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}

.language-link:hover {
  border-color: rgba(15, 118, 110, 0.4);
  background: var(--bw-light-teal);
}

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

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.75rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 25%, rgba(153, 246, 228, 0.26), transparent 23rem),
    linear-gradient(135deg, #ffffff 0 62%, rgba(230, 250, 248, 0.6) 62% 100%);
}

.hero::after {
  position: absolute;
  right: 3%;
  bottom: 8%;
  width: 16rem;
  height: 10rem;
  background-image: radial-gradient(rgba(15, 118, 110, 0.18) 1.2px, transparent 1.2px);
  background-size: 1.4rem 1.4rem;
  content: "";
  mask-image: linear-gradient(to right, transparent, #000);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--bw-deep-teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

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

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 4.5vw, 3.8rem);
  font-weight: 780;
}

.hero-lede {
  max-width: 43rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.17rem);
}

.hero-mark {
  display: grid;
  min-height: 14rem;
  place-items: center;
}

.hero-mark img {
  width: clamp(7.5rem, 13vw, 10rem);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
}

.button--primary {
  color: #fff;
  background: var(--bw-deep-teal);
}

.button--primary:hover {
  background: #0b625c;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-heading .eyebrow,
.info-section > .eyebrow {
  margin-bottom: 0.45rem;
}

.section-heading h2,
.info-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.7vw, 2.2rem);
  font-weight: 690;
}

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

.page--home #projects {
  padding-block: 2rem clamp(3rem, 5vw, 4rem);
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.project-card--featured {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.product-visual {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 2 / 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  color: rgba(19, 34, 58, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.12;
  content: "";
}

.product-visual::before {
  width: 11rem;
  height: 11rem;
  top: -7rem;
  right: -4rem;
}

.product-visual::after {
  width: 8rem;
  height: 8rem;
  bottom: -5rem;
  left: -3rem;
}

.product-visual--finallook {
  color: #fff;
  background: #163a37;
}

.product-visual--yoin {
  color: #175b43;
  background: #eaf6ef;
}

.product-visual--roblox {
  display: block;
  color: #285269;
  background: #e7f3f5;
}

.product-visual--banso {
  color: #463f36;
  background: #f3f0eb;
}

.product-visual--roblox::before,
.product-visual--roblox::after,
.product-visual--yoin::before,
.product-visual--yoin::after,
.product-visual--banso::before,
.product-visual--banso::after {
  display: none;
}

.product-visual--yoin img,
.product-visual--roblox img,
.product-visual--banso img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-visual--yoin img {
  object-fit: cover;
}

.product-visual--roblox img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  animation: roblox-thumbnail-cycle 8s ease-in-out infinite;
  will-change: opacity;
}

.product-visual--roblox img:nth-child(2) {
  animation-delay: -4s;
}

.product-card:focus-within .product-visual--roblox img,
.product-visual--roblox:hover img {
  animation-play-state: paused;
}

.product-visual--banso img {
  object-fit: contain;
}

@keyframes roblox-thumbnail-cycle {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.visual-monogram {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 0.85rem;
  color: #163a37;
  background: #fff;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.visual-word {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.visual-word--jp {
  letter-spacing: 0.08em;
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1rem 1.1rem;
}

.project-meta {
  display: flex;
  min-height: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.status {
  padding: 0.15rem 0.48rem;
  border-radius: 999px;
  color: #075d56;
  background: var(--bw-light-teal);
}

.status--development {
  color: #28528b;
  background: #e7f0fc;
}

.status--published {
  color: #0c6a51;
  background: #e4f8ef;
}

.status--archived {
  color: #5e6671;
  background: #eceeef;
}

.project-card h3 {
  margin: 0.85rem 0 0.55rem;
  font-size: 1.25rem;
}

.project-card p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.text-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 760;
}

.text-link {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
}

.text-link:hover {
  color: var(--bw-deep-teal);
}

.project-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid var(--soft-border);
}

.project-links a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.32rem;
  padding: 0.45rem 0.25rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.project-links a:first-child {
  padding-right: 0.55rem;
  border-right: 1px solid var(--soft-border);
}

.project-links a:nth-child(2) {
  padding-left: 0.55rem;
}

.project-links a:hover {
  color: var(--bw-deep-teal);
}

.project-links .project-links__primary {
  grid-column: 1 / -1;
  padding-inline: 0.25rem;
  border-top: 1px solid var(--soft-border);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.external-link-icon {
  width: 0.82rem;
  height: 0.82rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.45fr 0.9fr;
  padding-bottom: 2rem;
}

.info-section {
  min-width: 0;
  padding: clamp(1.3rem, 2.2vw, 1.75rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--surface);
}

.info-section:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.info-section:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.35rem;
  margin-top: 1.15rem;
}

.about-mark {
  width: 2.65rem;
  height: auto;
}

.about-layout p,
.contact-section > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.about-layout p + p {
  margin-top: 0.9rem;
}

.elsewhere-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.elsewhere-item {
  display: flex;
  min-height: 6rem;
  flex-direction: column;
  padding: 0.8rem;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius-sm);
  background: #fcfdfc;
  text-decoration: none;
}

.elsewhere-item strong {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  line-height: 1.35;
}

.elsewhere-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.elsewhere-item:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: var(--bw-light-teal);
}

.elsewhere-item small {
  margin-top: auto;
  color: #8a949f;
  font-size: 0.68rem;
  font-weight: 650;
}

.contact-section > p:not(.eyebrow) {
  margin-top: 1.15rem;
}

.contact-section .button {
  width: 100%;
  margin-top: 1.25rem;
}

.site-footer {
  padding-block: 1.2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
}

.brand--footer img {
  height: 2.15rem;
}

.footer-inner small {
  font-size: 0.82rem;
}

/* FinalLook product color is provisional and intentionally centralized. */
.page--finallook,
.page--finallook-document {
  --product-accent: #5b43d6;
  --product-accent-soft: #f0edff;
  --product-accent-border: #cfc7ff;
  --product-accent-muted: #5c527f;
  --product-accent-surface: #faf9ff;
}

.page--finallook-document {
  --legal-accent: var(--product-accent);
  --legal-accent-soft: var(--product-accent-soft);
  background: var(--surface);
}

/* Yoin product color is provisional and intentionally centralized. */
.page--yoin {
  --product-accent: #175b43;
  --product-accent-soft: #eaf6ef;
  --product-accent-border: #b9dac8;
  --product-accent-muted: #45685a;
  --product-accent-surface: #f7fbf9;
}

.product-header .header-inner {
  min-height: 5.75rem;
}

.back-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--bw-deep-teal);
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.page--finallook .back-link,
.page--finallook-document .back-link {
  color: var(--product-accent);
}

.product-hero,
.finallook-hero {
  padding-block: clamp(3.5rem, 6.5vw, 5.75rem);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.product-hero__grid,
.finallook-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.product-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  font-weight: 780;
}

.product-label--with-status {
  flex-wrap: wrap;
}

.yoin-app-icon {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border-radius: 0.7rem;
  object-fit: cover;
}

.product-development-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  color: var(--product-accent);
  background: var(--product-accent-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.page--yoin .product-hero h1 {
  max-width: 20ch;
}

.yoin-headline-second-line {
  display: block;
}

.finallook-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #fff;
  background: var(--product-accent);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1;
}

.product-hero h1,
.finallook-hero h1 {
  max-width: 22ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 4vw, 3.15rem);
}

.product-hero__body,
.finallook-hero__body {
  max-width: 35rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.product-type {
  display: block;
  margin-top: 0.25rem;
  color: var(--product-accent);
  font-size: 1.2rem;
  font-weight: 760;
}

.pending-cta {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.15rem;
  border: 1px dashed var(--product-accent-border);
  border-radius: 0.75rem;
  color: var(--product-accent-muted);
  background: var(--product-accent-surface);
  font-weight: 730;
}

.product-visual-panel,
.finallook-visual {
  position: relative;
  display: grid;
  min-height: 26rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--product-accent-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--product-accent-soft);
}

.product-visual-panel > img,
.finallook-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.finallook-visual::before,
.finallook-visual::after {
  position: absolute;
  border-radius: 50%;
  background: var(--product-accent-soft);
  content: "";
}

.finallook-visual::before {
  width: 18rem;
  height: 18rem;
  top: -9rem;
  right: -6rem;
}

.finallook-visual::after {
  width: 13rem;
  height: 13rem;
  bottom: -6rem;
  left: -5rem;
}

.visual-placeholder__inner {
  position: relative;
  z-index: 1;
  max-width: 20rem;
  padding: 2rem;
  text-align: center;
}

.visual-placeholder__inner .finallook-mark {
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 2.5rem;
}

.visual-placeholder__inner strong {
  display: block;
  font-size: 1.05rem;
}

.visual-placeholder__inner span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.page--yoin .product-visual-panel {
  display: block;
  background: var(--surface);
}

.yoin-visual > img {
  position: absolute;
  inset: 0;
  display: block;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-placeholder__inner .yoin-preview-word {
  margin: 0 0 0.85rem;
  color: var(--product-accent);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

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

.checks-section > .container > h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-align: center;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 3.5rem;
}

.check-item {
  display: grid;
  min-height: 8rem;
  place-items: center;
  align-content: center;
  gap: 0.65rem;
  border-left: 1px solid var(--border);
  text-align: center;
}

.check-item:first-child {
  border-left: 0;
}

.check-icon {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--product-accent);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.check-item h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.readonly-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 62rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--product-accent-soft);
}

.readonly-icon {
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  place-items: center;
  border-radius: 50%;
  color: var(--product-accent);
  background: rgba(255, 255, 255, 0.62);
}

.readonly-icon svg {
  width: 2.35rem;
  height: 2.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.readonly-callout h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  text-align: left;
}

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

.document-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.document-nav__inner--single {
  max-width: 32rem;
  grid-template-columns: minmax(0, 1fr);
}

.document-nav a,
.document-nav [aria-current="page"] {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-left: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.document-nav :first-child {
  border-left: 0;
}

.document-nav a:hover {
  color: var(--product-accent);
}

.document-nav [aria-current="page"] {
  position: relative;
  color: var(--product-accent);
}

.document-nav [aria-current="page"]::after {
  position: absolute;
  right: 1.2rem;
  bottom: -1px;
  left: 1.2rem;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--product-accent);
  content: "";
}

.page--yoin-privacy {
  --legal-accent: #176b51;
  --legal-accent-soft: #eaf6ef;
  background: var(--surface);
}

.legal-main {
  width: min(calc(100% - (var(--content-padding) * 2)), 48rem);
  min-height: 70vh;
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.legal-document__header {
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.legal-product {
  display: inline-flex;
  margin: 0 0 1.2rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  color: var(--legal-accent);
  background: var(--legal-accent-soft);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.legal-main h1 {
  max-width: 19ch;
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 3.7vw, 2.9rem);
  font-weight: 740;
  line-height: 1.2;
}

.legal-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-introduction {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  color: #2f4057;
  font-size: 1.02rem;
  line-height: 1.9;
}

.legal-section {
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

.legal-section h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.legal-section p,
.legal-section li {
  color: #33435a;
  line-height: 1.9;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section ul + p {
  margin-top: 1rem;
}

.legal-section ul {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
}

.legal-section li + li {
  margin-top: 0.35rem;
}

.legal-contact {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--legal-accent-soft);
  color: #33435a;
  font-style: normal;
}

.legal-contact a {
  color: var(--legal-accent);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.legal-back-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--legal-accent);
  font-weight: 720;
  text-decoration: none;
}

.legal-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (max-width: 68rem) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .info-section:first-child {
    border-radius: var(--radius-md) 0 0 0;
  }

  .info-section:nth-child(2) {
    border-right: 1px solid var(--border);
    border-radius: 0 var(--radius-md) 0 0;
  }

  .info-section:last-child {
    grid-column: 1 / -1;
    border-top: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .contact-section .button {
    width: auto;
  }

  .product-hero__grid,
  .finallook-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
    gap: 2.5rem;
  }
}

@media (max-width: 48rem) {
  .header-inner {
    position: relative;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-block: 0.85rem;
    gap: 0.35rem;
  }

  .brand img {
    height: 2.3rem;
  }

  .site-nav {
    flex: 1 1 14rem;
    justify-content: flex-start;
    gap: 0.15rem 0.9rem;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    gap: 0.35rem 0.8rem;
  }

  .language-link {
    position: absolute;
    top: 0.85rem;
    right: 0;
  }

  .yoin-headline-second-line {
    display: inline;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 0.86rem;
  }

  .hero {
    background: linear-gradient(155deg, #fff 0 68%, rgba(230, 250, 248, 0.75) 68% 100%);
  }

  .hero-grid,
  .product-hero__grid,
  .finallook-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    min-height: 10rem;
  }

  .hero-mark img {
    width: 6.5rem;
  }

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

  .info-section,
  .info-section:first-child,
  .info-section:nth-child(2),
  .info-section:last-child {
    grid-column: auto;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 0;
  }

  .info-section:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .info-section:last-child {
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .product-visual-panel,
  .finallook-visual {
    min-height: 21rem;
  }

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

  .check-item:nth-child(3) {
    border-left: 0;
  }

  .check-item:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .product-header .header-inner {
    min-height: 0;
  }

  .product-header .back-link {
    align-self: flex-end;
  }
}

@media (max-width: 35rem) {
  :root {
    --content-padding: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12.5vw, 3.5rem);
  }

  .hero-lede br {
    display: none;
  }

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

  .elsewhere-list {
    grid-template-columns: 1fr;
  }

  .elsewhere-item {
    min-height: 5.5rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .readonly-callout {
    grid-template-columns: 1fr;
  }

  .readonly-icon {
    width: 4rem;
    height: 4rem;
  }

  .document-nav a,
  .document-nav [aria-current="page"] {
    min-height: 4.25rem;
    padding-inline: 0.45rem;
    font-size: 0.78rem;
  }

  .legal-main h1 {
    font-size: 2rem;
  }

  .legal-introduction,
  .legal-section p,
  .legal-section li {
    font-size: 0.94rem;
  }

  .legal-contact {
    padding: 1rem;
  }
}

@media (max-width: 22rem) {
  :root {
    --content-padding: 0.85rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    min-height: 2.75rem;
    font-size: 0.8rem;
  }

  .hero h1,
  .product-hero h1,
  .finallook-hero h1 {
    font-size: 2.25rem;
  }

  .button {
    width: 100%;
  }

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

  .check-item,
  .check-item:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .check-item:first-child {
    border-top: 0;
  }
}

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

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

  .product-visual--roblox img {
    opacity: 0;
    animation: none !important;
  }

  .product-visual--roblox img:first-child {
    opacity: 1;
  }
}
