/* ProductWright marketing site. Brand: navy #1e1b4b, violet #6d28d9 (from the logo). */
:root {
  --ink: #1e1b4b;
  --ink-soft: #4a4770;
  --violet: #6d28d9;
  --violet-deep: #4c1d95;
  --violet-wash: #f1ecfe;
  --paper: #fbfbfe;
  --line: #e3e0f2;
  --flag: #ffe46b;
  --ok: #157a4c;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: rgba(251, 251, 254, 0.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .brand-icon { height: 40px; width: 40px; }
.brand .brand-word { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--violet); }
.nav a.btn, .nav a.btn:hover { color: #fff; white-space: nowrap; }
.btn { display: inline-block; background: var(--violet); color: #fff; text-decoration: none; font-weight: 600; padding: 11px 20px; border-radius: 10px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--violet-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--violet); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } .nav a.btn { padding: 9px 14px; font-size: 0.95rem; } .brand .brand-icon { height: 34px; width: 34px; } .brand .brand-word { height: 21px; } }

/* Type scale (1.25 ratio) */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 34em; }
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 10.5em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* The listing card: the one memorable element */
.listing { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(30, 27, 75, 0.35); overflow: hidden; }
.listing-tabs { display: flex; border-bottom: 1px solid var(--line); background: #fbfaff; }
.listing-tabs button { flex: 1; font: inherit; font-weight: 600; font-size: 0.95rem; padding: 14px 12px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent; }
.listing-tabs button[aria-selected="true"] { color: var(--violet); border-bottom-color: var(--violet); background: #fff; }
.listing-body { padding: 24px 26px 26px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.listing-photo { width: 120px; height: 150px; border-radius: 10px; background: linear-gradient(160deg, #ece9f8, #d9d4f0); display: grid; place-items: center; }
.listing-photo svg { width: 86px; height: auto; }
.listing-fields { min-width: 0; }
.field { margin-bottom: 14px; }
.field-name { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 3px; }
.field-val { font-family: var(--serif); font-size: 1rem; line-height: 1.5; }
.field-val.title { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.field-val ul { margin: 6px 0 0; padding-left: 18px; }
.field-val.empty { color: #a39fbd; font-style: italic; }
.flag { display: inline; background: var(--flag); padding: 1px 4px; border-radius: 3px; font-family: var(--sans); font-size: 0.85rem; }
.listing-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 26px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.approve { color: var(--ok); font-weight: 600; }
.panel[hidden] { display: none; }
.panel.reveal { animation: reveal 0.5s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel.reveal { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 520px) { .listing-body { grid-template-columns: 1fr; } .listing-photo { width: 100%; height: 120px; } }

/* Story */
.story { background: var(--ink); color: #eceaff; }
.story + section { border-top: 0; }
.story .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.story h2 { color: #fff; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; max-width: 34em; }
.story cite { display: block; margin-top: 20px; font-family: var(--sans); font-style: normal; font-size: 1rem; color: #b9b4f0; }
@media (max-width: 900px) { .story .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* What it writes */
.writes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 48px; }
.writes h3 { margin-bottom: 6px; }
.writes p { color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .writes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .writes { grid-template-columns: 1fr; } }

/* How it works: a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 3px solid var(--violet); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--violet); margin-bottom: 12px; font-variation-settings: "wdth" 85; }
.steps p { color: var(--ink-soft); margin: 0; }
.after-steps { margin-top: 40px; padding: 22px 26px; background: var(--violet-wash); border-radius: 12px; max-width: 46em; }
.after-steps p { margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Accuracy */
.accuracy .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rules li:first-child { border-top: 1px solid var(--line); }
.rules strong { display: block; }
.rules span { color: var(--ink-soft); }
@media (max-width: 900px) { .accuracy .wrap { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.plan { padding: 30px 28px 32px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--violet-wash); }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .for { color: var(--ink-soft); min-height: 3em; margin-bottom: 18px; }
.price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.plan select { margin-top: 14px; width: 100%; font: inherit; font-size: 0.95rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; }
.plan li { padding: 7px 0 7px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.price-note { margin-top: 18px; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

/* Questions */
.qa { max-width: 46em; margin-top: 32px; }
.qa details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.qa summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--violet); font-size: 1.4rem; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Closing call to action */
.closing { text-align: left; }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.closing h2 { margin: 0; max-width: 16em; }

/* Footer */
.site-foot { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 0.95rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand img { width: 270px; height: auto; margin-left: -8px; mix-blend-mode: multiply; }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-soft); }

/* Legal and support pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2em; }
.doc p, .doc li { font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; }
.doc .updated { font-family: var(--sans); color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc .callout { background: var(--violet-wash); padding: 18px 22px; border-radius: 12px; font-family: var(--sans); }

/* Early access form */
.early { background: var(--violet-wash); }
.early + * { border-top: 0; }
.early-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.early-note { color: var(--ink-soft); font-size: 0.95rem; }
.early-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.early-form .row { margin-bottom: 16px; }
.early-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.early-form .opt { font-weight: 400; color: var(--ink-soft); }
.early-form input, .early-form select, .early-form textarea { width: 100%; font: inherit; color: var(--ink); padding: 11px 12px; border: 1px solid #cfcae6; border-radius: 10px; background: #fff; }
.early-form input:focus, .early-form select:focus, .early-form textarea:focus { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
.early-form .btn { width: 100%; margin-top: 4px; font-size: 1.05rem; padding: 13px 20px; }
.early-form [aria-invalid="true"] { border-color: #c2410c; }
.form-error { background: #fff1e8; color: #9a3412; padding: 10px 14px; border-radius: 10px; margin: 0 0 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .early-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Pricing comparison chart */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-wrap { margin-top: 48px; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.pt { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; }
.pt th, .pt td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.pt thead th { vertical-align: top; padding-top: 26px; padding-bottom: 24px; }
.pt th + th, .pt td + td { border-left: 1px solid var(--line); }
.pt col, .pt .pt-corner { width: 34%; }
.pt .featured { background: var(--violet-wash); }
.pt-corner-title { display: block; font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.pt-plan { display: block; font-size: 1.3rem; font-weight: 700; }
.pt-tag { display: block; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.35; min-height: 2.7em; margin: 2px 0 10px; }
.pt-price { display: block; font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.pt-price small { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.pt thead select { margin-top: 12px; width: 100%; font: inherit; font-size: 0.9rem; padding: 9px 10px; border: 1px solid #cfcae6; border-radius: 10px; background: #fff; color: var(--ink); }
.pt tbody th { font-weight: 600; }
.pt-sub { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; margin-top: 2px; }
.pt-val { font-weight: 600; }
.pt-section th { background: #eef7f1; color: var(--ok); font-size: 0.9rem; font-weight: 700; padding: 10px 20px; }
.pt-section th + th { border-left: 0; }
.pt tbody tr:not(.pt-section) td.featured, .pt tbody td:nth-child(3) { background: #faf8ff; }
.yes, .no { display: inline-block; width: 18px; height: 18px; position: relative; }
.yes::before { content: ""; position: absolute; left: 3px; top: 2px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.no::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 2px; background: #c6c2dc; }
.pt tfoot td { border-bottom: 0; padding: 20px; }
.pt tfoot .btn { width: 100%; text-align: center; }

/* Hero example: a real store product page inside a browser window */
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f3f2f9; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7d3ea; display: block; }
.url { flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; padding: 22px; background: #fff; }
.pdp-photo { background: #f1eefb; border-radius: 10px; overflow: hidden; align-self: start; }
.pdp-photo img { width: 100%; height: auto; }
.pdp-crumbs { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 6px; }
.pdp-name { font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: 6px; }
.pdp-price { font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.pdp-bullets { margin: 0 0 10px; padding-left: 18px; font-family: var(--serif); font-size: 0.95rem; line-height: 1.45; }
.pdp-desc { font-family: var(--serif); font-size: 0.95rem; line-height: 1.5; margin: 0 0 14px; }
.pdp-cart { display: inline-block; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 9px 18px; border-radius: 8px; }
.serp-mini { padding: 14px 22px 18px; border-top: 1px solid var(--line); background: #fbfaff; }
.serp-label { font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.serp-title { color: #1a0dab; font-size: 1rem; line-height: 1.3; }
.serp-meta { color: #4d5156; font-size: 0.85rem; line-height: 1.45; margin-top: 2px; }
.serp-note { margin-top: 8px; font-size: 0.82rem; color: var(--ink-soft); }
.serp-note code { background: #efedf7; padding: 1px 5px; border-radius: 4px; }
@media (max-width: 520px) { .pdp { grid-template-columns: 1fr; } .pdp-photo { max-width: 220px; } }

/* App screenshot under How it works */
.app-shot { margin: 48px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -34px rgba(30, 27, 75, 0.35); }
.app-shot img { width: 100%; height: auto; }
.app-shot figcaption { padding: 12px 18px; font-size: 0.92rem; color: var(--ink-soft); border-top: 1px solid var(--line); background: #fbfaff; }
.early-form .captcha { min-height: 65px; }
