/* ============================================================
   Iris — Official site
   Palette derived from the product UI: deep green-black + muted green
   ============================================================ */

/* ---------- webfonts ----------
   Latin + digits: Geist (variable).  CJK: Resource Han Rounded.
   The browser walks the stack glyph by glyph, so Chinese lands on Han Rounded
   and Latin/numerals stay on Geist without any unicode-range gymnastics. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2-variations"),
    url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Han Rounded";
  src: url("../fonts/han-rounded-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Han Rounded";
  src: url("../fonts/han-rounded-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Display caps for the hero watermark — the same face the desktop app sets its
   "IRIS AGENT" splash in, so the site echoes the product exactly. */
@font-face {
  font-family: "Collapse";
  src: url("../fonts/collapse-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  /* `block`, not `swap`: at 17vw the fallback flash would be a very loud
     typeface change right in the middle of the hero. */
  font-display: block;
}

:root {
  --bg: #080c0a;
  --bg-raise: #0b110e;
  --panel: #0f1613;
  --panel-2: #121a16;
  --line: rgba(var(--ink), 0.075);
  --line-strong: rgba(var(--ink), 0.14);
  --text: #e9efeb;
  --text-2: #aab6b0;
  --text-3: #7d8b84;
  --accent: #4f9e5e;
  --accent-bright: #6cc07c;
  --accent-dim: rgba(79, 158, 94, 0.14);
  --accent-line: rgba(79, 158, 94, 0.38);
  /* channels used for translucent overlays / shadows, flipped per theme */
  --ink: 255, 255, 255;
  --shade: 0, 0, 0;
  --header-bg: rgba(8, 12, 10, 0.82);
  --warn: #d8b46a;
  --radius: 14px;
  --radius-sm: 9px;
  --container: 1160px;
  --sans: "Geist", "Han Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  /* no serif in the type system any more: display = Geist + Han Rounded */
  --display: "Geist", "Han Rounded", -apple-system, "PingFang SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono",
    Consolas, monospace;
  --serif: var(--display);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(79, 158, 94, 0.32);
  color: #fff;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
}

p {
  margin: 0;
}

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 112px 0;
  position: relative;
}

.section--tight {
  padding: 76px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-line);
}

.section-head--center .eyebrow::before {
  display: none;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
}

.section-desc {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.7;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: 0;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 74px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-stuck {
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(var(--ink), 0.12);
}

[data-theme="light"] .brand-mark {
  box-shadow: 0 0 0 1px rgba(var(--shade), 0.1), 0 1px 2px rgba(var(--shade), 0.08);
}

.brand span small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  font-weight: 400;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 6px;
}

.nav a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
  position: relative;
}

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

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -27px;
  height: 1px;
  background: var(--accent);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-gh {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}

.header-gh:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(var(--ink), 0.03);
}

.header-gh svg {
  width: 15px;
  height: 15px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn--primary {
  background: var(--accent);
  color: #05110a;
  box-shadow: 0 1px 0 rgba(var(--ink), 0.18) inset, 0 8px 26px rgba(79, 158, 94, 0.22);
}

.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(var(--ink), 0.2) inset, 0 12px 34px rgba(79, 158, 94, 0.3);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(var(--ink), 0.02);
}

.btn--ghost:hover {
  border-color: rgba(var(--ink), 0.26);
  background: rgba(var(--ink), 0.05);
  transform: translateY(-1px);
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn--block {
  width: 100%;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 158px 0 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image: linear-gradient(to right, rgba(var(--ink), 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink), 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 22%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 22%, #000 20%, transparent 78%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(circle at 50% 50%, rgba(79, 158, 94, 0.2), transparent 62%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Oversized "IRIS AGENT" set behind the headline — the site echo of the app's
   empty-state splash. It is deliberately wider than the viewport and cropped by
   `.hero`'s overflow, the way the product's own lettering runs off the window. */
.hero-head {
  position: relative;
}

.hero-wordmark {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 100vw;
  font-family: "Collapse", var(--display);
  font-weight: 700;
  font-size: clamp(52px, 17.2vw, 420px);
  line-height: 0.82;
  letter-spacing: 0.012em;
  white-space: nowrap;
  text-align: center;
  color: var(--wordmark);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-head > .hero-badge,
.hero-head > h1,
.hero-head > .hero-sub {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: rgba(var(--ink), 0.025);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 30px;
}

.hero-badge b {
  color: var(--text);
  font-weight: 550;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(108, 192, 124, 0.18);
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(108, 192, 124, 0.16);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(108, 192, 124, 0.04);
  }
}

.hero h1 {
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 550;
  letter-spacing: 0.005em;
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}

.hero-cta {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px 26px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ---------- window frame / screenshots ---------- */

.shot {
  position: relative;
  z-index: 2;
  margin-top: 72px;
}

.shot-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(var(--ink), 0.1);
  background: var(--frame-grad);
  padding: 8px;
  box-shadow: 0 40px 120px -40px rgba(var(--shade), 0.9), 0 0 0 1px rgba(var(--shade), 0.5),
    0 1px 0 rgba(var(--ink), 0.07) inset;
}

.shot-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(108, 192, 124, 0.28), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.shot-frame img {
  border-radius: 9px;
  width: 100%;
  height: auto;
}

.shot-caption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* ---------- capability cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--bg-raise);
  padding: 30px 26px 32px;
  transition: background 0.25s var(--ease);
  position: relative;
}

.card:hover {
  background: var(--panel);
}

.card:hover .card-icon {
  color: var(--accent-bright);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  margin-bottom: 20px;
  transition: all 0.25s var(--ease);
}

.card-icon svg {
  width: 17px;
  height: 17px;
}

.card h3 {
  font-size: 16.5px;
  margin-bottom: 9px;
}

.card p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-3);
}

.card-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* ---------- feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type {
  border-top: 0;
}

.feature--flip {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature--flip .feature-copy {
  order: 2;
}

.feature-copy h3 {
  font-size: clamp(24px, 2.6vw, 31px);
  letter-spacing: -0.028em;
  margin-bottom: 16px;
}

.feature-copy p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.75;
}

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

.feature-list li {
  display: flex;
  gap: 11px;
  font-size: 14.2px;
  color: var(--text-2);
  line-height: 1.6;
}

.feature-list svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--accent);
}

.feature-shot {
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 6px;
  box-shadow: 0 30px 80px -40px rgba(var(--shade), 1);
}

.feature-shot img {
  border-radius: 8px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--accent-bright);
  border-bottom: 1px solid transparent;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-arrow:hover {
  gap: 11px;
  border-bottom-color: var(--accent-line);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 38px 12px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--stat-num);
}

.stat span {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ---------- pricing ---------- */

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

.billing {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-raise);
  position: relative;
}

.billing button {
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 100px;
  transition: color 0.2s var(--ease);
}

.billing button.is-on {
  color: var(--text);
}

.billing .pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 100px;
  background: rgba(var(--ink), 0.07);
  border: 1px solid var(--line-strong);
  transition: transform 0.32s var(--ease), width 0.32s var(--ease);
  z-index: 1;
}

.billing .save {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-bright);
  margin-left: 6px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(var(--ink), 0.028), rgba(var(--ink), 0.008));
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.plan:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.plan--featured {
  border-color: var(--accent-line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(79, 158, 94, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(var(--ink), 0.04), rgba(var(--ink), 0.01));
  box-shadow: 0 24px 70px -40px rgba(79, 158, 94, 0.5);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 26px;
  height: 22px;
  padding: 0 10px;
  border-radius: 100px;
  background: var(--accent);
  color: #05110a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-name span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-3);
  min-height: 40px;
}

.plan-price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.plan-price .cur {
  font-size: 20px;
  color: var(--text-2);
  font-weight: 400;
}

.plan-price .num {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.plan-price .per {
  font-size: 13px;
  color: var(--text-3);
}

.plan-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
  min-height: 18px;
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

.plan .btn {
  margin: 24px 0 26px;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

.plan-features svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}

.plan-features li.muted {
  color: var(--text-3);
}

.plan-features li.muted svg {
  color: var(--text-3);
  opacity: 0.5;
}

/* comparison table */

.compare-wrap {
  margin-top: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raise);
}

.compare-scroll {
  overflow-x: auto;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 13.5px;
}

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

table.compare thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  background: rgba(var(--ink), 0.02);
}

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

table.compare tbody tr:hover td {
  background: rgba(var(--ink), 0.018);
}

table.compare td:first-child {
  color: var(--text);
  width: 34%;
}

table.compare td {
  color: var(--text-2);
}

table.compare .col-hi {
  color: var(--text);
}

table.compare .yes {
  color: var(--accent-bright);
}

table.compare .no {
  color: var(--text-3);
  opacity: 0.5;
}

.pricing-foot {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
}

/* ---------- download ---------- */

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

.dl-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.dl-card:hover {
  border-color: var(--line-strong);
  background: var(--panel);
}

.dl-os {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.dl-os svg {
  width: 18px;
  height: 18px;
  color: var(--text-2);
}

.dl-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.dl-card .btn {
  margin-top: 22px;
}

.dl-card .dl-alt {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dl-card .dl-alt a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.dl-card .dl-alt a:hover {
  color: var(--text);
  border-color: var(--accent-line);
}

/* terminal block */

.term {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--code-bg);
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--ink), 0.015);
}

.term-tab {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.term-tab.is-on {
  color: var(--text);
  background: rgba(var(--ink), 0.06);
}

.term-copy {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-3);
  font-size: 11.5px;
  font-family: var(--mono);
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.term-copy:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.term pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: #cfe0d5;
}

.term pre .p {
  color: var(--accent-bright);
  user-select: none;
}

.term pre .c {
  color: var(--text-3);
}

.term pre[hidden] {
  display: none;
}

/* ---------- faq ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 15.5px;
  font-weight: 550;
  position: relative;
  transition: color 0.2s var(--ease);
}

.faq summary:hover {
  color: var(--accent-bright);
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 40px 24px 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.78;
}

.faq .answer code,
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(var(--ink), 0.06);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--text);
}

/* ---------- cta ---------- */

.cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 62px 40px;
  text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, rgba(79, 158, 94, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(var(--ink), 0.03), transparent);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(var(--ink), 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink), 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  position: relative;
}

.cta p {
  margin: 14px auto 0;
  color: var(--text-2);
  max-width: 520px;
  position: relative;
}

.cta .hero-cta {
  margin-top: 30px;
  position: relative;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 62px 0 34px;
  margin-top: 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 46px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
}

.footer-bottom .mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ---------- reveal (only when JS is available) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- lightbox ---------- */

.shot-frame img,
.feature-shot img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 7, 5, 0.9);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1400px, 100%);
  max-height: 100%;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -30px rgba(var(--shade), 1);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(var(--ink), 0.04);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}

.lightbox-close:hover {
  background: rgba(var(--ink), 0.1);
}

/* ---------- docs layout ---------- */

.docs-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 168px;
  gap: 46px;
  padding-top: 118px;
  padding-bottom: 90px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
}

.docs-nav::-webkit-scrollbar {
  width: 4px;
}

.docs-nav::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 4px;
}

.docs-search {
  position: relative;
  margin-bottom: 22px;
}

.docs-search input {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  padding: 0 11px 0 32px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.docs-search input:focus {
  border-color: var(--accent-line);
}

.docs-search svg {
  position: absolute;
  left: 10px;
  top: 11px;
  width: 14px;
  height: 14px;
  color: var(--text-3);
}

.docs-nav-group {
  margin-bottom: 22px;
}

.docs-nav-group h5 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  padding-left: 10px;
}

.docs-nav a {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 1px solid transparent;
  transition: all 0.18s var(--ease);
}

.docs-nav a:hover {
  color: var(--text);
  background: rgba(var(--ink), 0.03);
}

.docs-nav a.is-active {
  color: var(--accent-bright);
  background: rgba(79, 158, 94, 0.09);
  border-left-color: var(--accent);
}

.docs-nav a[hidden] {
  display: none;
}

.prose {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

.prose h1 {
  font-size: clamp(30px, 3.6vw, 40px);
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.prose .lead {
  font-size: 16.5px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.prose h2 {
  font-size: 23px;
  color: var(--text);
  margin: 54px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}

.prose h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 40px;
}

.prose h3 {
  font-size: 16.5px;
  color: var(--text);
  margin: 30px 0 10px;
}

.prose p {
  margin: 14px 0;
}

.prose ul,
.prose ol {
  margin: 14px 0;
  padding-left: 20px;
}

.prose li {
  margin: 7px 0;
}

.prose li::marker {
  color: var(--accent);
}

.prose a:not(.btn) {
  color: var(--accent-bright);
  border-bottom: 1px solid var(--accent-line);
}

.prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 2px solid var(--accent-line);
  background: rgba(79, 158, 94, 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--text-2);
  font-size: 14px;
}

.prose blockquote p {
  margin: 0;
}

.prose pre {
  position: relative;
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--code-bg);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 1.8;
  color: #cfe0d5;
}

.prose pre .p {
  color: var(--accent-bright);
  user-select: none;
}

.prose pre .c {
  color: var(--text-3);
}

.prose pre .k {
  color: #9fd3b0;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.docs-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  padding: 11px 16px;
  background: rgba(var(--ink), 0.02);
  border-bottom: 1px solid var(--line);
}

.docs-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: top;
}

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

.docs-table td code {
  white-space: normal;
  word-break: break-word;
}

/* 平台名 / 短标签不要断行 */
.docs-table td a,
.docs-table td:first-child {
  white-space: nowrap;
}

/* Embedded setup manuals — the three PDF guides live inside the docs page so
   people can follow the screenshots without leaving the site. */
.pdf-card {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 18px 40px -32px rgba(var(--shade), 0.45);
}

.pdf-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--ink), 0.025);
}

.pdf-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.pdf-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pdf-meta strong {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text);
}

.pdf-meta span {
  font-size: 11.5px;
  color: var(--text-3);
}

.pdf-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.pdf-frame {
  background: #ffffff;
  /* breathing room so the page's own drop shadow doesn't read as a hard frame */
  padding: 10px 10px 0;
}

.pdf-frame iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
}

.pdf-hint {
  font-size: 12px;
  color: var(--text-3);
  margin: 10px 0 0;
}

.docs-toc {
  position: sticky;
  top: 96px;
  font-size: 12.5px;
}

.docs-toc h5 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
}

.docs-toc a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 1px solid var(--line);
  color: var(--text-3);
  transition: all 0.18s var(--ease);
  line-height: 1.45;
}

.docs-toc a:hover,
.docs-toc a.is-active {
  color: var(--text);
  border-left-color: var(--accent);
}

.docs-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.docs-pager a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
  flex: 1;
}

.docs-pager a:hover {
  border-color: var(--accent-line);
  color: var(--text);
}

.docs-pager span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.copy-inline {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 10, 0.8);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.2s var(--ease);
}

.prose pre:hover .copy-inline {
  opacity: 1;
}

.copy-inline:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .docs-shell {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 40px;
  }
  .docs-toc {
    display: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav,
  .header-gh {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header.menu-open {
    background: var(--bg);
    border-bottom-color: var(--line);
    isolation: isolate;
  }
  .site-header.menu-open .nav {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(var(--shade), 1);
    margin: 0;
    z-index: 61;
  }
  .site-header.menu-open .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-header.menu-open .nav a.is-active::after {
    display: none;
  }
  .feature,
  .feature--flip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0;
  }
  .feature--flip .feature-copy {
    order: 0;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan-desc {
    min-height: 0;
  }
  .dl-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 80px 0;
  }
  .hero {
    padding-top: 128px;
  }
  .docs-shell {
    grid-template-columns: 1fr;
    padding-top: 96px;
  }
  .docs-nav {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: var(--bg-raise);
  }
  .docs-nav-group {
    margin-bottom: 14px;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    padding: 0 20px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 112px;
  }
  /* Narrow screens: the headline nearly spans the column, so keep the wordmark
     wider than the viewport — cropped by both edges it reads as a backdrop
     instead of peeking out from behind the type. */
  .hero-wordmark {
    font-size: 23vw;
    top: 46%;
  }
  .hero-sub {
    font-size: 15.5px;
  }
  .hero-cta .btn {
    flex: 1;
    min-width: 150px;
  }
  .shot {
    margin-top: 48px;
  }
  .cta {
    padding: 44px 22px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .compare-scroll table.compare {
    font-size: 12.5px;
  }
  table.compare th,
  table.compare td {
    padding: 12px 14px;
  }
  .pricing-head {
    align-items: flex-start;
  }
}

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

/* ============================================================
   Theme system — dark (default) / light
   ============================================================ */

:root {
  --frame-grad: linear-gradient(180deg, #131b17, #0a0f0c);
  --title-grad: linear-gradient(180deg, #f4f8f5 10%, #a9c7b2 96%);
  --code-bg: #060a08;
  --shot-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5);
  --stat-num: #f0f5f1;
  --wordmark: rgba(104, 186, 122, 0.2);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f9f8;
  --bg-raise: #ffffff;
  --panel: #ffffff;
  --panel-2: #f2f5f3;
  --line: rgba(15, 27, 21, 0.1);
  --line-strong: rgba(15, 27, 21, 0.18);
  --text: #101816;
  --text-2: #4a5651;
  --text-3: #737f7a;
  --accent: #2f8a45;
  --accent-bright: #237c3a;
  --accent-dim: rgba(47, 138, 69, 0.1);
  --accent-line: rgba(47, 138, 69, 0.3);
  --ink: 15, 27, 21;
  --shade: 0, 0, 0;
  --header-bg: rgba(247, 249, 248, 0.86);
  --frame-grad: linear-gradient(180deg, #ffffff, #eaf0ec);
  --title-grad: linear-gradient(180deg, #111c17 6%, #2f7a4c 96%);
  --shot-shadow: 0 24px 60px -34px rgba(12, 24, 18, 0.42), 0 0 0 1px rgba(12, 24, 18, 0.09);
  --stat-num: #0f1c16;
  --wordmark: rgba(47, 138, 69, 0.14);
  color-scheme: light;
}

body,
.site-header,
.plan,
.card,
.shot-frame,
.docs-nav,
.doc-body {
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease),
    color 0.28s var(--ease);
}

/* the noise layer is a light-on-dark trick; calm it down on paper */
[data-theme="light"] body::before {
  opacity: 0.022;
}

[data-theme="light"] .hero-glow {
  opacity: 0.5;
}

[data-theme="light"] .shot-frame {
  box-shadow: var(--shot-shadow);
}

[data-theme="light"] .shot-frame::after {
  background: linear-gradient(180deg, rgba(47, 138, 69, 0.22), transparent 38%);
}

[data-theme="light"] .plan--featured {
  background: radial-gradient(120% 90% at 50% 0%, rgba(47, 138, 69, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 248, 1));
}

[data-theme="light"] .cta {
  background: radial-gradient(90% 120% at 50% 0%, rgba(47, 138, 69, 0.1), transparent 62%),
    linear-gradient(180deg, #ffffff, #f6f9f7);
}

/* code / terminal blocks stay dark in both themes — inside them the overlay
   channels must keep behaving like they do on a dark surface */
[data-theme="light"] .term,
[data-theme="light"] .prose pre {
  --ink: 255, 255, 255;
  --shade: 0, 0, 0;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #eaf3ec;
  --text-2: #b7c6bd;
  --text-3: rgba(255, 255, 255, 0.52);
  --accent-bright: #6cc07c;
  color: #cfe0d5;
}

[data-theme="light"] .term code,
[data-theme="light"] .term pre {
  color: #cfe0d5;
}

/* ---------- theme toggle ---------- */

.theme-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(var(--ink), 0.03);
  color: var(--text-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(var(--ink), 0.07);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .tt-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .tt-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .tt-moon {
  display: none;
}

/* ---------- docs layout: keep the grid from being pushed open ---------- */

.docs-shell > * {
  min-width: 0;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll + .table-scroll {
  margin-top: 16px;
}

@media (max-width: 640px) {
  /* the generic .container rule below would reset .docs-shell's top padding
     and slide the sidebar underneath the fixed header */
  .container.docs-shell {
    padding: 96px 20px 80px;
  }
  .pdf-frame iframe {
    height: 420px;
  }
  .pdf-actions {
    width: 100%;
    margin-left: 0;
  }
  .pdf-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .docs-shell {
    padding-top: 96px;
  }
}
