/* Layout: a tidy counter where a rental is kept in order. The opening pairs the
   promise with one stamped sample receipt; below it the page follows the money
   along a single track, then gives the owner, the manager and the tenant an
   equal column each. Colours come from the app (green on paper) plus marigold
   and the violet of a rubber stamp pad. */
:root {
  --paper: #f4f6f3;
  --sheet: #ffffff;
  --sheet-2: #eaeee9;
  --ink: #1b2420;
  --muted: #59655f;
  --rule: #d3d9d3;
  --green: #1d6b57;
  --green-deep: #124a3c;
  --on-green: #ffffff;
  --green-soft: #d9ede5;
  --stamp: #5a3e9e;
  --stamp-soft: #ece6f7;
  --marigold: #e0a11b;
  --marigold-soft: #fbefd0;
  --carbon: #f7dfe4;
  --logo-ink: #1b2420;
  --display: "Baloo 2", "Noto Sans Devanagari", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --hand: "Kalam", "Bradley Hand", "Segoe Script", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111513; --sheet: #192019; --sheet-2: #212a25; --ink: #e4eae6;
    --muted: #98a59e; --rule: #2e3833; --green: #63c6a7; --green-deep: #124a3c;
    --on-green: #0d1a15; --green-soft: #1a3a30; --stamp: #b9a2f2; --stamp-soft: #2a2340;
    --marigold: #e3b45c; --marigold-soft: #3a2f17; --carbon: #33232a; --logo-ink: #e4eae6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111513; --sheet: #192019; --sheet-2: #212a25; --ink: #e4eae6;
  --muted: #98a59e; --rule: #2e3833; --green: #63c6a7; --green-deep: #124a3c;
  --on-green: #0d1a15; --green-soft: #1a3a30; --stamp: #b9a2f2; --stamp-soft: #2a2340;
  --marigold: #e3b45c; --marigold-soft: #3a2f17; --carbon: #33232a; --logo-ink: #e4eae6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
a { color: var(--green); }
a:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: 1100px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 76px; }
.band.tint { background: var(--sheet); border-block: 1px solid var(--rule); }
.label { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--stamp); background: var(--stamp-soft); padding: 3px 10px; border-radius: 999px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; max-width: 40em; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid var(--green);
}
.btn-solid { background: var(--green); color: var(--on-green); }
.btn-line { background: transparent; color: var(--green); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* The logo reads three colours */
.mark { --m1: var(--green); --m2: var(--marigold); --m3: var(--logo-ink); }

/* Top bar */
.top { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand b { font: 800 23px/1 var(--display); letter-spacing: -.01em; }
.brand b i { font-style: normal; color: var(--green); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }

/* Opening */
.open { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: 36px 72px; }
.open-words { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.open h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; }
.open h1 em { font-style: normal; background: linear-gradient(transparent 68%, var(--marigold) 68%, var(--marigold) 90%, transparent 90%); }
.lede { font-size: 1.15rem; max-width: 34em; }
.hindi { font: 700 1.5rem/1.3 var(--display); color: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 15px; color: var(--muted); max-width: 34em; }

/* The sample receipt and the two slips under it */
.counter { position: relative; min-width: 0; padding: 26px 8px 0; display: flex; flex-direction: column; gap: 22px; }
.counter::before { content: ""; position: absolute; top: 46px; left: 26px; right: 0; height: 300px; background: var(--carbon); border-radius: 4px; transform: rotate(2.4deg); }
.counter > .tag { position: absolute; top: 0; left: 8px; z-index: 1; }
.receipt {
  position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px;
  padding: 30px 26px 22px; transform: rotate(-1.4deg); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; gap: 16px;
}
.receipt::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 7px;
  background: radial-gradient(circle at 7px 0, var(--paper) 4.5px, transparent 5px) repeat-x; background-size: 14px 7px;
}
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.r-head b { font: 800 1.15rem/1.1 var(--display); display: block; white-space: nowrap; }
.r-no { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.r-no strong { display: block; font: 800 1.9rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.r-body { font-size: 16px; line-height: 1.7; }
.r-body u { text-decoration: none; border-bottom: 1.5px dotted var(--muted); font-weight: 650; padding: 0 2px; white-space: nowrap; }
.r-rows { border-block: 1px solid var(--rule); font-size: 15px; }
.r-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.r-rows div + div { border-top: 1px dashed var(--rule); }
.r-rows .quiet { color: var(--muted); }
.r-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.seal { width: 104px; height: 104px; flex: none; --s1: var(--stamp); transform: rotate(-9deg); animation: thump .45s .35s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes thump { 0% { transform: rotate(-9deg) scale(1.5); } 100% { transform: rotate(-9deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .seal { animation: none; } }
.sign { font: 400 1.5rem/1 var(--hand); border-top: 1px solid var(--rule); padding-top: 8px; min-width: 130px; text-align: center; }
.sign small { display: block; font: 12px/1.4 var(--body); color: var(--muted); margin-top: 6px; }
.slips { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.slip { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; line-height: 1.35; }
.slip svg { width: 34px; height: 34px; padding: 7px; border-radius: 9px; }
.slip b { display: block; font-size: 15px; }
.slip span { color: var(--muted); }
.slip.repair svg { color: var(--marigold); background: var(--marigold-soft); }
.slip.cash svg { color: var(--green); background: var(--green-soft); }

/* Everything it keeps, at a glance */
.keeps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-bottom: 72px; }
.keep { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 700 1rem/1.2 var(--display); min-width: 0; }
.keep svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; color: var(--green); background: var(--green-soft); }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.why h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
.why-list { display: flex; flex-direction: column; min-width: 0; }
.why-list p { padding: 16px 0; border-top: 1px solid var(--rule); max-width: 36em; }
.why-list p:last-child { border-bottom: 1px solid var(--rule); color: var(--green); font-weight: 600; }

/* Follow the money: one track, four stops */
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.track::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 3px dashed var(--green); opacity: .45; }
.stop { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stop svg { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--green); color: var(--on-green); position: relative; }
.stop h3 { font-size: 1.2rem; font-weight: 700; margin-top: 6px; }
.stop p { font-size: 16px; color: var(--muted); }
.sum { margin-top: 44px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.sum .cell { display: flex; flex-direction: column; min-width: 0; }
.sum .cell small { font-size: 13px; color: var(--muted); }
.sum .cell b { font: 800 1.55rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.sum .op { font: 700 1.5rem/1 var(--display); color: var(--muted); }
.sum .tag { margin-left: auto; }

/* Three equal columns: owner, manager, tenant */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.band.tint .person { background: var(--paper); }
.person svg { width: 52px; height: 52px; padding: 11px; border-radius: 14px; }
.person .label { margin-top: 4px; }
.person h3 { font-size: 1.4rem; font-weight: 800; }
.person li { position: relative; padding-left: 26px; font-size: 16px; }
.person li + li { margin-top: 8px; }
.person li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.person.owner svg { color: var(--green); background: var(--green-soft); }
.person.manager svg { color: var(--marigold); background: var(--marigold-soft); }
.person.tenant svg { color: var(--stamp); background: var(--stamp-soft); }
.after { margin-top: 22px; color: var(--muted); max-width: 46em; }

/* What is inside */
.inside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.entry { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.entry svg { width: 42px; height: 42px; color: var(--green); background: var(--green-soft); border-radius: 11px; padding: 9px; }
.entry h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.entry p { font-size: 16px; color: var(--muted); }

/* Plain answers */
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.qa { padding: 20px 0; border-top: 1px solid var(--rule); }
.qa h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.qa p { font-size: 16px; color: var(--muted); }

/* Ask: the one fully green band */
.ask { background: #1d6b57; color: #ffffff; }
.ask .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 64px; }
.ask h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.ask p { margin-top: 12px; max-width: 30em; }
.ask-box { background: var(--sheet); color: var(--ink); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.todo { border: 1.5px dashed var(--stamp); color: var(--stamp); border-radius: 8px; padding: 10px 12px; font-size: 15px; background: var(--stamp-soft); }
.ask-box .btn { width: 100%; }

footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-block: 28px; font-size: 14px; color: var(--muted); }
footer .brand svg { width: 30px; height: 30px; }
footer .brand b { font-size: 17px; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .open, .why, .ask .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .open { padding-block: 12px 48px; }
  .keeps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 52px; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track::before { display: none; }
  .people, .inside, .answers { grid-template-columns: minmax(0, 1fr); }
  .band { padding-block: 54px; }
  .sum .tag { margin-left: 0; }
}
/* Phones: groups of like items become rows to swipe, so the page stays short */
.swipe { display: none; }
@media (max-width: 640px) {
  .track, .people, .inside, .answers {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; padding-bottom: 4px;
  }
  .track::-webkit-scrollbar, .people::-webkit-scrollbar, .inside::-webkit-scrollbar, .answers::-webkit-scrollbar { display: none; }
  .track > *, .people > *, .inside > *, .answers > * { scroll-snap-align: start; }
  .track::before { display: none; }
  .stop { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 18px; }
  .inside, .answers { grid-template-rows: repeat(2, auto); column-gap: 14px; row-gap: 0; }
  .entry, .qa { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 16px; margin-bottom: 12px; }
  .band.tint .qa, .band.tint .entry { background: var(--paper); }
  .swipe {
    display: flex; align-items: center; gap: 8px; margin-top: 10px;
    font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted);
  }
  .swipe::after { content: ""; width: 22px; height: 10px; border-bottom: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: skewX(40deg) translateY(-4px); }
  .keeps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-bottom: 44px; }
  .keep { padding: 12px 6px; font-size: .92rem; }
  .keep svg { width: 38px; height: 38px; padding: 8px; }
  .band { padding-block: 44px; }
  .section-head { margin-bottom: 24px; }
  .sum { margin-top: 26px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px 6px; padding: 16px 18px; }
  .sum .cell { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; }
  .sum .cell:first-child { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
  .sum .cell small { font-size: 14px; }
  .sum .cell b { font-size: 1.3rem; }
  .sum .op { font-size: 1.2rem; align-self: center; }
  .sum .tag { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
  .after { margin-top: 16px; }
}
@media (max-width: 480px) {
  .slips { grid-template-columns: minmax(0, 1fr); }
  .receipt { padding: 28px 18px 18px; }
  .seal { width: 88px; height: 88px; }
  .actions .btn { flex: 1 1 100%; }
  .brand b { font-size: 20px; }
}

/* Holds the drawn logo and seal for reuse; inline style is not allowed by the site's content policy. */
.sprite { position: absolute; width: 0; height: 0; }

/* A test server's front page says so, like every page of a test copy. */
.banner.test { background: #b3261e; color: #fff; font-weight: 700; text-align: center; padding: 10px 16px; }
