@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --night: #0b131d;
  --panel: #132231;
  --panel-soft: #192a3a;
  --line: #304354;
  --text: #edf4f7;
  --muted: #a5b7c4;
  --signal: #39d5d0;
  --signal-dark: #123b42;
  --amber: #f7bc68;
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--night);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
img { max-width: 100%; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 12px 16px; background: var(--signal); color: var(--night); }
.skip-link:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(11, 19, 29, .94); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { position: relative; width: 32px; height: 25px; border: 2px solid var(--signal); border-radius: 7px; }
.brand-mark::before { content: ''; position: absolute; inset: 6px 11px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 0 4px var(--signal-dark); }
.brand-mark::after { content: ''; position: absolute; top: -5px; right: -5px; width: 8px; height: 8px; background: var(--amber); border: 2px solid var(--night); border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.site-nav a[aria-current='page'], .site-nav a:hover { color: var(--text); }
.nav-cta { margin-left: 4px; padding: 10px 15px; border: 1px solid var(--signal); border-radius: 8px; color: var(--signal) !important; }
.nav-cta:hover { background: var(--signal-dark); }
.eyebrow, .kicker, .label { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 500; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--signal); }
.kicker, .label { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 6.2vw, 5.9rem); line-height: .99; margin-bottom: 26px; max-width: 840px; }
h2 { font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1.1; margin-bottom: 18px; }
h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.65; }
.lead { font-size: 1.16rem; max-width: 620px; }
.hero { padding-block: clamp(68px, 10vw, 128px) 88px; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 68px; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 19px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--signal); }
.button-primary { background: var(--signal); border-color: var(--signal); color: var(--night); }
.button-primary:hover { background: #73e8e3; }
.button-secondary { background: var(--panel); }
.note { margin-top: 18px; font-size: .88rem; }
.viewfinder { padding: 14px; border: 1px solid #466171; border-radius: 14px; background: #09131c; box-shadow: 0 28px 70px rgba(0,0,0,.27); transform: rotate(1.4deg); }
.viewfinder-top, .viewfinder-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 .69rem/1.5 'JetBrains Mono', monospace; letter-spacing: .04em; color: #a7c2cf; }
.viewfinder-top { padding: 3px 3px 12px; }
.viewfinder-bottom { padding: 12px 3px 2px; }
.record-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #ff796f; box-shadow: 0 0 0 3px rgba(255,121,111,.16); }
.camera-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.camera { position: relative; min-height: 128px; overflow: hidden; border: 1px solid #3b5668; border-radius: 4px; background: linear-gradient(165deg, #233f50 0%, #213848 43%, #172a3b 44%, #152736 100%); }
.camera::before { content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 33%; background: linear-gradient(176deg, transparent 5%, #566c79 6%, #3b5361 10%, #263c4a 11%, #0e1f2c 100%); clip-path: polygon(0 100%, 36% 0, 64% 0, 100% 100%); }
.camera::after { content: ''; position: absolute; width: 15%; height: 18%; left: 43%; bottom: 20%; border-radius: 12px 12px 3px 3px; background: #7d9aab; box-shadow: 0 3px 0 #162b38; }
.camera:nth-child(2) { background: linear-gradient(160deg, #2c4351, #253c4b 50%, #142d3a 51%); }
.camera:nth-child(3) { background: linear-gradient(200deg, #2c4655, #213847 49%, #132936 50%); }
.camera:nth-child(4) { background: linear-gradient(180deg, #263f4e, #1b3444 50%, #182a38 51%); }
.camera-label { position: absolute; top: 9px; left: 10px; z-index: 1; padding: 3px 6px; background: rgba(4,14,22,.68); color: #e7f4f8; border-radius: 3px; font: .6rem 'JetBrains Mono', monospace; }
.timeline-demo { display: flex; gap: 3px; align-items: center; height: 20px; border-radius: 3px; background: #243b4b; overflow: hidden; }
.timeline-demo span { height: 5px; background: #527484; border-radius: 4px; }
.timeline-demo span:nth-child(1) { width: 18%; margin-left: 8px; }
.timeline-demo span:nth-child(2) { width: 27%; background: var(--signal); }
.timeline-demo span:nth-child(3) { width: 40%; }
.section { padding-block: 82px; border-top: 1px solid var(--line); }
.section-intro { max-width: 710px; margin-bottom: 38px; }
.section-intro p:last-child { margin-bottom: 0; }
.feature-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.card .label { color: var(--signal); margin-bottom: 26px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 12px; color: var(--signal); text-underline-offset: 4px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.steps .step-number { color: var(--signal); font: .8rem 'JetBrains Mono', monospace; padding-top: 5px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin-bottom: 0; }
.callout { padding: 30px; border-left: 3px solid var(--amber); background: var(--panel); }
.callout p:last-child { margin-bottom: 0; }
.cta-band { padding: 46px 0; background: var(--signal-dark); border-top: 1px solid #2c6468; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-inner h2 { max-width: 600px; margin-bottom: 0; }
.site-footer { padding: 38px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.footer-inner p { max-width: 560px; margin: 14px 0 0; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9rem; }
.footer-links a { color: var(--muted); }
.page-hero { padding-block: 80px 62px; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 740px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; }
.prose { max-width: 730px; }
.prose h2 { margin-top: 55px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose ul, .prose ol { color: var(--muted); line-height: 1.7; padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--signal); text-underline-offset: 4px; }
.prose code { font-family: 'JetBrains Mono', monospace; font-size: .87em; color: var(--text); }
.toc { position: sticky; top: 24px; align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.toc .label { margin: 0 0 16px; }
.toc a { display: block; padding-block: 7px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.toc a:hover { color: var(--signal); }
.faq { border-top: 1px solid var(--line); }
.faq-item { padding-block: 22px; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-grid, .split, .content-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-grid { gap: 50px; }
  .viewfinder { max-width: 620px; transform: none; }
  .toc { position: static; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .header-inner { flex-wrap: wrap; padding-block: 15px; gap: 12px; }
  .site-nav { order: 2; width: 100%; gap: 8px; justify-content: space-between; }
  .site-nav a { font-size: .83rem; }
  .nav-cta { padding: 7px 9px; }
  .hero { padding-block: 62px 64px; }
  .section { padding-block: 60px; }
  .feature-grid, .guide-grid { grid-template-columns: 1fr; }
  .camera { min-height: 100px; }
  .cta-inner, .footer-inner { flex-direction: column; align-items: stretch; }
  .page-hero { padding-block: 58px 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
