/* DealDeck – presentation website */
:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --bg-soft: #f6f7fb;
  --indigo: #4f46e5; --indigo-2: #6366f1; --violet: #7c3aed; --sky: #06b6d4; --amber: #f59e0b;
  --night: #0b1020; --night-2: #121a33;
  --radius: 18px; --shadow: 0 24px 60px rgba(15, 23, 42, .16); --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
  --wrap: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
/* inline icons take the size of the text unless a component sets its own */
main svg, .contact-band svg, .site-header svg { width: 1.15em; height: 1.15em; flex: none; }
p > a svg, .note svg { vertical-align: -0.22em; margin-left: 4px; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header.scrolled, .site-header.solid { background: rgba(11, 16, 32, .82); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.brand { display: flex; align-items: center; } .brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: #cbd5e1; font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav .btn { margin-left: 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; box-shadow: 0 10px 26px rgba(79, 70, 229, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(79, 70, 229, .45); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-small { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn[aria-disabled="true"] { opacity: .75; cursor: not-allowed; transform: none; box-shadow: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--night); color: #e2e8f0; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.hero::before { width: 900px; height: 620px; right: -220px; top: -260px; background: radial-gradient(closest-side, rgba(99, 102, 241, .55), transparent); }
.hero::after { width: 760px; height: 560px; left: -300px; top: 260px; background: radial-gradient(closest-side, rgba(6, 182, 212, .32), transparent); }
.hero .grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%); }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; letter-spacing: .02em; color: #c7d2fe;
  border: 1px solid rgba(165, 180, 252, .35); background: rgba(99, 102, 241, .14); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); display: inline-block; box-shadow: 0 0 0 4px rgba(245, 158, 11, .22); }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(100deg, #a5b4fc, #67e8f9 60%, #fcd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #cbd5e1; max-width: 720px; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { color: #94a3b8; font-size: .9rem; margin-top: 16px; }
.hero-visual { position: relative; margin: 64px auto 0; max-width: 1080px; padding: 0 24px; }
.hero-visual .window { transform: perspective(2200px) rotateX(9deg); transform-origin: 50% 0; }
.hero-visual .float { position: absolute; width: 33%; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .14); background: #0f172a; }
.hero-visual .float.f1 { left: -3%; bottom: 14%; }
.hero-visual .float.f2 { right: -3%; top: 16%; }
.hero-fade { height: 120px; background: linear-gradient(transparent, var(--bg)); margin-top: -120px; position: relative; }

/* mac-style window around screenshots */
.window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(2, 6, 23, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.window .chrome { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef1f6; border-bottom: 1px solid #dfe3ea; }
.window .chrome i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.window .chrome i:nth-child(1) { background: #ff5f57; } .window .chrome i:nth-child(2) { background: #febc2e; } .window .chrome i:nth-child(3) { background: #28c840; }
.window .chrome span { margin: 0 auto; font-size: .78rem; color: #64748b; font-weight: 600; padding-right: 50px; }
.window.dark { background: #0f172a; } .window.dark .chrome { background: #1e293b; border-color: #0f172a; } .window.dark .chrome span { color: #94a3b8; }
.window img { width: 100%; height: auto; }
.shot-button { all: unset; display: block; cursor: zoom-in; width: 100%; }

/* ------------------------------------------------------------------ sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .kicker, .kicker { color: var(--indigo); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.soft { background: var(--bg-soft); }
.dark-section { background: var(--night); color: #cbd5e1; position: relative; overflow: hidden; isolation: isolate; }
.dark-section::before { content: ""; position: absolute; z-index: -1; width: 800px; height: 600px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .35), transparent); }
.dark-section h2, .dark-section h3 { color: #fff; } .dark-section .section-head p { color: #94a3b8; } .dark-section .kicker { color: #a5b4fc; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -24px; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact .ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--sky)); }
.fact .ico svg { width: 22px; height: 22px; }
.fact b { display: block; font-size: 1rem; } .fact span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: var(--indigo); background: #eef2ff; }
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card.c-amber .ico { color: #b45309; background: #fef3c7; } .card.c-sky .ico { color: #0e7490; background: #cffafe; }
.card.c-violet .ico { color: var(--violet); background: #ede9fe; } .card.c-green .ico { color: #047857; background: #d1fae5; }
.card.c-rose .ico { color: #be123c; background: #ffe4e6; }

/* showcase tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.tab { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: all .15s; }
.tab:hover { border-color: #a5b4fc; }
.tab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--indigo), var(--violet)); border-color: transparent; box-shadow: 0 8px 20px rgba(79, 70, 229, .3); }
.tab:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.showcase { max-width: 1060px; margin: 0 auto; }
.showcase .panel[hidden] { display: none; }
.showcase .caption { text-align: center; color: var(--muted); margin-top: 22px; font-size: 1.02rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.showcase .caption b { color: var(--ink); }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1.25fr 1fr; }
.split.reverse .copy { order: 2; }
.split + .split { margin-top: 110px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: #eef2ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dark-section .checks li::before { background-color: rgba(99, 102, 241, .22); }
.copy p.big { font-size: 1.12rem; color: var(--ink-2); } .dark-section .copy p.big { color: #cbd5e1; }

/* AI providers */
.providers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: rgba(255, 255, 255, .08); color: #e2e8f0; border: 1px solid rgba(255, 255, 255, .16); }
.chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--amber); }
.light-chips .chip { background: #fff; color: var(--ink-2); border-color: var(--line); }

/* steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps3 .step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.steps3 .step .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--sky)); }
.steps3 .step .ico svg { width: 22px; height: 22px; }
.providers + .note { margin-top: 18px; color: #94a3b8; font-size: .95rem; }
.steps3 .step p { color: #94a3b8; margin: 0; }

/* download */
.download { border-radius: 28px; padding: 56px; color: #e2e8f0; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 300px at 90% 0%, rgba(99, 102, 241, .55), transparent), radial-gradient(500px 300px at 0% 100%, rgba(6, 182, 212, .35), transparent), var(--night); }
.download .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.download h2 { color: #fff; }
.download .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  color: #fde68a; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35); margin-bottom: 18px; }
.download .req { color: #94a3b8; font-size: .95rem; margin-top: 18px; }
.download .icon { width: 220px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-card { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--indigo); background: #eef2ff; flex: none; }
.contact-line .ico svg { width: 22px; height: 22px; }
.contact-line small { display: block; color: var(--muted); font-size: .85rem; }
.contact-line a { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
form.contact { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99, 102, 241, .18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* bottom contact band (every page) */
.contact-band { background: linear-gradient(135deg, #eef2ff, #ecfeff); border-top: 1px solid var(--line); padding: 64px 0; }
.contact-band .inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.contact-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .25em; }
.contact-band p { color: var(--ink-2); margin: 0; }
.contact-band .ways { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--night); color: #94a3b8; padding: 48px 0 40px; font-size: .93rem; }
.site-footer .inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer img { height: 32px; width: auto; margin-bottom: 12px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #cbd5e1; }
.site-footer .legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #64748b; }

/* page heads (inner pages) */
.page-head { background: var(--night); color: #cbd5e1; padding: 150px 0 70px; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.page-head::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 600px; right: -250px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(99, 102, 241, .5), transparent); }
.page-head::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 500px; left: -250px; bottom: -330px; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 182, 212, .3), transparent); }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-head p { font-size: 1.15rem; max-width: 720px; margin: 0 auto; }

/* feature-page jump nav and blocks */
.jump { position: sticky; top: 72px; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.jump a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.jump a:hover { background: #eef2ff; color: var(--indigo); text-decoration: none; }
.feature-block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.mini { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mini b { display: block; margin-bottom: 4px; } .mini span { color: var(--muted); font-size: .94rem; }
.prose { max-width: 780px; margin: 0 auto; } .prose h2 { font-size: 1.6rem; margin-top: 1.6em; } .prose p, .prose li { color: var(--ink-2); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2, 6, 23, .88); display: none; align-items: center; justify-content: center; padding: 3vw; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; top: 18px; right: 22px; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .window { transform: none; } .card, .btn { transition: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); } .facts { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; } .split.reverse .copy { order: 0; }
  .download .grid, .contact-grid { grid-template-columns: 1fr; } .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual .float { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; } section { padding: 68px 0; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto; background: rgba(11, 16, 32, .97); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    display: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
  .nav.open { display: flex; } .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  .site-header .bar { gap: 12px; }
  .cards, .facts, .steps3, .mini-grid, .row2 { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; } .hero-visual { margin-top: 44px; } .hero-visual .window { transform: none; }
  .download { padding: 34px 24px; } .download .icon { width: 150px; }
  .window .chrome span { display: none; }
}
.contact-card h2 { font-size: 1.45rem; margin-bottom: .8em; }
.center-cta { text-align: center; margin: 34px 0 0; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; padding: 16px 30px 16px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--indigo); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-2); padding-bottom: 14px; margin: 0; }
