:root {
  color-scheme: dark;
  --bg: #0a0e17;
  --surface: #111827;
  --border: #1f293d;
  --text: #f8fafc;
  --muted: #94a3b8;
  --pink: #f472b6;
  --purple: #c4b5fd;
  --cyan: #67e8f9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: #9d174d; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; border-radius: 4px; }
img { display: block; width: 100%; height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h2 { font-size: clamp(30px, 3.7vw, 48px); letter-spacing: -.045em; font-weight: 650; }
h3 { font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
p + p { margin-top: 16px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.section-space { margin-top: 120px; }
.muted { color: var(--muted); }
.pink { color: var(--pink); }
.purple { color: var(--purple); }
.cyan { color: var(--cyan); }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .16em; line-height: 1.5; color: var(--muted); }
.eyebrow.purple { color: var(--purple); }
.eyebrow.cyan { color: var(--cyan); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); margin-right: 10px; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 20px; background: var(--surface); border: 1px solid var(--pink); }
.skip-link:focus { transform: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 94px; border-bottom: 1px solid var(--border); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 750; letter-spacing: -.045em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #a855f7, #ec4899 55%, #f43f5e); box-shadow: 0 5px 20px #ec48991f; color: #fff; font-size: 15px; letter-spacing: -.04em; }
.brand-dot { color: var(--pink); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 550; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); transition: color .15s; }
.site-header nav a:last-child { color: var(--text); }
.site-header nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--pink); }
.site-header nav span { margin-left: 6px; }

.hero { padding-top: 70px; }
.hero-copy { display: grid; grid-template-columns: 1.35fr 1fr; gap: 65px; align-items: end; margin: 25px 0 42px; }
h1 { font-size: clamp(50px, 6.7vw, 88px); letter-spacing: -.065em; line-height: 1.03; font-weight: 700; }
h1 span { color: var(--pink); }
.hero-intro { max-width: 410px; padding-bottom: 4px; }
.hero-intro > p:first-child { font-size: 18px; line-height: 1.55; }
.hero-intro .muted { font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; line-height: 1.5; font-weight: 650; transition: background .15s, border-color .15s; }
.button-primary { background: #d42b77; color: #fff; box-shadow: 0 5px 25px #ec48991a; }
.button-primary:hover { background: #c02166; }
.button-secondary { background: var(--surface); border-color: #334155; }
.button-secondary:hover { border-color: var(--pink); }
.text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 13px; font-weight: 550; transition: color .15s; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 18px; font-size: 11px; color: var(--muted); }
.hero-meta span:not(.meta-end)::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 8px; background: #64748b; border-radius: 50%; vertical-align: middle; }
.hero-meta .meta-end { margin-left: auto; }
.product-preview { border: 1px solid #293449; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 100px #0005; }
.preview-bar, .terminal-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; color: var(--muted); }
.window-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.window-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #475569; }
.window-dots i:first-child { background: #fb7185; }
.window-dots i:nth-child(2) { background: #fbbf24; }
.window-dots i:nth-child(3) { background: #34d399; }
.preview-bar > span:nth-child(2) { flex: 1; }
.preview-label { letter-spacing: .1em; color: #64748b; }
.product-preview > a { display: block; }
.product-preview figcaption { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; padding: 15px 18px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.product-preview figcaption > span:first-child { color: #cbd5e1; }

.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: end; margin-top: 22px; }
.section-heading > p { color: var(--muted); max-width: 430px; font-size: 15px; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); padding: 35px 0 0; margin: 38px 0 0; list-style: none; border-top: 1px solid var(--border); gap: 36px; }
.workflow li { display: flex; gap: 17px; }
.step { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; color: var(--pink); padding-top: 3px; }
.workflow h3 { font-size: 16px; }
.workflow p { margin-top: 12px; font-size: 13px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 50px; margin-top: 42px; border-top: 1px solid var(--border); }
.feature-grid article { padding: 28px 0 30px; border-bottom: 1px solid var(--border); }
.feature-symbol { display: inline-flex; align-items: center; height: 33px; margin-bottom: 15px; font-size: 27px; line-height: 1; }
.feature-grid p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 330px; }

.ai-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; border: 1px solid #433561; border-radius: 16px; background: linear-gradient(125deg, #141124, #101522 80%); padding: 52px; }
.ai-copy h2 { margin: 20px 0 22px; }
.ai-copy > p:not(.eyebrow) { font-size: 14px; max-width: 400px; }
.ai-copy .text-link { margin-top: 18px; color: var(--purple); }
.search-example { position: relative; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #413650; padding: 32px 0 20px 44px; }
.example-label { color: var(--muted); letter-spacing: .12em; font-size: 10px; }
.sparkle { position: absolute; right: 0; top: 18px; font-size: 35px; color: var(--purple); }
.search-example blockquote { margin: 30px 0 22px; font-size: clamp(25px, 3vw, 39px); line-height: 1.22; letter-spacing: -.035em; color: #ddd6fe; font-weight: 500; }
.search-example > p { color: var(--muted); font-size: 13px; }
.example-footer { margin-top: 42px; padding-top: 17px; border-top: 1px solid #30273f; font-size: 11px; color: var(--muted); }
.example-footer .status-dot { width: 5px; height: 5px; background: var(--purple); }

.screenshots-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.screenshots-heading h2 { margin-top: 20px; }
.screenshots-heading > p { font-size: 12px; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.screenshot-image { display: block; border: 1px solid #293449; border-radius: 10px; overflow: hidden; transition: border-color .15s; }
.screenshot-image:hover { border-color: var(--pink); }
.screenshot-grid figcaption { padding: 22px 0 0; }
.screenshot-grid figcaption h3 { font-size: 17px; }
.screenshot-grid figcaption p { color: var(--muted); font-size: 13px; margin-top: 9px; }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.privacy h2 { margin-top: 22px; font-size: clamp(29px, 3.4vw, 44px); }
.privacy-copy { font-size: 14px; color: #cbd5e1; }
.privacy-copy strong { color: var(--text); }
.privacy-copy .muted { font-size: 13px; }

.install { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 65px; }
.install-copy h2 { margin: 20px 0 22px; }
.install-copy > p:not(.eyebrow) { max-width: 360px; color: var(--muted); font-size: 14px; }
.install-copy .text-link { margin-top: 18px; color: var(--pink); }
.terminal { min-width: 0; border: 1px solid #293449; border-radius: 12px; background: #0e1422; overflow: hidden; }
.terminal-bar { justify-content: start; padding: 17px 22px; letter-spacing: .06em; }
.terminal pre { margin: 0; padding: 24px 22px; overflow-x: auto; font-size: 12px; line-height: 1.9; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.code-comment { color: var(--muted); }
.code-highlight { color: var(--pink); }
.terminal > p { border-top: 1px solid var(--border); padding: 16px 22px; font-size: 11px; line-height: 1.9; color: var(--muted); }
.terminal > p code { color: #cbd5e1; }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 80px 0; margin-top: 100px; border-top: 1px solid var(--border); }
.contact h2 { font-size: 32px; margin-top: 18px; }
.contact p:not(.eyebrow) { margin-top: 14px; font-size: 13px; color: var(--muted); }
.contact-links { display: flex; align-items: end; flex-direction: column; }
.contact-email { overflow-wrap: anywhere; }
.site-footer { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.site-footer .brand { color: var(--text); font-size: 19px; }
.site-footer .brand-mark { width: 30px; height: 30px; font-size: 12px; border-radius: 9px; }
.site-footer > div { display: flex; gap: 24px; }
.site-footer > div a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero-copy { gap: 35px; grid-template-columns: 1.2fr 1fr; }
  .section-heading, .privacy { gap: 45px; }
  .ai-panel { padding: 36px; gap: 35px; }
  .search-example { padding-left: 30px; }
  .feature-grid { column-gap: 30px; }
  .install { gap: 35px; }
  .terminal pre { font-size: 10px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section-space { margin-top: 80px; }
  .site-header { min-height: 80px; }
  .site-header nav { gap: 18px; font-size: 12px; }
  .site-header nav a[href="#features"] { display: none; }
  .hero { padding-top: 44px; }
  .hero-copy { grid-template-columns: 1fr; gap: 28px; margin: 24px 0 28px; }
  h1 { font-size: clamp(48px, 10vw, 72px); }
  .hero-intro { max-width: 520px; }
  .hero-intro > p:first-child { font-size: 17px; }
  .hero-intro .muted { font-size: 14px; }
  .hero-meta { gap: 15px; font-size: 10px; }
  .hero-meta .meta-end, .preview-label { display: none; }
  .product-preview figcaption > span:last-child { font-size: 10px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { max-width: 550px; font-size: 14px; }
  .workflow { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; padding-top: 28px; }
  .workflow p { max-width: 470px; margin-top: 8px; }
  .feature-grid { grid-template-columns: 1fr 1fr; column-gap: 30px; margin-top: 30px; }
  .feature-grid article { padding: 24px 0; }
  .feature-grid h3 { font-size: 17px; }
  .feature-grid p { font-size: 13px; }
  .ai-panel { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
  .ai-copy > p:not(.eyebrow) { max-width: none; }
  .search-example { border-left: 0; border-top: 1px solid #413650; padding: 28px 0 0; }
  .sparkle { top: 24px; }
  .search-example blockquote { font-size: 34px; margin: 22px 0; }
  .example-footer { margin-top: 26px; }
  .screenshots-heading { display: block; }
  .screenshots-heading > p { margin-top: 18px; }
  .screenshot-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 26px; }
  .privacy { grid-template-columns: 1fr; gap: 28px; padding: 35px 0; }
  .install { grid-template-columns: 1fr; gap: 30px; }
  .terminal pre { font-size: 12px; }
  .contact { align-items: start; flex-direction: column; gap: 28px; padding: 50px 0; margin-top: 70px; }
  .contact-links { align-items: start; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding: 26px 0; }
  .site-footer > span { margin-left: auto; }
  .site-footer > div { width: 100%; }
}

@media (max-width: 400px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 12px; font-size: 11px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  h1 { font-size: 46px; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .actions { gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid p { max-width: none; }
  .ai-panel { padding: 24px; }
  .search-example blockquote { font-size: 31px; }
  .terminal pre { font-size: 11px; padding: 22px 16px; }
  .terminal-bar, .terminal > p { padding-inline: 16px; }
}

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