/* GizmoBloom website — the brand guide's colors and Nunito Sans (SIL Open Font License, served from this site) */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/fonts/nunito-sans-latin.woff2) format('woff2');
}
:root {
  --deep: #2A1760; --night: #140B2E; --violet: #8B5CFF; --orchid: #C04FD0; --pink: #FF6FA5; --ink: #1E1440;
  --text: #3A3354; --muted: #625C78; --paper: #FBFAFE; --soft: #F1EDFA; --line: #E4DDF2; --white: #FFFFFF;
  --grad: linear-gradient(90deg, #7C4DFF, #C04FD0 55%, #E84D8A);
  --radius: 18px; --shadow: 0 10px 30px rgba(42, 23, 96, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 500; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: #6D3FE0; }
h1, h2, h3 { color: var(--ink); font-weight: 900; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(251, 250, 254, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 900; font-size: 1.45rem; color: var(--ink); letter-spacing: -.01em; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name.light { color: var(--white); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav a[aria-current="page"] { color: #6D3FE0; }
.nav a:not(.btn):hover { color: #6D3FE0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; background: var(--grad); color: var(--white) !important; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; box-shadow: 0 8px 20px rgba(124, 77, 255, .28); }
.btn:hover { filter: brightness(1.06); }
.btn.small { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: .95rem; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 2px solid var(--line); box-shadow: none; }
.btn.light { background: var(--white); color: var(--deep) !important; box-shadow: none; }
.btn[aria-disabled="true"] { background: #E4DDF2; color: #4B3F73 !important; border-color: #E4DDF2; box-shadow: none; cursor: default; filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 111, 165, .25), transparent 60%), linear-gradient(160deg, var(--deep), var(--night)); color: #E9E3FF; padding: 72px 0 84px; }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.2rem; max-width: 680px; color: #DCD3FF; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #FF9CC2; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); font-weight: 700; font-size: .9rem; }
.page-head { padding: 56px 0 24px; }
.page-head p { font-size: 1.15rem; max-width: 760px; }
.page-head.center p { margin-left: auto; margin-right: auto; }

/* the home banner: AI lanes linked to GizmoBloom, making the pages of one book at the same time. js/lanes.js
   moves it; without JavaScript (or with "reduce motion") it is a still picture. No style="" anywhere: the site's
   Content-Security-Policy blocks inline styles. */
.lanes-demo { --gap: 30px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "l1 l2" "app app" "l3 l4"; gap: var(--gap) 14px; width: 100%; max-width: 580px; justify-self: center; color: var(--ink); line-height: 1.3; }
.lanes-demo .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lane { position: relative; min-width: 0; }
.lane.l1 { grid-area: l1; } .lane.l2 { grid-area: l2; } .lane.l3 { grid-area: l3; } .lane.l4 { grid-area: l4; }
.win { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 36px rgba(8, 3, 25, .45); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 7px 10px; background: #F1EDFA; font-size: 12px; font-weight: 900; }
.win-bar .dots { display: inline-flex; gap: 3px; }
.win-bar .dots i { width: 7px; height: 7px; border-radius: 50%; background: #CFC4EA; }
.svc { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; }
.svc.gem { background: var(--white); color: #6D3FE0; box-shadow: inset 0 0 0 1.5px #8B5CFF; }
.prompt { margin: 8px 10px 0; padding: 4px 9px; border-radius: 10px 10px 10px 3px; background: #F1EDFA; color: #4B3F73; font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pic { position: relative; display: flex; justify-content: center; height: 84px; margin: 6px 10px 0; }
.art { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pic .art { width: auto; height: 100%; overflow: visible; }
.pic use { stroke-dasharray: 1 2; }
.pic use.d85 { stroke-dashoffset: .045; } .pic use.d65 { stroke-dashoffset: .245; } .pic use.d45 { stroke-dashoffset: .595; } .pic use.d25 { stroke-dashoffset: .875; }
.lane.busy .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(139, 92, 255, .14) 50%, transparent 70%); background-size: 250% 100%; animation: sweep 1.6s linear infinite; pointer-events: none; }
.lane-foot { padding: 6px 10px 9px; font-size: 11.5px; font-weight: 800; color: #4B3F73; }
.lane-foot .st { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar, .book-bar { display: block; height: 5px; margin-top: 5px; border-radius: 3px; background: #EEE9F8; overflow: hidden; }
.bar i, .book-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--grad); }
.bar i.w25 { width: 25%; } .bar i.w45 { width: 45%; } .bar i.w65 { width: 65%; } .bar i.w85 { width: 85%; } .book-bar i.w33 { width: 33.3%; }
/* the line between a lane and the app, and the dot that runs along it: pink = a picture going to its page,
   violet = the next prompt going to the lane */
.lane::after { content: ''; position: absolute; left: 50%; width: 2px; height: var(--gap); margin-left: -1px; background: repeating-linear-gradient(to bottom, rgba(233, 227, 255, .6) 0 4px, transparent 4px 8px); animation: flow .8s linear infinite; }
.lane.l1::after, .lane.l2::after { top: 100%; }
.lane.l3::after, .lane.l4::after { bottom: 100%; animation-direction: reverse; }
.lane::before { content: ''; position: absolute; left: 50%; z-index: 2; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; opacity: 0; pointer-events: none; }
.lane.l1::before, .lane.l2::before { top: calc(100% - 5px); }
.lane.l3::before, .lane.l4::before { bottom: calc(100% - 5px); }
.lane.send::before { background: var(--pink); box-shadow: 0 0 12px 3px rgba(255, 111, 165, .75); }
.lane.ask::before { background: #B79CFF; box-shadow: 0 0 12px 3px rgba(183, 156, 255, .75); }
.lane.l1.send::before, .lane.l2.send::before { animation: dot-down .7s ease-in; }
.lane.l1.ask::before, .lane.l2.ask::before { animation: dot-up-in .7s ease-out; }
.lane.l3.send::before, .lane.l4.send::before { animation: dot-up .7s ease-in; }
.lane.l3.ask::before, .lane.l4.ask::before { animation: dot-down-in .7s ease-out; }
.app-win { grid-area: app; position: relative; z-index: 1; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 3px rgba(139, 92, 255, .55), 0 22px 50px rgba(8, 3, 25, .5); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: linear-gradient(90deg, var(--deep), #4A2A9A); color: var(--white); font-size: 14px; font-weight: 900; }
.app-bar img { width: 22px; height: 22px; }
.live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11.5px; font-weight: 800; color: #E9E3FF; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; animation: live 1.6s ease-out infinite; }
.app-body { padding: 9px 12px 12px; }
.book-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 800; }
.book-row .count { color: var(--muted); white-space: nowrap; }
.book-row .count b { color: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.thumb { position: relative; display: grid; place-items: center; aspect-ratio: 17 / 22; border: 1.5px solid #E4DDF2; border-radius: 4px; background: var(--white); }
.thumb .art { width: 88%; height: auto; stroke-width: 3.6; }
.thumb.work { border: 1.5px dashed #8B5CFF; background: linear-gradient(110deg, #F7F3FF 30%, #E9DFFF 50%, #F7F3FF 70%); background-size: 250% 100%; animation: sweep 1.4s linear infinite; }
.thumb.work::after { content: attr(data-lane); position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-size: 8px; font-weight: 900; color: #6D3FE0; }
.thumb.wait { border-style: dashed; opacity: .55; }
.thumb.pop { animation: pop .5s ease-out; }
.book-bar { height: 6px; margin-top: 9px; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes flow { to { background-position: 0 8px; } }
@keyframes dot-down { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--gap)); } }
@keyframes dot-up-in { 0% { opacity: 0; transform: translateY(var(--gap)); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(0); } }
@keyframes dot-up { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(var(--gap) * -1)); } }
@keyframes dot-down-in { 0% { opacity: 0; transform: translateY(calc(var(--gap) * -1)); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(0); } }
@keyframes pop { 0% { transform: scale(.8); box-shadow: 0 0 0 0 rgba(255, 111, 165, .8); } 60% { transform: scale(1.08); } 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 111, 165, 0); } }
@keyframes live { from { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } to { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) {
  .lanes-demo *, .lanes-demo *::before, .lanes-demo *::after { animation: none !important; }
}

/* sections and cards */
section { padding: 64px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 6px; }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); font-size: 1.5rem; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 28px; position: relative; margin: 6px 0; }
ul.ticks li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 3px solid #8B5CFF; border-bottom: 3px solid #8B5CFF; transform: rotate(-45deg); }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: var(--white); font-weight: 900; display: grid; place-items: center; }
.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.note { background: var(--soft); border-radius: 14px; padding: 16px 20px; }
.note > :last-child { margin-bottom: 0; }
.section-sub { max-width: 720px; margin: 0 auto; }
/* "Works offline" tag next to a title */
.pill { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #E3F7EA; color: #126B3A; font-size: .72rem; font-weight: 800; line-height: 1.5; letter-spacing: .02em; white-space: nowrap; }

/* spacing (classes, because the Content-Security-Policy blocks style="" attributes) */
.pt-0 { padding-top: 0; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.center-row { justify-content: center; }
.items-center { align-items: center; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plans.small { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 22px auto 0; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 2px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.plan.top { border-color: #8B5CFF; box-shadow: 0 16px 40px rgba(124, 77, 255, .22); }
.plan .tag { position: absolute; top: -14px; left: 24px; background: var(--grad); color: var(--white); font-weight: 800; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 2.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan .per { color: var(--muted); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plans.small .plan { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.plans.small .plan .price { font-size: 1.8rem; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 800; color: var(--ink); padding: 14px 0; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* legal */
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal .card h2:first-child { margin-top: 0; }
.legal li { margin: 6px 0; }

/* call to action band */
.cta { background: linear-gradient(160deg, var(--deep), var(--night)); color: #E9E3FF; border-radius: 26px; padding: 44px; text-align: center; }
.cta h2 { color: var(--white); }

/* footer */
.site-foot { background: var(--night); color: #CFC6E6; padding: 48px 0 28px; margin-top: 40px; }
.site-foot a { color: #E9E3FF; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .muted { color: #B9AED6; max-width: 360px; margin-top: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.fine { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 18px; font-size: .85rem; color: #9C91BD; }

@media (max-width: 600px) {
  /* phones: the logo on its row, the menu on the next (they ran into each other) */
  .head-row { flex-wrap: wrap; min-height: 0; padding: 10px 0; gap: 8px; }
  .nav { width: 100%; justify-content: space-between; gap: 8px; }
  .brand-name { font-size: 1.25rem; }
  .hero { padding: 44px 0 56px; }
  .cta { padding: 30px 20px; }
  .card { padding: 20px; }
  .icon { width: 40px; height: 40px; font-size: 1.3rem; }
  /* the banner on a phone: smaller letters and pictures, the same four lanes */
  .lanes-demo { --gap: 24px; column-gap: 10px; }
  .win-bar { gap: 5px; padding: 6px 8px; font-size: 11px; }
  .win-bar .dots { display: none; }
  .svc { padding: 1px 6px; font-size: 10px; }
  .prompt { margin: 6px 8px 0; font-size: 9.5px; }
  .pic { height: 66px; margin: 4px 8px 0; }
  .lane-foot { padding: 5px 8px 8px; font-size: 10.5px; }
  .app-bar { padding: 7px 10px; font-size: 13px; }
  .live { font-size: 10.5px; }
  .app-body { padding: 8px 10px 10px; }
  .book-row { font-size: 11px; }
  .thumbs { gap: 4px; }
  .thumb.work::after { font-size: 6.5px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .feature, .grid.three, .grid.two, .plans, .plans.small, .foot-grid { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { font-size: .95rem; }
  section { padding: 48px 0; }
}
@media (min-width: 601px) and (max-width: 860px) {
  .grid.three { grid-template-columns: repeat(2, 1fr); }
}
