@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --ink: #322036;
  --muted: #6a5574;
  --purple: #5b18a8;
  --lilac: #c4a8e8;
  --mid: #96799c;
  --paper: #f7f2ff;
  --white: #fffdfb;
  --dark: #16081f;
  --dark2: #241033;
  --now: #2f6f55;
  --soon: #8a5a12;
  --line: rgba(91, 24, 168, 0.18);
  --shadow: 0 10px 30px rgba(50, 32, 54, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #ece4f6; color: var(--ink); font-family: "Source Sans 3", "Segoe UI", sans-serif; }
body { line-height: 1.45; }

.page {
  width: 8.5in;
  min-height: 11in;
  margin: 18px auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  page-break-after: always;
  break-after: page;
  page-break-inside: avoid;
}
.page:last-child { page-break-after: auto; break-after: auto; }

.cover { background: radial-gradient(1200px 700px at 80% -10%, #5b18a8 0%, var(--dark) 48%, #0c0512 100%); color: #f4ecff; }
.cover .inner { padding: 0.55in 0.58in 0.42in; min-height: 11in; display: flex; flex-direction: column; }

.eyebrow {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lilac); font-weight: 700;
}
h1, h2, h3, .brand { font-family: Cinzel, "Times New Roman", serif; }
.brand { font-size: 13px; letter-spacing: 0.34em; color: var(--lilac); font-weight: 700; }
.cover h1 { font-size: 42px; letter-spacing: 0.12em; margin: 10px 0 6px; font-weight: 900; }
.cover .sub { font-size: 15px; color: #e0d0ff; max-width: 6.4in; }
.cover .rule { height: 1px; background: linear-gradient(90deg, var(--lilac), transparent); margin: 16px 0 18px; }

.kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.meta { font-size: 11px; color: #cbb6e8; letter-spacing: 0.08em; text-transform: uppercase; }

.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin: 8px 0 18px; }
.hero-photo { width: 100%; border: 1px solid rgba(196,168,232,0.45); background: #1a0c26; }
.hero-photo img { width: 100%; height: auto; display: block; }
.lede { font-size: 13.5px; color: #eadfff; }
.lede strong { color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; }
.card {
  border: 1px solid rgba(196,168,232,0.4);
  background: rgba(255,255,255,0.05);
  padding: 14px 14px 16px;
  min-height: 2.15in;
}
.card .name { font-family: Cinzel, serif; font-size: 20px; letter-spacing: 0.18em; }
.card .kind { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); margin: 3px 0 8px; }
.card p { font-size: 12px; color: #e8dcff; }
.pill {
  display: inline-block; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--lilac); color: var(--lilac); padding: 2px 7px; margin-bottom: 8px;
}

.inner { padding: 0.48in 0.55in 0.42in; }
.topbar { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.topbar .brand { color: var(--purple); letter-spacing: 0.28em; font-size: 11px; }
.topbar .sec { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); }

h2 { font-size: 22px; letter-spacing: 0.08em; color: var(--purple); margin: 0 0 8px; }
h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); margin: 16px 0 8px; }
p { font-size: 12.5px; color: var(--ink); }
.muted { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 15px 15px;
}
.panel h3 { margin-top: 0; }
.feat { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(91,24,168,0.1); }
.feat:last-child { margin: 0; padding: 0; border: 0; }
.feat b { display: block; font-size: 12px; color: var(--purple); letter-spacing: 0.04em; }
.feat span { font-size: 12px; color: var(--ink); }

table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); background: rgba(196,168,232,0.18); }
.now { color: var(--now); font-weight: 700; }
.soon { color: var(--soon); font-weight: 700; }
.na { color: #9a8aa4; }

.device-hero { display: grid; grid-template-columns: 2.15in 1fr; gap: 18px; align-items: start; margin-bottom: 14px; }
.device-hero img { width: 100%; height: 2.2in; object-fit: cover; object-position: center; background: #efe8f8; border: 1px solid var(--line); display: block; }
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 4px; }
.stat { background: var(--white); border: 1px solid var(--line); padding: 8px 9px; }
.stat b { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.stat span { font-size: 12.5px; font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.col-now { border-top: 3px solid var(--now); }
.col-soon { border-top: 3px solid #c9a227; }
ul.clean { list-style: none; }
ul.clean li { position: relative; padding-left: 14px; margin: 0 0 6px; font-size: 12px; }
ul.clean li:before { content: "✦"; position: absolute; left: 0; color: var(--purple); font-size: 9px; top: 2px; }

.footer {
  position: absolute; left: 0.55in; right: 0.55in; bottom: 0.28in;
  display: flex; justify-content: space-between; font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mid); border-top: 1px solid var(--line); padding-top: 6px;
}
.cover .footer { color: #b9a4d6; border-color: rgba(196,168,232,0.25); left: 0.58in; right: 0.58in; }

.note { font-size: 11.5px; color: var(--muted); font-style: italic; margin-top: 8px; }
.logo-line { display: flex; gap: 18px; align-items: flex-end; margin-top: 8px; }
.quote { font-size: 13px; color: #eadfff; border-left: 2px solid var(--lilac); padding-left: 12px; margin: 10px 0 0; }

body.onepager { background: #ece4f6; }
body.onepager .page { min-height: 11in; height: 11in; margin: 18px auto; overflow: hidden; }
body.onepager .inner { padding: 0.36in 0.48in 0.34in; }
body.onepager .device-hero { margin-bottom: 10px; grid-template-columns: 2in 1fr; gap: 14px; }
body.onepager .device-hero img { height: 1.72in; }
body.onepager h2 { font-size: 20px; }
body.onepager .feat { margin: 0 0 5px; padding-bottom: 5px; }
body.onepager .panel { padding: 11px 12px 12px; }
body.onepager .statrow { margin: 8px 0 0; }
body.onepager h3 { margin: 12px 0 6px; }
body.onepager ul.clean li { margin: 0 0 4px; }

@page { size: letter; margin: 0; }

@media print {
  html, body { background: white; }
  .page { margin: 0; box-shadow: none; width: auto; min-height: 11in; }
  body.onepager .page { height: auto; min-height: 11in; overflow: visible; }
  .no-print { display: none !important; }
}

.nav {
  max-width: 8.5in; margin: 14px auto 0; display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12px;
}
.nav a {
  color: var(--purple); text-decoration: none; border: 1px solid var(--lilac);
  padding: 5px 10px; background: white;
}
.nav a:hover { background: #efe6ff; }

/* ---- Product photography strip ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery.one { grid-template-columns: 1fr; }
.shot { background: var(--white); border: 1px solid var(--line); padding: 6px 6px 5px; }
.shot img {
  width: 100%; height: 1.45in; display: block;
  object-fit: cover; object-position: center; background: #f2ebfb;
}
/* diagrams carry readable edge-to-edge labels — never crop them */
.shot.diagram img { object-fit: contain; }
.shot span {
  display: block; font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--mid); margin-top: 5px; text-align: center;
}
.gallery.one .shot img, .gallery.two .shot img { height: 1.9in; }
.cover .shot { background: rgba(255,255,255,0.05); border-color: rgba(196,168,232,0.4); }
.cover .shot img { background: #1a0c26; }
.cover .shot span { color: var(--lilac); }
body.onepager .gallery { margin-top: 8px; }
body.onepager .shot img { height: 1.12in; }
body.onepager .gallery.one .shot img, .gallery.two .shot img { height: 1.5in; }

/* ---- Voice / chatbot callout ---- */
.voice {
  margin-top: 12px; border: 1px solid var(--line); border-left: 3px solid var(--purple);
  background: var(--white); padding: 11px 14px 12px;
}
.voice h3 { margin: 0 0 6px; }
.voice p { font-size: 12px; }
.voice .bots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.voice .bots span {
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--lilac); color: var(--purple); padding: 2px 7px;
}
.cover .voice { background: rgba(255,255,255,0.05); border-color: rgba(196,168,232,0.4); border-left-color: var(--lilac); }
.cover .voice p { color: #e8dcff; }

/* ---- Density notch for pages carrying the added photo strip / voice block ---- */
.tight .device-hero { margin-bottom: 8px; }
.tight .device-hero img { height: 1.4in; }
body.onepager .tight .device-hero img { height: 1.15in; }
.tight .panel { padding: 10px 11px 11px; }
.tight .feat { margin: 0 0 4px; padding-bottom: 4px; }
.tight h3 { margin: 9px 0 5px; }
body.onepager .tight h3 { margin: 5px 0 3px; }
.tight p { font-size: 12px; }
.tight table { font-size: 11px; }
.tight th, .tight td { padding: 3px 7px; }
.tight ul.clean li { margin: 0 0 3px; }
.tight .shot img { height: 1in; }
body.onepager .tight .shot img { height: 0.78in; }
.tight .gallery.one .shot img, .gallery.two .shot img { height: 1.15in; }
body.onepager .tight .gallery.one .shot img, .gallery.two .shot img { height: 1.05in; }
.tight .shot { padding: 5px 5px 4px; }
.tight .voice { margin-top: 7px; padding: 8px 11px 9px; }
.tight .voice p { font-size: 11.5px; }
.tight .voice .bots { margin-top: 6px; }
.tight .voice .bots span { padding: 1px 6px; }
.tight .note { margin-top: 6px; }
.tight .inner { padding: 0.42in 0.55in 0.38in; }
body.onepager .tight .inner { padding: 0.32in 0.46in 0.30in; }
.tight .statrow { margin: 6px 0 0; }
.tighter .feat { margin: 0 0 3px; padding-bottom: 3px; }
.tighter ul.clean li { margin: 0 0 2px; }
.tighter th, .tighter td { padding: 0 7px; }
body.onepager .tighter .device-hero img { height: 0.9in; }
body.onepager .tighter .shot img { height: 0.68in; }
body.onepager .tighter .gallery.one .shot img, .gallery.two .shot img { height: 0.85in; }
body.onepager .tighter .shot { padding: 4px 4px 3px; }
body.onepager .tighter .gallery { gap: 8px; margin-top: 6px; }

.tighter table { line-height: 1.22; }

/* ---- Stacked horizontal strips (compact alternative to grid-3) ---- */
.stack { margin-top: 4px; }
.strip { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.strip:last-child { border-bottom: none; }
.strip-label {
  flex: 0 0 88px; width: 88px; padding-top: 3px;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--purple);
}
.strip.now .strip-label { color: var(--now); }
.strip.soon .strip-label { color: var(--soon); }
.strip-items { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.strip-items .chip {
  background: var(--white); border: 1px solid var(--line); padding: 5px 8px;
  flex: 1 1 145px; min-width: 130px; font-size: 10.5px; line-height: 1.32;
}
.strip-items .chip b { display: block; font-size: 10.5px; color: var(--purple); margin-bottom: 1px; }
.gallery.grow .shot img { height: 2.8in !important; }
