﻿:root {
  --bg: #f5f5ef;
  --bg-elevated: #ecece3;
  --ink: #171915;
  --ink-muted: #565a4f;
  --ink-subtle: #767a6e;
  --line: #d4d6ca;
  --lime: #c4f53b;
  --lime-strong: #9cc622;
  --lime-soft: #d5f784;
  --dark: #181c16;
  --dark-card: #1a1f19;
  --white: #ffffff;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container-pad: clamp(20px, 6vw, 84px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 245, 239, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 76px;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 23px;
  letter-spacing: -0.04em;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.mark {
  width: 29px;
  height: 28px;
  background: currentColor;
  flex-shrink: 0;
  clip-path: polygon(
    35% 0,
    100% 0,
    83% 27%,
    48% 27%,
    24% 72%,
    66% 72%,
    84% 42%,
    100% 42%,
    68% 100%,
    0 100%,
    0 67%
  );
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-muted);
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active {
  font-weight: 700;
}

.site-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-strong);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-nav a.active::before {
  opacity: 1;
  transform: scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--dark);
  color: var(--lime);
}

.status-pill,
.pipeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-muted);
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #89ba12;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(137, 186, 18, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(137, 186, 18, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(137, 186, 18, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(137, 186, 18, 0);
  }
}

.top-btn {
  background: var(--dark);
  color: var(--white);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}

.top-btn:hover {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Shared Typography & Eyebrow */
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.eyebrow,
.caption,
.rail,
.card-code,
.card-status,
.dialog-tag,
.dialog-status,
.dialog-subtitle,
.footer-bottom {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.eyebrow b {
  width: 22px;
  height: 8px;
  background: var(--lime);
  display: inline-block;
}

.eyebrow-tag {
  font-size: 10px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

.dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  background: var(--lime-strong);
  margin-left: 0.1em;
  vertical-align: baseline;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 72px) var(--container-pad) clamp(40px, 5vw, 56px);
  min-height: 560px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(47%, 540px);
}

h1 {
  font-size: clamp(50px, 5.6vw, 88px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 22px 0 20px;
  font-weight: 900;
}

html[lang="en"] h1 {
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
  max-width: 460px;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.primary {
  border: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.primary:hover {
  background: #b6ea2b;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(23, 25, 21, 0.35);
}

.btn-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.22s var(--ease);
}

.primary:hover .btn-arrow {
  transform: translate(2px, 2px);
}

.secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.secondary:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 10px;
  color: var(--ink-subtle);
  margin-top: 42px;
}

.rail span:first-child {
  white-space: nowrap;
}

.rail em {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--ink) 40%, var(--line) 40%);
  display: inline-block;
  flex-shrink: 0;
}

.art {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 45%;
  background-image: radial-gradient(#bfc3b5 0.9px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, transparent, #000 14%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%);
  cursor: grab;
  user-select: none;
}

.art:active {
  cursor: grabbing;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.caption,
.cross {
  position: absolute;
  color: var(--ink-subtle);
  pointer-events: none;
}

.caption {
  bottom: 20px;
  left: 12%;
  font-size: 10px;
}

.cross {
  font: 20px/1 var(--font-mono);
}

.c1 {
  top: 7%;
  left: 12%;
}

.c2 {
  bottom: 18px;
  right: 5%;
}

/* Sections */
.section {
  padding: clamp(52px, 6vw, 84px) var(--container-pad);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 32px;
}

h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.section-sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* Product Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  border: 1px solid rgba(23, 25, 21, 0.08);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: left;
  min-height: 336px;
  padding: 28px;
  color: var(--white);
  background: var(--dark-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(23, 25, 21, 0.45);
}

.card canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.card-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.card.game .card-scrim {
  background:
    linear-gradient(180deg, rgba(20, 25, 19, 0.84) 0%, rgba(20, 25, 19, 0.12) 34%, rgba(20, 25, 19, 0.88) 72%, rgba(20, 25, 19, 0.96) 100%);
}

.card.invest {
  background: var(--lime-soft);
  color: #161c11;
  border-color: rgba(23, 25, 21, 0.12);
}

.card.invest .card-scrim {
  background:
    linear-gradient(180deg, rgba(213, 247, 132, 0.72) 0%, rgba(213, 247, 132, 0.06) 36%, rgba(213, 247, 132, 0.88) 75%, rgba(213, 247, 132, 0.96) 100%);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-code {
  color: #d4f766;
  font-weight: 700;
}

.card.invest .card-code {
  color: #1c2414;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(18, 22, 17, 0.72);
  border: 1px solid rgba(206, 244, 85, 0.35);
  color: #e4f8a2;
  backdrop-filter: blur(6px);
}

.card.invest .card-status {
  background: rgba(22, 28, 17, 0.9);
  border-color: rgba(22, 28, 17, 0.9);
  color: var(--lime-soft);
}

.card-body {
  margin-top: auto;
  padding-top: 72px;
}

.card-title {
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  max-width: 440px;
  color: rgba(244, 247, 238, 0.84);
}

.card.invest .card-desc {
  color: rgba(22, 28, 17, 0.82);
}

.card-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card.invest .card-foot {
  border-top-color: rgba(22, 28, 17, 0.16);
}

.card-stage {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(230, 236, 220, 0.76);
}

.card.invest .card-stage {
  color: rgba(22, 28, 17, 0.76);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.arrow {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.card.invest .arrow {
  border-color: rgba(22, 28, 17, 0.42);
  background: rgba(213, 247, 132, 0.72);
}

.card:hover .arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: translate(2px, -2px);
}

.card.invest:hover .arrow {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--lime);
}

/* About & Principles */
.about {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.about h2 {
  margin: 14px 0 18px;
}

.about-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  font-weight: 500;
}

.about-text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
}

.studio-stats {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.studio-stats dt {
  font-size: 12px;
  color: var(--ink-subtle);
  margin-bottom: 6px;
}

.studio-stats dd {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.studio-stats dd.accent-text {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: #5b7809;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  border-top: 1px solid var(--line);
}

.principles li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.p-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #6b8c0e;
  padding-top: 3px;
}

.principles h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.principles p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

/* Updates / Early Access */
.updates {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(64px, 7vw, 96px);
}

.updates-panel {
  background: var(--dark);
  color: var(--white);
  padding: clamp(28px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.updates-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(rgba(196, 245, 59, 0.22) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at top right, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at top right, #000, transparent 72%);
  pointer-events: none;
}

.updates-panel .eyebrow {
  color: #d6dfca;
}

.updates-copy h2 {
  margin: 14px 0 14px;
  color: var(--white);
}

.updates-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(240, 244, 234, 0.78);
  max-width: 440px;
}

.contact-line {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.contact-label {
  font-size: 12px;
  color: rgba(240, 244, 234, 0.6);
}

.copy-email {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.copy-email:hover {
  border-color: var(--lime);
  background: rgba(196, 245, 59, 0.1);
}

.copy-hint {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--lime);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 12px;
  color: rgba(240, 244, 234, 0.72);
  letter-spacing: 0.03em;
}

.interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(240, 244, 234, 0.85);
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: rgba(196, 245, 59, 0.65);
  color: var(--white);
}

.chip.active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.input-row input::placeholder {
  color: rgba(240, 244, 234, 0.42);
}

.input-row input:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.1);
}

.submit-btn {
  height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.submit-btn:hover {
  background: #b5ea2a;
  transform: translateY(-1px);
}

.form-feedback {
  min-height: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--lime);
}

.form-feedback.is-error {
  color: #ff9a8b;
}

.form-note {
  font-size: 12px;
  color: rgba(240, 244, 234, 0.5);
}

/* Footer */
.site-footer {
  background: #141712;
  color: var(--white);
  padding: 36px var(--container-pad) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

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

.back-top {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.44);
}

/* Project Dossier Dialog */
dialog {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  width: min(92vw, 560px);
  box-shadow: 0 30px 70px -24px rgba(15, 18, 13, 0.55);
}

dialog::backdrop {
  background: rgba(20, 23, 18, 0.68);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  position: relative;
  padding: 36px 36px 32px;
}

.close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.close:hover {
  border-color: var(--line);
  color: var(--ink);
}

.dialog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-right: 36px;
}

.dialog-tag {
  font-weight: 700;
  color: var(--ink);
}

.dialog-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: #e7f4be;
  color: #364705;
  letter-spacing: 0.06em;
}

dialog h2 {
  margin: 16px 0 12px;
  font-size: 30px;
}

.dialog-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.dialog-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dialog-subtitle {
  font-weight: 700;
  color: var(--ink-subtle);
  margin-bottom: 12px;
}

.dialog-points {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.dialog-points li::marker {
  color: var(--lime-strong);
}

.dialog-notice {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--lime-strong);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.dialog-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dialog-secondary {
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.dialog-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Responsive: Tablet & Narrow Desktop */
@media (max-width: 1024px) {
  .status-pill {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    max-width: 640px;
  }

  .art {
    order: 2;
    position: relative;
    inset: auto;
    height: 350px;
    margin: 24px calc(var(--container-pad) * -1) 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .caption {
    left: var(--container-pad);
    bottom: 14px;
  }

  .c1 {
    left: var(--container-pad);
  }

  .c2 {
    right: var(--container-pad);
    bottom: 12px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Responsive: Mobile */
@media (max-width: 680px) {
  .header-inner {
    height: 62px;
    gap: 8px;
  }

  .brand {
    font-size: 17px;
    gap: 7px;
  }

  .mark {
    width: 20px;
    height: 19px;
  }

  .site-nav {
    gap: 11px;
    font-size: 12px;
  }

  .site-nav a[href="#home"] {
    display: none;
  }

  .site-nav a::before {
    display: none;
  }

  .top-btn {
    display: none;
  }

  .lang-btn {
    font-size: 10px;
    padding: 4px 6px;
  }

  h1 {
    font-size: 46px;
  }

  html[lang="en"] h1 {
    font-size: 40px;
  }

  .art {
    height: 280px;
  }

  .caption {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .rail {
    margin-top: 26px;
  }

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

  .card {
    min-height: 296px;
    padding: 22px;
  }

  .card-foot {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .studio-stats > div:last-child {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
  }

  .input-row {
    flex-direction: column;
  }

  .dialog-inner {
    padding: 28px 22px 24px;
  }

  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .back-top {
    padding-left: 0;
    border-left: 0;
  }
}

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

  .pulse-dot {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
