@font-face {
  font-family: FairBill UI Sans;
  src: url(assets/fairbill-ui-sans.woff) format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: FairBill Rupee;
  src: url(assets/fairbill-ui-sans.woff) format("woff");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+20B9;
}

@font-face {
  font-family: FairBill Sans;
  src: url(assets/pt-sans.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: FairBill Sans;
  src: url(assets/pt-sans-bold.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f2e5;
  --surface: #fffdf4;
  --ink: #21271f;
  --muted: #414f40;
  --line: #21271f;
  --shadow: #21271f;
  --grain: #21271f19;
  --focus: #1859a5;
  --mint: #b9e9a2;
  --yellow: #ffdb75;
  --blue: #d9eef5;
  --lavender: #e9e0f9;
  --accent-ink: #21271f;
  --edge: clamp(1rem, 5vw, 3.5rem);
  --radius: .75rem;
  --settle: cubic-bezier(.2, .68, .22, 1);
  --sans: "FairBill Rupee", "FairBill Sans", Arial, sans-serif;
  --display: "FairBill UI Sans", var(--sans);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #000;
  --surface: #151515;
  --raised: #222;
  --ink: #f2f2f2;
  --muted: #bcbcbc;
  --line: #858585;
  --shadow: #454545;
  --focus: #a4d4ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper) radial-gradient(circle, var(--grain) .65px, transparent 1px) 0 0 / 17px 17px;
  color: var(--ink);
  font: 1.0625rem/1.45 var(--sans);
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, .brand { font-family: var(--display); font-weight: 600; }
a { color: inherit; text-underline-offset: .19em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button[hidden] { display: none; }
button:not([hidden]) { cursor: pointer; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: var(--accent-ink); background: var(--mint); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { max-width: 80rem; margin-inline: auto; padding-inline: var(--edge); }
.sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip {
  position: fixed;
  z-index: 9;
  inset: .6rem auto auto .6rem;
  padding: .7rem 1rem;
  border: 2px solid var(--accent-ink);
  background: var(--mint);
  color: var(--accent-ink);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
main:focus { outline: none; }

.header { background: var(--surface); border-bottom: 2px solid var(--line); }
.header .nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .65rem;
  min-height: 4.4rem;
  padding-block: .65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .55rem;
  width: max-content;
  min-height: 2.75rem;
  text-decoration: none;
  font-size: 1.45rem;
  letter-spacing: -.04em;
}
.brand img { flex: none; width: 2rem; height: 2rem; }
.nav nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.15rem; }
.nav nav { order: 1; flex-basis: 100%; }
.nav nav a, .footer nav a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 700; }
.nav > .button { margin-inline-start: auto; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  gap: .55rem;
  padding: .63rem .95rem;
  border: 1px solid var(--line);
  border-radius: .6875rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  font-weight: 700;
  line-height: 1.15;
  transition: transform .16s var(--settle), box-shadow .16s var(--settle), filter .16s var(--settle);
}
.button.small { min-height: 2.75rem; font-size: .94rem; }
.button.primary {
  color: var(--accent-ink);
  background: var(--mint);
  border: 2px solid var(--accent-ink);
  box-shadow: 2px 2px 0 var(--shadow);
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { filter: brightness(.96); }
}
.button:active { transform: translate(1px, 1px); box-shadow: none; }
.button svg { width: 1.15rem; height: 1.15rem; flex: none; }
.plate { border: 2px solid var(--line); border-radius: var(--radius); box-shadow: 3px 3px 0 var(--shadow); background: var(--surface); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.hero-copy { align-self: center; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 7.8vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.hero-copy > p { max-width: 32rem; margin-top: 1rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: grid; gap: .55rem; max-width: 26rem; margin-top: 1.1rem; }
.hero-actions .button { min-height: 3.25rem; }
.hero-copy > .hero-platform { margin-top: .75rem; font-size: .92rem; }
.hero-figure { min-width: 0; }
.release { display: grid; align-items: start; gap: clamp(1.2rem, 3vw, 2.4rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.release-intro p { margin-top: .35rem; color: var(--muted); }
.release-entry { min-width: 0; padding: clamp(1rem, 3vw, 1.65rem); }
.release-intro .release-availability { margin-top: .8rem; font-size: .92rem; }
.release-highlights { display: grid; padding: 0; margin: 1.05rem 0 0; list-style: none; border-block-end: 1px solid var(--line); }
.release-highlights li { display: grid; gap: .18rem; padding: .68rem 0; border-block-start: 1px solid var(--line); }
.release-highlights span { color: var(--muted); font-size: .94rem; }
.release-price { margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem; }
.release-price figcaption, .release-price-label, .release-price-scale { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .6rem; }
.release-price figcaption { padding-bottom: .45rem; }
.release-price figcaption span, .release-price-scale { color: var(--muted); font-size: .85rem; }
.release-price-label { margin-block: .3rem .2rem; font-size: .93rem; }
.release-price-bar { height: .55rem; border-radius: 1rem; }
.release-price-bar.billed { background: linear-gradient(90deg, var(--mint) 64.3%, var(--yellow) 64.3%); }
.release-price-bar.reference { background: linear-gradient(90deg, var(--muted) 64.3%, color-mix(in srgb, var(--muted) 14%, var(--surface)) 64.3%); }
.release-price-scale { margin-top: .4rem; border-top: 1px solid var(--line); padding-top: .16rem; }
.release-price p { margin-top: .4rem; color: var(--ink); font-size: .93rem; }
.release-entry figcaption { margin-bottom: .95rem; }
.release-entry h3 { font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.model-hub {
  display: flex;
  align-items: center;
  gap: .75rem;
  position: relative;
  max-width: 21rem;
  margin-inline: auto;
  padding: .65rem .85rem;
  border-radius: .6rem;
  border: 2px solid var(--line);
  box-shadow: 2px 2px 0 var(--shadow);
  background: var(--mint);
  color: var(--accent-ink);
}
.model-hub strong, .model-hub span { display: block; }
.model-hub strong { font-family: var(--display); font-size: 1.2rem; }
.model-hub-icon { flex: 0 0 2.2rem; padding: .33rem; border: 1px solid currentColor; border-radius: .45rem; }
.model-hub-icon svg { width: 100%; }
.model-tools {
  position: relative;
  display: grid;
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0 1rem 1.25rem;
}
.model-tools::before {
  content: "";
  position: absolute;
  inline-size: 1px;
  inset: 0 auto 0 .45rem;
  background: var(--line);
}
.model-tools li {
  position: relative;
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: .12rem .55rem;
  align-content: start;
  padding: .62rem .7rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  color: var(--ink);
  background: var(--surface);
}
.model-tools li::before {
  content: "";
  position: absolute;
  inset: 1.35rem auto auto -.86rem;
  inline-size: .86rem;
  block-size: 1px;
  background: var(--line);
}
.model-tools svg {
  grid-row: 1 / span 2;
  width: 1.7rem;
  height: 1.7rem;
  padding: .25rem;
  border-radius: .3rem;
  color: var(--accent-ink);
  background: var(--blue);
}
.model-tools li:nth-child(2) svg { background: var(--lavender); }
.model-tools li:nth-child(3) svg { background: var(--yellow); }
.model-tools li span { grid-column: 2; color: var(--muted); font-size: .94rem; }
.model-safeguard {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .65rem .72rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--mint) 13%, var(--surface));
}
.model-safeguard::before {
  content: "";
  position: absolute;
  inset: -1px auto auto .39rem;
  inline-size: .45rem;
  block-size: .45rem;
  border-radius: 50%;
  background: var(--line);
  transform: translate(-50%, -50%);
}
.model-safeguard svg { flex: 0 0 1.35rem; width: 1.35rem; margin-top: .11rem; color: var(--ink); }
.model-safeguard strong { color: var(--ink); }
@media (min-width: 52rem) {
  .model-tools {
    --outer-tool-center: calc((100% - 1.3rem) / 6);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1.5rem 0;
    background: linear-gradient(var(--line), var(--line)) center top / 1px .75rem no-repeat,
      linear-gradient(var(--line), var(--line)) center bottom / 1px .75rem no-repeat;
  }
  .model-tools::before, .model-tools::after {
    content: "";
    position: absolute;
    inset: .75rem var(--outer-tool-center) auto;
    inline-size: auto;
    block-size: 1px;
    background: var(--line);
  }
  .model-tools::after { inset-block: auto .75rem; }
  .model-tools li { grid-template-columns: minmax(0, 1fr); row-gap: .22rem; }
  .model-tools li::before, .model-tools li::after {
    content: "";
    position: absolute;
    inset: -.8rem auto auto 50%;
    inline-size: 1px;
    block-size: .8rem;
    background: var(--line);
  }
  .model-tools li::after { inset-block: auto -.8rem; }
  .model-tools svg { grid-row: auto; margin-bottom: .15rem; }
  .model-tools li span { grid-column: 1; }
  .model-safeguard::before { inset-inline-start: 50%; }
}
.hero-screen {
  display: grid;
  justify-items: center;
  padding: clamp(.85rem, 2.4vw, 1.5rem);
  background: var(--blue);
}
.hero-screen img {
  width: min(100%, 20rem);
  height: auto;
  border: 2px solid var(--accent-ink);
  border-radius: .72rem;
}
.workflow-figure { min-width: 0; }
.product-gallery {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.6rem, 3vw, 1.15rem);
  padding: clamp(.7rem, 2.7vw, 1.25rem);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.gallery-label { grid-column: 1 / -1; font-size: .94rem; font-weight: 700; }
.gallery-card { display: grid; justify-items: center; gap: .55rem; min-width: 0; padding: .6rem .5rem; border: 1px solid var(--accent-ink); border-radius: .65rem; color: var(--accent-ink); background: var(--blue); }
.gallery-card:last-of-type { background: var(--lavender); }
.gallery-card a { display: block; min-width: 0; border-radius: .66rem; }
.gallery-card span { text-align: center; font-size: .85rem; font-weight: 700; line-height: 1.2; }
.app-shot { width: 100%; max-width: 11rem; height: auto; border: 2px solid var(--accent-ink); border-radius: .66rem; background: #131713; }
figcaption { margin-top: .6rem; color: var(--muted); font-size: .85rem; }

.sample, .trust { border-block-start: 2px solid var(--line); }
.sample { padding-block: clamp(2.6rem, 5vw, 4.7rem); }
.sample-grid, .how, .trust-grid { display: grid; gap: clamp(1.35rem, 4vw, 3.75rem); }
.sample-copy { align-self: center; }
.evidence-art { width: 4.5rem; height: auto; margin-bottom: .65rem; color: var(--ink); stroke-width: 2.5; }
.evidence-art .art-shadow { fill: var(--shadow); stroke: none; }
.evidence-art .art-page { fill: var(--surface); }
.evidence-art .art-lens { fill: var(--blue); }
.evidence-art .art-detail { stroke: var(--ink); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: 1; }
.sample-copy > p:not(.sample-note), .how-intro { max-width: 29rem; margin-top: .8rem; color: var(--muted); font-size: 1.075rem; }
.sample-note { display: flex; gap: .5rem; align-items: start; margin-top: .8rem; color: var(--muted); font-size: .9rem; }
.sample-note span { width: .55rem; height: .55rem; margin-top: .35rem; border: 1px solid var(--accent-ink); border-radius: 50%; background: var(--yellow); }
.audit { padding: clamp(.95rem, 2.6vw, 1.7rem); }
.audit-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.audit h3 { font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.05; }
.revision {
  padding: .23rem .48rem;
  border: 1px solid var(--accent-ink);
  border-radius: .4rem;
  color: var(--accent-ink);
  background: var(--lavender);
  font-size: .84rem;
  font-weight: 700;
}
.review-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .5rem; margin: .95rem 0 0; padding: 0; list-style: none; }
.review-stages li { display: flex; align-items: flex-start; gap: .4rem; min-width: 0; padding: .5rem; border: 1px solid var(--line); border-radius: .5rem; }
.review-stages li[aria-current], .review-stages .stage-complete { color: var(--accent-ink); border-color: var(--accent-ink); }
.review-stages li[aria-current] { background: var(--blue); }
.review-stages .stage-complete { background: var(--mint); }
.stage-mark { width: .65rem; height: .65rem; margin-top: .18rem; border: 1px solid currentColor; border-radius: 50%; flex: none; }
.review-stages li[aria-current] .stage-mark, .review-stages .stage-complete .stage-mark { background: currentColor; }
.review-stages strong, .review-stages small { display: block; line-height: 1.2; }
.review-stages strong { font-size: .875rem; }
.review-stages small { margin-top: .14rem; font-size: .78rem; }

.audit-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .55rem; margin: .85rem 0 .35rem; }
.audit-totals > div { min-width: 0; padding: .48rem .6rem; border: 1px solid var(--line); border-radius: .5rem; }
.audit-totals > div:last-child { color: var(--accent-ink); border-color: var(--accent-ink); background: var(--mint); }
.audit-totals span { display: block; font-size: .86rem; line-height: 1.2; }
.audit-totals strong { display: block; font-size: clamp(1.25rem, 4vw, 2rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.finding { display: grid; grid-template-columns: 1.45rem minmax(0, 1fr); align-items: start; gap: .19rem .55rem; padding: .65rem .35rem; border-bottom: 1px solid var(--line); }
.finding-icon { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--accent-ink); border-radius: .4rem; background: var(--yellow); color: var(--accent-ink); font-weight: 700; }
.finding-icon.resolved { background: var(--mint); }
.finding-content strong, .finding-content span { display: block; }
.finding-content strong { line-height: 1.18; }
.finding-content span { margin-top: .2rem; color: var(--muted); font-size: .83rem; line-height: 1.28; }
.status { grid-column: 2; width: fit-content; color: var(--accent-ink); background: var(--yellow); padding: .02rem .34rem; border-radius: .28rem; font-size: .79rem; font-weight: 700; }
.status.resolved { background: var(--mint); }
.resolved-row { background: color-mix(in srgb, var(--mint) 13%, var(--surface)); }
.audit-note { margin-top: .75rem; color: var(--muted); font-size: .92rem; }
.audit-actions { margin-top: .75rem; }
.audit-actions .button { width: 100%; }

.how { padding-block: clamp(2.7rem, 6vw, 5.25rem); }
.steps { display: grid; gap: .65rem; }
.steps article {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: .75rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-icon { width: 2.35rem; height: 2.35rem; padding: .42rem; border: 1px solid var(--accent-ink); border-radius: .45rem; color: var(--accent-ink); background: var(--mint); }
.step-icon svg { width: 100%; height: 100%; }
.steps article:nth-child(2) .step-icon { background: var(--blue); }
.steps article:nth-child(3) .step-icon { background: var(--lavender); }
.steps h3 { margin-bottom: .24rem; font-size: 1.16rem; line-height: 1.1; }
.steps p { color: var(--muted); line-height: 1.35; }
.trust { padding-block: clamp(2.7rem, 6vw, 5.25rem); }
.faq { display: grid; align-content: start; gap: .55rem; }
.faq details { border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); }
.faq summary { position: relative; padding: .65rem 2rem .65rem .8rem; min-height: 2.75rem; list-style: none; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; inset: .45rem .65rem auto auto; content: "+"; font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 .8rem .75rem; color: var(--muted); }
.footer { padding-block: 1rem; background: var(--surface); border-top: 2px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; }
.footer p { color: var(--muted); font-size: .91rem; }

@media (min-width: 42rem) {
  .header .nav { column-gap: 1.15rem; }
  .nav nav {
    order: 0;
    flex-basis: auto;
    justify-content: center;
    margin-inline-start: auto;
  }
  .finding { grid-template-columns: 1.45rem minmax(0, 1fr) auto; align-items: start; }
  .status { grid-column: auto; justify-self: end; }
}
@media (min-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.4rem); }
  .sample-grid, .how, .trust-grid, .release { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .audit-actions .button { width: auto; }
  .how { row-gap: 1.1rem; }
  .how .steps {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-content: center;
  }
  .workflow-figure { grid-column: 1; grid-row: 2; }
}
:root[data-theme="dark"] body { background-image: none; }

:root[data-theme="dark"] .header,
:root[data-theme="dark"] .footer { background: var(--paper); }

:root[data-theme="dark"] .hero-screen { background: var(--surface); }

:root[data-theme="dark"] .hero-screen img,
:root[data-theme="dark"] .app-shot { border-color: var(--line); }

:root[data-theme="dark"] .app-shot { background: var(--paper); }

:root[data-theme="dark"] .audit-actions .button.primary,
:root[data-theme="dark"] .gallery-card,
:root[data-theme="dark"] .gallery-card:last-of-type,
:root[data-theme="dark"] .revision,
:root[data-theme="dark"] .review-stages li[aria-current],
:root[data-theme="dark"] .review-stages .stage-complete,
:root[data-theme="dark"] .audit-totals > div:last-child,
:root[data-theme="dark"] .resolved-row {
    color: var(--ink);
    border-color: var(--line);
    background: var(--raised);
  }

:root[data-theme="dark"] .evidence-art .art-lens { fill: var(--raised); }

:root[data-theme="dark"] .review-stages li[aria-current] .stage-mark,
:root[data-theme="dark"] .review-stages .stage-complete .stage-mark { color: var(--mint); }

:root[data-theme="dark"] .status { color: var(--yellow); background: var(--raised); }

:root[data-theme="dark"] .status.resolved { color: var(--mint); background: var(--raised); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.audit-source { margin-block: 16px 12px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; }
.audit-source summary { cursor: pointer; min-height: 44px; padding-block: 10px; font-weight: 700; }
.audit-source dl { display: grid; gap: 8px; margin: 0 0 12px; }
.audit-source dt { font-weight: 700; }
.audit-source dd { margin: 0; }

.theme-toggle { margin-inline-start: auto; }
.coverage { display: grid; align-items: center; gap: 2.25rem; padding-block: clamp(2.5rem, 7vw, 5rem); }
.coverage-copy { display: grid; gap: 1rem; }
.coverage-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; }
.city-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: .6rem;
}
.city-options .button.small {
  justify-content: flex-start;
  gap: .35rem;
  min-width: 0;
  min-height: 52px;
  padding: .25rem .7rem .25rem .4rem;
  text-align: start;
}
.city-options img { flex: 0 0 40px; }
.city-name { min-width: 0; overflow-wrap: anywhere; }
.city-options button[aria-pressed="true"] { background: var(--mint); color: var(--accent-ink); border-color: var(--accent-ink); }
.coverage-pick { padding: 1rem 1.1rem; display: grid; gap: .45rem; }
.coverage-pick a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.coverage-photo { display: grid; justify-items: center; gap: .6rem; color: var(--muted); text-align: center; }
.coverage-photo img { max-width: min(100%, 17rem); }
@media (min-width: 50rem) {
  .coverage { grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr); }
}
