/* 点彩小站 · yorin.cn
   纯静态站点样式，无外部依赖（不引用任何 CDN / 字体服务）。 */

/* ---------- tokens ---------- */
:root {
  --paper: #faf9f5;
  --paper-2: #f1efe8;
  --card: #ffffff;
  --ink: #1b1f2a;
  --ink-2: #4b5163;
  --ink-3: #868da0;
  --line: rgba(27, 31, 42, 0.1);
  --line-strong: rgba(27, 31, 42, 0.16);

  --mint: #58d6b0;
  --cyan: #57bfe3;
  --violet: #9b7de6;
  --orange: #fba96f;
  --rose: #f08a9a;

  --dark: #161a22;
  --dark-2: #1e2430;
  --dark-ink: #eef1f6;
  --dark-ink-3: #8d95a8;

  --max: 1120px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 33, 0.05), 0 8px 20px -12px rgba(20, 24, 33, 0.18);
  --shadow-md: 0 2px 4px rgba(20, 24, 33, 0.04), 0 24px 50px -28px rgba(20, 24, 33, 0.35);

  --sans: -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Consolas,
    "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

::selection {
  background: rgba(88, 214, 176, 0.35);
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 108px 0;
  position: relative;
}
.section--tight {
  padding: 72px 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}

.lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.brand small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 400;
  padding-left: 8px;
  border-left: 1px solid var(--line-strong);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27, 31, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 31, 42, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(75% 65% at 62% 32%, #000 0%, transparent 78%);
  mask-image: radial-gradient(75% 65% at 62% 32%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 22px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--mint), var(--cyan) 46%, var(--violet) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(27, 31, 42, 0.8);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(27, 31, 42, 0.75);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--mint);
}
.hero-meta span:nth-child(2)::before {
  background: var(--cyan);
}
.hero-meta span:nth-child(3)::before {
  background: var(--violet);
}

/* hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(88, 214, 176, 0.28), transparent 68%);
  filter: blur(18px);
  z-index: 0;
}

.shot {
  position: relative;
  z-index: 1;
  width: 316px;
  border-radius: 30px;
  border: 1px solid rgba(20, 24, 33, 0.09);
  background: #fff;
  box-shadow: 0 40px 70px -34px rgba(20, 24, 33, 0.5), 0 4px 10px rgba(20, 24, 33, 0.06);
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hero-visual:hover .shot {
  transform: rotate(0deg) translateY(-4px);
}

.pixel-float {
  position: absolute;
  border-radius: 3px;
  z-index: 0;
  animation: drift 9s ease-in-out infinite;
}
.pixel-float:nth-child(2) {
  animation-delay: -3s;
}
.pixel-float:nth-child(3) {
  animation-delay: -6s;
}
.pixel-float:nth-child(4) {
  animation-delay: -1.5s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 30px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat b {
  display: block;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.stat span {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card h3 {
  font-size: 17px;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.icon-px {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 7px;
  background: var(--paper-2);
}
.icon-px i {
  border-radius: 1.5px;
  background: var(--mint);
}
.icon-px i:nth-child(2) {
  background: var(--cyan);
  opacity: 0.75;
}
.icon-px i:nth-child(3) {
  background: var(--violet);
  opacity: 0.65;
}
.icon-px i:nth-child(4) {
  background: var(--orange);
  opacity: 0.7;
}

/* ---------- bead (dark) ---------- */
.bead {
  background: var(--dark);
  color: var(--dark-ink);
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}
.bead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 20% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 20% 20%, #000, transparent 75%);
  pointer-events: none;
}
.bead .eyebrow {
  color: var(--dark-ink-3);
}
.bead .h2 {
  color: var(--dark-ink);
}
.bead .lede {
  color: var(--dark-ink-3);
}
.bead-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 64px;
  align-items: center;
}
.steps {
  display: grid;
  gap: 2px;
  margin-top: 38px;
}
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.step b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mint);
  padding-top: 3px;
}
.step h4 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 600;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--dark-ink-3);
  line-height: 1.7;
}

.bead-visual {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.bead-visual .shot {
  width: 232px;
  transform: rotate(2deg);
  border-color: rgba(255, 255, 255, 0.1);
}
.bead-visual .shot:last-child {
  width: 214px;
  transform: rotate(-3deg) translateY(26px);
}

/* ---------- gallery ---------- */
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.rail-nav {
  display: flex;
  gap: 8px;
}
.rail-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-2);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.rail-nav button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 24px 26px;
  margin: 0 -24px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail figure {
  flex: 0 0 auto;
  width: 236px;
  margin: 0;
  scroll-snap-align: start;
}
.rail img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rail figure:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.rail figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- devices ---------- */
.devices {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.device-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.device-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.device-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--cyan);
}
.device-list li:nth-child(2)::before {
  background: var(--violet);
}
.device-list li:nth-child(3)::before {
  background: var(--orange);
}
.device-list strong {
  color: var(--ink);
}
.tablet-shot {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #fff;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.devices:hover .tablet-shot {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan--pro {
  background: linear-gradient(180deg, #fff, #fbfaff);
  border-color: rgba(155, 125, 230, 0.35);
}
.plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.plan h3 {
  margin: 0;
  font-size: 19px;
}
.plan .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--violet);
  border: 1px solid rgba(155, 125, 230, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
}
.plan .price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 6px 0 18px;
}
.plan .price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 10px;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.plan li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}
.plan li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, 0.6fr));
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 34ch;
  margin: 14px 0 0;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 4px 0 14px;
  font-weight: 400;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: #5d6474;
  border-bottom: 1px dotted var(--line-strong);
}
.footer-bottom a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- prose (privacy / terms / about) ---------- */
.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  line-height: 1.25;
}
.page-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.prose {
  max-width: 760px;
  padding: 48px 0 96px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.prose h2 {
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  padding-top: 8px;
}
.prose h2:first-of-type {
  margin-top: 8px;
}
.prose h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 28px 0 10px;
}
.prose p {
  margin: 0 0 14px;
}
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 8px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: #2f7fd1;
  border-bottom: 1px solid rgba(47, 127, 209, 0.3);
}
.prose a:hover {
  border-bottom-color: #2f7fd1;
}
.prose .callout {
  background: #f3f8f6;
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px;
  margin: 20px 0 24px;
  color: var(--ink-2);
}
.prose .callout p:last-child {
  margin-bottom: 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 13.5px;
  line-height: 1.65;
}
.prose th,
.prose td {
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--paper-2);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.prose .doc-foot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.doc-toc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 0 0 40px;
  background: #fff;
}
.doc-toc h4 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  font-weight: 400;
  text-transform: uppercase;
}
.doc-toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 28px;
  font-size: 13.5px;
}
.doc-toc li {
  margin-bottom: 4px;
}
.doc-toc a {
  color: var(--ink-2);
}
.doc-toc a:hover {
  color: var(--ink);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .bead-grid,
  .devices {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .hero-visual {
    min-height: 0;
    order: -1;
  }
  .hero-visual::before {
    width: 320px;
    height: 320px;
  }
  .shot {
    width: 240px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .section {
    padding: 76px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .bead-visual .shot {
    width: 200px;
  }
  .bead-visual .shot:last-child {
    width: 186px;
  }
  .tablet-shot {
    transform: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 18px;
  }
  .nav {
    height: 60px;
    gap: 14px;
  }
  .brand small {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
  .hero-title {
    letter-spacing: -0.03em;
  }
  .feature-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .section-head .lede {
    margin-top: 12px;
  }
  .rail {
    padding-left: 18px;
    padding-right: 18px;
    margin: 0 -18px;
  }
  .rail figure {
    width: 200px;
  }
  .bead-visual {
    gap: 10px;
  }
  .bead-visual .shot {
    width: 46%;
  }
  .bead-visual .shot:last-child {
    width: 42%;
    transform: rotate(-2deg) translateY(14px);
  }
  .doc-toc ol {
    columns: 1;
  }
  .prose {
    font-size: 15px;
  }
  .prose th {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .rail-nav,
  .hero-visual,
  .btn {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .prose {
    max-width: none;
    padding: 0;
  }
}
