/* Hundred Kites' Inter for reading, Instrument Serif for headlines, a mono for times and sources. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tiro-devanagari-hindi.woff2") format("woff2");
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839,
    U+A8E0-A8FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF;
}

/* The court file: ivory paper, ink, the kraft cover and its red tape.
   Product pieces keep the app's meanings: navy one source, green two agree,
   amber changed, red disagree, purple recorded in court, grey stale. */
:root {
  --paper: #f2ede3;
  --paper-deep: #e8e0d0;
  --canvas: var(--paper);
  --card: #fffdf9;
  --ink: #17130e;
  --ink-soft: #3f382f;
  --muted: #6e665b;
  --line: #dcd3c3;
  --line-soft: #e8e1d4;
  --kraft: #d6b277;
  --kraft-deep: #b88d4c;
  --tape: #b02f2c;
  --stamp-ink: #2f3a9a;
  --night: #17130e;
  --night-2: #221d17;
  --night-3: #2d261e;
  --night-line: rgb(242 237 227 / 12%);
  --night-ink: #f2ede3;
  --night-soft: #d3cabb;
  --night-muted: #a39a8b;
  --brand: #23408f;
  --brand-bright: #e3c28a;
  --brand-tint: #e9edf8;
  --navy-light: #9cb0f2;
  --verified: #12855c;
  --verified-ink: #0b6446;
  --verified-bg: #e6f3eb;
  --verified-bright: #57d39a;
  --attention: #b26a0b;
  --attention-ink: #6b4409;
  --attention-bg: #fbf0df;
  --attention-bright: #f2b04a;
  --conflict: #c0332b;
  --conflict-ink: #a12a23;
  --conflict-bg: #fbeeec;
  --conflict-bright: #ff7d73;
  --neutral: #8a8478;
  --neutral-ink: #4d473e;
  --neutral-bg: #ece7dd;
  --court: #6b3fa0;
  --court-bg: #f3edf9;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius: 12px;
  --shadow: 0 1px 1px rgb(23 19 14 / 6%), 0 18px 36px -18px rgb(23 19 14 / 35%);
  --shadow-night: 0 30px 60px -30px rgb(0 0 0 / 60%);
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans",
    "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif;
  --display:
    "Instrument Serif", "Tiro Devanagari Hindi", "Iowan Old Style", Georgia,
    serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px / 1.6 var(--font);
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}
h1,
h2,
h3 {
  margin: 0 0 0.4em;
  color: inherit;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
}
h2 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1;
}
h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}
h1 em,
h2 em {
  color: var(--brand);
  font-style: normal;
}
/* Hindi headlines use Tiro Devanagari: the same serif voice, with room for the matras. */
:lang(hi) h1,
:lang(hi) h2 {
  letter-spacing: 0;
  line-height: 1.3;
}
:lang(hi) h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}
:lang(hi) h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}
:lang(hi) h3 {
  letter-spacing: 0;
  line-height: 1.4;
}
:lang(hi) body {
  font-size: 18px;
  line-height: 1.75;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus {
  outline: none;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
/* Two day sections in a row share one gap, not two. */
.section:not(.night) + .section:not(.night) {
  padding-top: 0;
}
.night {
  background: var(--night);
  color: var(--night-ink);
}
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font: 500 0.76rem / 1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker::before {
  width: 8px;
  height: 8px;
  background: var(--tape);
  content: "";
}
.night .kicker {
  color: var(--brand-bright);
}
:lang(hi) .kicker {
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.lede {
  max-width: 38em;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.night .lede {
  color: var(--night-soft);
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head .lede {
  margin-top: 18px;
}
.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.skip {
  position: absolute;
  top: 8px;
  left: -999px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}
.skip:focus {
  left: 12px;
}
.sample-note {
  margin: 20px 0 0;
  color: var(--muted);
  font: 400 0.76rem / 1.4 var(--mono);
}
.night .sample-note {
  color: var(--night-muted);
}
:lang(hi) .sample-note {
  font-family: var(--font);
  font-size: 0.85rem;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Buttons, the announcement strip, header, menu and footer. */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.98rem / 1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
}
.button.primary:hover {
  background: var(--brand);
}
.night .button.primary {
  background: var(--paper);
  color: var(--ink);
}
.night .button.primary:hover {
  background: #fff;
}
.button.ghost {
  border-color: rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 4%);
  color: var(--night-ink);
}
.button.ghost:hover {
  border-color: rgb(255 255 255 / 32%);
}
.button.dark {
  background: var(--ink);
  color: #fff;
}
.button.small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.9rem;
}
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--kraft-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.night .text-link {
  color: var(--brand-bright);
}
@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.header-row {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 68px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand img {
  display: block;
}
.site-footer .brand img {
  padding: 2px 3px;
  border-radius: 7px;
  background: #fff;
}
.brand-name {
  display: flex;
  flex-direction: column;
  font: 650 1.12rem / 1.05 var(--font);
  letter-spacing: -0.02em;
}
.brand-name small {
  margin-top: 3px;
  color: var(--muted);
  font: 400 0.66rem / 1 var(--mono);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a,
.menu-panel a:not(.button) {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.nav [aria-current="page"],
.menu-panel [aria-current="page"] {
  background: var(--paper-deep);
  color: var(--ink);
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.menu {
  display: none;
}
.menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu-panel {
  position: absolute;
  top: 64px;
  right: 16px;
  left: 16px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.menu-panel a:not(.button) {
  padding: 12px 14px;
  font-size: 1rem;
}
.menu-panel .button {
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu {
    display: block;
  }
}
@media (max-width: 480px) {
  .header-row {
    gap: 10px;
    min-height: 62px;
  }
  .header-cta {
    display: none;
  }
}

.site-footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--night-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}
.footer-tagline {
  max-width: 12em;
  margin-top: 18px;
  color: var(--night-ink);
  font: 400 2.2rem / 1.05 var(--display);
}
:lang(hi) .footer-tagline {
  font-size: 1.9rem;
  line-height: 1.3;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-col p {
  margin: 0 0 8px;
  color: var(--night-muted);
  font: 500 0.74rem / 1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:lang(hi) .footer-col p {
  font-family: var(--font);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--night-soft);
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}
.independence {
  max-width: 52em;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  color: var(--night-soft);
  font-size: 0.92rem;
}
.footer-base {
  margin: 12px 0 0;
  color: var(--night-muted);
  font: 400 0.78rem / 1.4 var(--mono);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Page openings on paper: a serif headline, and on Home the case file. */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.page-hero-grid > :only-child {
  grid-column: 1 / -1;
}
.page-hero h1 {
  max-width: 13em;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}
.page-hero .lede {
  margin-top: 22px;
}
.cta-address {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.night .cta-address {
  color: var(--night-muted);
}
.cta-address a {
  color: inherit;
  font-weight: 600;
}

.home-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.home-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}
.home-hero h1 em {
  display: block;
}
:lang(hi) .home-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
}
.hero-copy .lede {
  margin-top: 26px;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
}
.hero-copy .actions {
  gap: 24px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 40px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 0.74rem / 1.5 var(--mono);
  letter-spacing: 0.05em;
  list-style: none;
  text-transform: uppercase;
}
.hero-trust li:not(:last-child)::after {
  margin: 0 12px;
  color: var(--kraft-deep);
  content: "/";
}
:lang(hi) .hero-trust {
  font-family: var(--font);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

/* The case file: kraft cover, a cause list peeking out, red tape, a stamp. */
.file-scene {
  position: relative;
  min-height: 580px;
  margin: 0;
}
.file {
  position: absolute;
  inset: 54px 24px 40px 36px;
  border-radius: 4px 14px 14px;
  background:
    repeating-linear-gradient(
      100deg,
      rgb(255 255 255 / 5%) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(160deg, #dfbd85, var(--kraft) 55%, #c9a165);
  box-shadow:
    0 40px 60px -36px rgb(23 19 14 / 55%),
    inset 0 0 0 1px rgb(23 19 14 / 8%);
  transform: rotate(-2.5deg);
}
.file-tab {
  position: absolute;
  top: -30px;
  left: 0;
  padding: 7px 18px 8px;
  border-radius: 10px 10px 0 0;
  background: #dcb981;
  color: #5c4320;
  font: 600 0.72rem / 1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:lang(hi) .file-tab {
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0;
}
.file-paper {
  position: absolute;
  top: 24px;
  right: 70px;
  bottom: 70px;
  left: 26px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(transparent 0 25px, rgb(23 19 14 / 8%) 25px 26px),
    #fbf8f1;
  box-shadow: 0 10px 20px -14px rgb(23 19 14 / 40%);
  transform: rotate(1.8deg);
}
.red-tape {
  position: absolute;
  top: -6px;
  right: 22%;
  bottom: -6px;
  width: 15px;
  background: linear-gradient(90deg, #8f2321, var(--tape) 40%, #c9443f);
  box-shadow: 0 2px 6px rgb(23 19 14 / 30%);
}
.red-tape::after {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 34px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #c9443f, #8f2321);
  content: "";
  transform: translate(-50%, -50%) rotate(-20deg);
}
.file-stamp {
  animation: stamp-in 0.5s 0.4s cubic-bezier(0.2, 1.4, 0.5, 1) both;
  position: absolute;
  bottom: 26px;
  left: 30px;
  padding: 6px 12px;
  border: 2.5px solid var(--stamp-ink);
  border-radius: 6px;
  color: var(--stamp-ink);
  font: 700 0.78rem / 1.2 var(--mono);
  letter-spacing: 0.1em;
  opacity: 0.82;
  text-transform: uppercase;
  transform: rotate(-7deg);
}
:lang(hi) .file-stamp {
  font-family: var(--font);
  font-size: 0.9rem;
  letter-spacing: 0;
}
.slip {
  position: absolute;
  z-index: 1;
  width: 260px;
  padding: 13px 16px 12px;
  border-left: 4px solid var(--tone);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.slip::before {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9aa0b4, #3f4352);
  box-shadow: 0 2px 3px rgb(23 19 14 / 35%);
  content: "";
}
:where(.slip) p {
  margin: 0;
}
.slip-next {
  --tone: var(--verified);
  top: 0;
  left: 0;
  transform: rotate(-2deg);
}
.slip-moved {
  --tone: var(--attention);
  top: 118px;
  right: 0;
  transform: rotate(2deg);
}
.slip-order {
  --tone: var(--brand);
  top: 268px;
  left: 18px;
  transform: rotate(-1deg);
}
.slip-tomorrow {
  --tone: var(--ink);
  right: 26px;
  bottom: 84px;
  transform: rotate(1.5deg);
}
.slip-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}
.slip-title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tone);
}
.slip-matter {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}
.slip-value {
  margin-top: 2px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.slip-source {
  margin-top: 6px;
  color: var(--muted);
  font: 400 0.72rem / 1.4 var(--mono);
}
:lang(hi) .slip-source {
  font-family: var(--font);
  font-size: 0.82rem;
}
.file-scene .sample-note {
  position: absolute;
  right: 26px;
  bottom: 0;
  margin: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .file-scene {
    display: grid;
    gap: 14px;
    min-height: 0;
    padding: 46px 14px 20px;
  }
  .file {
    inset: 30px 0 34px;
    transform: rotate(-1.5deg);
  }
  .slip {
    position: relative;
    inset: auto;
    width: auto;
    max-width: 300px;
  }
  .slip-moved,
  .slip-tomorrow {
    justify-self: end;
  }
  .file-stamp {
    top: 14px;
    right: 18px;
    bottom: auto;
    left: auto;
  }
  .file-scene .sample-note {
    position: relative;
    z-index: 2;
    justify-self: center;
    margin-top: 26px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--paper);
    text-align: center;
  }
  /* On a phone, the case file comes straight after the buttons. */
  .hero-grid {
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .file-scene {
    order: 1;
    margin-top: 32px;
  }
  .hero-trust,
  .hero-outside {
    order: 2;
  }
  .hero-trust {
    flex-direction: column;
  }
  .hero-trust li:not(:last-child)::after {
    content: none;
  }
  .hero-trust li::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    background: var(--tape);
    content: "";
    vertical-align: middle;
  }
}

/* Inner pages: each hero carries its own product piece. */
.page-hero-aside {
  align-self: center;
}
.rail {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.rail a,
.rail li > span {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.rail a:hover {
  color: var(--brand);
}
.rail b {
  color: var(--tape);
  font: 600 0.78rem / 1 var(--mono);
}
.stamp-stack {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.stamp-stack .stamp:nth-child(1) {
  transform: rotate(-3deg);
}
.stamp-stack .stamp:nth-child(2) {
  margin-left: 10%;
  transform: rotate(2deg);
}
.stamp-stack .stamp:nth-child(3) {
  margin-left: 3%;
  transform: rotate(-1.5deg);
}
.codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.codes li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.82rem;
  font-weight: 500;
}
.codes .is-first {
  border-color: var(--tape);
  background: var(--tape);
  color: #fff;
}
.codes-caption {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes stamp-in {
  from {
    opacity: 0;
    transform: rotate(-7deg) scale(1.6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .file-stamp {
    animation: none;
  }
}
.hero-outside {
  max-width: 36em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.stamp-stack .stamp {
  max-width: 100%;
  white-space: normal;
}

/* The product's own pieces: light cards that read the same on phone and laptop. */
.piece {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
}
:where(.piece) p {
  margin: 0;
}
.piece-label {
  color: var(--muted);
  font: 500 0.7rem / 1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:lang(hi) .piece-label {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}
.board-date {
  margin: 2px 0 12px;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}
:lang(hi) .chip {
  font-size: 0.86rem;
}
.chip .icon {
  stroke-width: 2.4;
}
.chip-checked {
  background: var(--brand-tint);
  color: var(--brand);
}
.chip-ok {
  background: var(--verified-bg);
  color: var(--verified-ink);
}
.chip-moved {
  background: var(--attention-bg);
  color: var(--attention-ink);
}
.chip-conflict {
  background: var(--conflict-bg);
  color: var(--conflict-ink);
}
.chip-stale {
  background: var(--neutral-bg);
  color: var(--neutral-ink);
}
.board-court {
  margin-top: 14px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font: 500 0.7rem / 1.4 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
:lang(hi) .board-court {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}
.board-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.board-rows li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.board-item {
  display: flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--canvas);
  font: 600 0.86rem / 1 var(--mono);
}
.board-stage {
  color: var(--muted);
  font-size: 0.8rem;
}
.board-outcomes {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--attention-bg);
  color: var(--attention-ink);
  font-size: 0.82rem;
  font-weight: 600;
}
.readings {
  display: grid;
  gap: 6px;
  margin: 8px 0 12px;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 600;
  list-style: none;
}
.readings li {
  padding: 7px 10px;
  border-radius: 9px;
}
.reading-web {
  background: var(--brand-tint);
  color: var(--brand);
}
.reading-court {
  background: var(--court-bg);
  color: var(--court);
}

/* The cases table and the small fragments used in tiles and steps. */
.cases {
  padding: 0;
  overflow: hidden;
}
.cases-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
}
.cases-head p {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.cases-head strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.cases-head p span {
  color: var(--muted);
}
.cases-print {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.cases table {
  width: 100%;
  border-collapse: collapse;
}
.cases th {
  padding: 8px 18px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #f8f8f6;
  color: var(--muted);
  font: 500 0.68rem / 1.4 var(--mono);
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}
:lang(hi) .cases th {
  font-family: var(--font);
  font-size: 0.8rem;
  letter-spacing: 0;
}
.cases td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.cases tr:last-child td {
  border-bottom: 0;
}
.desk-matter {
  font-weight: 600;
}
.desk-status {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-weight: 600;
}
.desk-ok .desk-status {
  color: var(--brand);
}
.desk-twoDates .desk-status {
  color: var(--conflict-ink);
}
.desk-stale .desk-status,
.desk-stale .desk-date {
  color: var(--neutral-ink);
}
@media (max-width: 560px) {
  .cases .desk-court,
  .cases thead,
  .cases-head p span {
    display: none;
  }
  .cases tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .cases td {
    padding: 0;
    border: 0;
  }
  .cases td:last-child {
    grid-column: 1 / -1;
  }
}

.outcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.outcome-chips li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.8rem;
  font-weight: 500;
}
.outcome-chips .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.saved-offline {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 12px 0 0;
  color: var(--neutral-ink);
  font-size: 0.8rem;
  font-weight: 500;
}
.mini {
  display: grid;
  gap: 12px;
}
.otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.otp span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
  font: 600 1.3rem / 1 var(--mono);
}
.mini-button {
  padding: 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.mini-title {
  font-weight: 600;
}
.search-field {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
}
.search-rows,
.confirm-rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.search-rows li,
.confirm-rows li {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--canvas);
  font-weight: 600;
}
.search-rows li {
  justify-content: flex-start;
}
.tick {
  padding: 2px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  stroke-width: 3;
}
.confirm-actions {
  display: flex;
  gap: 6px;
  font-size: 0.78rem;
}
.confirm-actions span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.confirm-actions .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.failed-block {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--conflict-bg);
  color: var(--conflict-ink);
  font-size: 0.82rem;
}
.failed-block .icon {
  margin-top: 2px;
}
.next-date {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.next-date span {
  color: var(--muted);
}

/* Home: numbers, what you get, the trust band, phone and laptop, coverage, CTA. */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 30px 28px 30px 0;
}
.stats li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.stats strong {
  font: 400 clamp(3.4rem, 6vw, 5rem) / 0.9 var(--display);
}
.stats span {
  max-width: 11em;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.35;
}

.stamp {
  display: inline-flex;
  gap: 10px;
  white-space: nowrap;
  align-items: center;
  padding: 10px 16px;
  border: 2.5px solid currentcolor;
  border-radius: 8px;
  font: 700 0.86rem / 1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
:lang(hi) .stamp {
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.stamp .icon {
  stroke-width: 2.6;
}
.stamp-verified {
  color: var(--verified-ink);
}
.stamp-checked {
  color: var(--stamp-ink);
}
.stamp-moved {
  color: var(--attention-ink);
}
.stamp-stale {
  color: var(--neutral-ink);
}
.stamp-conflict {
  color: var(--conflict-ink);
}
.night .stamp-verified {
  color: #7fd8a8;
}
.night .stamp-stale {
  color: #cfc7b9;
}
.night .stamp-conflict {
  color: #ff9a91;
}
.night .stamp-checked {
  color: var(--navy-light);
}
.night .text-link {
  color: var(--night-ink);
  text-decoration-color: var(--kraft);
}

.trust-band {
  padding: clamp(64px, 8vw, 104px) 0;
}
.trust-band h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.trust-band .lede {
  margin: 22px 0 30px;
}
.stamp-wall {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding-top: 12px;
}
.stamp-wall .stamp {
  font-size: clamp(0.82rem, 1.4vw, 1rem);
}
.stamp-wall .stamp:nth-child(1) {
  transform: rotate(-3deg);
}
.stamp-wall .stamp:nth-child(2) {
  margin-left: 12%;
  transform: rotate(2deg);
}
.stamp-wall .stamp:nth-child(3) {
  margin-left: 4%;
  transform: rotate(-1.5deg);
}
.status {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--neutral-bg);
  color: var(--neutral-ink);
  font: 500 0.7rem / 1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
:lang(hi) .status {
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0;
}
.status-live {
  background: var(--ink);
  color: var(--paper);
}
.coverage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.coverage-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.coverage-list li:first-child {
  border-top: 1px solid var(--line);
}
.coverage-list .status {
  flex: none;
  margin: 0;
}

.cta {
  padding: 0 0 clamp(72px, 10vw, 120px);
}
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  padding-right: clamp(64px, 12vw, 180px);
  border-radius: var(--radius-xl);
  background:
    repeating-linear-gradient(
      100deg,
      rgb(255 255 255 / 5%) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(160deg, #dfbd85, var(--kraft) 60%, #c9a165);
  color: var(--ink);
}
.cta-panel::after {
  position: absolute;
  top: 0;
  right: clamp(28px, 6vw, 80px);
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, #8f2321, var(--tape) 40%, #c9443f);
  content: "";
}
.cta-panel h2 {
  max-width: 13em;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}
.cta-panel .lede {
  color: var(--ink-soft);
}
.cta-panel .kicker {
  color: #5c4320;
}
.cta-panel .cta-address {
  color: #5c4320;
}
.cta-panel .button.ghost {
  border-color: rgb(23 19 14 / 28%);
  background: transparent;
  color: var(--ink);
}

@media (max-width: 860px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stats li,
  .stats li + li {
    padding: 22px 0;
    border-left: 0;
  }
  .stats li + li {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 480px) {
  .coverage-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cta-panel .actions .button {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .stamp {
    white-space: normal;
  }
  .stamp-wall .stamp:nth-child(n),
  .stamp-stack .stamp:nth-child(n) {
    margin-left: 0;
  }
}

.stamp-wall .sample-note {
  margin-top: 4px;
}

/* Language menu, product tour, tour pieces and roadmap. */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary::after {
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}
.lang-panel {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 60;
  width: 260px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.lang-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.lang-panel a:hover,
.lang-panel [aria-current] {
  background: var(--paper-deep);
}
.lang-panel p {
  margin: 8px 12px 4px;
  color: var(--muted);
  font: 500 0.7rem / 1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-panel li {
  display: grid;
  padding: 6px 12px;
  color: var(--ink-soft);
}
.lang-panel small {
  color: var(--muted);
  font-size: 0.72rem;
}

.tour-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tour-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  scrollbar-width: none;
}
.tour-tab {
  display: inline-flex;
  flex: none;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.tour-tab em {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  font: 500 0.62rem / 1.4 var(--mono);
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tour-panel {
  display: none;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
#tour-today:checked ~ .tour-panels .panel-today,
#tour-matter:checked ~ .tour-panels .panel-matter,
#tour-alerts:checked ~ .tour-panels .panel-alerts,
#tour-chamber:checked ~ .tour-panels .panel-chamber,
#tour-court:checked ~ .tour-panels .panel-court,
#tour-desk:checked ~ .tour-panels .panel-desk,
#tour-draft:checked ~ .tour-panels .panel-draft {
  display: grid;
}
#tour-today:checked ~ .tour-tabs .tab-today,
#tour-matter:checked ~ .tour-tabs .tab-matter,
#tour-alerts:checked ~ .tour-tabs .tab-alerts,
#tour-chamber:checked ~ .tour-tabs .tab-chamber,
#tour-court:checked ~ .tour-tabs .tab-court,
#tour-desk:checked ~ .tour-tabs .tab-desk,
#tour-draft:checked ~ .tour-tabs .tab-draft {
  background: var(--ink);
  color: var(--paper);
}
#tour-today:focus-visible ~ .tour-tabs .tab-today,
#tour-matter:focus-visible ~ .tour-tabs .tab-matter,
#tour-alerts:focus-visible ~ .tour-tabs .tab-alerts,
#tour-chamber:focus-visible ~ .tour-tabs .tab-chamber,
#tour-court:focus-visible ~ .tour-tabs .tab-court,
#tour-desk:focus-visible ~ .tour-tabs .tab-desk,
#tour-draft:focus-visible ~ .tour-tabs .tab-draft {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.tour-text h3 {
  font: 400 clamp(1.9rem, 3.2vw, 2.7rem) / 1.05 var(--display);
}
:lang(hi) .tour-text h3 {
  line-height: 1.3;
}
.tour-text > p:not(.status) {
  color: var(--ink-soft);
}
.tour-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.tour-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}
.tour-points .icon {
  margin-top: 4px;
  color: var(--ink);
  stroke-width: 2.4;
}
.tour-visual {
  display: flex;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      100deg,
      rgb(255 255 255 / 6%) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(160deg, #e6cfa4, #dcbd86);
}
.tour-visual > * {
  width: 100%;
}
.stack {
  display: grid;
  gap: 12px;
  max-width: 460px;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.status-now {
  background: var(--verified-bg);
  color: var(--verified-ink);
}
.status-soon {
  background: var(--attention-bg);
  color: var(--attention-ink);
}
.status-planned {
  background: var(--neutral-bg);
  color: var(--neutral-ink);
}
@media (max-width: 900px) {
  .tour-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tour-text,
.tour-visual {
  min-width: 0;
}
.tour-points .is-future {
  color: var(--ink-soft);
}
.tour-points .is-future .icon {
  color: var(--attention);
}
:lang(hi) .tour-tab em,
:lang(hi) .soon-chip,
:lang(hi) .lang-panel p {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0;
}
@media (max-width: 560px) {
  .pair {
    grid-template-columns: 1fr;
  }
  /* Every tab stays visible on a phone, the future ones included. */
  .tour-tabs {
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .tour-tab {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }
}

/* Alerts, notifications, WhatsApp, members, invite, draft. */
.alerts-list ul {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.alert-row {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.alert-row i {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--tone);
}
.alert-row-moved {
  --tone: var(--attention);
}
.alert-row-order,
.alert-row-stage {
  --tone: var(--brand);
}
.alert-row div {
  display: grid;
}
.alert-row span {
  color: var(--muted);
  font-size: 0.82rem;
}
.alert-row small {
  margin-top: 2px;
  color: var(--ink-soft);
  font: 400 0.74rem / 1.4 var(--mono);
}
:lang(hi) .alert-row small {
  font-family: var(--font);
  font-size: 0.82rem;
}
.push {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgb(255 255 255 / 85%);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
}
.push div {
  display: grid;
}
.push-icon,
.wa-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.soon-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--attention-bg);
  color: var(--attention-ink);
  font: 500 0.62rem / 1.4 var(--mono);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wa {
  padding: 12px;
  border-radius: 16px;
  background: #e9dfd2;
}
.wa-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
  font-size: 0.88rem;
}
.wa-head .soon-chip {
  margin-left: auto;
}
.wa-bubble {
  position: relative;
  max-width: 92%;
  margin: 0;
  padding: 10px 12px 18px;
  border-radius: 4px 14px 14px;
  background: #fff;
  font-size: 0.86rem;
  line-height: 1.45;
}
.wa-bubble small {
  position: absolute;
  right: 10px;
  bottom: 4px;
  color: #3f9e6a;
  font-size: 0.68rem;
}
.members ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.members li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
}
.members em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.members li:nth-child(2) .avatar {
  background: var(--brand);
}
.members li:nth-child(3) .avatar {
  background: var(--kraft-deep);
}
.members .pending {
  grid-template-columns: 34px 1fr;
  color: var(--muted);
  font-size: 0.82rem;
}
.members .pending .avatar {
  border: 1.5px dashed var(--line);
  background: transparent;
  color: var(--muted);
}
.invite {
  display: grid;
  gap: 10px;
}
.invite-field {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.invite-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.invite-roles span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
}
.invite-roles .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.copy-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 600;
}
.doc {
  max-width: 440px;
  padding: 28px 30px;
  border-radius: 4px;
  background: #fffefa;
  box-shadow: var(--shadow);
  font:
    400 0.86rem / 1.6 Georgia,
    "Noto Serif",
    serif;
}
:lang(hi) .doc {
  font-family: var(--font);
}
.doc p {
  margin: 0 0 8px;
}
.doc-court {
  text-align: center;
  font-weight: 700;
}
.doc-title,
.doc-kind {
  text-align: center;
}
.doc-kind {
  font-weight: 700;
  text-decoration: underline;
}
.doc mark {
  padding: 0 4px;
  border-radius: 3px;
  background: #e5ecfb;
}
.doc-lines {
  display: block;
  height: 54px;
  margin: 6px 0 12px;
  background: repeating-linear-gradient(transparent 0 11px, #e8e2d4 11px 12px);
}
.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font);
}
.doc-filled,
.doc-ai {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}
.doc-filled {
  background: var(--brand-tint);
  color: var(--brand);
}
.doc-ai {
  border: 1px dashed var(--neutral);
  color: var(--neutral-ink);
}
.doc-ai em {
  font-style: normal;
  font-weight: 400;
}

.roads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.road {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--tone);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.road-now {
  --tone: var(--verified);
}
.road-soon {
  --tone: var(--attention);
}
.road-planned {
  --tone: var(--neutral);
}
.road h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}
.road ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.road li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
}
.road li::before {
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--tone);
  content: "";
}
@media (max-width: 860px) {
  .roads {
    grid-template-columns: 1fr;
  }
}
.matter {
  display: grid;
  gap: 8px;
  max-width: 460px;
}
.matter-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.matter-court {
  color: var(--muted);
  font-size: 0.84rem;
}
.matter .chip {
  justify-self: start;
}
.matter .readings {
  margin: 0 0 6px;
}
.history {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.history li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 9px 0 9px 12px;
  border-left: 2px solid var(--tone);
  font-size: 0.84rem;
}
.history time {
  color: var(--muted);
  font: 500 0.74rem / 1.6 var(--mono);
}
.hist-court {
  --tone: var(--court);
}
.hist-court span {
  color: var(--court);
  font-weight: 600;
}
.hist-checked {
  --tone: var(--brand);
}
.hist-verified {
  --tone: var(--verified);
}
.road {
  position: relative;
}
.road-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border: 2px solid var(--tone);
  border-radius: 6px;
  color: var(--tone);
  font: 700 0.7rem / 1.2 var(--mono);
  letter-spacing: 0.08em;
  opacity: 0.85;
  text-transform: uppercase;
  transform: rotate(6deg);
}
:lang(hi) .road-stamp {
  font-family: var(--font);
  font-size: 0.8rem;
  letter-spacing: 0;
}
.road h3 {
  padding-right: 96px;
}
.other-rows {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.other-rows li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.one-source {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--brand);
  font: 400 0.74rem / 1.4 var(--mono);
}
:lang(hi) .one-source {
  font-family: var(--font);
  font-size: 0.82rem;
}

/* Inner pages: chapters, sources, states, data, courts, early access, about. */
.chapters {
  display: grid;
  gap: clamp(64px, 9vw, 112px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.chapter:nth-child(even) .chapter-visual {
  order: -1;
}
.chapter h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}
.chapter-visual {
  padding: clamp(18px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background:
    repeating-linear-gradient(
      100deg,
      rgb(255 255 255 / 6%) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(160deg, #e6cfa4, #dcbd86);
}
.chapter-visual .piece {
  max-width: 440px;
  margin: 0 auto;
}

.sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sources li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
.sources .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--brand);
}
.sources p {
  margin: 0;
  color: var(--ink-soft);
}
.rule {
  max-width: 44em;
  margin: 32px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  background: var(--card);
  font-size: 1.08rem;
  font-weight: 500;
}

.states-section {
  background: var(--night);
}
.colour-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--night-soft);
  font-size: 0.86rem;
  list-style: none;
}
.colour-key li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.colour-key li::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--key);
  content: "";
}
.key-checked {
  --key: var(--navy-light);
}
.key-verified {
  --key: var(--verified-bright);
}
.key-attention {
  --key: var(--attention-bright);
}
.key-stale {
  --key: var(--neutral);
}
.key-conflict {
  --key: var(--conflict-bright);
}
.key-court {
  --key: #b991ea;
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.state {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 18px;
  border-top: 3px solid var(--tone);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--ink);
}
.state .chip {
  justify-self: start;
  margin-bottom: 14px;
}
.state-ok {
  --tone: var(--verified);
}
.state-moved {
  --tone: var(--attention);
}
.state-stale {
  --tone: var(--neutral);
}
.state-conflict {
  --tone: var(--conflict);
}
.state-matter {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}
.state-date {
  margin: 2px 0 14px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.state-stale .state-date {
  color: var(--neutral-ink);
}
.state-line {
  display: flex;
  align-self: start;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.84rem;
  font-weight: 500;
}
.state-line .icon {
  margin-top: 2px;
}
.state-ok .state-line {
  color: var(--verified-ink);
}
.state-moved .state-line {
  color: var(--brand);
}
.state-stale .state-line {
  color: var(--neutral-ink);
}
.state-conflict .state-line {
  color: var(--conflict-ink);
}
.never {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--night-line);
}
.never h3 {
  font-size: 1.6rem;
}
.never ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.never-num,
.ladder-num {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-bright);
  font: 500 0.8rem / 1 var(--mono);
}
.never p {
  margin: 0;
  color: var(--night-soft);
}
.data-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.data-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.data-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--brand);
}
@media (max-width: 1000px) {
  .state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .never,
  .never ol {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .chapter,
  .sources {
    grid-template-columns: 1fr;
  }
  .chapter:nth-child(even) .chapter-visual {
    order: 0;
  }
}
@media (max-width: 560px) {
  .state-grid {
    grid-template-columns: 1fr;
  }
}

/* Courts, early access and about. */
.coverage-wide {
  max-width: 880px;
}
.ladder-section {
  padding-top: 0;
}
.ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.ladder li {
  padding: 24px 20px 8px 0;
}
.ladder li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.ladder .ladder-num {
  color: var(--brand);
}
.ladder p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.ask {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
.ask p {
  margin: 0;
  color: var(--ink-soft);
}
.install {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
.install .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  color: var(--brand);
}
.install p {
  margin: 0;
  color: var(--ink-soft);
}
.faq-section {
  padding-top: 0;
}
.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 48px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--brand);
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  max-width: 40em;
  margin: -4px 0 0;
  padding: 0 44px 22px 0;
  color: var(--ink-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
}
.big-text {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
:lang(hi) .big-text {
  letter-spacing: 0;
  line-height: 1.6;
}
.about-side {
  display: grid;
  gap: 16px;
}
.about-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
.about-card h2 {
  font-size: 1.3rem;
}
.about-card p {
  color: var(--ink-soft);
}
.about-links {
  display: grid;
  gap: 8px;
  margin: 0;
}
.about-links a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 960px) {
  .ladder {
    grid-template-columns: 1fr;
  }
  .ladder li + li {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .faq-row,
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.formula {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
}
.formula p {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0;
  font-size: 1.05rem;
}
.outside {
  max-width: 46em;
  margin: 24px 0 0;
  padding: 16px 20px;
  border: 1px dashed var(--kraft-deep);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.install {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.install h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.access-from {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Privacy and terms: long-form reading with a contents list. */
.legal-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  gap: 28px 64px;
}
.legal-head {
  grid-column: 1 / -1;
  max-width: 780px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.draft-notice {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid #efd7b0;
  border-radius: 10px;
  background: var(--attention-bg);
  color: var(--attention-ink);
  font-size: 0.93rem;
  font-weight: 600;
}
.legal-contents {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: 0.92rem;
}
.legal-contents p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.legal-contents ol {
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
  list-style: none;
}
.legal-contents a {
  display: block;
  padding: 5px 0 5px 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.legal-contents a:hover {
  color: var(--brand);
}
.legal-contents-compact {
  display: none;
}
.legal-body section {
  margin-bottom: 32px;
}
.legal-body h2 {
  font-size: 1.45rem;
}
.legal-body ul {
  padding-left: 1.2em;
}
.legal-body li {
  margin-bottom: 0.5em;
}
.not-found {
  min-height: 50vh;
}
@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-contents {
    display: none;
  }
  .legal-contents-compact {
    display: block;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
  }
  .legal-contents-compact summary {
    min-height: 24px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 600;
  }
  .legal-contents-compact ol {
    margin: 10px 0 0;
    padding-left: 1.2em;
  }
  .legal-contents-compact li {
    padding: 4px 0;
  }
}
