:root {
  color-scheme: light;
  font-family: Inter, "Aptos", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #271f37;
  background: #faf8fd;
  --ink: #271f37;
  --accent: #5f428d;
  --purple: #503479;
  --muted: #594d68;
  --line: #e4ddec;
  --lavender: #f0e9f8;
  --brand-ink: #f7eeff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #7654a6;
  outline-offset: 4px;
}
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.62; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.06; }
[id] { scroll-margin-top: 100px; }
.wrap { width: min(1200px, calc(100% - 88px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-180%); z-index: 5; }
.skip:focus { transform: none; background: white; padding: 12px; }

.icon { --size: 20px; display: inline-block; width: var(--size); height: var(--size); flex: 0 0 var(--size); color: inherit; background: currentColor; mask: var(--shape) center / contain no-repeat; }
.i-brand { --shape: url("./icons/brand.png"); }
.i-forms { --shape: url("./icons/forms.png"); }
.i-plus { --shape: url("./icons/plus.png"); }
.i-eye { --shape: url("./icons/eye.png"); }
.i-check { --shape: url("./icons/check.png"); }
.i-sparkles { --shape: url("./icons/sparkles.png"); }
.i-edit { --shape: url("./icons/edit.png"); }
.i-rating { --shape: url("./icons/rating.png"); }
.i-calendar { --shape: url("./icons/calendar.png"); }
.i-bar { --shape: url("./icons/bar.png"); }

.site-header { border-bottom: 1px solid var(--line); background: #faf8fdf4; position: sticky; top: 0; z-index: 3; }
.header-inner { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 590; font-size: 1rem; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand strong { font-weight: 760; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 10px; background: var(--purple); color: var(--brand-ink); }
.brand-mark .icon { --size: 23px; }
.site-header nav, .site-footer nav { display: flex; gap: 27px; align-items: center; color: var(--muted); font-size: .91rem; font-weight: 600; }
.site-header nav a, .site-footer nav a { text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 11px 17px; font-weight: 720; font-size: .91rem; text-decoration: none; line-height: 1.3; }
.button .icon { --size: 17px; }
.button.primary { background: var(--purple); color: #ffffff; box-shadow: 0 4px 10px #3a245f26; }
.button.primary:hover { background: #634391; }
.button.secondary { color: #4b356b; background: #fff; border-color: #d8cce6; }
.button.secondary:hover { background: #f6effc; border-color: #a38abc; }
.header-cta { min-height: 40px; padding: 8px 13px; }

.hero-band { background: linear-gradient(112deg, #faf8fd 12%, #f0e8fa 100%); border-bottom: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: center; gap: clamp(28px, 6vw, 88px); padding: 66px 0 57px; }
.overline { display: flex; gap: 7px; align-items: center; font-size: .79rem; color: #62458a; font-weight: 750; line-height: 1.4; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
.overline .icon { --size: 17px; }
.hero h1 { max-width: 580px; font-size: clamp(3.25rem, 6.25vw, 5.65rem); font-weight: 745; letter-spacing: -.079em; line-height: .99; }
.hero h1 em { color: #6a4997; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.072em; white-space: nowrap; }
.intro { max-width: 480px; margin: 22px 0 25px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.14rem); line-height: 1.66; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.before-click { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--muted); font-size: .83rem; margin-top: 13px; }

.demo-stage {
  position: relative; isolation: isolate; border-radius: 24px; padding: clamp(18px, 3.3vw, 45px);
  background: radial-gradient(ellipse at 83% 4%, #f9e4f8 0%, transparent 55%),
    radial-gradient(ellipse at 8% 103%, #d9c6f3 0%, transparent 60%), #eee8f5;
  border: 1px solid #dfd1ee;
  overflow: hidden;
}
.demo-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(#a18aba 1px,transparent 1.2px);
  background-size: 13px 13px;
  opacity: .35;
  mask: linear-gradient(133deg,#000,transparent 56%,#000);
}
.demo-window { background: #fff; border: 1px solid #d8cce7; border-radius: 15px; box-shadow: 0 17px 43px #58368329; overflow: hidden; }
.demo-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; gap: 8px; color: #4e3d68; border-bottom: 1px solid #e9e2f2; background: #fafdF9; }
.demo-app { display: flex; align-items: center; gap: 7px; font-weight: 750; font-size: .93rem; color: var(--ink); }
.mini-brand { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 6px; background: #ece2f6; color: var(--accent); }
.mini-brand .icon { --size: 17px; }
.sample-label { font-size: .75rem; font-weight: 630; white-space: nowrap; color: #605173; }
.demo-content { padding: 12px 13px 13px; }
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.scenario-tabs button { min-height: 30px; border: 1px solid transparent; color: #5e5270; background: transparent; border-radius: 7px; padding: 4px 8px; font-size: .82rem; font-weight: 690; }
.scenario-tabs button[aria-pressed=true] { background: #ede3f8; border-color: #e0d1ef; color: #573a82; }
.scenario-tabs button:hover { background: #f5effa; }
.demo-prompt { min-height: 52px; padding: 8px 9px; display: flex; align-items: flex-start; gap: 8px; font-size: .79rem; color: #503e6f; background: #f7eefb; border: 1px solid #ece0f3; border-radius: 8px; }
.demo-prompt .icon { --size: 15px; color: #704ba1; margin-top: 2px; }
.demo-prompt p { line-height: 1.42; }
.sample-form { margin: 11px 0 9px; padding: 11px; border: 1px solid #e6dcec; border-top: 4px solid #9470bd; border-radius: 8px; min-height: 245px; }
.sample-form-head { display: flex; justify-content: space-between; gap: 7px; align-items: flex-start; padding-bottom: 5px; }
.sample-form-head h2 { font-weight: 755; font-size: 1.12rem; letter-spacing: -.035em; }
.sample-form-head p { font-size: .78rem; margin-top: 3px; color: #645575; }
.form-badge { border-radius: 6px; background: #f2eaf8; color: #5c4b72; padding: 3px 6px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.sample-question { border-top: 1px solid #ece4f2; padding: 8px 0 6px; font-size: .82rem; }
.sample-question:last-child { padding-bottom: 0; }
.sample-question strong { font-weight: 680; line-height: 1.35; display: block; }
.sample-question small { color: #63546c; margin-left: 5px; font-weight: 540; font-size: .7rem; }
.ratings, .choices { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.ratings span, .choices span { background: #faf6fd; border: 1px solid #eae0f2; padding: 4px 6px; border-radius: 5px; color: #554469; font-size: .72rem; }
.ratings span { display: inline-grid; place-items: center; width: 25px; height: 24px; }
.choices .correct { background: #e8f2e5; border-color: #cfdfcb; color: #285a3d; }
.answer-field { padding: 5px 0 3px; display: block; max-width: 210px; border-bottom: 1px solid #e9dfed; font-size: .73rem; color: #60536e; }
.demo-link { display: inline-block; color: #63408f; font-size: .8rem; font-weight: 730; text-underline-offset: 3px; }

.rating-proof { display: flex; align-items: center; gap: 7px; color: #62536f; font-size: .85rem; font-weight: 610; line-height: 1.3; }
.rating-proof { text-decoration: none; }
.rating-proof:hover { text-decoration: underline; text-underline-offset: 3px; }
.star { color: #8a631c; font-size: 1.15rem; }
.rating-proof strong { color: var(--ink); }
.section { padding-block: 73px; }
.section-heading { margin-bottom: 25px; }
.section-heading h2, .split h2 { font-weight: 740; font-size: clamp(2rem, 4vw, 3.25rem); max-width: 710px; }
.section-heading > p, .split p { color: var(--muted); font-size: 1rem; margin-top: 10px; }
.workflow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.workflow article { border-top: 1px solid #ded4e9; padding: 17px 12px 0 0; }
.tile-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: #5e4483; margin-bottom: 13px; }
.sage { background: #e6f0de; }
.lilac { background: #eee8f5; }
.sky { background: #e5eef5; }
.workflow h3, .use-card h3, .price-card h3 { font-size: 1.25rem; letter-spacing: -.035em; margin-bottom: 8px; }
.workflow p, .use-card p, .price-card p { font-size: .99rem; color: var(--muted); }
.use-band { background: #f7f2fb; border-block: 1px solid #ece3f2; }
.use-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.use-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 207px; border-radius: 15px; padding: 18px; }
.use-card .icon { --size: 25px; color: #5b4382; margin: 0 0 13px; }
.use-card p { margin-bottom: 15px; }
.use-card a, .faq-list a { color: #573a81; font-weight: 700; text-underline-offset: 4px; }
.use-card a { margin-top: auto; font-size: .88rem; }
.split { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 65px; }
.split .overline { font-size: .79rem; }
.split-copy > p:not(.overline) { max-width: 440px; }
.split .button { margin-top: 17px; }
.response-preview { display: block; border-radius: 16px; padding: 17px; background: #f2e9f9; border: 1px solid #e3d4ee; text-decoration: none; }
.response-preview:hover { border-color: #a184bd; }
.response-preview-head { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.response-preview-head .icon { color: #664790; --size: 18px; }
.response-preview-head > span { margin-left: auto; color: #645472; font-size: .75rem; }
.response-preview-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.response-preview-stats div { background: white; border-radius: 9px; padding: 10px 11px; }
.response-preview-stats span { display: block; font-size: .79rem; color: #645472; }
.response-preview-stats strong { font-size: 1.7rem; letter-spacing: -.055em; }
.response-preview-stats small { font-size: .95rem; color: #645472; }
.response-preview-chart { display: grid; gap: 7px; margin-top: 12px; }
.response-preview-chart div { display: grid; grid-template-columns: 12px 1fr 22px; align-items: center; gap: 6px; color: #645472; font-size: .75rem; }
.response-preview-chart i { height: 8px; display: block; overflow: hidden; background: #fdf9ff; border-radius: 8px; }
.response-preview-chart b { height: 100%; display: block; border-radius: inherit; background: #9772be; }
.addon-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.addon-heading p { max-width: 675px; color: var(--muted); margin-top: 10px; }
.addon-heading .rating-proof { margin-bottom: 4px; }
.pricing-band { background: #f4edf9; border-block: 1px solid #e9dff1; }
.price-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #e3d8ec; background: white; border-radius: 14px; }
.price-card.paid { border-color: #b19acb; box-shadow: inset 0 3px #a588c6; }
.price-card ul { list-style: none; display: grid; gap: 8px; padding: 0; margin: 15px 0 19px; color: #594471; }
.price-card li { display: flex; gap: 6px; align-items: center; font-size: .91rem; }
.price-card li .icon { --size: 16px; }
.price-card .button { margin-top: auto; }
.price-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 760px) { .price-grid.three { grid-template-columns: 1fr; } }
.plan-notes { display: grid; gap: 10px; margin-top: 26px; max-width: 720px; color: var(--muted); font-size: .95rem; }
.faq-layout { display: grid; grid-template-columns: minmax(190px,.78fr) minmax(0,1.2fr); gap: 50px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 700; font-size: .99rem; padding: 13px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: #674694; font-size: 1.2rem; line-height: 1.05; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 24px 14px 0; color: var(--muted); font-size: .95rem; }

.final-wrap { padding-bottom: 56px; }
.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 23px 26px; background: var(--lavender); border: 1px solid #dfd1ee; border-radius: 17px; }
.final-cta h2 { font-weight: 760; font-size: clamp(1.55rem, 3vw, 2.12rem); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 20px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 60px); }
  .hero { gap: 26px; }
  .hero h1 { font-size: clamp(3rem, 6.8vw, 5.15rem); }
  .split { gap: 26px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header nav { display: none; }
  .header-inner { min-height: 61px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 41px 0 30px; }
  .hero h1 { max-width: 530px; font-size: clamp(3rem, 10.9vw, 4.45rem); }
  .intro { margin: 13px 0 17px; }
  .demo-stage { padding: 17px; }
  .section { padding-block: 47px; }
  .workflow, .use-grid { gap: 10px; }
  .use-card { padding: 12px; }
  .workflow h3, .use-card h3 { font-size: 1.05rem; }
  .workflow p, .use-card p { font-size: .91rem; }
  .split, .faq-layout { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
  .wrap { width: calc(100% - 30px); }
  .header-inner { gap: 7px; }
  .brand { gap: 6px; font-size: .9rem; }
  .brand-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .brand-mark .icon { --size: 20px; }
  .header-cta { font-size: .78rem; padding-inline: 8px; }
  .hero h1 { font-size: clamp(2.69rem, 10.8vw, 3.7rem); }
  .before-click { font-size: .79rem; gap: 5px; }
  .button { padding-inline: 12px; }
  .demo-stage { padding: 12px; border-radius: 17px; }
  .workflow, .use-grid, .price-grid { grid-template-columns: 1fr; }
  .use-card { min-height: 0; padding: 16px; }
  .final-cta { align-items: flex-start; padding: 17px; flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; gap: 10px 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .scenario-tabs button, .response-preview { transition: background-color .15s, border-color .15s; }
}

/* Text pages: privacy, terms, help, contact */
.doc { max-width: 780px; padding-block: 56px 72px; }
.doc h1 { font-weight: 720; font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.doc h2 { font-weight: 680; font-size: 1.4rem; letter-spacing: -.03em; margin: 40px 0 10px; }
.doc h3 { font-weight: 620; font-size: 1.05rem; letter-spacing: -.015em; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.doc strong { color: var(--ink); font-weight: 640; }
.doc a { color: #573a81; font-weight: 600; text-underline-offset: 3px; }
.doc code { background: var(--lavender); border-radius: 5px; padding: 1px 5px; font-size: .92em; }
.doc pre { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; white-space: pre-wrap; color: var(--ink); font: inherit; font-size: .95rem; line-height: 1.6; }
.doc .doc-meta { font-size: .9rem; margin-bottom: 18px; }
.doc .doc-lead { font-size: 1.1rem; color: var(--ink); max-width: 680px; }
@media (max-width: 760px) { .doc { padding-block: 36px 52px; } .site-header nav a:not(.button) { display: none; } .site-header nav { display: flex; } }
