/* ==========================================================================
   requestbaby — Frameblox-style design system
   White canvas, oversized Satoshi headlines with tight tracking, #F7F7F7
   bento cards (30px radius), pill buttons, #0366FF accent, black footer.
   System font stack only: no third-party font request, so nothing blocks first paint.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #000000;
  --text: #3d4047;
  --muted: #5c6270;
  --card: #f7f7f7;
  --card-border: #e8e8e8;
  --blue: #0366ff;
  --blue-soft: rgba(3, 102, 255, 0.1);
  --orange: #ed9a1c;
  --warn-text: #9a5b00;
  --gradient: linear-gradient(300deg, #5c0094 0%, #a8004e 60%, #c4005f 100%);
  --shadow-card: none;
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-blue: 0 12px 30px rgba(3, 102, 255, 0.28);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --header-h: 76px;
  --font-display: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* ------------------------------------------------ bilingual rendering */

html[data-lang="zh"] .le {
  display: none;
}

html[data-lang="en"] .lz {
  display: none;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(
    900px 480px at 50% -180px,
    rgba(3, 102, 255, 0.07),
    transparent 70%
  );
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 4px;
  background: var(--blue);
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: var(--card);
  text-decoration: none;
  color: var(--blue);
}

.nav-links a.active {
  background: var(--ink);
  color: #fff;
}

/* language switch (segmented pill, fixed width so the nav never jumps) */

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.lang-switch button {
  min-width: 48px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.lang-switch a:hover {
  background: var(--card);
  text-decoration: none;
}

.lang-switch a.on {
  background: var(--ink);
  color: #fff;
}

.lang-switch button:hover {
  background: var(--card);
}

.lang-switch button.on {
  background: var(--ink);
  color: #fff;
}

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

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 88px;
}

/* vertical rhythm: every direct child of .page keeps a 20px gap
   (adjacent vertical margins collapse to the larger value) */
.page > * + * {
  margin-top: 20px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ------------------------------------------------ hero / page title */

.page-title {
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px) clamp(28px, 4vw, 44px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hero-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
  color: var(--text);
  max-width: 40em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin: 26px 0 8px;
}

.hero-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 24em;
}

.page-title .release-note {
  max-width: 50em;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Home: a real conversation anchors the promise; copy has room to breathe. */
.home-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.home-page .home-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.home-page .headline-line {
  display: block;
}

.home-page .hero-intro {
  margin: 24px 0 12px;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}

.home-page .hero-lead {
  font-size: 17px;
  line-height: 1.85;
}

.home-page .release-note {
  margin-top: 22px;
  font-size: 12px;
}

.home-page .hero-preview {
  margin: 0;
  width: 248px;
  max-width: 100%;
}

.hero-preview a {
  display: block;
}

.home-page .hero-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dce0e6;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.home-page .hero-preview figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.home-page .home-story {
  max-width: 900px;
  margin: 64px auto 28px;
  padding: 0 clamp(24px, 4vw, 44px);
}

.home-page .home-story p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.9;
}

.home-page .benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  padding: 20px clamp(24px, 4vw, 44px) 12px;
}

.home-page .benefit-grid article {
  min-width: 0;
  padding: 30px 0 24px;
  border-top: 1px solid var(--card-border);
}

.home-page .benefit-grid h2 {
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.45;
}

.home-page .agent-band {
  background: var(--ink);
}

.home-page .agent-band h2 {
  color: #fff;
}

.home-page .agent-band p {
  color: #c8cbd1;
}

.home-page .agent-band a {
  color: #8fbcff;
}

@media (max-width: 900px) {
  .home-page .hero-layout {
    grid-template-columns: 1fr;
  }

  .home-page .hero-preview {
    margin: 12px auto 0;
  }
}

@media (max-width: 600px) {
  .home-page .benefit-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-story {
    margin-top: 42px;
  }
}

.workflow,
.use-cases,
.download-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.workflow {
  padding-left: 24px;
}

.workflow li {
  padding-left: 8px;
}

.workflow li::marker {
  color: var(--blue);
  font-weight: 700;
}

.workflow h3,
.use-cases h3,
.download-options h3 {
  line-height: 1.5;
}

.download-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-options > section {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

details > summary {
  cursor: pointer;
  color: var(--blue);
  margin: 16px 0;
}

@media (max-width: 760px) {
  .workflow,
  .use-cases,
  .download-options {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 22px;
  line-height: 1.4;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 16em;
}

h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 14px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.page-title p {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 44em;
  color: var(--text);
}

/* ------------------------------------------------ cards / sections */

.card {
  min-width: 0;
  background: var(--card);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card.section {
  padding: clamp(26px, 4vw, 44px);
}

.section-stack {
  display: grid;
  gap: 20px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* signature gradient bento box — deepened stops keep white text ≥4.5:1 */
.section-grid .card.section:first-child {
  background-image:
    radial-gradient(130px 130px at 90% 94%, rgba(251, 221, 65, 0.42), rgba(251, 221, 65, 0) 70%),
    radial-gradient(210px 160px at 104% -6%, rgba(251, 221, 65, 0.22), rgba(251, 221, 65, 0) 65%),
    var(--gradient);
  color: #fff;
}

.section-grid .card.section:first-child h2,
.section-grid .card.section:first-child h3 {
  color: #fff;
}

.section-grid .card.section:first-child p {
  color: rgba(255, 255, 255, 0.92);
}

/* lang-blocks inside the signature dark surfaces adapt (translucent, light text) */
.section-grid .card.section:first-child .lang-block,
.section-grid + .card.section .lang-block {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-grid .card.section:first-child .lang-block :where(p, li, strong),
.section-grid + .card.section .lang-block :where(p, li, strong) {
  color: rgba(255, 255, 255, 0.92);
}

.section-grid .card.section:first-child .lang-block li::marker,
.section-grid + .card.section .lang-block li::marker {
  color: #8fbcff;
}

.section-grid .card.section:first-child .lang-block a,
.section-grid + .card.section .lang-block a {
  color: #8fbcff;
}

/* black statement box right after the bento grid */
.section-grid + .card.section {
  background: var(--ink);
  color: #fff;
}

.section-grid + .card.section h2,
.section-grid + .card.section h3 {
  color: #fff;
}

.section-grid + .card.section p {
  color: rgba(255, 255, 255, 0.74);
}

.section-grid + .card.section a {
  color: #8fbcff;
}

/* FAQ card: crisp white box with hairline black border */
.card.section:has(> .faq-list) {
  background: #fff;
  border: 1px solid var(--ink);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  background: var(--card);
  border: none;
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

/* ------------------------------------------------ chips & pills */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.download-cta:active {
  transform: translateY(0);
}

/* ------------------------------------------------ language columns */

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
  margin-top: 8px;
}

/* a single visible language block takes the full row */
.columns .lang-block:only-child {
  grid-column: 1 / -1;
}

.lang-block {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}

/* ------------------------------------------------ lists */

.feature-list,
.simple-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.feature-list li,
.simple-list li {
  margin-bottom: 10px;
}

.feature-list li::marker,
.simple-list li::marker {
  color: var(--blue);
  font-weight: 700;
}

/* ------------------------------------------------ code */

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink);
}

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

.card.footer {
  margin-top: 28px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 38px 28px;
}

.card.footer small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: inherit;
}

.card.footer a {
  color: #8fbcff;
}

.card.footer p {
  color: inherit;
  margin-bottom: 6px;
}

/* ------------------------------------------------ misc blocks */

.contact-box {
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--card-border);
}

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

.quote-box {
  margin: 10px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.feedback-card {
  padding: clamp(26px, 4vw, 44px);
}

.feedback-form {
  display: grid;
  gap: 22px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.optional,
.form-hint,
.form-note,
.char-count {
  color: var(--muted);
  font-size: 13px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input,
.form-select {
  min-height: 52px;
  padding: 0 16px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
  padding: 14px 16px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.char-count {
  text-align: right;
}

.char-count.warn {
  color: var(--warn-text);
  font-weight: 700;
}

.submit-btn,
.reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 32px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.submit-btn {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.reset-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.reset-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.feedback-result {
  display: none;
}

.feedback-result.visible {
  display: block;
}

.result-card {
  padding: 56px 32px;
  text-align: center;
}

.result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.result-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.result-desc {
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ------------------------------------------------ back to top */

.to-top {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ------------------------------------------------ print */

@media print {
  .site-header,
  .lang-switch,
  .to-top,
  .hero-actions,
  .pill-row {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .page {
    max-width: none;
    padding: 0;
  }

  .card,
  .card.section,
  .card.footer,
  .section-grid + .card.section,
  .section-grid .card.section:first-child {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    color: #000;
  }

  .section-grid .card.section:first-child h2,
  .section-grid .card.section:first-child p,
  .section-grid + .card.section h2,
  .section-grid + .card.section p,
  .card.footer,
  .card.footer p {
    color: #000;
  }

  .section-grid,
  .columns,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 900px) {
  :root {
    --header-h: 112px;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 20px;
    gap: 6px 12px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .section-grid,
  .columns,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------ iOS landscape phones */

/* short landscape viewports (iPhone rotated): collapse the sticky header
   into a single row — brand + scrollable links + switch — ~60px tall */
@media (max-height: 480px) and (orientation: landscape) {
  :root {
    --header-h: 64px;
  }

  .nav {
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px 16px;
    gap: 8px 12px;
  }

  .brand {
    min-height: 40px;
    font-size: 16px;
  }

  .lang-switch {
    order: 2;
    flex-shrink: 0;
  }

  .lang-switch button {
    height: 38px;
    min-width: 40px;
  }

  .nav-links {
    order: 1;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-links a {
    min-height: 40px;
    padding: 6px 10px;
  }

  .page {
    padding: 12px 20px 64px;
  }
}

/* touch devices: suppress hover lifts that would stick after a tap */
@media (hover: none) {
  .download-cta:hover,
  .submit-btn:hover,
  .reset-btn:hover {
    transform: none;
    box-shadow: none;
  }
}

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

  .card.section,
  .feedback-card {
    padding: 22px 20px;
  }

  .faq-item {
    padding: 20px;
  }

  .download-cta {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------ requestbaby additions */

.home-page .hero-layout.wide {
  grid-template-columns: 1fr;
}

.home-page .hero-layout.wide .hero-preview {
  width: 100%;
}

.home-page .hero-layout.wide .hero-preview img {
  border-radius: 18px;
}

.home-page .hero-layout.wide .hero-preview figcaption {
  font-size: 13px;
}

pre.code {
  margin: 16px 0 20px;
  padding: 18px 22px;
  overflow-x: auto;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}

pre.code code {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.shot-grid figure {
  margin: 0;
  min-width: 0;
}

.shot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dce0e6;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.shot-grid figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 40px;
  margin: 20px 0 8px;
}

.cover-grid h3 {
  color: #fff;
}

.home-page .agent-band p code,
.home-page .agent-band li code {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.download-options .file {
  margin: 4px 0 16px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .shot-grid,
  .cover-grid {
    grid-template-columns: 1fr;
  }
}

.simple-list li strong {
  color: var(--ink);
}

.card.section .download-cta {
  margin-top: 8px;
}

.table-wrap {
  margin: 16px 0 4px;
  overflow-x: auto;
}

table.map {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 15px;
}

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

table.map th {
  color: var(--ink);
  font-weight: 600;
  background: var(--card);
}

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