:root {
  --bg: #101317;
  --panel: #191e24;
  --band: #14181d;
  --line: #303741;
  --line-strong: #424a55;
  --text: #f4f5f7;
  --muted: #a3acb7;
  --subtle: #737f8c;
  --accent: #4f46e5;
  --accent-hover: #6366f1;
  --accent-text: #a5b4fc;
  --radius: 12px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: Manrope, sans-serif; margin: 0; }

.section-wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

/* Header and navigation */
.site-header {
  height: 82px;
  width: min(1360px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.7px;
  white-space: nowrap;
}
.brand b { font-weight: 800; }
.logo { width: 38px; height: 38px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 31px; font-size: 14px; color: #c2c8d0; }
.main-nav > a:not(.nav-cta):hover,
.footer-links a:hover { color: #fff; }
.nav-cta { background: #f2f3f6; color: #11151a; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.menu-toggle { display: none; }

/* Shared text */
.eyebrow { color: #b8c0ca; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.section-heading { max-width: 670px; margin-bottom: 40px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2,
.audience-copy h2,
.business-copy h2,
.privacy-inner h2 { font-weight: 700; letter-spacing: -1.5px; line-height: 1.15; font-size: clamp(30px, 3.6vw, 44px); }
.section-heading > p { color: var(--muted); font-size: 16px; max-width: 580px; margin: 12px auto 0; }
.text-link { display: inline-block; color: var(--accent-text); font-weight: 700; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { background: transparent; border: 1px solid #4b5563; color: #d1d5db; }
.button-secondary:hover { background: #374151; }

/* Hero */
.hero {
  padding-top: 28px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: .91fr 1.09fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; letter-spacing: -2px; line-height: 1.1; margin: 0 0 20px; }
.hero-lede { max-width: 495px; color: #adb5bf; font-size: 18px; line-height: 1.7; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { min-width: 0; }
.screen-frame { padding: 7px; border: 1px solid #ffffff20; border-radius: 14px; background: #1b2026; }
.screen-frame img { width: 100%; border-radius: 8px; }

/* Platform strip */
.platform-strip { border-block: 1px solid #ffffff0e; background: var(--band); }
.platform-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.platform-intro { font-size: 12px; color: #8b95a0; text-transform: uppercase; letter-spacing: 1.2px; }
.stores { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: flex; align-items: center; gap: 11px; padding: 9px 16px 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); min-width: 0; }
.store-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #e5e8ec; flex: none; }
.store-icon svg { width: 26px; height: 26px; }
a.store:hover { border-color: #777f8c; }
.store-soon { opacity: .8; }
.soon-badge { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #2a313a; color: #c2c8d0; font-size: 11px; font-weight: 700; white-space: nowrap; }
.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-text small { font-size: 11px; color: #8b95a0; }
.store-text b { font-family: Manrope, sans-serif; font-size: 15px; }

/* Screenshot picker */
.screens-section { padding-top: 72px; padding-bottom: 40px; }
.shot-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; margin-bottom: 28px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); padding: 3px; }
.seg button { font: 600 13px 'DM Sans', sans-serif; color: var(--muted); background: none; border: 0; border-radius: 6px; padding: 9px 15px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #f2f3f6; color: #11151a; }
.seg button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.shot-stage { margin: 0 auto; display: flex; justify-content: center; }
.shot-stage img { border-radius: 10px; border: 1px solid #ffffff1c; }
.shot-stage[data-orient="landscape"] img { width: min(100%, 1000px); }
.shot-stage[data-orient="portrait"] img { width: min(100%, 405px); }

/* Layout editor section */
.editor-section { padding-top: 100px; padding-bottom: 100px; }
.editor-layout { display: grid; grid-template-columns: 1.13fr .87fr; gap: 60px; align-items: center; }
.editor-image { position: relative; border: 1px solid #ffffff17; border-radius: 12px; overflow: hidden; background: #202938; }
.editor-points { display: flex; flex-direction: column; gap: 28px; }
.editor-point { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.point-number { color: var(--accent-text); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; padding-top: 2px; }
.editor-point h3 { font-size: 18px; margin-bottom: 6px; }
.editor-point p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }

/* Home, cameras and business sections */
.audience-section { padding: 90px 0; background: #14181d; border-block: 1px solid #ffffff08; }
.audience-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 36px; align-items: center; }
.audience-copy h2,
.business-copy h2 { margin: 12px 0 16px; }
.audience-copy > p,
.business-copy > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.feature-list li { padding-left: 16px; border-left: 2px solid var(--line-strong); }
.feature-list b { display: block; font-size: 15px; font-weight: 700; }
.feature-list small { display: block; color: #919ba7; font-size: 14px; line-height: 1.6; margin-top: 2px; }
.audience-copy > .button { margin-top: 24px; }

.business-section { padding: 100px 0; }
.business-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.data-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.data-pills span { border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 9px; color: #c8cdf5; font-family: monospace; font-size: 12px; }

.shot-card { padding: 7px; border: 1px solid #ffffff20; border-radius: 14px; background: #1b2026; min-width: 0; }
.shot-card img { width: 100%; border-radius: 8px; }
.shot-card.portrait { width: min(100%, 330px); }
.shot-card.fade { display: grid; }
.shot-card.fade img { grid-area: 1 / 1; opacity: 0; transition: opacity 1.5s ease; }
.shot-card.fade img:first-child { opacity: 1; }
.shot-card.fade.go img:first-child { opacity: 0; }
.shot-card.fade.go img.on { opacity: 1; }

@media (min-width: 1001px) {
  .screen-frame { transform: perspective(1400px) rotateY(-9deg); }
  .shot-card.tilt-left { transform: perspective(1400px) rotateY(-9deg); }
  .shot-card.tilt-right { transform: perspective(1400px) rotateY(9deg); }
  .shot-card.portrait.tilt-right { justify-self: end; }
  .shot-card.portrait.tilt-left { justify-self: start; }
  #cameras .audience-grid { grid-template-columns: minmax(0, 440px) 330px; justify-content: center; gap: 56px; }
  #business .business-grid { grid-template-columns: 330px minmax(0, 540px); justify-content: center; gap: 56px; }
}

/* Pricing */
.pricing-section { padding: 100px 0 110px; border-top: 1px solid #ffffff0a; }
.pricing-grid { max-width: 1050px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.price-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #171c22; }
.price-label { color: #9da7b2; font-size: 12px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; }
.price-card h3 { font-size: 30px; letter-spacing: -1px; margin-top: 8px; min-height: 69px; }
.price-sub { display: block; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0; color: #e5e8ec; margin-top: 8px; }
.price-desc { min-height: 46px; color: #aab3bd; font-size: 15px; margin: 5px 0 22px; }
.price-card ul { flex: 1; list-style: none; padding: 0; margin: 0 0 25px; display: flex; flex-direction: column; gap: 12px; }
.price-card li { position: relative; padding-left: 21px; color: #d3d8df; font-size: 14px; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: #67d9a6; font-weight: 700; }
.full-button { width: 100%; }

/* Privacy band */
.privacy-section { padding: 64px 0; border-block: 1px solid #ffffff0c; background: var(--band); }
.privacy-inner p { max-width: 590px; font-size: 16px; color: #a9b1bc; margin: 12px 0 16px; }

/* FAQ */
.faq-section { padding: 100px 0; }
.faq-section .section-heading { margin-bottom: 28px; }
.faq-list { max-width: 850px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; list-style: none; cursor: pointer; padding: 20px 2px; font-size: 16px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 22px; color: var(--accent-text); font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; margin: -3px 0 20px; color: #a2acb7; font-size: 15px; line-height: 1.7; }
.faq-list details p a { color: var(--accent-text); text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid #ffffff0c; background: #0d1013; }
.footer-inner { min-height: 93px; display: flex; align-items: center; gap: 22px; }
.footer-inner .brand { font-size: 17px; }
.site-footer .logo { width: 32px; height: 32px; }
.footer-tagline { color: #7d8793; font-size: 13px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; color: #a2abb5; font-size: 13px; }
.copyright { font-size: 13px; color: #7d8793; margin-left: 10px; }

/* Text pages (privacy, feedback) */
.doc { max-width: 760px; padding: 70px 0 100px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -2px; line-height: 1.15; margin: 16px 0; }
.doc h2 { font-size: 21px; margin: 38px 0 8px; }
.doc p, .doc li { color: #b4bcc6; font-size: 15px; line-height: 1.8; }
.doc .lede { font-size: 17px; color: #d3d8df; }
.muted-note { font-size: 12px !important; color: var(--subtle) !important; }
.fb-form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.fb-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: #d3d8df; }
.fb-form input, .fb-form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px; }
.fb-form input:focus, .fb-form textarea:focus { outline: 2px solid var(--accent-hover); border-color: transparent; }
.fb-form .button { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }

/* Layout editor demo: the board's own web-app styles (assets/web/index.html), scoped to .lay */
.editor-image[data-layout-anim]{position:relative}
.editor-image[data-layout-anim].live>img{visibility:hidden}
.lay-host{position:absolute;left:0;top:0;width:100%;overflow:hidden;display:none}
.editor-image.live .lay-host{display:block}
.lay{--bg:#111827;--card:#1f2937;--line:#374151;--line2:#4b5563;--field:#374151;--tx:#f3f4f6;--tx2:#d1d5db;--mute:#9ca3af;--faint:#6b7280;--ind:#4f46e5;--ind2:#6366f1;--indtx:#818cf8;--redtx:#f87171;--sans:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;position:absolute;left:0;top:0;width:788px;transform-origin:0 0;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:20px;color:var(--tx);font:14px/1.5 var(--sans);text-align:left}
.lay *{box-sizing:border-box}
.lay h2{font-size:18px;font-weight:600;margin:0 0 4px;display:flex;align-items:center;gap:8px;color:var(--tx)}
.lay h2 svg{width:22px;height:22px;color:var(--indtx)}
.lay h2::after{content:'';margin-left:auto;width:8px;height:8px;border-right:2px solid var(--mute);border-bottom:2px solid var(--mute);transform:rotate(45deg)}
.lay p.help{color:var(--mute);margin:0 0 14px;font-size:13px}
.lay .editor{display:flex;gap:20px;align-items:flex-start}
.lay .board-col{flex:none;width:320px}
.lay .board{position:relative;width:100%;aspect-ratio:9/16;background:var(--bg);border:1px solid var(--line2);border-radius:8px;user-select:none}
.lay .tile{position:absolute;border-radius:6px;background:linear-gradient(#2a3441,#1f2733);border:2px solid var(--line2);display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);cursor:grab;overflow:hidden;padding:2px;transition:left .6s ease,top .6s ease,width .3s ease,height .3s ease,opacity .35s ease}
.lay .tile.sel{border-color:var(--indtx);color:var(--tx);z-index:3}
.lay .tile .size{position:absolute;right:0;bottom:0;width:24px;height:24px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,var(--indtx) 50%);border-bottom-right-radius:4px;display:none}
.lay .tile.sel .size{display:block}
.lay .news{position:absolute;border-radius:5px;background:#1f2733;border:2px solid var(--line2);font-size:10px;color:var(--faint);display:flex;align-items:center;padding-left:8px;letter-spacing:.08em}
.lay .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.lay .chip{border:1px solid var(--line2);border-radius:999px;padding:4px 12px;background:transparent;color:var(--tx2);font:500 13px var(--sans);white-space:nowrap}
.lay .chip.press{background:var(--field)}
.lay .side{flex:1;min-width:0}
.lay .sub-card{border:1px solid var(--line);border-radius:8px;padding:14px;margin-bottom:12px;background:rgba(17,24,39,.35)}
.lay .sub-card .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:8px}
.lay .sub-card .top b{font-size:15px}
.lay .hidden{display:none}
.lay .chips{display:flex;flex-wrap:wrap;gap:6px}
.lay .grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.lay label.f{display:block}
.lay label.f>span{display:block;font-size:13px;font-weight:500;color:var(--tx2);margin-bottom:4px}
.lay .inp{width:100%;background:var(--field);color:var(--tx);border:1px solid var(--line2);border-radius:6px;padding:8px 10px;font:14px/1.3 var(--sans);min-height:35px}
.lay .rows{display:flex;flex-direction:column;gap:6px}
.lay .rows .r{display:flex;gap:6px;align-items:center}
.lay .rows .r span{color:var(--mute);font-size:13px;width:52px}
.lay .rows .r .inp{width:84px}
.lay .icon{color:var(--redtx);line-height:0;padding:6px}
.lay .icon svg{width:16px;height:16px}
.lay .btn{border-radius:6px;padding:8px 16px;font:500 14px/1.3 var(--sans);border:1px solid transparent;white-space:nowrap}
.lay .btn.primary{background:var(--ind);color:#fff}
.lay .btn.secondary{background:transparent;border-color:var(--line2);color:var(--tx2)}
.lay .btn.small{padding:5px 10px;font-size:13px}
.lay .btn.press{background:var(--field)}
.lay .lchk{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px;color:var(--tx2)}
.lay .lchk i{width:16px;height:16px;border-radius:3px;background:var(--ind2);position:relative;flex:none}
.lay .lchk i::after{content:'';position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.lay .actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin-top:16px}
.lay .cursor{position:absolute;left:0;top:0;width:20px;height:24px;z-index:9;pointer-events:none;transition:left .8s cubic-bezier(.4,0,.2,1),top .8s cubic-bezier(.4,0,.2,1),transform .12s;filter:drop-shadow(0 2px 3px #0008)}
.lay .cursor.click{transform:scale(.8)}
@media (prefers-reduced-motion:reduce){.lay-host{display:none!important}.editor-image.live>img{visibility:visible}}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 760px; margin: auto; width: 100%; }
  .editor-layout, .audience-grid, .business-grid { gap: 36px; }
  .footer-tagline { display: none; }
}

@media (max-width: 720px) {
  .section-wrap { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); height: 70px; }
  .brand { font-size: 19px; }
  .brand .logo { width: 33px; height: 33px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; border: 1px solid #39414b; background: #1a1f25; border-radius: 8px; padding: 10px; z-index: 10; }
  .menu-toggle span { width: 17px; height: 2px; background: #e7eaf0; border-radius: 2px; }
  .main-nav { display: none; position: absolute; top: 62px; left: 18px; right: 18px; z-index: 9; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #353c46; border-radius: 10px; background: #1b2027; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { text-align: center; margin-top: 5px; }
  .hero { padding-top: 24px; padding-bottom: 48px; gap: 32px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); letter-spacing: -1.5px; }
  .hero-lede { font-size: 16px; }
  .platform-inner { padding: 20px 0; align-items: flex-start; flex-direction: column; gap: 14px; }
  .stores { flex-direction: column; align-items: stretch; }
  .seg button { padding: 9px 11px; font-size: 12px; }
  .screens-section { padding-top: 56px; }
  .editor-section, .business-section, .faq-section { padding-top: 70px; padding-bottom: 70px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .audience-copy h2, .business-copy h2 { font-size: 32px; letter-spacing: -1.2px; }
  .editor-layout, .audience-grid, .business-grid { grid-template-columns: 1fr; gap: 32px; }
  .editor-points { gap: 20px; }
  .audience-section { padding: 64px 0; }
  .business-copy { order: 1; }
  .business-grid .shot-card { order: 2; }
  .shot-card.portrait { justify-self: center; }
  .pricing-section { padding: 70px 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card { padding: 24px; }
  .price-card h3, .price-desc { min-height: 0; }
  .privacy-section { padding: 48px 0; }
  .faq-list summary { font-size: 15px; padding: 17px 0; }
  .footer-inner { padding: 23px 0; flex-wrap: wrap; gap: 12px; }
  .footer-links { order: 3; width: 100%; margin-left: 0; }
  .copyright { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
