/* Inkcap LLC — v3. Calm background; the logo carries the color. */

@font-face {
  font-family: "Outfit";
  src: url("assets/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Light background: lavender gray */
:root {
  --bg: #f4f3f8;
  --band: #ebe9f2;
  --surface: #fdfcff;
  --line: #dcd9e7;
  --text: #0b1450;
  --text-soft: #4d5378;
  --purple: #6b0bc2;
  --accent-text: #6b0bc2;
  --tint: #efe6fa;
  --tint-text: #55109a;
  --seg-ads: #c3a6f2;
  --seg-fees: #8f55e0;
  --seg-cost: #cecbdc;
  --seg-profit: #0b1450;
  --shadow: 0 30px 60px -30px rgba(70, 20, 130, .35);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1130; --band: #12173d; --surface: #181e4a; --line: #272d5f;
    --text: #f0eef8; --text-soft: #b5b8d6;
    --accent-text: #c6a6f7; --tint: #2a1f5c; --tint-text: #dcc8fb;
    --seg-cost: #4a5090; --seg-profit: #f0eef8;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --bg: #0d1130; --band: #12173d; --surface: #181e4a; --line: #272d5f;
  --text: #f0eef8; --text-soft: #b5b8d6;
  --accent-text: #c6a6f7; --tint: #2a1f5c; --tint-text: #dcc8fb;
  --seg-cost: #4a5090; --seg-profit: #f0eef8;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease;
}

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 1.4rem; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--accent-text); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--surface); color: var(--text); padding: .6rem 1rem; z-index: 10; border-radius: 8px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; }
.brand img { width: 2.35rem; height: 2.35rem; }
.site-header nav { display: flex; gap: clamp(.9rem, 2.5vw, 1.6rem); font-size: .97rem; font-weight: 500; }
.site-header nav a { color: var(--text-soft); text-decoration: none; }
.site-header nav a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 36rem) { .site-header nav a:not([href="#contact"]) { display: none; } }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 1.6rem + 6vw, 5.6rem); margin-bottom: .3em; }
.lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--text-soft); max-width: 32rem; margin-bottom: 2rem; }
.hero-logo { justify-self: center; width: min(58vw, 15rem); }
.hero-logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 30px rgba(70, 20, 130, .28)); }
@media (min-width: 52rem) {
  .hero-inner { grid-template-columns: 1.6fr 1fr; }
  .hero-logo { width: 19rem; justify-self: end; }
}

.button {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .85rem 1.45rem; border-radius: 999px; overflow-wrap: anywhere;
  background: var(--text); color: var(--bg);
}
.button:hover { background: var(--purple); color: #fff; }

/* Sections */
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.band { background: var(--band); }
.section-lede { color: var(--text-soft); font-size: 1.15rem; max-width: 26rem; }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.25rem; }
.features li { max-width: 26rem; }
.features p { color: var(--text-soft); margin: 0; }
.chip { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-bottom: 1rem; background: var(--tint); border-radius: 30%; }
.chip svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: var(--accent-text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.soon { display: inline-block; vertical-align: .2em; margin-left: .3rem; font-size: .72rem; font-weight: 600; color: var(--tint-text); background: var(--tint); padding: .1rem .55rem; border-radius: 999px; }
@media (min-width: 52rem) { .features { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Who it's for */
.who { display: grid; gap: 1.5rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.1rem; font-size: 1.08rem; max-width: 34rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.35rem; height: 1.35rem; border-radius: 30%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat;
}
@media (min-width: 52rem) { .who { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.25rem; counter-reset: step; }
.steps li { counter-increment: step; max-width: 24rem; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; margin-bottom: 1rem;
  border-radius: 30%; border: 2px solid var(--purple); color: var(--accent-text);
  font-size: 1.3rem; font-weight: 700;
}
.steps p { color: var(--text-soft); margin: 0; }
@media (min-width: 52rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; position: relative; }
  .steps::before { content: ""; position: absolute; top: 1.45rem; left: 3.4rem; right: 12%; border-top: 2px dashed var(--line); }
}

/* Sample */
.sample-layout { display: grid; gap: 2.5rem; align-items: start; }
.sample-intro p { color: var(--text-soft); max-width: 24rem; }
@media (min-width: 56rem) { .sample-layout { grid-template-columns: 1fr 1.45fr; gap: 4rem; } }

.report { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1.1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.report-head h3 { margin: 0; font-size: 1.15rem; }
.report-store { margin: 0 0 .15rem; font-size: .9rem; color: var(--text-soft); }
.tag { margin: 0; flex: none; background: var(--tint); color: var(--tint-text); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.profit-label { margin: 0; color: var(--text-soft); font-size: .95rem; }
.profit { font-size: clamp(2.3rem, 1.8rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: .1rem 0 1rem; font-variant-numeric: tabular-nums; }
.profit span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--text-soft); }
.split { display: flex; gap: 3px; height: .8rem; border-radius: 999px; overflow: hidden; margin-bottom: 1.1rem; }
.seg { display: block; }
.seg-ads { background: var(--seg-ads); }
.seg-fees { background: var(--seg-fees); }
.seg-cost { background: var(--seg-cost); }
.seg-profit { background: var(--seg-profit); }
.key-sales { border: 2px solid var(--text-soft); }
.ledger { width: 100%; border-collapse: collapse; margin-bottom: 1.4rem; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.ledger th { text-align: left; font-weight: 400; }
.ledger td { text-align: right; white-space: nowrap; padding-left: 1rem; font-weight: 500; }
.ledger tfoot th, .ledger tfoot td { font-weight: 700; border-bottom: 0; }
.key { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .6rem; }
.notes { display: grid; gap: 1.25rem; }
.notes h4 { margin-bottom: .3rem; }
.notes p, .notes li { color: var(--text-soft); margin: 0; }
.notes ul { margin: 0; padding-left: 1.15rem; }
.notes li + li { margin-top: .3rem; }
@media (min-width: 40rem) { .notes { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* About */
.about { display: grid; gap: .5rem; }
.about p { max-width: 40rem; }
.note { color: var(--text-soft); }
@media (min-width: 52rem) { .about { grid-template-columns: 1fr 1.8fr; gap: 4rem; } }

/* Contact */
.contact p { color: var(--text-soft); }
.contact-email { font-size: clamp(1.6rem, 1rem + 3vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 1.1rem 0; overflow-wrap: anywhere; }
.contact-email a { color: var(--text); text-decoration-color: var(--purple); text-decoration-thickness: 3px; }
.contact-email a:hover { color: var(--accent-text); }
.contact .contact-place { margin: 0; color: var(--text); font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; font-size: .93rem; }
.footer-inner { display: grid; gap: .6rem; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.site-footer nav { display: flex; gap: 1.25rem; }
.fineprint { color: var(--text-soft); font-size: .82rem; max-width: 42rem; }

/* Inner pages */
.page { padding-block: 3rem 5rem; }
.page h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); }
.page p { max-width: 40rem; }
