@font-face { font-family: 'DM Sans'; src: url(fonts/DMSans.woff) format('woff'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'Archivo Black'; src: url(fonts/ArchivoBlack.woff) format('woff'); font-display: swap; }
:root {
  --ink: #1B1440; --ink-2: #5B567A; --ink-3: #8C88A6; --paper: #F5F3FF; --card: #FFFFFF; --line: #E4E0F5;
  --grape: #5A3BF0; --grape-soft: #ECE8FF; --lemon: #FFE45C; --lemon-soft: #FFF8D1; --mint: #19C39A; --sky: #38A5F0;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 'DM Sans', system-ui, sans-serif; color: var(--ink); background: var(--paper); }
a { color: var(--grape); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--grape); outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.display { font-family: 'Archivo Black', sans-serif; letter-spacing: -0.02em; font-weight: 400; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.nav .brand { display: flex; gap: 10px; align-items: center; font: 20px 'Archivo Black', sans-serif; color: var(--ink); text-decoration: none; }
.nav .brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav .links { display: flex; gap: 22px; font-size: 15px; }
.nav .links a { color: var(--ink-2); font-weight: 600; }

.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 16px 'DM Sans', sans-serif; padding: 13px 22px; border-radius: 999px; text-decoration: none !important; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: var(--grape); }
.btn.ghost { color: var(--ink); border: 1.5px solid var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 40px 0 70px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 66px); text-wrap: balance; line-height: .98; margin: 0 0 22px; }
.hero p.lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 30ch; margin: 0 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* the pocket: product shots tucked into a stitched pocket */
.pocketshot { position: relative; height: 540px; }
.pocketshot .shot { position: absolute; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 30px 60px -24px rgba(27, 20, 64, .45), 0 0 0 1px rgba(27, 20, 64, .06); }
.pocketshot .shot img { width: 100%; display: block; }
.pocketshot .panel { width: 320px; height: 500px; left: 18px; top: 0; transform: rotate(-3deg); }
.pocketshot .phone { width: 238px; height: 500px; right: 8px; top: 30px; border-radius: 36px; border: 9px solid var(--ink); transform: rotate(4deg); }
.pocketshot .pouch { position: absolute; left: -10px; right: -10px; bottom: 0; height: 190px; box-shadow: 0 -10px 30px -18px rgba(27,20,64,.35); background: var(--lemon); border-radius: 22px 22px 70px 70px; }
.pocketshot .pouch::before { content: ''; position: absolute; inset: 10px; border: 2.5px dashed rgba(27, 20, 64, .35); border-radius: 15px 15px 62px 62px; }
.pocketshot .pouch span { position: absolute; left: 0; right: 0; bottom: 56px; text-align: center; font: 20px 'Archivo Black', sans-serif; color: var(--ink); }

/* promise strip */
.promise { background: var(--ink); color: #fff; border-radius: 28px; padding: 44px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.promise h2 { font-size: clamp(30px, 4vw, 38px); line-height: 1.05; margin: 0; }
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; color: #D9D4FF; }
.promise li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lemon); transform: translateY(-1px); }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; padding: 90px 0 30px; }
.feature h3 { font: 24px/1.15 'Archivo Black', sans-serif; margin: 14px 0 8px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--ink-2); max-width: 42ch; }
.feature .sw { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.feature .sw svg { width: 24px; height: 24px; }

/* steps (a real sequence) */
.how { padding: 70px 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.how h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.05; margin: 0 0 14px; }
.how > div > p { color: var(--ink-2); margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 18px 70px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--lemon); font: 17px/36px 'Archivo Black', sans-serif; text-align: center; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--ink-2); font-size: 16px; }

/* compare */
.compare { padding: 30px 0 70px; }
.compare h2 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 22px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 16px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 700; color: var(--ink-2); background: var(--paper); }
td:not(:first-child), th:not(:first-child) { text-align: center; }
th.us, td.us { background: var(--lemon-soft); color: var(--ink); font-weight: 700; }
.yes { color: var(--mint); font-weight: 700; } .no { color: var(--ink-3); }

/* self-host callout */
.selfhost { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 2.5px dashed var(--line); border-radius: 24px; padding: 30px 34px; margin-bottom: 70px; }
.selfhost h2 { font-size: 26px; margin: 0 0 4px; }
.selfhost p { margin: 0; color: var(--ink-2); }

footer { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--ink-3); font-size: 15px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--ink-2); font-weight: 500; margin-left: 18px; }

/* document pages (privacy, self-hosting) */
.doc { max-width: 760px; margin: 0 auto; padding: 10px 24px 80px; }
.doc h1 { font: 44px/1.05 'Archivo Black', sans-serif; letter-spacing: -0.02em; margin: 20px 0 10px; }
.doc h2 { font: 24px 'Archivo Black', sans-serif; margin: 44px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 19px; margin: 28px 0 6px; }
.doc p, .doc li { color: #2E2852; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.doc table { font-size: 15px; }
.doc td, .doc th { text-align: left !important; vertical-align: top; }
.doc code { font: 14px ui-monospace, monospace; background: var(--grape-soft); color: var(--ink); padding: 1px 6px; border-radius: 6px; }
.doc pre { background: var(--ink); color: #EDEAFF; padding: 18px 20px; border-radius: 16px; overflow-x: auto; font: 14px/1.55 ui-monospace, monospace; }
.doc pre code { background: none; color: inherit; padding: 0; }
.doc blockquote { margin: 0; border-left: 4px solid var(--lemon); padding-left: 16px; color: var(--ink-2); }

@media (max-width: 860px) {
  .hero, .promise, .how { grid-template-columns: 1fr; }
  .pocketshot { height: 500px; max-width: 520px; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .nav .links a:not(:last-child) { display: none; }
  .selfhost { flex-direction: column; align-items: flex-start; }
  .promise { padding: 34px 28px; }
  table { font-size: 14px; } th, td { padding: 10px; }
}
@media (max-width: 480px) {
  .pocketshot .panel { width: 210px; height: 360px; left: 4px; }
  .pocketshot .phone { width: 160px; height: 340px; right: 4px; border-width: 7px; border-radius: 28px; }
  .pocketshot { height: 400px; }
  .pocketshot .pouch { height: 150px; left: 0; right: 0; }
  .pocketshot .pouch span { bottom: 44px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* call to action at the end of guide pages */
.cta-pocket { position: relative; margin: 48px 0 0; padding: 28px 30px; background: var(--lemon); border-radius: 18px 18px 40px 40px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-pocket::before { content: ''; position: absolute; inset: 8px; border: 2px dashed rgba(27, 20, 64, .32); border-radius: 12px 12px 33px 33px; pointer-events: none; }
.cta-pocket p { margin: 0; max-width: 40ch; position: relative; color: var(--ink) !important; }
.cta-pocket .btn { position: relative; }
.guides { padding: 0 0 70px; }
.guides h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 0 0 16px; }
.guides ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guides a { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; color: var(--ink); text-decoration: none; }
.guides a:hover { border-color: var(--grape); }
.guides a b { display: block; margin-bottom: 4px; }
.guides a span { color: var(--ink-2); font-size: 15px; font-weight: 400; }
@media (max-width: 860px) { .guides ul { grid-template-columns: 1fr; } }
