/* 나이트 쿠리어: 다크 단일 테마, 주황색 강조, 기존 브랜드와 실제 앱 화면.
   레이어: 배경 0, 캐릭터 1, 제품·본문 2, 내비게이션 10, 건너뛰기 20. */
:root {
  color-scheme: dark;
  --bg: #101012;
  --surface: #18181b;
  --card: #202023;
  --text: #f5f1ec;
  --muted: #b0aaa5;
  --accent: #ff794b;
  --line: #38312f;
  --radius: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  accent-color: var(--accent);
  scrollbar-color: #62504a var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
}
button:focus-visible,
a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  word-break: keep-all;
  text-wrap: balance;
}
p {
  line-height: 1.8;
  word-break: keep-all;
  text-wrap: pretty;
}
h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 760;
  line-height: 1.22;
  letter-spacing: -0.045em;
}
h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 112px;
}
.muted {
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
.mobile-break {
  display: none;
}
::selection {
  background: #a2432e;
  color: #fff;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  z-index: 20;
  background: var(--card);
  padding: 14px;
}
.skip-link:focus {
  transform: none;
}
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #101012eb;
  border-bottom: 1px solid #ffffff12;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.7px;
}
.brand img {
  border-radius: 7px;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  color: #c8c1bb;
  font-size: 14px;
}
.nav-actions {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a:hover,
.language-toggle:hover,
.footer a:hover {
  color: var(--accent);
}
.language-toggle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  padding-block: 14px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent);
  color: #1b100c;
  font-size: 15px;
  font-weight: 720;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s;
}
.button:hover {
  background: #ff946c;
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(1px);
}
.button.small {
  padding: 10px 19px;
  min-height: 42px;
  font-size: 13px;
  gap: 14px;
}
.button.secondary {
  background: #121214b3;
  color: var(--text);
  border-color: #7f6e65;
}
.button.secondary:hover {
  background: #2a211e;
  border-color: var(--accent);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-link span {
  transition: transform 0.3s;
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
/* 캐릭터, 도시, 실제 스크린샷은 각각 독립된 레이어다. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, var(--bg) 0%, transparent 26%),
    linear-gradient(90deg, transparent 40%, #10101266 66%, #10101255);
}
.hero-scene {
  position: relative;
  min-height: 920px;
}
.hero-character {
  position: absolute;
  z-index: 1;
  left: -65px;
  top: -5px;
  width: 685px;
  pointer-events: none;
  transform-origin: 55% 80%;
  mask-image: linear-gradient(#000 75%, transparent 99%);
}
.hero-character img {
  width: 100%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 45%;
  margin-left: auto;
  padding-top: 64px;
}
.hero h1 {
  font-size: clamp(58px, 5.6vw, 83px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  color: #ddd3cc;
  font-size: 19px;
  margin-top: 20px;
}
.hero-downloads {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.hero-platforms {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.hero-keys {
  display: flex;
  gap: 26px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #ffffff26;
}
.hero-keys a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #cfc5be;
}
.hero-keys a:hover {
  color: var(--accent);
}
.hero-keys kbd {
  display: grid;
  place-items: center;
  min-width: 44px;
  padding: 7px 9px;
  border: 1px solid #8e756a;
  border-radius: 5px;
  background: #171719b3;
  color: var(--text);
  font:
    14px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.hero-stage {
  position: absolute;
  left: 0;
  top: 500px;
  width: 71%;
  z-index: 2;
}
.hero-product {
  transform: rotate(-2deg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #8d67543d;
  box-shadow:
    0 35px 80px -25px #000,
    0 0 50px -28px #ff794b66;
}
.hero-product img {
  width: 100%;
}
/* 파일 이동 방향을 보여 주는 독립 벡터 레이어. 스크린샷은 원본을 유지한다. */
.transfer-effect {
  position: absolute;
  left: 10%;
  top: 0;
  width: 92%;
  height: auto;
  aspect-ratio: 5 / 2;
  transform: translateY(-36%);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.transfer-halo {
  stroke: #ff762f;
  stroke-width: 11;
  opacity: 0.75;
  filter: url(#transfer-glow);
}
.transfer-arc {
  stroke: #ffcd8d;
  stroke-width: 2.4;
}
.transfer-echo {
  stroke: #ff8b46;
  stroke-width: 1.4;
  opacity: 0.65;
}
.transfer-echo-faint {
  opacity: 0.3;
}
.flow-folder {
  offset-path: path(
    "M 65 235 C 200 45 625 -35 755 110 C 805 165 815 215 815 270"
  );
  offset-distance: var(--rest);
  offset-anchor: 0px 0px;
  offset-rotate: 8deg;
}
.folder-halo {
  filter: url(#transfer-glow);
  opacity: 0.85;
}
.hero-caption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 23px;
  text-align: center;
  color: #d1c2b6;
  font-size: 12px;
  letter-spacing: 0.02em;
}
/* 상단의 빛과 가는 선을 이어가는 기능 소개. */
.section-heading {
  margin-bottom: 44px;
}
.section-heading > p:last-child {
  max-width: 720px;
  font-size: 18px;
  color: var(--muted);
  margin-top: 24px;
}
.workflow {
  position: relative;
  padding-top: 80px;
}
.workflow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 24px #ff794b33;
}
.key-experience {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0, #ff794b09, transparent 65%), #161618;
  padding: 44px 44px 26px;
  overflow: hidden;
}
.key-controls {
  display: flex;
  justify-content: center;
  gap: 38px;
}
.key-choice {
  display: grid;
  gap: 14px;
  justify-items: center;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
}
.key-choice kbd {
  display: grid;
  place-items: center;
  width: 86px;
  height: 72px;
  font:
    26px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  border-radius: 8px;
  background: linear-gradient(145deg, #29282b, #19191b);
  box-shadow:
    0 5px 0 #09090a,
    inset 0 1px 0 #ffffff13;
  border: 1px solid #4b403b;
  color: var(--text);
  transition:
    transform 0.25s var(--ease),
    color 0.25s,
    border-color 0.25s;
}
.key-choice:hover kbd {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.key-choice.is-active {
  color: var(--accent);
}
.key-choice.is-active kbd {
  color: var(--accent);
  transform: translateY(3px);
  border-color: var(--accent);
  box-shadow: 0 2px 0 #09090a;
}
.key-choice:active kbd {
  transform: translateY(5px);
}
.key-story {
  text-align: center;
  max-width: 680px;
  min-height: 110px;
  margin: 36px auto 30px;
}
.key-story h3 {
  font-size: 25px;
}
.key-story p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.workflow-screen {
  position: relative;
  border: 1px solid #ffffff16;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1800/710;
  background: #1e1e2e;
}
.workflow-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}
.panel-focus {
  position: absolute;
  top: 4.5%;
  left: 0;
  width: 50%;
  height: 81.5%;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.workflow-screen:not([data-mode="switch"]) .panel-focus {
  display: none;
}
.caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.features {
  position: relative;
  background: linear-gradient(120deg, #ff794b04, transparent 45%);
  border-block: 1px solid #ffffff08;
}
.gallery {
  background: #18181a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-tabs {
  display: flex;
  gap: 12px;
  padding: 25px 36px 0;
}
.gallery-tabs button {
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  padding: 12px 22px;
  color: var(--muted);
  background: transparent;
}
.gallery-tabs button[aria-selected="true"] {
  color: var(--accent);
  background: #ff794b10;
  border-color: #ff794b4a;
}
.gallery-tabs button:not([aria-selected="true"]):hover {
  color: var(--text);
  background: #ffffff06;
}
.gallery-copy {
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 12px 40px;
}
.gallery-copy h3 {
  grid-row: span 2;
}
.gallery-copy p {
  color: var(--muted);
  font-size: 16px;
}
.detail {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.gallery-copy kbd {
  font: inherit;
  color: var(--accent);
}
.gallery-panel > img {
  width: calc(100% - 88px);
  margin: 0 auto;
  border: 1px solid #ffffff10;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  height: auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.feature-card {
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #171719;
}
.feature-card p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  margin-top: 20px;
}
.transfer-card {
  grid-column: 1/8;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 90% 100%, #ff794b0d, transparent 65%), #171719;
}
.archive-card {
  grid-column: 8/13;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1d1816;
}
.terminal-card {
  grid-column: 1/6;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #141416;
}
.remote-card {
  grid-column: 6/13;
  background: linear-gradient(125deg, #171719, #211916);
}
.transfer-art {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}
.file-sheet {
  padding: 22px 17px;
  font-size: 12px;
  background: #242023;
  border: 1px solid #5a4740;
  border-radius: 6px 14px 6px 6px;
}
.transfer-line {
  width: 90px;
  height: 1px;
  background: #ff794b77;
  position: relative;
}
.transfer-line::after {
  content: "→";
  position: absolute;
  right: 0;
  top: -13px;
  color: var(--accent);
  font-size: 22px;
}
.destination {
  padding: 24px;
  border: 1px solid #ff794b99;
  color: var(--accent);
  border-radius: 7px;
  font-size: 12px;
}
.card-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}
.archive-mark {
  font-size: 94px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.06em;
  color: var(--accent);
  margin-bottom: 28px;
}
.terminal-mark {
  font:
    36px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--accent);
}
.terminal-card code {
  display: block;
  color: var(--accent);
  font-size: 18px;
  margin: 24px 0 12px;
}
.protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}
.protocols span {
  border: 1px solid #675046;
  color: #e4c6b5;
  padding: 9px 13px;
  font:
    12px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  border-radius: 5px;
}
.remote-card .text-link {
  margin-top: 28px;
  font-size: 13px;
}
.personal {
  border-block: 1px solid #ffffff08;
  background: radial-gradient(ellipse at 10% 0%, #ff794b08, transparent 60%);
  overflow: clip;
}
.personal-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 54px;
}
.theme-number {
  font-size: clamp(120px, 16vw, 210px);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.9;
  color: var(--accent);
}
.theme-count {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 3ch;
}
.theme-number .theme-label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 18px 0 0 10px;
  letter-spacing: 0;
}
.personal-heading p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 24px;
}
.theme-showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px #ff794b33;
}
.theme-showcase img {
  width: 100%;
  height: auto;
}
/* 내려받기에서 상단의 도시를 다시 만나며 같은 배경색으로 닫힌다. */
.download {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: 120px 90px;
  overflow: clip;
}
.download::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/night-city.webp") center 65% / cover no-repeat;
  opacity: 0.28;
}
.download::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    var(--bg),
    #10101255 35%,
    #10101266 70%,
    var(--bg)
  );
}
.download-inner {
  position: relative;
}
.download-icon {
  margin: 0 auto 30px;
  width: 74px;
  height: 74px;
  filter: drop-shadow(0 8px 25px #ff452033);
}
.download h2 {
  font-size: clamp(48px, 6.1vw, 80px);
}
.download-inner > p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 23px;
}
.download-options {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 24px;
}
.download-options .button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  text-align: left;
  min-width: 230px;
  padding: 18px 23px;
}
.button small {
  grid-column: span 2;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}
.brew {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 540px;
  margin: auto;
  padding: 15px 18px;
  border: 1px solid #6a4b3c;
  border-radius: 7px;
  background: #151416e6;
  text-align: left;
}
.brew code {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.brew button {
  background: none;
  border: 0;
  font-size: 13px;
  color: var(--accent);
  min-width: 44px;
  min-height: 36px;
}
.brew button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.download-inner .copy-status {
  font-size: 13px;
  min-height: 22px;
  margin-top: 8px;
}
.download-inner .install-note {
  font-size: 13px;
  margin-top: 18px;
}
.install-note a {
  display: inline-block;
  color: var(--accent);
  margin-top: 8px;
}
.install-note a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.footer .brand {
  font-size: 18px;
}
.footer > span {
  font-size: 12px;
  color: var(--muted);
}
.footer > div {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
/* 화면 밖이나 다른 탭에서는 반복 애니메이션을 멈춘다. */
.motion-paused .hero-character,
.motion-paused .hero-product,
.motion-paused .flow-folder {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-character {
    animation: courier-breathe 7s ease-in-out infinite;
  }
  .hero-copy {
    animation: enter 0.9s var(--ease) both;
  }
  .hero-product {
    animation: product-enter 1.1s var(--ease) both;
  }
  .flow-folder {
    animation: folder-flight 6s linear infinite;
    animation-delay: var(--delay);
  }
  .reveal.is-visible {
    animation: enter 0.75s var(--ease) both;
  }
  .gallery-panel:not([hidden]) {
    animation: enter 0.4s var(--ease) both;
  }
  .key-experience.is-visible .panel-focus {
    animation: panel-switch 3.6s ease-in-out 1;
  }
  .transfer-card.is-visible .file-sheet {
    animation: transfer 2.4s ease-in-out 2;
  }
}
@keyframes folder-flight {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
@keyframes courier-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(-0.3deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.3deg);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes product-enter {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
  }
}
@keyframes panel-switch {
  0%,
  40% {
    transform: translateX(0);
  }
  60%,
  100% {
    transform: translateX(100%);
  }
}
@keyframes transfer {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  65% {
    transform: translateX(65px);
    opacity: 0.15;
  }
  66% {
    transform: translateX(0);
    opacity: 0;
  }
}
html[lang="en"] h1,
html[lang="en"] h2 {
  letter-spacing: -0.045em;
}
html[lang="en"] .key-story {
  min-height: 125px;
}
@media (min-width: 1600px) {
  .hero-scene {
    min-height: 920px;
  }
  .hero-character {
    width: 750px;
    left: -100px;
  }
  .hero-copy {
    padding-top: 110px;
  }
  .hero-stage {
    top: 500px;
    width: 73%;
  }
}
@media (max-width: 1279px) and (min-width: 768px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero-scene {
    min-height: 860px;
  }
  .hero-character {
    width: 620px;
    left: -100px;
  }
  .hero-copy {
    width: 47%;
    padding-top: 70px;
  }
  .hero h1 {
    font-size: clamp(49px, 5.6vw, 70px);
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-downloads {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-downloads .button {
    font-size: 13px;
    padding: 13px 16px;
    gap: 10px;
  }
  .hero-keys {
    gap: 18px;
  }
  .hero-keys a {
    gap: 6px;
    font-size: 12px;
  }
  .hero-keys kbd {
    min-width: 37px;
  }
  .hero-stage {
    top: 475px;
    width: 78%;
  }
  .nav-links {
    gap: 22px;
  }
  .nav-actions {
    gap: 20px;
  }
  .feature-card {
    padding: 30px;
  }
  .terminal-card {
    gap: 16px;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .hero-scene {
    min-height: 870px;
  }
  .hero-copy {
    width: 48%;
    padding-top: 65px;
  }
  .hero-character {
    width: 550px;
    left: -135px;
    top: 25px;
  }
  .hero-downloads {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-downloads .button {
    width: 215px;
  }
  .hero-stage {
    top: 520px;
    width: 90%;
  }
  .hero-keys {
    gap: 13px;
  }
  .hero-keys a {
    flex-direction: column;
  }
  .nav-links {
    font-size: 12px;
    gap: 18px;
  }
  .brand {
    font-size: 21px;
  }
  .nav {
    gap: 22px;
  }
  .nav-actions {
    gap: 14px;
  }
}
@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 72px;
  }
  .nav {
    height: 64px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    gap: 16px;
  }
  .button.small {
    font-size: 12px;
    min-height: 38px;
    padding: 9px 13px;
    gap: 8px;
  }
  .hero-background {
    object-position: 38% center;
    opacity: 0.7;
  }
  .hero::after {
    background: linear-gradient(
      0deg,
      var(--bg),
      transparent 26%,
      #10101266 66%,
      #101012bb
    );
  }
  .hero-scene {
    min-height: 930px;
  }
  .hero-copy {
    width: 100%;
    padding-top: 42px;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(47px, 10.9vw, 72px);
  }
  .hero-description {
    font-size: 16px;
    margin-top: 20px;
  }
  .hero-downloads {
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }
  .hero-downloads .button {
    font-size: 13px;
    padding: 14px 16px;
    gap: 9px;
    min-height: 48px;
  }
  .hero-platforms {
    font-size: 12px;
  }
  .hero-keys {
    margin-top: 22px;
    padding-top: 18px;
    gap: 22px;
    justify-content: center;
  }
  .hero-keys a {
    font-size: 12px;
    gap: 7px;
  }
  .hero-keys kbd {
    min-width: 36px;
    font-size: 12px;
    padding: 6px;
  }
  .hero-character {
    top: 330px;
    left: 50%;
    width: 500px;
    margin-left: -285px;
  }
  .hero-stage {
    top: 710px;
    left: 0;
    width: 100%;
  }
  .hero-product {
    border-radius: 6px;
  }
  .hero-caption {
    margin-top: 18px;
    font-size: 12px;
  }
  .workflow {
    padding-top: 45px;
  }
  h2 {
    font-size: clamp(33px, 7.7vw, 48px);
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .section-heading > p:last-child {
    font-size: 15px;
    margin-top: 22px;
  }
  .desktop-break {
    display: none;
  }
  .key-experience {
    padding: 28px 16px 23px;
  }
  .key-controls {
    gap: clamp(16px, 4vw, 26px);
  }
  .key-choice {
    font-size: 12px;
    gap: 12px;
  }
  .key-choice kbd {
    width: clamp(48px, 13vw, 70px);
    height: 56px;
    font-size: 22px;
  }
  .key-story {
    margin: 30px auto 24px;
    min-height: 150px;
  }
  .key-story h3 {
    font-size: 22px;
  }
  .key-story p {
    font-size: 14px;
  }
  html[lang="en"] .key-story {
    min-height: 180px;
  }
  .caption {
    font-size: 12px;
    margin-top: 20px;
  }
  .gallery-tabs {
    padding: 20px 14px 0;
    gap: 4px;
    justify-content: center;
  }
  .gallery-tabs button {
    font-size: 12px;
    padding: 10px 15px;
  }
  .gallery-copy {
    display: block;
    padding: 30px 24px;
  }
  .gallery-copy h3 {
    font-size: 30px;
  }
  .gallery-copy p {
    font-size: 14px;
    margin-top: 18px;
  }
  .gallery-copy .detail {
    font-size: 12px;
    margin-top: 12px;
  }
  .gallery-panel > img {
    width: calc(100% - 28px);
    border-radius: 5px 5px 0 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    grid-column: auto;
    padding: 30px;
  }
  .feature-card p {
    font-size: 15px;
  }
  .transfer-card {
    min-height: 380px;
  }
  .terminal-card {
    gap: 18px;
  }
  .terminal-mark {
    font-size: 28px;
  }
  .archive-mark {
    font-size: 80px;
  }
  .personal-heading {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 36px;
  }
  .theme-number {
    font-size: 120px;
  }
  .theme-number .theme-label {
    font-size: 13px;
    margin-left: 6px;
  }
  .personal-heading p {
    font-size: 15px;
    margin-top: 22px;
  }
  .download {
    padding-block: 80px 60px;
  }
  .download h2 {
    font-size: clamp(43px, 11vw, 64px);
  }
  .download-inner > p {
    font-size: 16px;
  }
  .download-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
  }
  .download-options {
    gap: 10px;
  }
  .download-options .button {
    flex: 1;
    min-width: 0;
    padding: 15px;
    gap: 5px 9px;
    font-size: 13px;
  }
  .brew {
    padding: 10px 12px;
    gap: 8px;
  }
  .brew code {
    font-size: 12px;
  }
  .download-inner .install-note {
    font-size: 12px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 24px;
    padding-block: 28px;
  }
  .footer > span {
    display: none;
  }
  .footer > div {
    gap: 20px;
    font-size: 12px;
  }
  .footer .brand {
    font-size: 17px;
  }
}
@media (min-width: 500px) and (max-width: 767px) {
  .hero-scene {
    min-height: 1070px;
  }
  .hero-character {
    top: 335px;
    width: 590px;
    margin-left: -340px;
  }
  .hero-stage {
    top: 770px;
  }
}
@media (max-width: 374px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav {
    gap: 8px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .nav-actions {
    gap: 10px;
  }
  .button.small {
    padding-inline: 10px;
  }
  .hero-downloads {
    gap: 8px;
  }
  .hero-downloads .button {
    font-size: 12px;
    padding-inline: 12px;
  }
  .hero-keys {
    gap: 14px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-description {
    font-size: 15px;
  }
  .gallery-tabs button {
    padding-inline: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
