/* =========================================================
   医速传助手 · Windows 美式键盘配置指南
   Local, dependency-free stylesheet
   ========================================================= */

:root {
  --paper: #f3efe5;
  --paper-deep: #eae4d6;
  --surface: #fcfaf4;
  --surface-2: #f6f1e7;
  --ink: #15211c;
  --ink-soft: #3e4b45;
  --muted: #68736d;
  --line: rgba(21, 33, 28, 0.14);
  --line-strong: rgba(21, 33, 28, 0.23);
  --green: #1c6b58;
  --green-deep: #124c3d;
  --green-soft: #dcebe2;
  --green-pale: #eaf2ec;
  --amber: #ae6d27;
  --amber-soft: #f3e5d0;
  --dark: #102019;
  --dark-2: #172b24;
  --cream: #f4f0e6;
  --muted-dark: #a4b5ac;
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-latin: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --container: 1320px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 18px 50px rgba(21, 33, 28, 0.07);
  --shadow-card: 0 26px 60px rgba(21, 33, 28, 0.13);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection,
::selection {
  background: var(--green);
  color: var(--cream);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #b8752d;
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(76px, 9vw, 124px) 0;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

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

/* ---------------------------------------------
   Header
   --------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 239, 229, 0.88);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    backdrop-filter: blur(18px) saturate(1.1);
  }
}

.site-header.is-scrolled {
  background: rgba(243, 239, 229, 0.96);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(21, 33, 28, 0.05);
}

.read-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--green);
  transform-origin: left center;
  transition: width 0.1s linear;
}

.header-inner {
  width: min(100% - 48px, 1360px);
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(21, 33, 28, 0.1);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 33, 28, 0.08);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 9px;
  background: var(--green-deep);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.header-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.header-cta:hover {
  background: #0d3d31;
}

.header-cta:hover svg {
  transform: translateX(3px);
}

.header-cta:active {
  transform: scale(0.98);
}

/* ---------------------------------------------
   Shared typography / buttons
   --------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kicker--light {
  color: #9ac4b4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--green-deep);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 24px rgba(18, 76, 61, 0.14);
}

.btn--primary:hover {
  background: #0d3f32;
}

.btn--primary svg {
  transition: transform 0.25s var(--ease);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green-deep);
  background: rgba(28, 107, 88, 0.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-deep);
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(28, 107, 88, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.text-link--light {
  color: #dcebe2;
  border-color: rgba(220, 235, 226, 0.3);
}

.text-link--light:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 410px);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-head h2 {
  margin-top: 14px;
  max-width: 720px;
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section-head > p {
  max-width: 40ch;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.section-head--dark h2 {
  color: var(--cream);
}

.section-head--dark > p {
  color: var(--muted-dark);
}

.section-head--single {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

/* ---------------------------------------------
   Hero
   --------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0 clamp(58px, 8vw, 102px);
  background:
    radial-gradient(circle at 84% 12%, rgba(28, 107, 88, 0.13), transparent 30%),
    radial-gradient(circle at 5% 84%, rgba(174, 109, 39, 0.075), transparent 27%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(21, 33, 28, 0.13) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  opacity: 0.26;
  mask-image: linear-gradient(118deg, #000 0%, transparent 45%);
  -webkit-mask-image: linear-gradient(118deg, #000 0%, transparent 45%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(28, 107, 88, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(28, 107, 88, 0.2);
  border-radius: 999px;
  background: rgba(252, 250, 244, 0.58);
  color: var(--green-deep);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(28, 107, 88, 0.28);
  border-radius: 50%;
  animation: ping 3s var(--ease) infinite;
}

@keyframes ping {
  0%,
  70%,
  100% {
    transform: scale(1);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  55% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(47px, 5.6vw, 79px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.hero h1 .line {
  display: block;
}

.hero h1 .hl {
  display: inline;
  color: var(--green-deep);
  background: linear-gradient(180deg, transparent 70%, var(--green-soft) 70%, var(--green-soft) 94%, transparent 94%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-lede {
  max-width: 590px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.9;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

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

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11.5px;
  list-style: none;
}

.hero-checks li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-checks li + li::before {
  content: "";
  width: 1px;
  height: 10px;
  margin-right: 9px;
  background: var(--line-strong);
}

.hero-checks svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 510px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.hero-note svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  flex: none;
  color: var(--amber);
}

/* Hero illustration */

.hero-visual {
  position: relative;
  z-index: 1;
}

.visual-stage {
  position: relative;
  width: 100%;
  max-width: 566px;
  height: 532px;
  margin-left: auto;
}

.visual-stage::before {
  content: "ENG";
  position: absolute;
  top: -42px;
  right: -8px;
  z-index: 0;
  color: transparent;
  font-family: var(--font-latin);
  font-size: 136px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(28, 107, 88, 0.14);
  pointer-events: none;
}

.pc-card {
  position: absolute;
  top: 58px;
  right: 0;
  z-index: 2;
  width: min(100%, 440px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 34px 66px rgba(21, 33, 28, 0.19), inset 0 1px 0 #fff;
  transform: rotate(1.2deg);
}

.pc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 15px;
  background: #ece6d9;
  border-bottom: 1px solid rgba(21, 33, 28, 0.08);
}

.pc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #39443e;
  font-size: 11px;
  font-weight: 600;
}

.pc-title-mark {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 1.5px;
}

.pc-title-mark i {
  width: 5px;
  height: 5px;
  background: var(--green);
}

.pc-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7b837c;
  font-family: var(--font-latin);
  font-size: 10px;
}

.pc-body {
  padding: 17px;
}

.mini-label {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  margin-bottom: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(21, 33, 28, 0.11);
  border-radius: 11px;
  background: #fffdf8;
}

.mini-row.is-active {
  border-color: rgba(28, 107, 88, 0.46);
  box-shadow: 0 0 0 3px rgba(28, 107, 88, 0.055);
}

.lang-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #efede6;
  color: #626d66;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
}

.lang-badge--en {
  background: var(--green-soft);
  color: var(--green-deep);
}

.mini-row-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.mini-row-copy strong {
  color: #1d2923;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.mini-row-copy small {
  margin-top: 3px;
  color: #818b84;
  font-size: 9px;
}

.mini-chevron {
  margin-left: auto;
  color: #8b948d;
  font-family: var(--font-latin);
  font-size: 17px;
  line-height: 1;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mini-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.keyline {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed rgba(21, 33, 28, 0.13);
  font-family: var(--font-latin);
}

.keycap {
  display: inline-grid;
  place-items: center;
  min-width: 35px;
  height: 29px;
  padding: 0 7px;
  border: 1px solid #d4ccbd;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fffdf7;
  color: #35423b;
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 1px 0 #e9e2d5;
}

.keycap--wide {
  min-width: 61px;
}

.win-key {
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 1px solid #2f4b3e;
  background: #1a352b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 3px rgba(21, 33, 28, 0.24);
  line-height: 0;
  vertical-align: -0.28em;
}

.win-key-panes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.13em;
  width: 72%;
  height: 72%;
}

.win-key-panes i {
  display: block;
  background: #f1ebdd;
  border-radius: 0.05em;
}

.win-key--inline {
  width: 1.38em;
  height: 1.44em;
  margin: 0 0.12em;
  border-radius: 0.24em;
}

.win-key--keycap {
  width: 30px;
  height: 31px;
  border-radius: 7px;
}

.shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  height: 1.42em;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.shortcut .win-key--inline {
  width: 1.36em;
  height: 100%;
  margin: 0;
}

.shortcut kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: auto;
  padding: 0 0.48em;
  font-size: 0.82em;
  line-height: 1;
}

.shortcut-plus {
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 0.88em;
  line-height: 1;
}

.keyline-plus {
  color: #8d968f;
  font-size: 9px;
}

.keyline-arrow {
  margin: 0 3px 0 auto;
  color: #919a93;
  font-size: 11px;
}

.eng-pill {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 23px;
  padding: 0 7px;
  border-radius: 4px;
  background: var(--green);
  color: #fffdf7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.phone-card {
  position: absolute;
  left: -110px;
  bottom: 0;
  z-index: 3;
  width: 210px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 31px;
  background: #182a23;
  box-shadow: 0 28px 48px rgba(21, 33, 28, 0.29);
  transform: rotate(-5.5deg);
}

.phone-screen {
  position: relative;
  min-height: 304px;
  padding: 24px 12px 12px;
  overflow: hidden;
  border-radius: 25px;
  background: #fbf8f0;
}

.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 56px;
  height: 13px;
  border-radius: 999px;
  background: #182a23;
  transform: translateX(-50%);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(21, 33, 28, 0.09);
  color: #33423b;
  font-size: 9.5px;
  font-weight: 600;
}

.phone-logo {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--green);
  color: var(--cream);
  font-size: 8px;
}

.phone-online {
  width: 4px;
  height: 4px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
}

.phone-chat {
  margin-top: 14px;
}

.phone-msg {
  margin-left: auto;
  max-width: 148px;
  padding: 9px 10px;
  border-radius: 10px 10px 3px 10px;
  background: var(--green-soft);
  color: #24483b;
  font-size: 10px;
  line-height: 1.6;
}

.phone-send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(21, 33, 28, 0.12);
  border-radius: 7px;
  color: #34423b;
  font-size: 8.5px;
  font-weight: 600;
}

.phone-send svg {
  width: 11px;
  height: 11px;
  color: var(--green);
}

.phone-success {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--green);
  font-size: 8px;
  font-weight: 600;
}

.phone-success svg {
  width: 10px;
  height: 10px;
}

.phone-foot {
  margin-top: 15px;
  padding-top: 9px;
  border-top: 1px solid rgba(21, 33, 28, 0.08);
  color: #8c958e;
  font-family: var(--font-latin);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.note-card {
  position: absolute;
  top: 4px;
  right: -8px;
  z-index: 4;
  width: 156px;
  padding: 13px 15px 14px;
  border: 1px solid #e3ca98;
  border-radius: 2px;
  background: #f2dfb9;
  color: #4e3615;
  box-shadow: 0 18px 34px rgba(21, 33, 28, 0.16);
  transform: rotate(4deg);
}

.note-label {
  display: block;
  color: rgba(78, 54, 21, 0.62);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.note-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.note-line {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(78, 54, 21, 0.28);
}

.transfer-path {
  position: absolute;
  left: 88px;
  bottom: 156px;
  z-index: 1;
  width: 250px;
  height: 188px;
  overflow: visible;
  pointer-events: none;
}

.transfer-path path {
  fill: none;
  stroke: rgba(28, 107, 88, 0.34);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
}

.transfer-path circle {
  fill: var(--green);
}

/* ---------------------------------------------
   Preflight
   --------------------------------------------- */

.preflight {
  position: relative;
  padding: clamp(58px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.preflight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 92px);
}

.preflight h2 {
  margin-top: 14px;
  font-size: clamp(34px, 3.9vw, 53px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.preflight-copy {
  padding-top: 25px;
}

.preflight-copy > p {
  max-width: 63ch;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

.preflight-copy > p + p {
  margin-top: 12px;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 25px;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: var(--amber-soft);
}

.callout svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
  color: var(--amber);
}

.callout strong {
  display: block;
  margin-bottom: 2px;
  color: #5b3b19;
  font-size: 12.5px;
  font-weight: 700;
}

.callout p {
  color: #795a35;
  font-size: 12px;
  line-height: 1.7;
}

.path-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: clamp(38px, 5vw, 56px);
  padding: 18px 22px;
  border-radius: 17px;
  background: var(--dark);
  color: var(--cream);
  box-shadow: 0 20px 40px rgba(16, 32, 25, 0.1);
}

.path-label {
  flex: none;
  padding-right: 22px;
  border-right: 1px solid rgba(244, 240, 230, 0.14);
  color: var(--muted-dark);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.path-track {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.path-track::-webkit-scrollbar {
  display: none;
}

.path-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: #d4dfd8;
  font-size: 11.5px;
  white-space: nowrap;
}

.path-num {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #42594d;
  border-radius: 50%;
  color: #95afa2;
  font-family: var(--font-latin);
  font-size: 8px;
  line-height: 1;
}

.path-item.is-key {
  color: #ffffff;
}

.path-item.is-key .path-num {
  border-color: #d9a86e;
  background: #d9a86e;
  color: #2d1d09;
  font-weight: 700;
}

.path-arrow {
  position: relative;
  flex: none;
  width: 22px;
  height: 1px;
  background: #40564a;
}

.path-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #5c7466;
  border-right: 1px solid #5c7466;
  transform: rotate(45deg);
}

/* ---------------------------------------------
   Videos
   --------------------------------------------- */

.videos {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream);
}

.videos::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -150px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 123, 101, 0.22), transparent 64%);
  pointer-events: none;
}

.videos::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 78%, transparent);
}

.videos .container {
  position: relative;
  z-index: 1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.video-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(244, 240, 230, 0.1);
  border-radius: 21px;
  background: rgba(244, 240, 230, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 31px;
  padding: 0 4px 10px;
}

.os-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 6px;
  font-family: var(--font-latin);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.os-chip--11 {
  background: #dcebe2;
  color: #124c3d;
}

.os-chip--10 {
  background: #f0e0c8;
  color: #5d3c18;
}

.os-chip svg {
  width: 10px;
  height: 10px;
}

.video-spec {
  color: #869c90;
  font-family: var(--font-latin);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #08110e;
  isolation: isolate;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #08110e;
}

.video-fullscreen {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(244, 240, 230, 0.22);
  border-radius: 9px;
  background: rgba(8, 19, 14, 0.72);
  color: var(--cream);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.25s var(--ease), background 0.2s ease, transform 0.2s ease;
}

.video-fullscreen svg {
  width: 18px;
  height: 18px;
}

.video-frame.is-playing .video-fullscreen {
  opacity: 1;
  pointer-events: auto;
}

.video-fullscreen:hover {
  background: rgba(8, 19, 14, 0.9);
  transform: scale(1.05);
}

.video-fullscreen:active {
  transform: scale(0.96);
}

.video-fullscreen:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #08110e;
  text-align: left;
  cursor: pointer;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 9, 0.02) 26%, rgba(4, 12, 9, 0.3) 62%, rgba(4, 12, 9, 0.94) 100%);
  pointer-events: none;
}

.play-badge {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(244, 240, 230, 0.94);
  color: var(--green-deep);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.2s ease;
}

.play-badge svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.cover-copy {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--cream);
}

.cover-kicker {
  display: none;
}

.cover-title {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(244, 240, 230, 0.16);
  border-radius: 5px;
  background: #0c1813;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.video-cover:hover .cover-img {
  transform: scale(1.025);
}

.video-cover:hover .play-badge {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

.video-cover:active .play-badge {
  transform: translate(-50%, -50%) scale(0.98);
}

.video-state {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 19, 14, 0.96);
  color: var(--cream);
  text-align: center;
}

.state-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border: 1px solid rgba(244, 240, 230, 0.2);
  border-radius: 50%;
  color: #d9a86e;
}

.state-icon svg {
  width: 19px;
  height: 19px;
}

.state-title {
  font-size: 15px;
  font-weight: 600;
}

.state-text {
  max-width: 32ch;
  margin-top: 5px;
  color: #a5b8ad;
  font-size: 11.5px;
  line-height: 1.65;
}

.state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.state-actions a,
.state-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 0 11px;
  border: 1px solid rgba(244, 240, 230, 0.24);
  border-radius: 6px;
  background: transparent;
  color: var(--cream);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.state-actions a {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--dark);
}

.state-actions a:hover,
.state-actions button:hover {
  border-color: #ffffff;
}

.state-actions a:hover {
  background: #ffffff;
}

.video-info {
  padding: 17px 5px 7px;
}

.video-info h3 {
  color: var(--cream);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.video-info p {
  margin-top: 5px;
  color: #9cb0a5;
  font-size: 12px;
  line-height: 1.7;
}

.video-info .text-link {
  margin-top: 13px;
}

.video-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 23px;
  color: #7f9489;
  font-size: 10.5px;
  line-height: 1.65;
}

.video-footnote svg {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  flex: none;
}

/* ---------------------------------------------
   Steps
   --------------------------------------------- */

.steps {
  background:
    radial-gradient(circle at 100% 0%, rgba(28, 107, 88, 0.06), transparent 28%),
    var(--paper);
}

.os-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e6e0d4;
}

.os-tab {
  min-width: 194px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.os-tab:hover {
  color: var(--ink);
}

.os-tab[aria-selected="true"] {
  border-color: rgba(21, 33, 28, 0.08);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(21, 33, 28, 0.08);
}

.tab-os {
  display: block;
  font-family: var(--font-latin);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tab-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.os-panel {
  margin-top: 26px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  animation: panel-in 0.35s var(--ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.panel-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.panel-summary-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 107, 88, 0.09);
}

.panel-time {
  flex: none;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.step-list {
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  padding-bottom: 8px;
  border-bottom: 0;
}

.step-index {
  padding-top: 2px;
  color: #b9b1a1;
  font-family: var(--font-latin);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.step h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.step p {
  max-width: 72ch;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.step p + p {
  margin-top: 6px;
}

.step strong {
  color: var(--ink);
  font-weight: 600;
}

kbd {
  display: inline-block;
  padding: 1px 6px 2px;
  border: 1px solid #d2c9b9;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #f7f2e7;
  color: #28342d;
  font-family: var(--font-latin);
  font-size: 0.82em;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.ui-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 10px;
}

.ui-path span {
  padding: 3px 7px;
  border: 1px solid rgba(21, 33, 28, 0.1);
  border-radius: 5px;
  background: #f2ede2;
}

.ui-path i {
  color: #a9a294;
  font-style: normal;
  font-size: 10px;
}

.ui-path .is-final {
  border-color: rgba(28, 107, 88, 0.22);
  background: var(--green-pale);
  color: var(--green-deep);
  font-weight: 600;
}

.done-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(28, 107, 88, 0.16);
  border-radius: 6px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 10.5px;
  line-height: 1.5;
}

.done-flag svg {
  width: 11px;
  height: 11px;
  flex: none;
}

.panel-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #e6d5b9;
  border-radius: 10px;
  background: #f7eee0;
}

.panel-note svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex: none;
  color: var(--amber);
}

.panel-note p {
  color: #705232;
  font-size: 11.5px;
  line-height: 1.75;
}

.panel-note strong {
  color: #4e3615;
  font-weight: 700;
}

/* ---------------------------------------------
   Verify
   --------------------------------------------- */

.verify {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(21, 33, 28, 0.1);
  border-bottom: 1px solid rgba(21, 33, 28, 0.1);
  background:
    radial-gradient(circle at 88% 18%, rgba(28, 107, 88, 0.12), transparent 29%),
    linear-gradient(180deg, #e5efe8 0%, #dbe9df 100%);
}

.verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.verify h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.eng-mark {
  display: inline-block;
  padding: 1px 10px 2px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-family: var(--font-latin);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: 0.06em;
}

.verify-copy > p {
  max-width: 54ch;
  margin-top: 18px;
  color: #40554a;
  font-size: 14px;
  line-height: 1.9;
}

.verify-copy .text-link {
  margin-top: 21px;
}

.verify-board {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(252, 250, 244, 0.76);
  box-shadow: 0 24px 50px rgba(21, 33, 28, 0.1), inset 0 1px 0 #fff;
}

.taskbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #192a23;
  color: #e9efe9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.taskbar-start {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 2px;
  flex: none;
  padding: 6px;
  border-radius: 5px;
  background: #2c4036;
}

.taskbar-start i {
  width: 7px;
  height: 7px;
  background: #dbe7de;
}

.taskbar-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 96px;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid #354b3f;
  border-radius: 5px;
  color: #8da096;
  font-size: 8.5px;
}

.taskbar-search svg {
  width: 10px;
  height: 10px;
}

.taskbar-spacer {
  flex: 1;
}

.taskbar-tray {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.lang-toggle {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid #3b5145;
  border-radius: 5px;
  background: #0e1c16;
}

.lang-toggle span {
  min-width: 27px;
  padding: 4px 6px;
  border-radius: 3px;
  color: #8fa398;
  font-family: var(--font-latin);
  font-size: 9.5px;
  line-height: 1.4;
  text-align: center;
}

.lang-toggle .is-active {
  background: #f2ecde;
  color: #1b2a22;
  font-weight: 700;
}

.taskbar-time {
  color: #b9c8be;
  font-family: var(--font-latin);
  font-size: 7.5px;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

.taskbar-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 2px 2px;
  color: #75847b;
  font-family: var(--font-latin);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.taskbar-caption span:last-child {
  color: var(--green-deep);
  font-weight: 600;
}

.verify-list {
  margin-top: 11px;
  list-style: none;
}

.verify-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(21, 33, 28, 0.1);
}

.check-dot {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
}

.check-dot svg {
  width: 11px;
  height: 11px;
}

.verify-list strong {
  display: block;
  color: #26352d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.verify-list p {
  margin-top: 2px;
  color: #718076;
  font-size: 11.5px;
  line-height: 1.65;
}

/* ---------------------------------------------
   FAQ
   --------------------------------------------- */

.faq {
  background:
    radial-gradient(circle at 8% 10%, rgba(174, 109, 39, 0.06), transparent 24%),
    var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.faq-intro {
  position: sticky;
  top: 116px;
}

.faq-intro h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.faq-intro p {
  max-width: 32ch;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.faq-support {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(252, 250, 244, 0.6);
  color: var(--ink-soft);
  font-size: 10.5px;
}

.faq-support svg {
  width: 12px;
  height: 12px;
  color: var(--amber);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 21px 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 8px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 8px;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-width: 68ch;
  padding: 0 38px 23px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.faq-answer strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------------------------------------------
   Footer
   --------------------------------------------- */

.footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 26px;
  background: #0d1b15;
  color: var(--cream);
}

.footer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: 8%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(244, 240, 230, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.12);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.22);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 6px;
  color: #9aac9f;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 4px;
}

.footer-nav a {
  color: #b4c3b9;
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  color: #879a8f;
  font-size: 10.5px;
  line-height: 1.8;
}

.footer-bottom p {
  max-width: 72ch;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: #b4c3b9;
  font-size: 10.5px;
}

.footer-top-link svg {
  width: 11px;
  height: 11px;
}

/* ---------------------------------------------
   Responsive
   --------------------------------------------- */

@media (max-width: 1180px) {
  .site-nav {
    gap: 21px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    gap: 42px;
  }

  .visual-stage {
    height: 506px;
    max-width: 520px;
  }

  .pc-card {
    width: min(100%, 405px);
  }

  .phone-card {
    width: 196px;
  }

  .phone-screen {
    min-height: 288px;
  }

  .note-card {
    width: 145px;
  }
}

@media (max-width: 1300px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

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

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

  .hero h1 {
    font-size: clamp(48px, 8vw, 76px);
  }

  .hero-visual {
    width: min(100%, 640px);
    margin: 8px auto 0;
  }

  .visual-stage {
    max-width: 540px;
    height: 510px;
    margin-inline: auto;
  }

  .phone-card {
    left: -80px;
  }

  .preflight-grid,
  .verify-grid {
    grid-template-columns: 1fr;
  }

  .preflight-copy {
    padding-top: 0;
    max-width: 720px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: start;
  }

  .section-head > p {
    max-width: 58ch;
    padding-bottom: 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .verify-copy {
    max-width: 700px;
  }

  .verify-board {
    max-width: 620px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro p {
    max-width: 58ch;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 80px;
  }

  .container,
  .header-inner {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 3px;
  }

  .brand-copy strong {
    font-size: 14.5px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11.5px;
  }

  .header-cta svg {
    width: 12px;
    height: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(42px, 11.3vw, 64px);
    letter-spacing: -0.06em;
  }

  .hero-lede {
    font-size: 14.5px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 15px;
    min-height: 48px;
    font-size: 13px;
  }

  .hero-checks {
    gap: 8px 16px;
    font-size: 10.5px;
  }

  .hero-checks li + li::before {
    display: none;
  }

  .hero-note {
    font-size: 10.5px;
  }

  .visual-stage {
    height: auto;
    max-width: 430px;
    padding-top: 10px;
  }

  .visual-stage::before {
    display: none;
  }

  .pc-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    border-radius: 16px;
    transform: none;
  }

  .pc-bar {
    height: 38px;
    padding: 0 12px;
  }

  .pc-body {
    padding: 13px;
  }

  .mini-row {
    min-height: 50px;
    margin-bottom: 6px;
    padding: 7px 9px;
  }

  .lang-badge {
    width: 29px;
    height: 29px;
    font-size: 9px;
  }

  .mini-row-copy strong {
    font-size: 10.5px;
  }

  .mini-status {
    font-size: 7.5px;
  }

  .keyline {
    margin-top: 9px;
    padding-top: 9px;
  }

  .keycap {
    min-width: 29px;
    height: 25px;
    font-size: 8px;
  }

  .keycap--wide {
    min-width: 50px;
  }

  .win-key--keycap {
    width: 26px;
    height: 27px;
    border-radius: 6px;
  }

  .phone-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 166px;
    margin: 14px auto 0;
    padding: 6px;
    border-radius: 26px;
    transform: rotate(3deg);
  }

  .phone-screen {
    min-height: 210px;
    padding: 21px 10px 10px;
    border-radius: 21px;
  }

  .phone-head {
    font-size: 8.5px;
  }

  .phone-msg {
    max-width: 123px;
    font-size: 8.8px;
    padding: 7px 8px;
  }

  .phone-send {
    padding: 6px 8px;
    font-size: 7.5px;
  }

  .phone-success {
    font-size: 7px;
  }

  .phone-foot {
    font-size: 6px;
  }

  .note-card,
  .transfer-path {
    display: none;
  }

  .preflight {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .preflight h2 {
    font-size: clamp(31px, 8vw, 42px);
  }

  .path-guide {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px 16px;
  }

  .path-label {
    padding: 0;
    border: 0;
  }

  .path-track {
    flex-wrap: wrap;
    row-gap: 8px;
    overflow: visible;
  }

  .path-arrow {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: clamp(32px, 8.6vw, 43px);
  }

  .section-head > p {
    font-size: 13px;
  }

  .video-grid {
    gap: 18px;
  }

  .video-card {
    padding: 9px;
    border-radius: 16px;
  }

  .video-frame {
    border-radius: 9px;
  }

  .play-badge {
    width: 52px;
    height: 52px;
  }

  .play-badge svg {
    width: 17px;
    height: 17px;
  }

  .cover-copy {
    left: 13px;
    bottom: 11px;
  }

  .cover-title {
    font-size: 13px;
  }

  .cover-kicker {
    font-size: 7px;
  }

  .video-info {
    padding: 13px 4px 4px;
  }

  .video-info h3 {
    font-size: 15px;
  }

  .video-info p {
    font-size: 11px;
  }

  .os-tabs {
    display: flex;
    width: 100%;
  }

  .os-tab {
    flex: 1;
    min-width: 0;
    padding: 10px 11px;
  }

  .os-panel {
    margin-top: 18px;
    padding: 20px 16px;
    border-radius: 19px;
  }

  .panel-head {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 15px;
  }

  .panel-summary {
    font-size: 11px;
  }

  .panel-time {
    padding-top: 2px;
    font-size: 9px;
  }

  .step {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 13px;
    padding: 22px 0;
  }

  .step-index {
    font-size: 27px;
  }

  .step h3 {
    font-size: 17px;
  }

  .step p {
    font-size: 13px;
  }

  .ui-path {
    font-size: 9px;
  }

  .ui-path span {
    padding: 2px 6px;
  }

  .done-flag {
    font-size: 9.5px;
  }

  .panel-note {
    padding: 12px 13px;
  }

  .panel-note p {
    font-size: 10.5px;
  }

  .verify-board {
    padding: 13px;
    border-radius: 17px;
  }

  .taskbar {
    gap: 7px;
    min-height: 54px;
    padding: 8px;
  }

  .taskbar-search {
    width: 68px;
  }

  .taskbar-time {
    display: none;
  }

  .verify-list li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 0;
  }

  .check-dot {
    width: 21px;
    height: 21px;
  }

  .faq-item summary {
    padding: 18px 0;
    font-size: 14px;
  }

  .faq-answer {
    padding-right: 16px;
    font-size: 12px;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 22px;
    padding-bottom: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .visual-stage {
    height: auto;
    max-width: 360px;
  }

  .pc-card {
    width: 100%;
  }

  .phone-card {
    width: 151px;
    margin-top: 12px;
  }

  .phone-screen {
    min-height: 200px;
    padding: 19px 8px 8px;
  }

  .phone-head {
    gap: 4px;
    font-size: 7.8px;
  }

  .phone-logo {
    width: 15px;
    height: 15px;
    font-size: 7px;
  }

  .phone-msg {
    max-width: 109px;
    font-size: 8px;
  }

  .phone-send {
    font-size: 6.8px;
  }

  .phone-foot {
    display: none;
  }

  .note-card {
    width: 112px;
    padding: 9px 10px 10px;
  }

  .note-card strong {
    font-size: 11.5px;
  }

  .keyline-arrow {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex-basis: 100%;
  }

  .taskbar-search {
    display: none;
  }

  .taskbar-tray {
    margin-left: auto;
  }

  .panel-head {
    flex-direction: column;
    gap: 5px;
  }

  .panel-time {
    padding-left: 16px;
  }
}

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

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