/* BooBar feature pages. Shares the look of the home page, standalone and small. */
:root {
  --bg: #060608;
  --card: rgba(255, 255, 255, 0.045);
  --stroke: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.64);
  --dim: rgba(245, 245, 247, 0.42);
  --mint: #8cf2d1;
  --blue: #3b82f6;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

/* header */
.lp-top { position: sticky; top: 0; z-index: 10; background: rgba(6, 6, 8, 0.72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--stroke); }
.lp-top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.lp-nav { display: flex; gap: 20px; margin-left: 12px; font-size: 14px; }
.lp-nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.lp-nav a:hover, .lp-nav a[aria-current] { color: var(--text); }
.lp-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { font-size: 13px; color: var(--muted); text-decoration: none; padding: 6px 10px; border: 1px solid var(--stroke); border-radius: 999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform 0.15s, background 0.2s; }
.btn:active { transform: scale(0.98); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e9e9ee; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }

/* hero */
.crumbs { margin: 34px 0 0; font-size: 13px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs span { margin: 0 6px; }
.lp-hero { padding: 26px 0 10px; text-align: center; }
.lp-hero .kicker { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mint); background: rgba(140, 242, 209, 0.1); border: 1px solid rgba(140, 242, 209, 0.22); }
.lp-hero h1 { margin: 0 auto; max-width: 900px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 750; }
.lp-hero .lede { margin: 22px auto 0; max-width: 720px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { margin-top: 14px; font-size: 13px; color: var(--dim); }
.shot { margin: 54px auto 0; }
.shot img { width: 100%; border-radius: 18px; box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--stroke); }
.shot.popup { max-width: 430px; }
.shot.popup img { border-radius: 16px; }
.shot figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--dim); }

/* steps */
.how { max-width: 760px; margin: 80px auto 0; }
.how h2 { margin: 0 0 20px; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--stroke); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 9px; font: 700 14px var(--mono); color: #000; background: var(--mint); }
.steps h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.steps p { margin: 6px 0 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* article */
.lp-body { padding: 40px 0 10px; }
.lp-body section { margin-top: 54px; }
.lp-body h2 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; }
.lp-body p { margin: 14px 0 0; color: var(--muted); }
.lp-body ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-body li { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: var(--card); border: 1px solid var(--stroke); color: var(--muted); font-size: 16px; line-height: 1.55; }
.lp-body li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 16px; height: 16px; border-radius: 50%; background: rgba(140, 242, 209, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%238cf2d1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.lp-body li strong { color: var(--text); font-weight: 600; }
.lp-body code { font: 0.9em var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #ffd79a; }
.note { margin-top: 40px; font-size: 13px; color: var(--dim); }

/* faq */
.faq { margin-top: 70px; }
.faq h2 { margin: 0 0 18px; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; }
.faq details { border-top: 1px solid var(--stroke); }
.faq details:last-of-type { border-bottom: 1px solid var(--stroke); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 300; color: var(--dim); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* related + cta */
.related { margin: 80px 0 0; }
.related h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -0.02em; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cards a { display: block; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--stroke); text-decoration: none; transition: background 0.2s, transform 0.2s; }
.cards a:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.cards strong { display: block; font-size: 15.5px; }
.cards span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.final { margin: 90px 0 0; padding: 56px 24px; text-align: center; border-radius: 28px; background: radial-gradient(ellipse at 50% 0%, rgba(140, 242, 209, 0.16), transparent 60%), var(--card); border: 1px solid var(--stroke); }
.final h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.03em; line-height: 1.1; }
.final p { margin: 12px 0 0; color: var(--muted); }

/* footer */
.lp-foot { margin-top: 90px; padding: 40px 0 60px; border-top: 1px solid var(--stroke); font-size: 14px; color: var(--dim); }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0; }
.lp-foot a { color: var(--muted); text-decoration: none; }
.lp-foot a:hover { color: var(--text); }

@media (max-width: 900px) {
  .lp-nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lp-top .wrap { gap: 10px; }
  .lp-actions .btn-light { display: none; }
  .cards { grid-template-columns: 1fr; }
  .shot { margin-top: 36px; }
  .shot img { border-radius: 12px; }
}
