:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #111318;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #1d4ed8;
  --accent-dark: #163ca6;
  --sand: #d8b98c;
  --shadow: 0 24px 70px rgba(17, 19, 24, .10);
  --radius: 28px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 70% 0%, #e9f0ff 0%, transparent 35%), var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; max-width: calc(var(--max) + 48px); margin: 0 auto;
  padding: 18px 24px; backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--sand)); box-shadow: 0 8px 24px rgba(29, 78, 216, .25); }
.nav { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--text); color: white; font-weight: 650; border: 0;
  box-shadow: 0 14px 30px rgba(17, 19, 24, .16); cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: #000; box-shadow: 0 18px 38px rgba(17, 19, 24, .22); }
.button.secondary { background: white; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.button.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.section { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; min-height: calc(100vh - 80px); padding-top: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 7vw, 96px); line-height: .92; letter-spacing: -.07em; margin-bottom: 24px; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.055em; margin-bottom: 18px; }
h3 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 10px; }
.lead { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.24; color: #384150; letter-spacing: -.025em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.microcopy, .section-heading p, .use-card p, .benefit-grid p, .price-card li, .steps p, details p, .contact p, .footer { color: var(--muted); line-height: 1.6; }
.media-stage { position: relative; min-height: 610px; display: grid; place-items: center; perspective: 1200px; }
.media-halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(29,78,216,.22), rgba(216,185,140,.18) 42%, transparent 68%); filter: blur(8px); transform: translate(5%, -4%); }
.browser-frame { background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); border-radius: 38px; padding: 12px; box-shadow: var(--shadow); }
.hero-media-card { position: relative; z-index: 1; width: min(100%, 670px); transform: rotateX(0deg) rotateY(-8deg) rotateZ(2deg); box-shadow: 0 34px 90px rgba(17, 19, 24, .18), 0 12px 40px rgba(29, 78, 216, .16); }
.browser-top { height: 34px; display: flex; gap: 7px; align-items: center; padding-left: 8px; }
.browser-top span { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }
.viewer-mockup { position: relative; overflow: hidden; border-radius: 32px; background: #dde6f5; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); aspect-ratio: 16 / 10; }
.viewer-mockup::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,24,0) 45%, rgba(17,19,24,.58)); pointer-events: none; }
.viewer-mockup img, .viewer-mockup video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.viewer-overlay { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.viewer-overlay span { color: white; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.32); }
.play-demo { border: 0; border-radius: 999px; padding: 14px 20px; color: white; background: rgba(17,19,24,.82); backdrop-filter: blur(14px); font-weight: 700; cursor: pointer; white-space: nowrap; }
.floating-note { position: absolute; z-index: 2; padding: 12px 16px; border: 1px solid rgba(255,255,255,.68); border-radius: 999px; background: rgba(255,255,255,.72); color: #344054; font-size: 13px; font-weight: 750; letter-spacing: -.01em; box-shadow: 0 18px 50px rgba(17,19,24,.12); backdrop-filter: blur(18px); }
.note-top { top: 74px; right: 16px; transform: rotate(3deg); }
.note-bottom { left: 8px; bottom: 86px; transform: rotate(-4deg); }
.trust-strip { max-width: var(--max); margin: -18px auto 0; padding: 0 24px 52px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust-strip span, .addons span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: #4b5563; font-size: 14px; }
.compact { padding-top: 62px; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading.narrow { max-width: 660px; text-align: center; margin-left: auto; margin-right: auto; }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.use-card { grid-column: span 2; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 36px rgba(17,19,24,.05); transition: transform .2s ease, box-shadow .2s ease; }
.use-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(17,19,24,.09); }
.use-card img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: center; background: #eef2f7; filter: saturate(.94) contrast(1.02); }
.use-card div { padding: 24px; flex: 1; }
.use-card a { color: var(--accent); font-weight: 700; }
.use-card.wide { grid-column: span 4; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; }
.use-card.wide img { height: 100%; min-height: 320px; aspect-ratio: auto; }
.demo-card, .contact-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; background: linear-gradient(135deg, #fff, #eef4ff); border: 1px solid rgba(229,231,235,.8); border-radius: 36px; padding: 34px; box-shadow: var(--shadow); }
.demo-thumb { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 22px 60px rgba(29,78,216,.16); aspect-ratio: 16 / 10; }
.demo-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.95) contrast(1.03); }
.demo-thumb span { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 12px 14px; border-radius: 999px; background: rgba(17,19,24,.76); color: white; font-size: 13px; font-weight: 650; text-align: center; backdrop-filter: blur(14px); }
.benefit-grid, .price-grid, .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-grid article, .price-card, .steps article { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card.featured { border-color: rgba(29,78,216,.38); box-shadow: 0 24px 70px rgba(29,78,216,.14); transform: translateY(-10px); }
.package { color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.price { font-size: 42px; line-height: 1; color: var(--text); font-weight: 780; letter-spacing: -.05em; margin: 24px 0; }
ul { padding-left: 18px; margin-bottom: 0; }
li { margin: 10px 0; }
.addons { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.steps article span { display: inline-flex; color: var(--accent); font-weight: 800; margin-bottom: 18px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
summary { cursor: pointer; font-weight: 720; letter-spacing: -.02em; }
details p { margin: 14px 0 0; }
.contact-card { grid-template-columns: .8fr 1.2fr; background: radial-gradient(circle at 0% 0%, #dfeaff 0%, transparent 36%), #111318; color: white; }
.contact-card .eyebrow { color: #a9c2ff; }
.contact-card p { color: #cbd5e1; }
.quote-form { display: grid; gap: 12px; }
label { display: grid; gap: 8px; color: #e5e7eb; font-size: 14px; font-weight: 650; }
input, textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: white; border-radius: 16px; padding: 14px 16px; font: inherit; outline: none; }
input:focus, textarea:focus { border-color: #a9c2ff; box-shadow: 0 0 0 4px rgba(169,194,255,.14); }
.form-note { font-size: 12px; margin: 0; }
code { color: white; }
.footer { max-width: var(--max); margin: 0 auto; padding: 36px 24px 60px; display: flex; justify-content: space-between; gap: 20px; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 12, 20, .72); backdrop-filter: blur(16px); }
.modal[aria-hidden="false"] { display: flex; }
.modal-panel { width: min(1120px, 100%); background: #0b0f17; color: white; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: white; font-size: 24px; cursor: pointer; }
.iframe-wrap { aspect-ratio: 16 / 9; background: #111827; }
.iframe-wrap iframe { width: 100%; height: 100%; border: 0; }
.open-tab { display: inline-flex; padding: 0 18px 18px; color: #a9c2ff; font-weight: 650; }
@media (max-width: 920px) {
  .nav { display: none; }
  .hero, .demo-card, .contact-card, .use-card.wide { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .media-stage { min-height: 520px; }
  .hero-media-card { transform: rotateZ(1deg); }
  .benefit-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 620px) {
  .site-header { padding: 14px 16px; }
  .site-header .button { display: none; }
  .section { padding: 68px 16px; }
  h1 { font-size: 52px; }
  h2 { font-size: 38px; }
  .trust-strip { padding-left: 16px; padding-right: 16px; justify-content: flex-start; }
  .use-grid, .benefit-grid, .steps { grid-template-columns: 1fr; }
  .use-card, .use-card.wide { grid-column: auto; }
  .use-card.wide img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .viewer-mockup { aspect-ratio: 4 / 3; }
  .demo-thumb { aspect-ratio: 4 / 3; }
  .viewer-overlay { align-items: flex-start; flex-direction: column; }
  .media-stage { min-height: 390px; }
  .floating-note { display: none; }
  .demo-card, .contact-card { padding: 22px; border-radius: 28px; }
  .footer { flex-direction: column; padding-left: 16px; }
  .button { width: 100%; }
  .hero-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, html { scroll-behavior: auto; transition: none !important; }
}

/* Media clipping rule: media itself owns the same radius as its frame. */
.viewer-mockup video,
.viewer-mockup img {
  border-radius: inherit;
  clip-path: inset(0 round 32px);
  transform: translateZ(0);
}
