/* Resolved marketing site. Same palette and type as the product. */
:root {
  --brand: #0d7a68; --brand-700: #0a5f51; --brand-50: #eef6f3; --brand-100: #e2f2ee; --brand-200: #cfe5de;
  --ink: #101c1a; --ink-2: #2a2621; --body: #3d3a33; --muted: #5c584d; --faint: #8a877e;
  --line: #e7e4dc; --line-2: #f0eee7; --paper: #ffffff; --ground: #faf9f6;
  --warn: #b3541e; --warn-bg: #fbeee2;
  --font: 'Instrument Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--body); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--line-2); color: var(--ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 249, 246, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.logo img { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--body); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand); }
.nav .btn { margin-left: 8px; padding: 9px 14px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--ink-2); }
@media (max-width: 820px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; gap: 2px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .menu-btn { display: inline-flex; }
}

/* sections */
section { padding-block: 72px; }
section.tight { padding-block: 48px; }
.hero { padding-block: 72px 56px; background: linear-gradient(180deg, var(--brand-50), var(--ground) 70%); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .lead { margin-top: 18px; }
.hero .actions { margin-top: 28px; }
.hero .proof { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; gap: 32px; } }

/* product frame: a CSS drawing of the app, no screenshots to keep stale */
.frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(16,28,26,.06), 0 24px 48px -24px rgba(16,28,26,.25); overflow: hidden; }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); background: var(--ground); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.frame .bar span { margin-left: 8px; font-size: 11px; color: var(--faint); }
.frame .body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.frame .side { border-right: 1px solid var(--line-2); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--muted); }
.frame .side b { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; margin-bottom: 6px; }
.frame .side b i { width: 16px; height: 16px; border-radius: 5px; background: var(--brand); display: inline-block; }
.frame .side span { padding: 5px 8px; border-radius: 6px; }
.frame .side span.on { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.frame .main { padding: 14px; }
.frame .main h4 { font-size: 13px; margin-bottom: 8px; }
.frame .row { display: grid; grid-template-columns: 30px 1fr 70px 64px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 11.5px; color: var(--body); }
.frame .row small { color: var(--faint); display: block; font-size: 10.5px; }
.frame .row .num { color: var(--faint); }
.frame .pill { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--brand-100); color: var(--brand); white-space: nowrap; text-align: center; }
.frame .pill.blue { background: #e8eef6; color: #2c5aa0; }
.frame .pill.amber { background: var(--warn-bg); color: var(--warn); }
.frame .pill.red { background: #f9e5e2; color: #a13333; }
.frame .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 4px; }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px 22px 22px 64px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* definition block (answer-engine friendly) */
.definition { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 24px 28px; }
.definition p { font-size: 17px; color: var(--ink-2); }
.definition p + p { margin-top: 10px; }

/* "what it is" statement */
.what .statement { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); max-width: 30ch; text-wrap: balance; }
.what .statement-sub { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.facts > div { padding: 20px 20px 0 0; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.facts b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.facts span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); margin-top: 16px; } }

/* pricing */
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
@media (max-width: 800px) { .price-card { grid-template-columns: 1fr; } }
.price { font-size: 56px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.includes li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d7a68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.compare th, table.compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.compare th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 600; background: var(--ground); }
table.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink); font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* cta band */
.cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.72); margin-top: 6px; }
.cta .btn.primary { background: #fff; border-color: #fff; color: var(--ink); }
.cta .btn.primary:hover { background: var(--brand-100); border-color: var(--brand-100); }

/* prose pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--body); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.page-head { padding-block: 56px 8px; }
.page-head .lead { margin-top: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; margin-top: 24px; background: var(--paper); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--body); font-size: 15px; }
.site-footer a:hover { color: var(--brand); }
.site-footer .about { font-size: 14.5px; color: var(--muted); max-width: 40ch; margin-top: 10px; }
.site-footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 18px; font-size: 13px; color: var(--faint); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
