:root {
  color-scheme: dark;
  --navy-950: #070f1d;
  --navy-900: #0a1425;
  --navy-850: #0d1a2d;
  --navy-800: #112238;
  --ink: #f3efe5;
  --muted: #9eacbd;
  --muted-strong: #c2ccd6;
  --line: rgba(227, 238, 247, 0.15);
  --line-soft: rgba(227, 238, 247, 0.09);
  --cyan: #82e6e0;
  --cyan-bright: #a5f1e8;
  --amber: #efb96a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-card: 16px;
  --shell: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--navy-950);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
html[data-rd-locale-pending] body { visibility: hidden; }
:lang(ja) {
  font-family: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 0;
  scroll-behavior: smooth;
  background: var(--navy-950);
}
body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 5%, rgba(35, 125, 136, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--navy-950) 0%, #091423 50%, #09111e 100%);
}
::selection {
  color: var(--navy-950);
  background: var(--cyan);
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-glow {
  position: fixed;
  z-index: -1;
  width: 40rem;
  height: 40rem;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.32;
}
.page-glow--top {
  top: -28rem;
  right: -13rem;
  background: radial-gradient(circle, rgba(87, 204, 198, 0.25), transparent 70%);
}
.page-glow--bottom {
  bottom: -31rem;
  left: -17rem;
  background: radial-gradient(circle, rgba(239, 185, 106, 0.13), transparent 68%);
}
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 15, 29, 0.84);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 24px;
  height: 24px;
  gap: 3px;
}
.brand-mark i {
  display: block;
  width: 5px;
  border-radius: 2px 2px 0 0;
  background: var(--cyan);
  transform: skewY(-28deg);
}
.brand-mark i:nth-child(1) {
  height: 10px;
  opacity: 0.64;
}
.brand-mark i:nth-child(2) {
  height: 17px;
  background: var(--amber);
}
.brand-mark i:nth-child(3) {
  height: 23px;
  opacity: 0.82;
}
.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: 0.12em;
}
.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 0.22em;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.site-nav > a {
  position: relative;
  padding-block: 8px;
  text-decoration: none;
  transition: color 180ms ease;
}
.site-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: var(--ink);
}
.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
#zig-language-switch {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 4px;
}
#zig-language-switch > span[aria-hidden="true"] {
  color: var(--muted);
  user-select: none;
}
#zig-language-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 650;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
#zig-language-switch button[aria-pressed="true"] {
  border-color: var(--cyan);
  color: var(--navy-950);
  background: var(--cyan);
  box-shadow: 0 0 0 2px rgba(130, 230, 224, 0.18);
}
#zig-language-switch button[aria-pressed="false"] {
  border-color: var(--line);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
}
#zig-language-switch button[aria-pressed="false"]:hover,
#zig-language-switch button[aria-pressed="false"]:focus-visible {
  border-color: rgba(130, 230, 224, 0.55);
  color: var(--ink);
  background: rgba(130, 230, 224, 0.08);
}
#zig-language-switch button[aria-pressed="true"]:hover,
#zig-language-switch button[aria-pressed="true"]:focus-visible {
  border-color: var(--cyan-bright);
  color: var(--navy-950);
  background: var(--cyan-bright);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.menu-lines {
  display: grid;
  gap: 5px;
  justify-content: center;
}
.menu-lines i {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}
.hero {
  padding-block: 28px 20px;
  scroll-margin-top: 76px;
}
.hero-copy {
  max-width: 760px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
}
.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(130, 230, 224, 0.08);
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.12;
}
.hero-copy h1 > span,
.hero-copy h1 > em {
  display: inline;
}
:lang(ja) .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.35;
  letter-spacing: 0;
}
:lang(ja) .hero-copy h1 > span,
:lang(ja) .hero-copy h1 > em {
  display: block;
}
h1 em,
h2 em {
  color: var(--cyan);
  font-style: normal;
}
.hero-lede {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.75;
}
.demo-section {
  padding-block: 18px 84px;
  scroll-margin-top: 76px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 24px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.12;
}
.section-note {
  max-width: 360px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.demo-card {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgba(18, 36, 57, 0.93), rgba(10, 20, 35, 0.95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.demo-card:hover {
  border-color: rgba(130, 230, 224, 0.34);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
  transform: translateY(-3px);
}
.demo-card:focus-within {
  border-color: rgba(130, 230, 224, 0.45);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}
.demo-card-visual {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 120px;
  height: 80px;
  margin: 18px 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #0d2033;
}
.demo-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 200ms ease;
}
.demo-card:hover .demo-card-visual img {
  transform: scale(1.05);
}
.demo-card-body {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 116px;
  padding: 18px 18px 10px 0;
  flex-direction: column;
}
.demo-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.42;
}
.demo-card-description {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.demo-card-link {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.demo-card-link::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
}
:lang(ja) h2,
:lang(ja) .demo-card h3 {
  letter-spacing: 0;
  line-height: 1.5;
  text-wrap: balance;
}
:lang(ja) .hero-lede,
:lang(ja) .section-note,
:lang(ja) .demo-card-description {
  line-height: 1.8;
}
:lang(ja) .footer-inner { font-size: 0.8125rem; line-height: 1.7; }
.site-footer {
  border-top: 1px solid var(--line-soft);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}
.footer-brand {
  color: var(--ink);
  letter-spacing: 0.16em;
}
.footer-inner a {
  color: var(--cyan);
  text-decoration: none;
}
.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--cyan-bright);
}
.noscript-message {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 18px;
  border: 1px solid var(--amber);
  border-radius: 10px;
  color: var(--ink);
  background: var(--navy-900);
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
@media (max-width: 1050px) {
  .shell {
    width: min(var(--shell), calc(100% - 48px));
  }
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: flex-start;
  }
}
@media (max-width: 760px) {
  .shell {
    width: min(var(--shell), calc(100% - 40px));
  }
  .header-inner {
    min-height: 66px;
  }
  .header-tools {
    gap: 8px;
  }
  .brand-copy {
    display: grid;
    gap: 2px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 20, 37, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav > a {
    padding: 12px 10px;
  }
  .hero {
    padding-block: 24px 16px;
  }
  h1 {
    max-width: 600px;
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }
  .hero-copy h1 > span,
  .hero-copy h1 > em {
    display: block;
  }
  :lang(ja) .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.6vw, 34px);
    line-height: 1.35;
  }
  .hero-lede {
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .section-heading {
    display: block;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .section-note {
    max-width: 520px;
    margin-top: 14px;
  }
  .demo-card {
    grid-template-columns: 94px minmax(0, 1fr);
    column-gap: 12px;
  }
  .demo-card-visual {
    width: 80px;
    height: 60px;
    margin: 14px 0 0 14px;
    border-radius: 8px;
  }
  .demo-card-body {
    min-height: 96px;
    padding: 14px 14px 8px 0;
  }
  .demo-card h3 {
    font-size: 1rem;
    line-height: 1.45;
  }
  .demo-card-description {
    padding: 0 14px 14px;
    font-size: 0.9375rem;
    line-height: 1.65;
  }
  .demo-card-link {
    min-height: 44px;
    padding-top: 8px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    gap: 9px;
  }
}
@media (max-width: 430px) {
  .shell {
    width: min(var(--shell), calc(100% - 28px));
  }
  .header-tools {
    gap: 6px;
  }
  #zig-language-switch button {
    min-width: 40px;
    padding-inline: 6px;
  }
  .hero {
    padding-top: 20px;
  }
  h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.65rem);
  }
  :lang(ja) .hero-copy h1 {
    font-size: clamp(28px, 8.6vw, 34px);
  }
  .demo-card-description {
    padding-bottom: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
