:root {
  --paper: #f5f4ed;
  --paper-soft: #f9f8f1;
  --sheet: #fffdf6;
  --black: #111111;
  --ink: #17213a;
  --ink-blue: #1b365d;
  --muted: #666153;
  --line: #d8d0bf;
  --gold: #baa477;
  --gold-dark: #8c7545;
  --clay: #c96442;
  --soft-shadow: 0 28px 80px rgba(27, 54, 93, 0.12);
  --font-sans:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  --font-serif:
    ui-serif,
    "Iowan Old Style",
    "Palatino Linotype",
    Georgia,
    "Times New Roman",
    serif;
  --font-mono:
    ui-monospace,
    "SFMono-Regular",
    "SF Mono",
    Menlo,
    Consolas,
    monospace;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(216, 208, 191, 0.34);
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(245, 244, 237, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.nav-links {
  gap: 18px;
  color: rgba(23, 33, 58, 0.72);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: inherit;
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--ink);
}

.nav-caret {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, max-content));
  gap: 0;
  visibility: hidden;
  opacity: 0;
  width: max-content;
  min-width: 0;
  border: 1px solid rgba(216, 208, 191, 0.72);
  border-radius: 12px;
  background: #ffffff;
  padding: 24px 6px;
  box-shadow: 0 28px 80px rgba(27, 54, 93, 0.16);
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-menu-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 22px;
}

.nav-menu-col + .nav-menu-col {
  border-left: 1px solid var(--line);
}

.nav-menu-title {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-menu-col a {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  text-decoration: none;
}

.nav-menu-col a:hover {
  color: var(--clay);
}

.nav-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
}

.ext-icon {
  flex: none;
  color: var(--muted);
}

.nav-ext-link:hover .ext-icon {
  color: var(--clay);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  background: var(--paper);
  padding: clamp(36px, 6vw, 58px) 0 clamp(22px, 4vw, 42px);
}

.hero-copy {
  max-width: 760px;
}

.section-kicker,
.section-heading > span,
.see-it-copy > span,
.product-index {
  display: inline-block;
  color: var(--ink-blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cn {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.hero-copy h1 {
  display: flex;
  gap: 0.18em;
  width: max-content;
  max-width: none;
  margin: 18px 0 22px;
  color: var(--black);
  font-family: var(--font-serif);
  font-size: clamp(3.35rem, 7vw, 5.65rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
}

.title-main {
  color: var(--black);
}

.title-accent {
  color: var(--ink-blue);
}

.hero-description {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tag-row span {
  border: 1px solid var(--clay);
  border-radius: 12px;
  background: var(--clay);
  padding: 8px 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 360px;
}

.hero-art-shell {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}

.hero-art img {
  position: relative;
  width: min(78%, 420px);
  max-height: 86%;
  object-fit: contain;
}

.see-it-section {
  border-block: 1px solid var(--line);
  background: var(--paper-soft);
  scroll-margin-top: 70px;
}

.see-it-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 34px);
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px) 0 clamp(28px, 4.5vw, 56px);
}

.see-it-copy h2 {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--black);
  font-family: var(--font-serif);
  font-size: 29.6px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.see-it-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.see-it-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  background: var(--sheet);
  box-shadow: var(--soft-shadow);
}

.see-it-grid img {
  width: 100%;
  height: auto;
}

.principles-block {
  margin-top: -12px;
  padding-top: 0;
}

.principles-figure {
  margin: clamp(16px, 2vw, 24px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  background: var(--sheet);
  box-shadow: var(--soft-shadow);
}

.principles-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.products-section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) 0;
  background: var(--paper);
}

.products-section {
  padding-top: clamp(24px, 3vw, 34px);
  padding-bottom: clamp(28px, 4.5vw, 56px);
  scroll-margin-top: 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 7vw, 76px);
}

.section-heading h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 5.6vw, 5.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-heading,
.partner-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.product-heading h2,
.partner-heading h2 {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--black);
  font-size: 29.6px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.product-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  border-top: 0;
  padding: clamp(34px, 6vw, 72px) 0;
}

.products-section > .product-row + .product-row::before {
  position: absolute;
  top: 0;
  right: clamp(22px, 8vw, 120px);
  left: clamp(22px, 8vw, 120px);
  height: 1px;
  background: rgba(216, 208, 191, 0.58);
  content: "";
}

.products-section > .product-row-featured {
  border-top: 0;
  padding-top: 0;
}

.products-section > .product-row:last-child {
  padding-bottom: 0;
}

.product-row-reverse {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.08fr);
}

.product-row-reverse .product-visual {
  order: 2;
}

.product-row-reverse .product-copy {
  order: 1;
}

.product-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  background: var(--sheet);
  box-shadow: var(--soft-shadow);
}

.visual-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.visual-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.visual-news {
  background:
    radial-gradient(circle at 86% 18%, rgba(186, 164, 119, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(27, 54, 93, 0.07), transparent 42%),
    #fdfbf3;
}

.news-board,
.game-visual-grid,
.luck-stage {
  display: grid;
  height: calc(100% - 38px);
  padding: clamp(16px, 3vw, 28px);
}

.news-board {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(8px, 1.4vw, 12px);
  padding: clamp(14px, 2.2vw, 22px);
  overflow: hidden;
}

.news-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-blue);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.news-board-header strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0;
}

.news-summary-card {
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  background: var(--ink-blue);
  padding: clamp(14px, 2.2vw, 20px);
  color: #fffdf6;
}

.news-summary-card span,
.game-panel span,
.luck-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-summary-card p,
.luck-panel p {
  margin: 0;
  color: rgba(255, 253, 246, 0.78);
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 1.4vw, 0.96rem);
}

.news-feed {
  display: grid;
  align-self: end;
  gap: 7px;
}

.news-feed span {
  position: relative;
  height: clamp(22px, 2.8vw, 32px);
  border: 1px solid rgba(27, 54, 93, 0.09);
  border-radius: 7px;
  background: rgba(255, 253, 246, 0.74);
}

.news-feed span::before,
.news-feed span::after {
  position: absolute;
  top: 50%;
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 54, 93, 0.12);
  content: "";
  transform: translateY(-50%);
}

.news-feed span::before {
  left: 12px;
  width: 38%;
}

.news-feed span::after {
  right: 12px;
  width: 16%;
  background: rgba(201, 100, 66, 0.32);
}

.visual-game {
  background:
    radial-gradient(circle at 18% 16%, rgba(125, 195, 149, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(27, 54, 93, 0.05), transparent 42%),
    #fbfcf6;
}

.game-visual-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.85fr);
  gap: clamp(14px, 3vw, 26px);
}

.game-canvas {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(27, 54, 93, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(27, 54, 93, 0.045) 1px, transparent 1px),
    var(--sheet);
  background-size: 26px 26px;
}

.canvas-stroke {
  position: absolute;
  display: block;
  border: 5px solid #17213a;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 999px;
  opacity: 0.78;
}

.stroke-one {
  top: 24%;
  left: 24%;
  width: 42%;
  height: 35%;
  transform: rotate(-18deg);
}

.stroke-two {
  top: 40%;
  left: 38%;
  width: 30%;
  height: 24%;
  border-color: #c96442;
  border-left-color: transparent;
  transform: rotate(22deg);
}

.stroke-three {
  top: 30%;
  left: 18%;
  width: 24%;
  height: 20%;
  border-color: #7dc395;
  border-top-color: transparent;
  transform: rotate(36deg);
}

.game-canvas strong {
  position: absolute;
  right: 16px;
  bottom: 14px;
  border-radius: 999px;
  background: var(--ink-blue);
  padding: 8px 12px;
  color: #fffdf6;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.game-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  background: var(--ink-blue);
  padding: clamp(16px, 3vw, 28px);
  color: #fffdf6;
}

.game-panel strong,
.luck-panel strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.game-score {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.game-score i {
  border: 1px solid rgba(255, 253, 246, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255, 253, 246, 0.78);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-style: normal;
}

.visual-luck {
  background:
    radial-gradient(circle at 72% 32%, rgba(186, 164, 119, 0.2), transparent 32%),
    linear-gradient(145deg, #1b365d, #17213a);
}

.visual-luck .visual-bar {
  border-bottom-color: rgba(255, 253, 246, 0.14);
}

.luck-stage {
  grid-template-columns: minmax(0, 0.9fr) minmax(180px, 1fr);
  gap: clamp(14px, 3vw, 30px);
  align-items: center;
}

.luck-sphere {
  position: relative;
  aspect-ratio: 1;
  width: min(80%, 220px);
  margin: 0 auto;
  border: 1px solid rgba(255, 253, 246, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(186, 164, 119, 0.24), transparent 48%),
    radial-gradient(circle at 40% 40%, rgba(255, 253, 246, 0.18), transparent 16%);
}

.luck-sphere::before,
.luck-sphere::after {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(255, 253, 246, 0.14);
  border-radius: 50%;
  content: "";
}

.luck-sphere::after {
  inset: 31% 8%;
}

.luck-sphere span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(186, 164, 119, 0.5);
}

.luck-sphere span:nth-child(1) { top: 14%; left: 48%; }
.luck-sphere span:nth-child(2) { top: 25%; left: 24%; }
.luck-sphere span:nth-child(3) { top: 28%; right: 21%; }
.luck-sphere span:nth-child(4) { top: 47%; left: 12%; }
.luck-sphere span:nth-child(5) { top: 48%; right: 13%; }
.luck-sphere span:nth-child(6) { bottom: 26%; left: 25%; }
.luck-sphere span:nth-child(7) { bottom: 22%; right: 26%; }
.luck-sphere span:nth-child(8) { bottom: 11%; left: 49%; }
.luck-sphere span:nth-child(9) { top: 48%; left: 48%; }

.luck-panel {
  border-left: 1px solid rgba(255, 253, 246, 0.16);
  padding-left: clamp(18px, 3vw, 34px);
  color: #fffdf6;
}

.product-copy h3,
.principles-list h3 {
  margin: 12px 0 14px;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.product-copy h3 {
  font-size: 24.8px;
}

.product-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.product-copy h3 a:hover {
  text-decoration: underline;
}

.product-index,
.principles-list span {
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.product-copy p,
.principles-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-copy ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  color: rgba(23, 33, 58, 0.78);
  list-style: none;
}

.product-copy li {
  position: relative;
  padding-left: 20px;
}

.product-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.partners-section {
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
  padding: clamp(24px, 3vw, 34px) 0 clamp(76px, 10vw, 128px);
  scroll-margin-top: 72px;
}

.partner-heading,
.partners-layout {
  width: min(100% - 40px, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.partners-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 112px);
  gap: 24px 34px;
  align-content: center;
  justify-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partner-logo img {
  width: min(112px, calc(100% - 24px));
  height: 34px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(186, 164, 119, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 52%, rgba(186, 164, 119, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 246, 0.96), rgba(238, 228, 204, 0.86));
  box-shadow: var(--soft-shadow);
}

.partner-visual .visual-bar {
  border-bottom-color: rgba(186, 164, 119, 0.24);
}

.partner-network-stage {
  position: relative;
  height: calc(100% - 38px);
  overflow: hidden;
  color: var(--ink);
}

.partner-network-stage::before,
.partner-network-stage::after {
  position: absolute;
  content: "";
}

.partner-network-stage::before {
  top: 50%;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 117, 69, 0.48), transparent);
  transform: translateY(-50%);
}

.partner-network-stage::after {
  top: 18%;
  right: 26%;
  bottom: 18%;
  left: 26%;
  border: 1px solid rgba(27, 54, 93, 0.11);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.partner-loop {
  position: absolute;
  top: 30%;
  right: 18%;
  bottom: 29%;
  left: 18%;
  border: 1px solid rgba(27, 54, 93, 0.1);
  border-radius: 50%;
}

.partner-hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(118px, 18vw, 154px);
  aspect-ratio: 1;
  border: 1px solid rgba(140, 117, 69, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 253, 246, 0.78), transparent 52%),
    rgba(186, 164, 119, 0.12);
  text-align: center;
  transform: translate(-50%, -50%);
}

.partner-hub span,
.partner-value-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-hub strong {
  display: block;
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  font-weight: 650;
  line-height: 1;
}

.partner-hub p,
.partner-value-card strong {
  margin: 0;
  color: rgba(23, 33, 58, 0.72);
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 500;
}

.partner-node {
  position: absolute;
  z-index: 1;
  width: clamp(10px, 1.3vw, 14px);
  height: clamp(10px, 1.3vw, 14px);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(186, 164, 119, 0.34);
}

.node-left {
  top: 50%;
  left: 17%;
}

.node-right {
  top: 50%;
  right: 17%;
}

.node-top {
  top: 23%;
  left: 50%;
}

.node-bottom {
  bottom: 23%;
  left: 50%;
}

.partner-value-card {
  position: absolute;
  z-index: 1;
  top: 50%;
  min-width: 136px;
  border: 1px solid rgba(140, 117, 69, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.58);
  padding: 14px 16px;
  transform: translateY(-50%);
}

.card-left {
  left: 8%;
}

.card-right {
  right: 8%;
  text-align: right;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.principles-list article {
  min-height: 0;
  padding: clamp(24px, 4vw, 42px) clamp(24px, 4vw, 42px) clamp(20px, 3vw, 30px);
  border-right: 1px solid var(--line);
}

.principles-list article:last-child {
  border-right: 0;
}

.principles-list h3 {
  max-width: 9ch;
  font-size: clamp(1.55rem, 2.45vw, 2.35rem);
}

body:has(.about-main) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.about-main {
  flex: 1;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.about-hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(20px, 3vw, 32px);
}

.about-hero h1 {
  margin: 16px 0 20px;
  color: var(--black);
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.about-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.75;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 0;
  background: var(--sheet);
  box-shadow: var(--soft-shadow);
}

.about-figure img {
  width: 100%;
  height: auto;
}

.about-section {
  padding: clamp(28px, 4vw, 52px) 0;
}

.about-prose {
  display: grid;
  gap: 18px;
}

.about-prose p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 22px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(23, 33, 58, 0.68);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.site-footer a {
  color: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

#dify-chatbot-bubble-button {
  position: fixed !important;
  right: 1rem !important;
  bottom: 1rem !important;
  border: 1px solid rgba(186, 164, 119, 0.62) !important;
  background-color: var(--clay) !important;
  box-shadow: 0 18px 44px rgba(27, 54, 93, 0.18) !important;
  z-index: 2147483647 !important;
}

#dify-chatbot-bubble-button * {
  pointer-events: none !important;
}

#dify-chatbot-bubble-window {
  position: fixed !important;
  top: auto !important;
  right: 1rem !important;
  bottom: calc(1rem + 72px) !important;
  left: auto !important;
  width: min(24rem, calc(100vw - 2rem)) !important;
  height: min(40rem, calc(100dvh - 6.5rem)) !important;
  border: 1px solid rgba(216, 208, 191, 0.72) !important;
  border-radius: 8px !important;
  box-shadow: 0 28px 80px rgba(27, 54, 93, 0.16) !important;
  transform: none !important;
  z-index: 2147483646 !important;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .hero-section,
  .section-heading,
  .product-row,
  .product-row-reverse,
  .partners-layout,
  .see-it-inner,
  .principles-list,
  .about-split {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-art {
    min-height: 420px;
  }

  .hero-art-shell {
    min-height: 420px;
    border-radius: 22px 22px 6px 22px;
  }

  .product-row-reverse .product-visual,
  .product-row-reverse .product-copy {
    order: initial;
  }

  .product-visual.visual-news {
    aspect-ratio: auto;
  }

  .visual-news .news-board {
    height: auto;
    gap: 12px;
  }

  .visual-news .news-feed span {
    height: 28px;
  }

  .principles-list article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles-list article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .see-it-inner,
  .products-section,
  .partner-heading,
  .partners-layout {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-menu {
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    min-width: 0;
    width: 100%;
    padding: 20px 6px;
  }

  .nav-menu-col {
    padding: 0 18px;
  }

  .nav-menu-col:nth-child(odd) {
    border-left: 0;
  }

  .hero-copy h1 {
    gap: 0.14em;
    font-size: clamp(2.4rem, 10.6vw, 3.4rem);
  }

  .hero-section {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .tag-row span {
    white-space: normal;
  }

  .hero-art,
  .hero-art-shell {
    min-height: 200px;
  }

  .hero-art img {
    width: min(60%, 240px);
    max-width: 240px;
  }

  .see-it-inner {
    padding: 34px 0 22px;
  }

  .products-section {
    padding-bottom: 22px;
  }

  .see-it-grid {
    gap: 10px;
  }

  .principles-figure img {
    height: clamp(150px, 38vw, 220px);
    object-fit: cover;
    object-position: center;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 14vw, 4.4rem);
  }

  .product-heading h2,
  .partner-heading h2 {
    font-size: 29.6px;
    line-height: 1;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 18px 8px;
  }

  .partner-logo {
    width: 100%;
    min-height: 46px;
  }

  .partner-visual {
    aspect-ratio: 4 / 3;
  }

  .partner-network-stage::before {
    top: 50%;
    right: 12%;
    left: 12%;
    width: auto;
  }

  .partner-network-stage::after {
    top: 24%;
    right: 18%;
    bottom: 24%;
    left: 18%;
    width: auto;
    height: auto;
  }

  .partner-hub {
    top: 50%;
    left: 50%;
    width: 112px;
  }

  .partner-hub span {
    font-size: 0.62rem;
  }

  .partner-hub strong {
    font-size: 1rem;
  }

  .partner-value-card {
    min-width: 108px;
    padding: 10px 12px;
    transform: none;
  }

  .partner-value-card span {
    font-size: 0.58rem;
  }

  .partner-value-card strong {
    font-size: 0.74rem;
  }

  .card-left {
    top: 11%;
    left: 6%;
  }

  .card-right {
    top: auto;
    right: 3%;
    bottom: 11%;
  }

  #dify-chatbot-bubble-window {
    right: 0.75rem !important;
    bottom: calc(0.75rem + 68px) !important;
    width: calc(100vw - 1.5rem) !important;
    height: min(36rem, calc(100dvh - 6rem)) !important;
  }

  .site-footer {
    justify-content: center;
    align-items: center;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
