:root {
  --night: #0b1020;
  --night-soft: #151a2e;
  --paper: #fcfcfe;
  --cloud: #f2f4fa;
  --ink: #171824;
  --ink-2: #343745;
  --muted: #676e7c;
  --line: #e3e6ef;
  --line-dark: rgba(255, 255, 255, 0.12);
  --signal: #c92a44;
  --signal-deep: #a51c30;
  --sync: #ed8c9f;
  --crimson: #a51c30;
  --crimson-deep: #7f1425;
  --display: "Avenir Next", "Pretendard Variable", Pretendard, sans-serif;
  --crimson-soft: #fff1f5;
  --warm: #f0a66b;
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 40px;
  --shell: 1280px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --shadow-soft: 0 30px 90px rgba(32, 40, 74, 0.12);
  --shadow-deep: 0 70px 170px rgba(2, 6, 22, 0.58);
}

* {
  box-sizing: border-box;
}

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

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

body,
button,
input,
code,
kbd,
pre,
samp {
  font-family: var(--font);
}

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

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

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(75, 127, 255, 0.16);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3,
b {
  letter-spacing: -0.026em;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3 {
  word-break: keep-all;
}

[hidden] {
  display: none !important;
}

section[id],
.guide-section,
#live-demo {
  scroll-margin-top: 96px;
}

::selection {
  background: rgba(75, 127, 255, 0.22);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
  border-radius: 5px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 92px;
  color: var(--ink);
}

.site-header-dark {
  color: #fff;
}

.site-header-dark.is-scrolled {
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-header-light,
.guide-page .site-header {
  height: 78px;
  border-bottom: 1px solid rgba(21, 23, 28, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 1440px);
  height: 100%;
  margin-inline: auto;
}

.site-header-dark .nav-shell {
  width: min(calc(100% - 32px), 1060px);
  height: 64px;
  margin-top: 18px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(10, 14, 27, 0.76);
  background-clip: padding-box;
  box-shadow: 0 18px 55px rgba(1, 4, 17, 0.3), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px) saturate(140%);
  isolation: isolate;
  transition: transform 180ms ease;
}

.site-header-dark.is-scrolled .nav-shell {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(10, 14, 27, 0.92);
  box-shadow: 0 22px 70px rgba(1, 4, 17, 0.42), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 590;
}

.site-nav > a:not(.nav-cta) {
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.site-nav > a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 17px;
  border-radius: 999px;
  background: #fff;
  color: var(--night);
  font-weight: 800;
}

.site-header-dark .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, var(--signal), var(--signal-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(165, 28, 48, 0.24), inset 0 1px rgba(255, 255, 255, 0.2);
}

.site-header-light .nav-cta,
.guide-page .nav-cta {
  background: var(--night);
  color: #fff;
}

.locale-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.78;
}

.locale-switch a {
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.locale-switch a[aria-current="page"] {
  background: #fff;
  color: var(--night);
}

.site-header-light .locale-switch a[aria-current="page"],
.guide-page .locale-switch a[aria-current="page"] {
  background: var(--night);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero-night {
  position: relative;
  isolation: isolate;
  min-height: 1180px;
  overflow: hidden;
  padding: 156px 24px 128px;
  border-radius: 0 0 48px 48px;
  background:
    radial-gradient(circle at 18% 22%, rgba(85, 199, 255, 0.14), transparent 27%),
    radial-gradient(circle at 82% 18%, rgba(216, 92, 123, 0.23), transparent 32%),
    radial-gradient(circle at 52% -6%, rgba(109, 124, 255, 0.48), transparent 38%),
    linear-gradient(180deg, #17152b 0%, #0b1020 58%, #080d19 100%);
  color: #fff;
  box-shadow: 0 34px 90px rgba(26, 32, 64, 0.16);
}

.hero-night::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.035) 50%, transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 96px 96px, 96px 96px;
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

.hero-night::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 2%;
  left: 8%;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(85, 199, 255, 0.11), rgba(109, 124, 255, 0.06) 36%, transparent 72%);
  content: "";
  filter: blur(22px);
  pointer-events: none;
}

.hero-aura {
  position: absolute;
  top: -230px;
  left: 50%;
  width: 980px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 124, 255, 0.34) 0, rgba(216, 92, 123, 0.15) 40%, rgba(11, 16, 32, 0) 72%);
  transform: translateX(-50%);
  filter: blur(18px);
  animation: hero-aura-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-aura-drift {
  from { opacity: 0.78; transform: translate3d(-52%, -2%, 0) scale(0.96); }
  to { opacity: 1; transform: translate3d(-47%, 5%, 0) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin-inline: auto;
}

.hero-copy {
  max-width: 1050px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  width: max-content;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(23, 24, 36, 0.06);
  border-radius: 999px;
  background: rgba(23, 24, 36, 0.045);
  color: #4d5362;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  border-color: rgba(183, 201, 255, 0.16);
  background: rgba(255, 255, 255, 0.065);
  color: #d7e0ff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.hero-copy h1 {
  max-width: 980px;
  margin: 0 auto 30px;
  font-size: clamp(4.25rem, 6.1vw, 5.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

html[lang="ko"] .hero-copy h1 {
  max-width: 900px;
  font-size: clamp(4.05rem, 5.75vw, 5.45rem);
  font-weight: 670;
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 720px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.62;
}

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

.hero-copy .hero-actions,
.final-cta .hero-actions {
  justify-content: center;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 720;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-signal {
  background: linear-gradient(145deg, var(--signal), var(--signal-deep) 64%, var(--crimson-deep));
  color: #fff;
  box-shadow: 0 14px 38px rgba(165, 28, 48, 0.24), inset 0 1px rgba(255, 255, 255, 0.24);
}

.button-signal::after {
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -42%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  content: "";
  transform: skewX(-18deg) translateX(-180%);
  transition: transform 480ms ease;
  pointer-events: none;
}

.button-signal:hover {
  background: linear-gradient(145deg, #d73854, var(--signal-deep));
  box-shadow: 0 18px 48px rgba(165, 28, 48, 0.32), inset 0 1px rgba(255, 255, 255, 0.28);
}

.button-signal:hover::after,
.button-signal:focus-visible::after {
  transform: skewX(-18deg) translateX(520%);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 28, 0.3);
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.button-dark {
  background: var(--night);
  color: #fff;
}

.button-light {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.hero-fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 520;
  letter-spacing: -0.005em;
}

.hero-fine span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hero-fine i {
  font-style: normal;
}

.fine-symbol {
  --fine-motion-state: paused;
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), inset 0 -2px rgba(212, 154, 168, 0.08);
}

.fine-symbol.is-in-view {
  --fine-motion-state: running;
}

.fine-symbol svg {
  width: 15px;
  height: 15px;
  overflow: visible;
  fill: none;
  stroke: #e6dbe0;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.fine-symbol svg * {
  vector-effect: non-scaling-stroke;
}

.fine-symbol circle:not(.fine-web-dot) {
  fill: #d49aa8;
  stroke: none;
}

.fine-symbol--web circle:not(.fine-web-dot) {
  fill: rgba(230, 219, 224, 0.06);
  stroke: #e6dbe0;
}

.fine-symbol [class*="fine-"] {
  animation-play-state: var(--fine-motion-state);
}

.fine-live-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: fine-live 4.8s ease-in-out -1s infinite;
}

.fine-web-dot {
  fill: #d49aa8;
  stroke: #39242c;
  transform-box: fill-box;
  transform-origin: center;
  animation: fine-web 5.2s ease-in-out -2.1s infinite;
}

.fine-export-arrow {
  stroke-dasharray: 14;
  animation: fine-export 5s ease-in-out -3.2s infinite;
}

@keyframes fine-live {
  0%, 28%, 72%, 100% { opacity: 0.55; transform: scale(0.92); }
  46% { opacity: 1; transform: scale(1.12); }
}

@keyframes fine-web {
  0%, 24%, 76%, 100% { opacity: 0.62; transform: translate(-1px, 1px) scale(0.9); }
  48% { opacity: 1; transform: translate(1px, -1px) scale(1.15); }
}

@keyframes fine-export {
  0%, 20% { opacity: 0.35; stroke-dashoffset: 14; transform: translateY(2px); }
  48%, 78% { opacity: 1; stroke-dashoffset: 0; transform: translateY(0); }
  100% { opacity: 0.35; stroke-dashoffset: 14; transform: translateY(2px); }
}

.hero-product {
  position: relative;
  z-index: 0;
  width: min(100%, 1370px);
  margin: 72px auto 0;
  isolation: isolate;
}

.hero-product::before {
  position: absolute;
  z-index: -1;
  inset: -48px 3% -34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(85, 199, 255, 0.18), rgba(109, 124, 255, 0.1) 38%, rgba(216, 92, 123, 0.055) 54%, transparent 74%);
  content: "";
  opacity: 0.92;
  pointer-events: none;
}

.product-frame {
  --product-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(210, 224, 255, 0.24);
  border-radius: var(--product-radius);
  background: #f8f9fb;
  background-clip: padding-box;
  box-shadow:
    0 64px 150px -58px rgba(2, 6, 22, 0.82),
    0 24px 68px -30px rgba(2, 6, 22, 0.56),
    0 0 54px -28px rgba(109, 124, 255, 0.28);
  isolation: isolate;
  transform: translateZ(0);
  transform-origin: center top;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 420ms ease, border-color 220ms ease;
}

.live-product-frame {
  aspect-ratio: 16 / 10;
  background: #171a2b;
}

.mac-desktop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 10%, rgba(85, 199, 255, 0.35), transparent 31%),
    radial-gradient(circle at 82% 22%, rgba(216, 92, 123, 0.35), transparent 34%),
    radial-gradient(circle at 50% 110%, rgba(109, 124, 255, 0.45), transparent 48%),
    linear-gradient(145deg, #202845, #33233f 56%, #171a2b);
  isolation: isolate;
}

.mac-desktop::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 50%, transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.mac-menu-bar {
  position: relative;
  z-index: 3;
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--product-radius) - 1px) calc(var(--product-radius) - 1px) 0 0;
  background: rgba(12, 15, 28, 0.28);
  background-clip: padding-box;
  color: rgba(255, 255, 255, 0.9);
  font-family: -apple-system, BlinkMacSystemFont, var(--font);
  font-size: 9px;
  line-height: 1;
  backdrop-filter: blur(18px) saturate(140%);
}

.mac-menu-left,
.mac-menu-right,
.mac-system-icons {
  display: flex;
  min-width: 0;
  align-items: center;
}

.mac-menu-left {
  gap: 12px;
}

.mac-menu-right {
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.mac-menu-left strong {
  font-weight: 700;
}

.mac-apple {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1;
}

.mac-menu-secondary {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 520;
}

.mac-system-icons {
  gap: 9px;
}

.mac-system-icons i {
  position: relative;
  display: block;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
}

.mac-wifi {
  width: 14px;
  height: 9px;
  overflow: hidden;
}

.mac-wifi::before,
.mac-wifi::after {
  position: absolute;
  left: 50%;
  border: 1.4px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.mac-wifi::before {
  top: -7px;
  width: 15px;
  height: 15px;
}

.mac-wifi::after {
  top: -2px;
  width: 7px;
  height: 7px;
}

.mac-control-center {
  width: 13px;
  height: 10px;
  background: linear-gradient(currentColor, currentColor) 0 2px / 13px 1.3px no-repeat, linear-gradient(currentColor, currentColor) 0 7px / 13px 1.3px no-repeat;
}

.mac-control-center::before,
.mac-control-center::after {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.mac-control-center::before { top: 1px; left: 3px; }
.mac-control-center::after { right: 3px; bottom: 1px; }

.mac-battery {
  width: 16px;
  height: 8px;
  border: 1.2px solid currentColor;
  border-radius: 2px;
}

.mac-battery::before {
  position: absolute;
  inset: 1px 3px 1px 1px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.mac-battery::after {
  position: absolute;
  top: 2px;
  right: -3px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  content: "";
}

.mac-clock {
  min-width: 126px;
  text-align: right;
  white-space: nowrap;
}

.mac-window {
  --mac-window-radius: 18px;
  position: absolute;
  z-index: 2;
  top: 51px;
  right: 2.8%;
  bottom: 18px;
  left: 2.8%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--mac-window-radius);
  background: #fff;
  background-clip: padding-box;
  box-shadow: 0 40px 100px rgba(3, 7, 24, 0.48), 0 8px 26px rgba(3, 7, 24, 0.3), inset 0 1px #fff;
  isolation: isolate;
}

.mac-titlebar {
  position: relative;
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(28, 31, 41, 0.1);
  border-radius: calc(var(--mac-window-radius) - 1px) calc(var(--mac-window-radius) - 1px) 0 0;
  background: linear-gradient(180deg, rgba(251, 251, 252, 0.98), rgba(238, 239, 242, 0.98));
  background-clip: padding-box;
  color: #4b4d55;
  font-family: -apple-system, BlinkMacSystemFont, var(--font);
  font-size: 11px;
  box-shadow: inset 0 1px #fff;
}

.mac-traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-traffic-lights i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.6px rgba(0, 0, 0, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.mac-close { background: #ff5f57; }
.mac-minimize { background: #febc2e; }
.mac-maximize { background: #28c840; }

.mac-window-title {
  position: absolute;
  left: 50%;
  display: flex;
  min-width: 0;
  max-width: 54%;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mac-window-title img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.mac-window-title span {
  color: #25262c;
  font-weight: 670;
}

.mac-window-title em {
  overflow: hidden;
  color: #777a84;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
}

.mac-window-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #488d62;
  font-size: 10px;
  font-weight: 650;
}

.mac-window-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31c56b;
  box-shadow: 0 0 0 4px rgba(49, 197, 107, 0.12);
}

.mac-window .motion-media {
  height: calc(100% - 40px);
  aspect-ratio: auto;
}

@media (hover: hover) and (pointer: fine) {
  .hero-product:hover .product-frame {
    border-color: rgba(211, 225, 255, 0.38);
    box-shadow:
      0 72px 160px -60px rgba(0, 0, 0, 0.72),
      0 28px 78px -32px rgba(2, 6, 22, 0.58),
      0 0 64px -30px rgba(85, 199, 255, 0.32);
    transform: translateY(-5px) translateZ(0);
  }
}

.frame-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr auto;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #191d26;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font);
  font-size: 10px;
}

.frame-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.frame-bar span {
  margin-left: 6px;
}

.frame-bar em {
  color: #a8f0c5;
  font-style: normal;
  text-transform: uppercase;
}

.motion-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #fff;
}

.hero-motion {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.motion-control {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-width: 88px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 16, 23, 0.82);
  background-clip: padding-box;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
  isolation: isolate;
  overflow: hidden;
  transition: transform 160ms ease;
}

.motion-control:hover {
  background: rgba(13, 16, 23, 0.96);
  transform: translateY(-1px);
}

.motion-control-icon {
  width: 12px;
  color: #a8f0c5;
  font-family: var(--font);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.motion-control.is-paused .motion-control-icon {
  color: #9eb9ff;
}

.hero-product figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.hero-product figcaption b {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.01em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fe494;
  box-shadow: 0 0 0 6px rgba(95, 228, 148, 0.1);
}

.manifesto {
  padding: 176px 0 124px;
}

.manifesto-copy {
  display: grid;
  grid-template-columns: 0.7fr 1.55fr 1fr;
  gap: 48px;
  align-items: start;
}

.manifesto-copy .section-kicker {
  margin-top: 12px;
}

.manifesto-copy h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 4.6vw, 4.7rem);
  font-weight: 640;
  line-height: 1.03;
}

.manifesto-copy h2 span {
  color: #a4a9b2;
}

.manifesto-copy > p:last-child {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.continuity-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 110px 0 0;
  padding: 0;
  list-style: none;
}

.continuity-line li {
  position: relative;
  padding: 30px 16px 0 0;
  border-top: 1px solid var(--line);
}

.continuity-line li::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  content: "";
}

.continuity-line b,
.continuity-line span {
  display: block;
}

.continuity-line b {
  font-size: 17px;
}

.continuity-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.audience-section {
  margin-inline: 16px;
  padding: 138px 0 150px;
  border: 1px solid rgba(109, 124, 255, 0.08);
  border-radius: 48px;
  background:
    radial-gradient(circle at 15% 12%, rgba(85, 199, 255, 0.1), transparent 24%),
    radial-gradient(circle at 86% 86%, rgba(216, 92, 123, 0.09), transparent 27%),
    var(--cloud);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
}

.compact-heading {
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}

.compact-heading .section-kicker {
  margin-bottom: 6px;
}

.compact-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 3.7vw, 3.9rem);
  font-weight: 640;
  line-height: 1.08;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-grid article {
  --symbol-rail-a: #5269ff;
  --symbol-rail-b: #28b9ff;
  --symbol-accent: #1679e8;
  --symbol-soft: #edf4ff;
  min-height: 244px;
  padding: 28px;
  border: 1px solid rgba(109, 124, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.82));
  box-shadow: 0 16px 44px rgba(41, 49, 83, 0.055), inset 0 1px rgba(255, 255, 255, 0.9);
  transition: transform 220ms ease;
}

.audience-grid article:nth-child(2) { --symbol-rail-a: #6072ff; --symbol-rail-b: #a486ff; --symbol-accent: #6658d8; --symbol-soft: #f1efff; }
.audience-grid article:nth-child(3) { --symbol-rail-a: #805fff; --symbol-rail-b: #e56b9d; --symbol-accent: #a148bc; --symbol-soft: #f8efff; }
.audience-grid article:nth-child(4) { --symbol-rail-a: #4277ff; --symbol-rail-b: #20c7ff; --symbol-accent: #087fc6; --symbol-soft: #eaf8ff; }
.audience-grid article:nth-child(5) { --symbol-rail-a: #2c9ca7; --symbol-rail-b: #61d8bd; --symbol-accent: #187b78; --symbol-soft: #eaf8f5; }
.audience-grid article:nth-child(6) { --symbol-rail-a: #6070f4; --symbol-rail-b: #df6f96; --symbol-accent: #8f527e; --symbol-soft: #fff0f4; }

.audience-grid article:hover {
  position: relative;
  z-index: 1;
  border-color: rgba(109, 124, 255, 0.2);
  box-shadow: 0 24px 58px rgba(41, 49, 83, 0.1), inset 0 1px #fff;
  transform: translateY(-6px);
}

/* Living glyphs: original layered, finite-state motion for CommonNote. */
.motion-symbol[data-glyph-ready="true"] {
  --symbol-a: var(--symbol-rail-a);
  --symbol-b: var(--symbol-rail-b);
  --glyph-ink: #566278;
  --glyph-wash: var(--symbol-soft);
  position: relative;
  z-index: 0;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(196, 207, 226, 0.82);
  border-radius: 26px;
  background:
    radial-gradient(circle at 29% 20%, rgba(255, 255, 255, 0.98) 0 12%, transparent 42%),
    linear-gradient(145deg, #ffffff 4%, #f7f9fd 58%, #edf1f8 100%);
  box-shadow:
    0 18px 36px rgba(38, 50, 82, 0.13),
    0 4px 10px rgba(38, 50, 82, 0.08),
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(67, 83, 120, 0.08);
  isolation: isolate;
  perspective: 260px;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 240ms ease;
}

.motion-symbol[data-glyph-ready="true"]::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), transparent 34%),
    var(--glyph-wash);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 15px rgba(50, 65, 103, 0.08);
  opacity: 0.86;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-symbol[data-glyph-ready="true"]::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 13px;
  width: 34px;
  height: 13px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0));
  border-radius: 999px;
  opacity: 0.76;
  pointer-events: none;
}

.motion-symbol[data-glyph-ready="true"] .living-glyph {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  overflow: visible;
  filter: drop-shadow(0 5px 5px rgba(49, 62, 94, 0.12));
  shape-rendering: geometricPrecision;
  transform-origin: center;
}

.living-glyph * {
  vector-effect: non-scaling-stroke;
}

.living-glyph .glyph-material {
  fill: var(--glyph-wash);
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.2;
}

.living-glyph .glyph-surface {
  fill: rgba(252, 253, 255, 0.95);
  stroke: rgba(115, 130, 160, 0.42);
  stroke-width: 1.35;
}

.living-glyph .glyph-ink,
.living-glyph .glyph-soft-line,
.living-glyph .glyph-accent,
.living-glyph .glyph-white-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.living-glyph .glyph-ink {
  stroke: var(--glyph-ink);
  stroke-width: 2;
}

.living-glyph .glyph-soft-line {
  stroke: var(--symbol-b);
  stroke-width: 1.8;
  opacity: 0.58;
}

.living-glyph .glyph-accent {
  stroke: var(--symbol-a);
  stroke-width: 2.5;
}

.living-glyph .glyph-white-line {
  stroke: #fff;
  stroke-width: 2.25;
}

.living-glyph .glyph-fill { fill: var(--symbol-a); }
.living-glyph .glyph-fill-secondary { fill: var(--symbol-b); }
.living-glyph .glyph-soft-fill { fill: var(--glyph-wash); }
.living-glyph .glyph-shadow-fill { fill: var(--symbol-a); opacity: 0.16; }
.living-glyph .glyph-white-fill { fill: #fff; }
.living-glyph .glyph-soft-dot { fill: #c7d1e2; }

.living-glyph .glyph-depth {
  transform-box: fill-box;
  transform-origin: center;
}

.js .motion-symbol[data-glyph-ready="true"]:not(.is-in-view) .living-glyph {
  opacity: 0;
  transform: translateY(7px) scale(0.88);
}

.motion-symbol[data-glyph-ready="true"].is-in-view .living-glyph {
  animation: living-glyph-arrive 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-symbol[data-glyph-ready="true"].is-in-view .glyph-depth {
  animation: living-depth-arrive 820ms cubic-bezier(0.16, 1, 0.3, 1) 70ms both;
}

.motion-symbol[data-glyph-ready="true"].is-in-view .glyph-hero {
  animation: living-hero-arrive 720ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.motion-symbol[data-glyph-ready="true"].is-in-view .glyph-motion {
  animation: living-motion-arrive 620ms cubic-bezier(0.16, 1, 0.3, 1) 230ms both;
}

.audience-grid article:hover .motion-symbol[data-glyph-ready="true"],
.feature-matrix article:hover .motion-symbol[data-glyph-ready="true"],
.feature-matrix article:focus-within .motion-symbol[data-glyph-ready="true"] {
  box-shadow:
    0 22px 42px rgba(38, 50, 82, 0.16),
    0 6px 14px rgba(38, 50, 82, 0.09),
    inset 0 1px 0 #fff;
  transform: translateY(-3px) scale(1.025);
}

.motion-symbol[data-glyph-ready="true"].is-interacting::before {
  transform: scale(1.035);
}

.motion-symbol--personal.is-interacting .glyph-confirm { animation: living-confirm 720ms cubic-bezier(0.2, 0.85, 0.25, 1) both; }
.motion-symbol--personal.is-interacting .glyph-write,
.motion-symbol--notes.is-interacting .glyph-write { animation: living-write 760ms ease-out both; }
.motion-symbol--study.is-interacting .glyph-flashcard-fan { animation: living-flashcard-fan 780ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--study.is-interacting .glyph-flashcard-front { animation: living-flashcard-front 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--study.is-interacting .glyph-review-chip { animation: living-review-chip 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--study.is-interacting .glyph-review-progress { animation: living-study-progress 760ms ease-out both; }
.motion-symbol--creative.is-interacting .glyph-creative-curve { animation: living-creative-curve 820ms ease-out both; }
.motion-symbol--creative.is-interacting .glyph-control-system { animation: living-controls 820ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--creative.is-interacting .glyph-creative-cursor { animation: living-cursor 820ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--teams.is-interacting .glyph-route { animation: living-route 850ms ease-out both; }
.motion-symbol--teams.is-interacting .glyph-route-dot { animation: living-route-dot 850ms cubic-bezier(0.4, 0, 0.2, 1) both; }
.motion-symbol--operations.is-interacting .glyph-slider-a { animation: living-slider-a 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--operations.is-interacting .glyph-slider-b { animation: living-slider-b 760ms cubic-bezier(0.16, 1, 0.3, 1) 60ms both; }
.motion-symbol--operations.is-interacting .glyph-slider-c { animation: living-slider-c 760ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both; }
.motion-symbol--research.is-interacting .glyph-scan { animation: living-scan 820ms cubic-bezier(0.4, 0, 0.2, 1) both; }
.motion-symbol--research.is-interacting .glyph-lens-handle { animation: living-lens 720ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--notes.is-interacting .glyph-pen { animation: living-pen 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.motion-symbol--collaboration.is-interacting .glyph-person-b { animation: living-person-join 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--collaboration.is-interacting .glyph-bridge { animation: living-bridge 820ms ease-out both; }
.motion-symbol--collaboration.is-interacting .glyph-bridge-dot { animation: living-bridge-dot 820ms cubic-bezier(0.4, 0, 0.2, 1) both; }
.motion-symbol--execution.is-interacting .glyph-task-a { animation: living-task 680ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--execution.is-interacting .glyph-task-b { animation: living-task 680ms cubic-bezier(0.16, 1, 0.3, 1) 70ms both; }
.motion-symbol--execution.is-interacting .glyph-task-c { animation: living-task 680ms cubic-bezier(0.16, 1, 0.3, 1) 140ms both; }
.motion-symbol--execution.is-interacting .glyph-forward { animation: living-forward 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--planning.is-interacting .glyph-day { animation: living-day 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--records.is-interacting .glyph-lock { animation: living-lock 780ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-symbol--records.is-interacting .glyph-shackle { animation: living-shackle-close 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.motion-symbol--tools.is-interacting .glyph-graph { animation: living-graph 850ms ease-out both; }
.motion-symbol--tools.is-interacting .glyph-tool-node { animation: living-tool-node 760ms cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes living-glyph-arrive {
  0% { opacity: 0; transform: translateY(7px) scale(0.88); }
  58% { opacity: 1; transform: translateY(-1px) scale(1.025); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes living-depth-arrive {
  0% { opacity: 0; transform: translate(4px, 6px) rotate(5deg) scale(0.9); }
  100% { opacity: 1; transform: none; }
}

@keyframes living-hero-arrive {
  0% { opacity: 0; transform: translate(-3px, 5px) scale(0.92); }
  100% { opacity: 1; transform: none; }
}

@keyframes living-motion-arrive {
  0% { opacity: 0; transform: translateY(5px) scale(0.78); }
  70% { opacity: 1; transform: translateY(-1px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}

@keyframes living-confirm { 0%, 100% { transform: none; } 35% { transform: translateY(-5px) scale(0.82); } 68% { transform: translateY(0) scale(1.12); } }
@keyframes living-write { 0% { stroke-dasharray: 24; stroke-dashoffset: 24; opacity: 0.25; } 100% { stroke-dasharray: 24; stroke-dashoffset: 0; opacity: 1; } }
@keyframes living-flashcard-fan { 0%, 100% { transform: none; } 44% { transform: rotate(5deg) scale(1.035); } }
@keyframes living-flashcard-front { 0%, 100% { transform: none; } 44% { transform: translateY(-4px) scale(1.02); } }
@keyframes living-review-chip { 0%, 100% { transform: none; } 38% { transform: translate(4px, -6px) scale(0.86); } 68% { transform: translate(0) scale(1.08); } }
@keyframes living-study-progress { 0% { stroke-dasharray: 24; stroke-dashoffset: 24; opacity: 0.3; } 100% { stroke-dasharray: 24; stroke-dashoffset: 0; opacity: 1; } }
@keyframes living-creative-curve { 0% { stroke-dasharray: 70; stroke-dashoffset: 70; opacity: 0.25; } 100% { stroke-dasharray: 70; stroke-dashoffset: 0; opacity: 1; } }
@keyframes living-controls { 0%, 100% { transform: none; } 42% { transform: scale(1.045); } }
@keyframes living-cursor { 0%, 100% { transform: none; } 36% { transform: translate(-8px, 5px) rotate(-6deg); } 68% { transform: translate(-3px, 2px) rotate(-2deg); } }
@keyframes living-route { 0% { stroke-dasharray: 80; stroke-dashoffset: 80; opacity: 0.35; } 100% { stroke-dasharray: 80; stroke-dashoffset: 0; opacity: 1; } }
@keyframes living-route-dot { 0% { opacity: 0; transform: translate(-15px, 13px) scale(0.7); } 52% { opacity: 1; transform: translate(0, -10px) scale(1); } 100% { opacity: 1; transform: none; } }
@keyframes living-slider-a { 0%, 100% { transform: none; } 48% { transform: translateX(12px); } }
@keyframes living-slider-b { 0%, 100% { transform: none; } 48% { transform: translateX(-15px); } }
@keyframes living-slider-c { 0%, 100% { transform: none; } 48% { transform: translateX(9px); } }
@keyframes living-scan { 0% { opacity: 0; transform: translateY(-9px); } 18%, 82% { opacity: 1; } 100% { opacity: 0; transform: translateY(11px); } }
@keyframes living-lens { 0%, 100% { transform: none; } 48% { transform: rotate(-6deg) translate(-2px, -2px); } }
@keyframes living-pen { 0%, 100% { transform: none; } 30% { transform: translate(-8px, 6px) rotate(-5deg); } 70% { transform: translate(3px, -3px) rotate(3deg); } }
@keyframes living-person-join { 0%, 100% { transform: none; } 44% { transform: translateX(-6px) translateY(2px); } }
@keyframes living-bridge { 0% { stroke-dasharray: 40; stroke-dashoffset: 40; opacity: 0.25; } 100% { stroke-dasharray: 40; stroke-dashoffset: 0; opacity: 1; } }
@keyframes living-bridge-dot { 0% { opacity: 0; transform: translateX(-9px) scale(0.7); } 60% { opacity: 1; transform: translateX(8px) scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes living-task { 0%, 100% { transform: none; } 42% { transform: translateX(6px); } }
@keyframes living-forward { 0%, 100% { transform: none; opacity: 0.7; } 48% { transform: translateX(5px); opacity: 1; } }
@keyframes living-day { 0%, 100% { transform: none; } 38% { transform: translateY(-8px) rotate(-4deg) scale(0.86); } 70% { transform: translateY(0) scale(1.08); } }
@keyframes living-lock { 0%, 100% { transform: none; } 45% { transform: translateY(3px) scale(0.96); } }
@keyframes living-shackle-close { 0%, 22% { transform: translateY(-6px); } 62%, 100% { transform: none; } }
@keyframes living-graph { 0% { stroke-dasharray: 55; stroke-dashoffset: 55; opacity: 0.25; } 100% { stroke-dasharray: 55; stroke-dashoffset: 0; opacity: 1; } }
@keyframes living-tool-node { 0%, 100% { transform: none; } 45% { transform: translate(-5px, 5px) scale(1.14); } }

.audience-grid h3 {
  margin: 24px 0 8px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
}

.audience-grid p {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--muted);
}

.chapter {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 86px;
  align-items: center;
  padding: 168px 0;
}

.chapter > *,
.portability-grid > *,
.collaboration-grid > *,
.guide-promo > *,
.guide-hero-inner > * {
  min-width: 0;
}

.chapter-copy h2,
.section-heading h2,
.portability-copy h2,
.guide-promo-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 4.25vw, 4.35rem);
  font-weight: 650;
  line-height: 1.04;
}

.chapter-copy > p:not(.section-kicker),
.section-heading > p:not(.section-kicker),
.portability-copy > p:not(.section-kicker),
.guide-promo-copy > p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.proof-list,
.migration-list {
  margin: 46px 0 38px;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.proof-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.proof-list b,
.proof-list span {
  display: block;
}

.proof-list b {
  margin-bottom: 5px;
  font-size: 17px;
}

.proof-list span {
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-weight: 800;
}

.text-link span {
  color: var(--crimson);
}

.chapter-visual {
  position: relative;
  margin: 0;
}

.chapter-visual::before {
  position: absolute;
  z-index: -1;
  inset: -32px 44px 34px -32px;
  border: 1px solid rgba(109, 124, 255, 0.08);
  border-radius: 38px;
  background: linear-gradient(135deg, #eaf4ff 0%, #f0f1ff 48%, #fff1f4 100%);
  box-shadow: var(--shadow-soft);
  content: "";
}

.chapter-visual img,
.migration-visual img {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 34px 86px rgba(20, 27, 45, 0.15);
  transition: transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .chapter-visual:hover img,
  .migration-visual:hover img {
    box-shadow: 0 42px 100px rgba(20, 27, 45, 0.2);
    transform: translateY(-5px);
  }
}

.chapter-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  font-size: 13px;
}

.chapter-visual figcaption span {
  color: var(--muted);
}

.workflow-section {
  margin: 16px;
  padding: 152px 0 176px;
  border-radius: 48px;
  background: #f7f7f9;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 72px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-kicker,
.final-cta .section-kicker {
  margin-inline: auto;
}

.section-heading.centered > p:not(.section-kicker) {
  margin-inline: auto;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.gallery-tabs {
  --workflow-progress: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 28px;
  border: 0;
}

.gallery-tabs::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 11px;
  border-left: 1px dashed rgba(105, 105, 119, 0.22);
}

.gallery-tabs::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18px;
  bottom: 18px;
  left: 11px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(#c92a44, #7f1425);
  box-shadow: 0 0 0 3px rgba(201, 42, 68, 0.035);
  pointer-events: none;
  transform: scaleY(var(--workflow-progress));
  transform-origin: top;
}

.gallery-tabs button {
  position: relative;
  display: grid;
  justify-items: start;
  min-height: 200px;
  padding: 20px 20px 28px 28px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.gallery-tabs button::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -22px;
  width: 9px;
  height: 9px;
  border: 2px solid #f7f7f9;
  border-radius: 50%;
  background: #aaadb8;
  box-shadow: 0 0 0 1px rgba(105, 105, 119, 0.22);
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.gallery-tabs button > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eeeef1;
  color: #777582;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gallery-tabs button > b {
  color: #737480;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.22;
}

.gallery-tabs button > small {
  display: block;
  max-width: 290px;
  margin-top: 8px;
  color: #777983;
  font-size: 13px;
  line-height: 1.55;
}

.gallery-tabs button[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  color: var(--ink);
}

.gallery-tabs button[aria-selected="true"]::before {
  background: #c92a44;
  box-shadow: 0 0 0 5px rgba(201, 42, 68, 0.08), 0 6px 14px rgba(165, 28, 48, 0.12);
  transform: scale(1.08);
}

.gallery-tabs button[aria-selected="true"] > span {
  background: #f8edf0;
  color: #a51c30;
}

.gallery-tabs button[aria-selected="true"] > b {
  color: var(--ink);
}

.gallery-tabs button[aria-selected="true"] > small {
  color: var(--muted);
}

.gallery-tabs button:hover:not([aria-selected="true"]) {
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.gallery-tabs button:focus-visible {
  outline: 2px solid rgba(165, 28, 48, 0.82);
  outline-offset: 2px;
  border-radius: 24px;
}

.gallery-viewport {
  position: sticky;
  top: 108px;
  min-width: 0;
}

.gallery-stage {
  --gallery-radius: 38px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 580px;
  overflow: hidden;
  padding: 60px 16px 16px;
  border: 1px solid rgba(40, 32, 38, 0.10);
  border-radius: var(--gallery-radius);
  background:
    radial-gradient(circle at 14% 0%, rgba(201, 42, 68, 0.025), transparent 34%),
    linear-gradient(145deg, #f5f5f7, #fafafa 62%, #ffffff);
  box-shadow: 0 40px 110px rgba(24, 24, 34, 0.10), inset 0 1px rgba(255, 255, 255, 0.94);
  background-clip: padding-box;
  isolation: isolate;
}

.gallery-windowbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(60, 60, 75, 0.08);
  border-radius: calc(var(--gallery-radius) - 1px) calc(var(--gallery-radius) - 1px) 0 0;
  background: rgba(255, 255, 255, 0.72);
  background-clip: padding-box;
  backdrop-filter: blur(16px);
  isolation: isolate;
}

.gallery-windowbar > span {
  display: flex;
  gap: 6px;
}

.gallery-windowbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6259;
}

.gallery-windowbar i:nth-child(2) { background: #ffbf2f; }
.gallery-windowbar i:nth-child(3) { background: #29c840; }

.gallery-windowbar b {
  color: #686872;
  font-size: 11px;
  font-weight: 700;
}

.gallery-windowbar em {
  justify-self: end;
  color: #86848e;
  font-family: var(--font);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.gallery-panel {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(14px) scale(0.992);
  transition:
    opacity 340ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 480ms;
}

.gallery-panel[hidden] {
  display: block;
}

.gallery-panel.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
}

.gallery-panel img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid rgba(24, 24, 34, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 66px rgba(24, 24, 34, 0.10);
}

.gallery-panel figcaption {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 30px;
  margin-top: 14px;
  padding: 22px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.76);
  background-clip: padding-box;
  box-shadow: inset 0 1px #fff;
  backdrop-filter: blur(12px);
  isolation: isolate;
  min-height: 122px;
}

.gallery-panel figcaption > span {
  color: #a51c30;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.gallery-panel figcaption b {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 650;
}

.gallery-panel figcaption p {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.gallery-scrubber {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(40, 32, 38, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  background-clip: padding-box;
  box-shadow: 0 16px 38px rgba(24, 24, 34, 0.07), inset 0 1px #fff;
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.gallery-scrubber label,
.gallery-scrubber output {
  color: #74747f;
  font-size: 11px;
  font-weight: 700;
}

.gallery-scrubber output {
  min-width: 94px;
  color: #7f1425;
  text-align: right;
}

.gallery-scrubber input {
  --scrub-progress: 0%;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.gallery-scrubber input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a51c30 0 var(--scrub-progress), #e0e1e6 var(--scrub-progress) 100%);
}

.gallery-scrubber input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7.5px;
  appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #c92a44;
  box-shadow: 0 3px 12px rgba(165, 28, 48, 0.18), 0 0 0 1px rgba(127, 20, 37, 0.08);
}

.gallery-scrubber input::-moz-range-track {
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #e0e1e6;
}

.gallery-scrubber input::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: #a51c30;
}

.gallery-scrubber input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #c92a44;
  box-shadow: 0 3px 12px rgba(165, 28, 48, 0.18);
}

.collaboration-section {
  padding: 168px 0;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.evidence-card,
.signal-card {
  overflow: hidden;
  border: 1px solid rgba(109, 124, 255, 0.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(29, 38, 73, 0.075), inset 0 1px #fff;
  transition: transform 220ms ease;
}

.evidence-card:hover,
.signal-card:hover {
  border-color: rgba(109, 124, 255, 0.2);
  box-shadow: 0 30px 72px rgba(29, 38, 73, 0.12), inset 0 1px #fff;
  transform: translateY(-5px);
}

.evidence-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  align-items: center;
}

.evidence-card figure {
  margin: 0;
  overflow: hidden;
  padding: 16px;
  background: linear-gradient(145deg, #eef5ff, #f5f1ff 58%, #fff2f5);
}

.evidence-card figure img {
  border: 1px solid rgba(35, 44, 79, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(31, 39, 75, 0.15);
}

.evidence-card:not(.evidence-card-wide) figure {
  border-bottom: 1px solid var(--line);
}

.evidence-card-wide figure {
  border-right: 1px solid var(--line);
}

.evidence-card > div,
.signal-card {
  padding: 34px;
}

.evidence-card > div > span,
.signal-card > span {
  color: var(--crimson);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.evidence-card h3,
.signal-card h3 {
  margin: 18px 0 12px;
  font-size: 30px;
  line-height: 1.1;
}

.evidence-card p,
.signal-card p {
  color: var(--muted);
}

.evidence-card a {
  color: var(--signal-deep);
  font-weight: 800;
}

.signal-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 88% 14%, rgba(85, 199, 255, 0.18), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(216, 92, 123, 0.16), transparent 38%),
    linear-gradient(145deg, #151a2e, #0b1020);
  color: #fff;
}

.signal-card p {
  color: rgba(255, 255, 255, 0.56);
}

.presence-row {
  display: flex;
  align-items: center;
  margin-top: 36px;
}

.presence-row i {
  display: grid;
  width: 38px;
  height: 38px;
  margin-right: -8px;
  place-items: center;
  border: 3px solid var(--night);
  border-radius: 50%;
  background: var(--crimson);
  font-style: normal;
  font-weight: 800;
}

.presence-row i:nth-child(2) {
  background: var(--signal);
}

.presence-row b {
  margin-left: 18px;
  font-size: 13px;
}

.presence-row em {
  margin-left: auto;
  color: #7ce8a4;
  font-size: 11px;
  font-style: normal;
}

.portability-section {
  margin: 16px;
  padding: 158px 0;
  overflow: hidden;
  border: 1px solid rgba(109, 124, 255, 0.08);
  border-radius: 48px;
  background:
    radial-gradient(circle at 88% 18%, rgba(85, 199, 255, 0.11), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(216, 92, 123, 0.08), transparent 28%),
    var(--cloud);
}

.portability-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  align-items: center;
}

.migration-list {
  border-top: 1px solid #dfe2e7;
}

.migration-list li {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #dfe2e7;
}

.migration-list b {
  font-size: 14px;
}

.migration-list span {
  color: var(--muted);
  font-size: 14px;
}

.migration-visual {
  padding: 22px;
  margin: 0 -180px 0 0;
  border: 1px solid rgba(109, 124, 255, 0.09);
  border-radius: 34px;
  background: linear-gradient(145deg, #e9f4ff, #f0efff 52%, #fff1f4);
  box-shadow: var(--shadow-soft);
}

.migration-visual img {
  width: 1080px;
  max-width: none;
}

.feature-section {
  margin: 16px;
  padding: 168px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  background:
    radial-gradient(circle at 12% 18%, rgba(85, 199, 255, 0.15), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(216, 92, 123, 0.14), transparent 32%),
    linear-gradient(145deg, #151a2e, #0b1020 66%);
  color: #fff;
}

.feature-section .section-kicker,
.final-cta .section-kicker {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
  color: #dce4ff;
}

.section-heading.light > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.52);
}

.feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-matrix article {
  --symbol-rail-a: #5370ff;
  --symbol-rail-b: #2fc7ff;
  --symbol-accent: #177bd9;
  --symbol-soft: #eaf5ff;
  display: flex;
  min-height: 338px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease;
}

.feature-matrix article:nth-child(2) { --symbol-rail-a: #536dff; --symbol-rail-b: #6dcaff; --symbol-accent: #386bc0; --symbol-soft: #edf4ff; }
.feature-matrix article:nth-child(3) { --symbol-rail-a: #5869ff; --symbol-rail-b: #a471ff; --symbol-accent: #6257c7; --symbol-soft: #f0efff; }
.feature-matrix article:nth-child(4) { --symbol-rail-a: #277fff; --symbol-rail-b: #28c8ff; --symbol-accent: #087fc6; --symbol-soft: #e9f8ff; }
.feature-matrix article:nth-child(5) { --symbol-rail-a: #5669ee; --symbol-rail-b: #d66f9b; --symbol-accent: #76508c; --symbol-soft: #f8effa; }
.feature-matrix article:nth-child(6) { --symbol-rail-a: #298f9d; --symbol-rail-b: #54d1b8; --symbol-accent: #1d7775; --symbol-soft: #eaf8f5; }

.feature-matrix article:hover {
  border-color: rgba(146, 174, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.07);
  transform: translateY(-6px);
}

.feature-matrix .motion-symbol {
  flex: 0 0 auto;
}

.feature-matrix h3 {
  margin: 24px 0 16px;
  font-size: 27px;
  font-weight: 630;
  line-height: 1.2;
}

.feature-matrix ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.feature-matrix li {
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.55;
}

.feature-matrix a {
  align-self: flex-start;
  margin-top: auto;
  color: #a9c5ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.guide-promo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
  padding: 168px 0;
}

.guide-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cloud);
  box-shadow: 0 34px 90px rgba(20, 27, 45, 0.11), inset 0 1px #fff;
}

.guide-preview > div {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.guide-preview > div span {
  color: var(--crimson);
  font-family: var(--font);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.guide-preview > div i {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 10px;
  font-style: normal;
}

.guide-preview ol {
  margin: 0;
  padding: 18px 28px 24px;
  list-style: none;
}

.guide-preview li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.guide-preview li:last-child {
  border-bottom: 0;
}

.guide-preview em {
  color: var(--crimson);
  font-family: var(--font);
  font-size: 11px;
  font-style: normal;
}

.guide-preview b,
.guide-preview small {
  display: block;
}

.guide-preview small {
  margin-top: 3px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 176px 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(85, 199, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 80%, rgba(216, 92, 123, 0.15), transparent 32%),
    linear-gradient(145deg, #151a2e, #0b1020);
  color: #fff;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  top: -380px;
  left: 50%;
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 127, 255, 0.23), transparent 68%);
  content: "";
  transform: translateX(-50%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-inline: auto;
}

.final-cta h2 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 6.7vw, 6.5rem);
  font-weight: 670;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.final-cta p:not(.section-kicker) {
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 19px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 120px;
  padding: 28px max(24px, calc((100vw - var(--shell)) / 2));
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.site-footer-dark {
  border-color: var(--line-dark);
  background: var(--night);
  color: #fff;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* Guide */
.guide-page {
  background: #fff;
}

.guide-hero {
  padding: 156px 0 84px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%);
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: end;
}

.guide-hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 6vw, 6.8rem);
  font-weight: 790;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.guide-hero-copy > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.guide-search-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 27, 45, 0.07);
}

.guide-search-card > label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.guide-search-box {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #d9dde5;
  border-radius: 13px;
  background: #fbfcfd;
}

.guide-search-box:focus-within {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(75, 127, 255, 0.12);
}

.guide-search-box svg {
  width: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.guide-search-box input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.guide-search-box kbd,
.guide-preview kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-family: var(--font);
  font-size: 10px;
}

.guide-search-card > p {
  min-height: 20px;
  margin: 9px 2px 14px;
  color: var(--muted);
  font-size: 12px;
}

.guide-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.guide-shortcuts a {
  padding: 13px;
  border-radius: 11px;
  background: var(--cloud);
}

.guide-shortcuts span,
.guide-shortcuts b {
  display: block;
}

.guide-shortcuts span {
  color: var(--muted);
  font-size: 10px;
}

.guide-shortcuts b {
  margin-top: 3px;
  font-size: 12px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  padding: 82px 0 150px;
}

.guide-sidebar {
  position: sticky;
  top: 100px;
}

.guide-sidebar > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.guide-sidebar nav {
  display: grid;
}

.guide-sidebar nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.guide-sidebar nav a span {
  color: #a8adb6;
  font-family: var(--font);
  font-size: 9px;
}

.guide-sidebar nav a:hover,
.guide-sidebar nav a.is-current {
  background: var(--cloud);
  color: var(--ink);
}

.guide-sidebar nav a.is-current span {
  color: var(--crimson);
}

.guide-side-help {
  margin-top: 28px;
  padding: 17px;
  border-radius: 13px;
  background: var(--night);
  color: #fff;
}

.guide-side-help p {
  margin: 5px 0 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.guide-side-help a {
  color: #9eb9ff;
  font-size: 11px;
  font-weight: 800;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  padding: 0 0 96px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 96px;
}

.guide-section:last-of-type {
  margin-bottom: 0;
}

.guide-label {
  display: block;
  margin-bottom: 18px;
  color: var(--crimson);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-section > h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  font-weight: 760;
  line-height: 1.05;
}

.guide-section > h2 + p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.guide-section > h3 {
  margin: 46px 0 15px;
  font-size: 23px;
}

.guide-section > p:not(:first-of-type) {
  color: var(--muted);
}

.guide-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 34px 0;
  padding: 16px 18px;
  border: 1px solid #ffd2d9;
  border-radius: 13px;
  background: var(--crimson-soft);
}

.guide-path b {
  font-size: 13px;
}

.guide-path i {
  color: var(--crimson);
  font-style: normal;
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.guide-columns.three {
  grid-template-columns: repeat(3, 1fr);
}

.guide-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.guide-card > span {
  color: var(--crimson);
  font-family: var(--font);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.guide-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
}

.guide-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-list {
  margin: 20px 0 0;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 48px;
  padding: 14px 0 14px 48px;
  border-bottom: 1px solid var(--line);
  counter-increment: guide-step;
}

.step-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  content: counter(guide-step, decimal-leading-zero);
  font-family: var(--font);
  font-size: 9px;
}

.guide-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-table th,
.guide-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
}

.guide-table td {
  color: var(--muted);
}

.guide-table td:first-child {
  color: var(--ink);
  font-weight: 750;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--cloud);
  color: var(--crimson);
  font-family: var(--font);
  font-size: 0.88em;
}

.guide-callout {
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--signal);
  border-radius: 0 12px 12px 0;
  background: #f1f5ff;
  color: #39445a;
}

.guide-callout.warning {
  border-left-color: #f0a01a;
  background: #fff8e9;
}

.guide-callout a {
  color: var(--signal-deep);
  font-weight: 800;
}

.guide-empty {
  display: none;
  padding: 80px 20px;
  text-align: center;
}

.guide-empty.is-visible {
  display: block;
}

.guide-empty h2 {
  margin-bottom: 8px;
}

.guide-empty p {
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-night {
    min-height: auto;
  }

  .manifesto-copy {
    grid-template-columns: 0.5fr 1.5fr;
  }

  .manifesto-copy > p:last-child {
    grid-column: 2;
  }

  .chapter,
  .portability-grid,
  .guide-promo,
  .guide-hero-inner {
    gap: 54px;
  }

  .migration-visual {
    margin-right: -280px;
  }

  .guide-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 44px;
  }

  .guide-columns.three {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1.54fr);
    gap: 36px;
  }

  .gallery-tabs button {
    min-height: 180px;
    padding-right: 8px;
  }

  .gallery-tabs button > b {
    font-size: 19px;
  }

  .gallery-stage {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    height: 68px;
  }

  .site-header-dark .nav-shell {
    width: calc(100% - 24px);
    height: 56px;
    margin-top: 12px;
    padding: 0 8px 0 13px;
    border-radius: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(13, 16, 23, 0.98);
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  }

  .site-header-dark .site-nav {
    top: 80px;
  }

  .site-header-light .site-nav,
  .guide-page .site-nav {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a:not(.nav-cta) {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .locale-switch {
    width: max-content;
    margin: 10px 12px;
  }

  .hero-night {
    padding: 130px 16px 90px;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 13vw, 5.8rem);
  }

  html[lang="ko"] .hero-copy h1 {
    font-size: clamp(3.35rem, 12.5vw, 5.4rem);
  }

  .hero-product {
    margin-top: 60px;
  }

  .mac-menu-secondary {
    display: none;
  }

  .mac-menu-left {
    gap: 8px;
  }

  .mac-window {
    top: 44px;
    right: 2.2%;
    bottom: 12px;
    left: 2.2%;
  }

  .mac-titlebar {
    height: 36px;
  }

  .mac-window .motion-media {
    height: calc(100% - 36px);
  }

  .frame-bar {
    height: 36px;
  }

  .frame-bar span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .manifesto {
    padding: 120px 0 80px;
  }

  .manifesto-copy,
  .compact-heading,
  .chapter,
  .portability-grid,
  .guide-promo,
  .guide-hero-inner {
    grid-template-columns: 1fr;
  }

  .manifesto-copy,
  .compact-heading {
    gap: 22px;
  }

  .manifesto-copy > p:last-child {
    grid-column: auto;
  }

  .continuity-line {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .continuity-line li {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    padding: 16px 0 16px 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .continuity-line li::before {
    top: 24px;
    left: -4px;
  }

  .audience-section,
  .workflow-section,
  .collaboration-section,
  .portability-section,
  .feature-section {
    padding: 110px 0;
  }

  .audience-section,
  .workflow-section,
  .portability-section,
  .feature-section {
    margin-inline: 10px;
    border-radius: 38px;
  }

  .audience-grid,
  .feature-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter,
  .guide-promo {
    gap: 70px;
    padding: 110px 0;
  }

  .chapter-visual::before {
    inset: -20px 24px 20px -20px;
  }

  .gallery-panel figcaption {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery {
    display: block;
  }

  .gallery-tabs {
    position: static;
    flex-direction: row;
    gap: 4px;
    width: 100%;
    margin-bottom: 20px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid rgba(40, 32, 38, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(24, 24, 34, 0.06), inset 0 1px #fff;
    scrollbar-width: none;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tabs::before,
  .gallery-tabs::after,
  .gallery-tabs button::before,
  .gallery-tabs button::after {
    display: none;
  }

  .gallery-tabs button {
    flex: 0 0 200px;
    min-height: 96px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .gallery-tabs button:focus-visible {
    border-radius: 14px;
  }

  .gallery-tabs button > span {
    min-height: 22px;
    margin-bottom: 8px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .gallery-tabs button > b {
    font-size: 15px;
  }

  .gallery-tabs button > small {
    display: none;
  }

  .gallery-tabs button[aria-selected="true"] {
    background: #fff;
    box-shadow: 0 7px 18px rgba(24, 24, 34, 0.08);
  }

  .gallery-viewport {
    position: static;
  }

  .gallery-stage {
    min-height: 0;
  }

  .collaboration-grid,
  .evidence-card-wide {
    grid-template-columns: 1fr;
  }

  .evidence-card-wide figure {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .migration-visual {
    margin: 0;
  }

  .migration-visual img {
    width: 100%;
    max-width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }

  .guide-hero {
    padding-top: 126px;
  }

  .guide-hero-inner {
    gap: 50px;
  }

  .guide-layout {
    display: block;
    padding-top: 44px;
  }

  .guide-sidebar {
    position: static;
    margin-bottom: 72px;
  }

  .guide-sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-side-help {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hero-night {
    padding-top: 116px;
  }

  .hero-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(3.15rem, 14.4vw, 4.1rem);
    line-height: 0.98;
  }

  html[lang="ko"] .hero-copy h1 {
    font-size: clamp(3rem, 13.6vw, 3.85rem);
  }

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

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-fine {
    display: none;
  }

  .hero-product {
    margin-top: 42px;
  }

  .product-frame {
    --product-radius: 18px;
    border-radius: var(--product-radius);
    transform: none;
  }

  .live-product-frame {
    aspect-ratio: 4 / 3;
  }

  .mac-menu-bar {
    height: 24px;
    padding: 0 8px;
    font-size: 7px;
  }

  .mac-apple {
    font-size: 10px;
  }

  .mac-menu-right {
    gap: 6px;
  }

  .mac-system-icons {
    gap: 6px;
    transform: scale(0.78);
    transform-origin: right center;
  }

  .mac-clock {
    min-width: 74px;
  }

  .mac-window {
    --mac-window-radius: 11px;
    top: 33px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    border-radius: var(--mac-window-radius);
  }

  .mac-titlebar {
    height: 30px;
    padding: 0 8px;
  }

  .mac-traffic-lights {
    gap: 5px;
  }

  .mac-traffic-lights i {
    width: 9px;
    height: 9px;
  }

  .mac-window-title {
    gap: 5px;
    max-width: 58%;
  }

  .mac-window-title img {
    width: 14px;
    height: 14px;
    border-radius: 4px;
  }

  .mac-window-title span {
    font-size: 9px;
  }

  .mac-window-title em,
  .mac-window-live span {
    display: none;
  }

  .mac-window-live i {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(49, 197, 107, 0.12);
  }

  .mac-window .motion-media {
    height: calc(100% - 30px);
  }

  .frame-bar {
    grid-template-columns: 7px 7px 7px 1fr;
    gap: 5px;
    padding: 0 10px;
  }

  .frame-bar i {
    width: 6px;
    height: 6px;
  }

  .frame-bar em,
  .hero-product figcaption {
    display: none;
  }

  .motion-control {
    right: 10px;
    bottom: 10px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 11px;
  }

  .motion-media {
    aspect-ratio: 4 / 3;
  }

  .manifesto-copy h2,
  .compact-heading h2,
  .chapter-copy h2,
  .section-heading h2,
  .portability-copy h2,
  .guide-promo-copy h2 {
    font-size: 2.55rem;
  }

  .audience-grid,
  .feature-matrix {
    grid-template-columns: 1fr;
  }

  .audience-grid article {
    min-height: 218px;
    padding: 24px;
  }

  .motion-symbol {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .motion-symbol::before {
    border-radius: 16px;
  }

  .motion-symbol svg {
    width: 38px;
    height: 38px;
  }

  .motion-symbol[data-glyph-ready="true"] {
    width: 70px;
    height: 70px;
    border-radius: 23px;
  }

  .motion-symbol[data-glyph-ready="true"]::before {
    inset: 6px;
    border-radius: 18px;
  }

  .motion-symbol[data-glyph-ready="true"] .living-glyph {
    width: 56px;
    height: 56px;
  }

  .audience-grid h3,
  .feature-matrix h3 {
    margin-top: 22px;
  }

  .audience-section,
  .workflow-section,
  .portability-section,
  .feature-section {
    margin-inline: 6px;
    border-radius: 30px;
  }

  .gallery-stage {
    --gallery-radius: 24px;
    padding: 52px 9px 9px;
    border-radius: var(--gallery-radius);
  }

  .gallery-windowbar {
    height: 40px;
    padding-inline: 12px;
  }

  .gallery-windowbar b {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-panel img {
    border-radius: 15px;
  }

  .gallery-panel figcaption {
    margin-top: 9px;
    padding: 17px;
    border-radius: 16px;
  }

  .gallery-panel figcaption b {
    font-size: 17px;
  }

  .gallery-panel figcaption p {
    font-size: 12px;
  }

  .gallery-scrubber {
    grid-template-columns: 1fr auto;
    gap: 9px 12px;
    padding: 12px;
    border-radius: 15px;
  }

  .gallery-scrubber label {
    grid-column: 1 / -1;
  }

  .gallery-scrubber output {
    min-width: 72px;
  }

  .collaboration-grid {
    display: block;
  }

  .evidence-card,
  .signal-card {
    margin-bottom: 16px;
    border-radius: 18px;
  }

  .evidence-card > div,
  .signal-card {
    padding: 24px;
  }

  .feature-matrix article {
    min-height: 318px;
    border-radius: 24px;
  }

  .guide-preview > div {
    grid-template-columns: 1fr auto;
  }

  .guide-preview > div span {
    grid-column: 1 / -1;
  }

  .final-cta {
    padding: 130px 16px;
  }

  .final-cta h2 {
    font-size: 4rem;
  }

  .site-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .guide-hero-copy h1 {
    font-size: 3.6rem;
  }

  .guide-search-card {
    padding: 18px;
  }

  .guide-search-box kbd {
    display: none;
  }

  .guide-search-box {
    grid-template-columns: 20px 1fr;
  }

  .guide-shortcuts,
  .guide-sidebar nav,
  .guide-columns,
  .guide-columns.three {
    grid-template-columns: 1fr;
  }

  .guide-section {
    margin-bottom: 68px;
    padding-bottom: 68px;
  }

  .guide-section > h2 {
    font-size: 2.65rem;
  }

  .guide-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .guide-table th,
  .guide-table td {
    min-width: 140px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .motion-symbol {
    --motion-state: paused;
  }

  .motion-symbol [class*="symbol-"] {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }

  .motion-symbol[data-glyph-ready="true"] .living-glyph,
  .motion-symbol[data-glyph-ready="true"] [class*="glyph-"] {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }

  .fine-symbol {
    --fine-motion-state: paused;
  }

  .fine-symbol [class*="fine-"] {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

/* 두 번째 장은 그림을 왼쪽에 — 같은 판이 두 번 반복되면 눈이 미끄러진다. */
.chapter-flip { grid-template-columns: 1.22fr 0.78fr; }
.chapter-flip .chapter-visual { order: -1; }
@media (max-width: 900px) { .chapter-flip .chapter-visual { order: 0; } }

.code-sample {
  margin: 22px 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--night);
  color: #dfe3f2;
  font: 500 13px/1.6 var(--font);
  overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.code-sample code { font: inherit; color: inherit; background: none; padding: 0; border: 0; box-shadow: none; border-radius: 0; }
.proof-list code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--cloud);
  font: 600 0.92em/1 var(--font);
  color: var(--ink);
}

/* Crimson launch film: the icon's three reds carry the opening composition. */
.landing-page .site-header-dark .nav-shell {
  background: rgba(25, 14, 19, 0.88);
  border-color: rgba(245, 220, 227, 0.16);
}

.hero-night {
  display: grid;
  align-items: center;
  min-height: 780px;
  padding: 158px 40px 96px;
  background: radial-gradient(ellipse at 82% 40%, #49212d 0, transparent 53%), #190e13;
  border-radius: 0 0 40px 40px;
}

.hero-night::before,
.hero-night::after,
.hero-aura {
  display: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1420px;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  text-align: left;
}

.hero-copy .eyebrow {
  padding: 0;
  margin-bottom: 26px;
  border: 0;
  background: none;
  box-shadow: none;
  color: #dea1ae;
  font-size: 10px;
}

.hero-copy h1,
html[lang="ko"] .hero-copy h1 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(42px, 4.1vw, 64px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.hero-copy h1 span {
  color: #ed8c9f;
}

.hero-copy .hero-lede {
  max-width: 480px;
  margin: 0 0 30px;
  color: #d1bec5;
  font-size: 16px;
  line-height: 1.8;
}

.hero-copy .hero-actions,
.hero-copy .hero-fine {
  justify-content: flex-start;
}

.hero-copy .hero-actions {
  gap: 10px;
}

.hero-copy .button {
  min-height: 48px;
  padding-inline: 17px;
  font-size: 13px;
  border-radius: 12px;
}

.hero-copy .button-ghost {
  background: transparent;
  border-color: #79545f;
}

.hero-copy .hero-fine {
  gap: 8px 15px;
  margin-top: 24px;
  font-size: 11px;
  color: #cec6ca;
}

.hero-copy .fine-symbol {
  color: #e6dbe0;
  box-shadow: inset 0 1px #ffffff20;
}

.launch-cinema {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.film-shell {
  overflow: hidden;
  border: 1px solid #e5bdca30;
  border-radius: 22px;
  background: #24131b;
  box-shadow: 0 35px 95px -30px #090306b3, 0 1px 0 #ffffff12 inset;
}

.launch-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #190e13;
}

.film-progress {
  height: 2px;
  background: #6f3a493d;
}

.film-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #ed8c9f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms linear;
}

.film-toolbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 14px;
}

.js .film-toolbar { display: flex; }

html:not(.js) .motion-control { display: none; }

.film-chapters {
  display: flex;
  align-items: center;
  gap: 4px;
}

.film-chapters button,
.film-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c9b3bb;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
}

.film-chapters button[aria-pressed="true"] {
  background: #c92a4426;
  color: #f5b7c4;
}

.film-chapters button:hover,
.film-toggle:hover {
  color: #fff;
  background: #ffffff0d;
}

.film-toggle {
  gap: 8px;
  color: #f5e9ed;
  white-space: nowrap;
}

.film-toggle .motion-control-icon,
.film-toggle.is-paused .motion-control-icon {
  color: #ed8c9f;
}

.launch-cinema figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 5px 0;
  color: #b396a0;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.proof-product {
  max-width: 1080px;
  margin: 0 auto 64px;
}

.proof-product::before {
  display: none;
}

.proof-product figcaption {
  color: var(--muted);
  flex-wrap: wrap;
  text-align: center;
}

.proof-product figcaption b {
  color: var(--ink);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-night { padding-inline: 28px; min-height: 740px; }
  .hero-copy .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .hero-night { min-height: auto; padding: 128px 28px 64px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 38px; max-width: 700px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, html[lang="ko"] .hero-copy h1 { font-size: clamp(42px, 7.6vw, 62px); }
  .hero-copy .hero-lede { max-width: 520px; margin-inline: auto; }
  .hero-copy .hero-actions, .hero-copy .hero-fine { justify-content: center; }
}

@media (max-width: 560px) {
  .hero-night { padding: 112px 20px 46px; border-radius: 0 0 26px 26px; }
  .hero-inner { gap: 28px; }
  .hero-copy .eyebrow { margin-bottom: 20px; font-size: 9px; }
  .hero-copy h1, html[lang="ko"] .hero-copy h1 { margin-bottom: 20px; font-size: clamp(34px, 10.5vw, 48px); line-height: 1.15; }
  .hero-copy .hero-lede { margin-bottom: 22px; max-width: 370px; font-size: 14px; line-height: 1.7; }
  .hero-copy .hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .hero-copy .button { width: auto; min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .hero-copy .hero-fine { display: none; }
  .film-shell { border-radius: 14px; }
  .film-toolbar { padding: 4px; gap: 0; }
  .film-chapters { gap: 0; }
  .film-chapters button, .film-toggle { padding-inline: 9px; font-size: 10px; }
  .film-toggle { gap: 5px; }
  .launch-cinema figcaption { padding-top: 12px; font-size: 8px; }
  .proof-product { margin-bottom: 38px; }
  .chapter-visual figcaption { display: grid; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .film-progress span { transition: none; }
}

/* ==========================================================================
   Multi-page site (commonnote.app) — 2026-09-27
   소개 사이트를 여러 페이지로 나누며 더한 부품. 기존 규칙은 건드리지 않고
   여기서만 덧붙인다. 규칙 설명은 /styleguide.
   ========================================================================== */

html[lang="ko"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 서버가 <html data-auth="in|out"> 을 정한다. 두 벌 중 하나만 보인다. */
html[data-auth="out"] .auth-in,
html[data-auth="in"] .auth-out {
  display: none !important;
}

.nav-login {
  opacity: 0.8;
}

.site-nav > a[aria-current="page"]:not(.nav-cta) {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}

/* ---- page hero (inner pages) ---- */
.page-hero {
  padding: 150px 0 72px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f6f7fb 0%, var(--paper) 100%);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 5.4vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.page-hero-compact h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
}

.page-lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

.page-lede a,
.legal-body a,
.download-note a,
.support-card a:not(.button),
.trust-list a,
.trust-block p a,
.faq-list a,
.pricing-fine a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero-dark {
  padding: 168px 0 96px;
  border: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(85, 199, 255, 0.12), transparent 30%),
    radial-gradient(circle at 84% 70%, rgba(216, 92, 123, 0.16), transparent 34%),
    linear-gradient(160deg, #151a2e, var(--night));
  color: #fff;
}

.page-hero-dark h1 span {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero-dark .page-lede {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .hero-actions {
  margin-top: 30px;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.chip-nav a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 650;
  transition: background 160ms ease;
}

.chip-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.chip-nav-light a {
  border-color: var(--line);
  background: #fff;
  color: var(--ink-2);
}

.chip-nav-light a:hover {
  background: var(--cloud);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.section-shell > .section-cta,
.collaboration-section > .section-cta {
  justify-content: center;
  margin: 48px 0 0;
}

.workflow-section .section-cta {
  justify-content: center;
  padding-bottom: 12px;
}

.cta-note {
  margin: 22px 0 0 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px !important;
}

/* ---- home tour ---- */
.tour-section {
  padding: 120px 0 40px;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px -30px rgba(23, 24, 36, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 26px 60px -30px rgba(23, 24, 36, 0.45);
}

.tour-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tour-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.tour-card-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.tour-card-wide img {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.tour-kicker {
  color: var(--crimson);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.tour-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 720;
}

/* ---- news strip / board ---- */
.news-strip {
  padding: 96px 0;
}

.news-strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.news-strip-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.news-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-strip .news-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.news-card a:hover {
  border-color: #c9ceda;
  transform: translateY(-2px);
}

.news-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
}

.news-chip-notice {
  border-color: rgba(165, 28, 48, 0.2);
  background: var(--crimson-soft);
  color: var(--crimson);
}

.news-pin {
  color: var(--crimson);
  font-weight: 700;
}

.news-board {
  padding: 48px 0 120px;
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.news-filter a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
}

.news-filter a[aria-current="page"] {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.news-empty {
  padding: 48px 0;
  color: var(--muted);
}

.news-article {
  max-width: 760px !important;
  padding: 140px 0 120px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.news-article h1 {
  margin: 12px 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.post-body {
  margin-top: 34px;
  font-size: 17px;
  line-height: 1.8;
}

.post-body h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.post-body h3 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.post-body a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--cloud);
  font-size: 0.9em;
}

.post-body pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--night);
  color: #e8ebf6;
  font-size: 14px;
}

.post-body pre code {
  padding: 0;
  background: none;
}

.post-body img {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.post-body blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 1px solid var(--line);
  color: var(--ink-2);
}

.news-article-foot {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
}

.post-nav a small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.post-nav .post-next {
  grid-column: 2;
  text-align: right;
}

.news-article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: 18px;
  background: var(--cloud);
}

.news-article-cta p {
  flex: 1 1 200px;
  margin: 0;
  font-weight: 700;
}

/* ---- pricing ---- */
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.billing-toggle button {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--night);
  color: #fff;
}

.billing-toggle em {
  margin-left: 6px;
  color: var(--crimson);
  font-size: 12px;
  font-style: normal;
}

.billing-toggle button[aria-pressed="true"] em {
  color: #ffb3c0;
}

.pricing-status {
  width: min(calc(100% - 48px), var(--shell));
  margin: 32px auto 0;
  padding: 16px 20px;
  border: 1px solid rgba(165, 28, 48, 0.2);
  border-radius: 16px;
  background: var(--crimson-soft);
  color: var(--ink-2);
  font-weight: 600;
}

.pricing-status a {
  color: var(--crimson);
  text-decoration: underline;
}

.pricing-section {
  padding: 56px 0 40px;
}

.pricing-group-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.plan-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.plan-card.is-featured {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(165, 28, 48, 0.08), 0 24px 50px -32px rgba(165, 28, 48, 0.5);
}

.plan-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 720;
}

.plan-badge {
  position: absolute;
  top: 22px;
  right: 20px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--crimson);
  color: #fff;
  font-size: 11px;
  font-weight: 760;
}

.plan-storage {
  margin: 0;
  font-size: 30px;
  font-weight: 760;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-height: 30px;
  margin: 0;
  font-size: 20px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.plan-price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

[data-billing-interval="month"] .price-year,
[data-billing-interval="year"] .price-month {
  display: none !important;
}

.plan-points {
  display: grid;
  gap: 6px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
}

.plan-points li::before {
  margin-right: 8px;
  color: var(--crimson);
  content: "✓";
}

.plan-card .button {
  margin-top: auto;
  min-height: 46px;
}

.pricing-fine {
  max-width: 860px;
  color: var(--muted);
  font-size: 13px;
}

.included-section,
.faq-section {
  padding: 72px 0;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 36px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
  list-style: none;
}

.included-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: #fff;
}

.included-grid span {
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin-top: 32px;
}

.faq-list details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq-list summary {
  font-weight: 720;
  cursor: pointer;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--ink-2);
}

/* ---- download ---- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 56px 0 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.download-card-featured {
  border-color: rgba(165, 28, 48, 0.4);
  box-shadow: 0 24px 50px -34px rgba(165, 28, 48, 0.55);
}

.download-card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.download-card > p {
  margin: 0;
  color: var(--ink-2);
}

.download-platform {
  color: var(--crimson);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.download-note {
  color: var(--muted) !important;
  font-size: 13px;
}

.button.is-disabled {
  cursor: default;
  opacity: 0.6;
  transform: none;
}

.requirements,
.contact-panel {
  padding: 48px 0 110px;
}

.requirements h2 {
  margin: 0 0 20px;
  font-size: 22px;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-weight: 720;
}

.spec-list dd {
  margin: 0;
  color: var(--ink-2);
}

/* ---- security ---- */
.trust-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 56px 0 110px;
}

.trust-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.trust-block h2 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: grid;
  gap: 3px;
}

.trust-list span {
  color: var(--ink-2);
  font-size: 15px;
}

.trust-block-accent {
  background: var(--crimson-soft);
  border-color: rgba(165, 28, 48, 0.18);
}

/* ---- legal ---- */
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  padding: 56px 0 120px;
}

.legal-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  font-size: 13.5px;
}

.legal-toc ol {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-body {
  min-width: 0;
  max-width: 820px;
}

.legal-body h2 {
  margin: 48px 0 14px;
  font-size: 22px;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.legal-body h2:first-of-type {
  margin-top: 32px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-intro {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--cloud);
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--cloud);
  font-weight: 720;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.legal-history {
  margin-top: 16px;
  padding: 16px 16px 16px 34px;
  border-radius: 14px;
  background: var(--cloud);
  color: var(--muted);
  font-size: 14px;
}

/* ---- support ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 56px 0 24px;
}

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.support-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

.support-card p {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.contact-action {
  padding: 28px;
  border-radius: 20px;
  background: var(--night);
  color: #fff;
}

.contact-action p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---- footer (rich) ---- */
.site-footer-rich {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.site-footer-rich nav {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.site-footer-rich nav b {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-rich nav a {
  opacity: 0.85;
}

.site-footer-rich nav a:hover {
  opacity: 1;
}

.footer-brand-col p {
  margin-top: 12px;
}

.footer-operator {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.footer-operator a {
  text-decoration: underline;
}

.site-footer-rich small {
  grid-column: 1 / -1;
}

/* ---- styleguide ---- */
.sg-layout {
  display: grid;
  gap: 18px;
  padding: 48px 0 120px;
}

.sg-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.sg-block h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.sg-sitemap ul {
  margin: 0;
  padding-left: 20px;
  line-height: 2;
}

.sg-sitemap em {
  margin-left: 8px;
  color: var(--crimson);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.sg-wires {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sg-wire {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border: 1px dashed #c9ceda;
  border-radius: 14px;
}

.sg-wire figcaption {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 760;
}

.wf {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--cloud);
  color: var(--ink-2);
  font-size: 12px;
}

.wf-dark {
  background: #2a2f45;
  color: #e4e8f6;
}

.wf-tall {
  padding: 22px 10px;
}

.wf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 4px;
  padding: 4px;
  background: transparent;
}

.wf-grid span {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.wf-foot {
  background: #1b1f33;
  color: #aab2cf;
}

.sg-swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.sg-swatches div {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}

.sg-swatches i {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.sw-night { background: var(--night); }
.sw-paper { background: var(--paper); border: 1px solid var(--line); }
.sw-ink { background: var(--ink); }
.sw-muted { background: var(--muted); }
.sw-line { background: var(--line); }
.sw-crimson { background: var(--crimson); }

.sg-swatches span {
  color: var(--muted);
  font-size: 12.5px;
}

.sg-type-h1 {
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 670;
  letter-spacing: -0.045em;
}

.sg-type-h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.sg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sg-row .section-kicker {
  margin: 0;
}

.not-found {
  min-height: 70vh;
}

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .tour-grid,
  .plan-grid,
  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-card-wide {
    grid-row: auto;
  }

  .download-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sg-wires {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .page-hero {
    padding: 112px 0 48px;
  }

  .page-hero-dark {
    padding: 124px 0 64px;
  }

  .news-strip .news-list,
  .download-grid,
  .support-grid,
  .trust-layout,
  .contact-panel,
  .sg-wires,
  .sg-swatches {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--cloud);
  }

  .site-footer-rich {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .spec-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-strip-head {
    flex-direction: column;
    align-items: start;
  }

  .nav-login {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .tour-grid,
  .plan-grid,
  .plan-grid-2,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .tour-card-wide {
    grid-column: auto;
  }

  .tour-section,
  .news-strip {
    padding: 72px 0 24px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .post-next {
    grid-column: auto;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
  }
}
