/* Kabidhi — the public site at kabidhi.com. Generated pages, hand-written stylesheet.
   Built to the approved boards of 29 September 2026 (landing-canvas/).

   COLOUR, ruled O234 and O235:
     --action  #1d4ed8  ONLY things you can press. Never a heading, never a label.
     --heading #3E5C9A  read-only headings and labels. 5.06:1 on the ground. Never pressable.
     the marker  a teal highlighter behind a promise, at most five a page, text stays ink.
   The product's own blue/red controls never appear on a client surface (§18's boundary),
   which is why the demo's client card wears the fictional studio's violet. */

:root {
  --action: #1d4ed8;
  --action-hover: #1e40af;
  --heading: #3E5C9A;
  --ground: #EFE1BF;
  --card: #FAF5E8;
  --tint: #F3E9D2;
  --ink: #1F1A12;
  --muted: #5E5442;
  --muted-strong: #4A4234;
  --rule: #E0D2AE;
  --rule-strong: #D4C29A;
  --dark: #2B2418;
  --dark-fg: #FAF5E8;
  --dark-muted: #C4B79A;
  --good: #0F5F31;
  --teal-ink: #0E5A63;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --studio: #7c3aed;
  --pad: 80px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: break-word;
}

a { color: var(--action); }
a:hover { color: var(--action-hover); }

h1, h2, h3 { color: var(--heading); letter-spacing: -0.025em; font-weight: 700; margin: 0; }
h1 { font-size: 72px; line-height: 68px; letter-spacing: -0.035em; }
h2 { font-size: 48px; line-height: 50px; }
h3 { font-size: 22px; line-height: 30px; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; }
.band { width: 100%; padding: 96px var(--pad); }
.band-card { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.gap-28 { gap: 28px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; }

/* ------------------------------------------------------------------ type */

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--heading);
}
.lead { font-size: 20px; line-height: 32px; color: var(--muted-strong); }
.body { font-size: 18px; line-height: 28px; color: var(--ink); }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }
.fine { font-size: 13px; line-height: 21px; color: var(--muted); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* The marker. O235: behind a key promise, at most five a page, text stays ink,
   never on a button. Copied from the approved board. */
.mark {
  background-image: linear-gradient(100deg, rgba(143,203,195,0) 0.4%, #8FCBC3 1.6%, #A3D6CF 48%, #8CC8C0 98.4%, rgba(143,203,195,0) 99.6%);
  background-size: 100% 64%;
  background-position: 0 78%;
  background-repeat: no-repeat;
  padding: 0 4px;
  margin: 0 -1px;
  border-radius: 2px 6px 3px 7px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--ink);
}
/* The only other teal: the £0 a client-never-pays row prints. */
.nil { color: var(--teal-ink); font-weight: 700; }

/* --------------------------------------------------------------- controls */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border: 0; border-radius: 8px;
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--action); color: var(--card); }
.btn-primary:hover { background: var(--action-hover); color: var(--card); }
.btn-invert { background: var(--card); color: var(--ink); }
.btn-invert:hover { background: #fff; color: var(--ink); }
.btn-sm { height: auto; min-height: 44px; padding: 10px 16px; font-size: 15px; text-align: center; line-height: 22px; }
.btn-block { width: 100%; }
.textlink { font-size: 16px; font-weight: 500; color: var(--action); }

/* ------------------------------------------------------------------ head */

.site-head {
  width: 100%; padding: 24px var(--pad);
  display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  flex-grow: 1; color: var(--action); text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { font-size: 15px; color: var(--muted-strong); text-decoration: none; }
.site-nav a:hover { color: var(--action); }
.site-nav a[aria-current='page'] { color: var(--action); font-weight: 600; }
/* The nav's link colour is more specific than .btn-primary's, which left the
   Start free button reading brown-on-blue. Say it again, here. */
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--card); }

/* ------------------------------------------------------------------ hero */

.hero { width: 100%; padding: 128px var(--pad); display: flex; gap: 72px; align-items: flex-start; }
.hero-copy { width: 660px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { color: var(--heading); }
.chain { display: flex; align-items: stretch; gap: 8px; }
.chain > div {
  flex-grow: 1; padding: 14px 12px 12px; background: var(--card);
  border-radius: 8px; border-top: 3px solid var(--heading);
  font-size: 15px; font-weight: 600; color: var(--heading);
}
.fee-shout { display: flex; align-items: baseline; gap: 12px; padding-top: 4px; }
.fee-shout b { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; }
.fee-shout span { font-size: 18px; line-height: 28px; color: var(--muted-strong); }
.cta-row { display: flex; align-items: center; gap: 24px; padding-top: 8px; flex-wrap: wrap; }

/* the client's card — the freelancer's brand, never ours */
.client-card {
  width: 388px; flex-shrink: 0; background: var(--card); border-radius: 8px;
  border: 1px solid var(--rule); padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.client-card .brand { display: flex; align-items: center; gap: 10px; }
.logomark { width: 28px; height: 28px; border-radius: 6px; background: var(--dark); }
.brand-name { font-size: 14px; font-weight: 600; flex-grow: 1; }
.pill {
  font-size: 12px; font-weight: 600; color: var(--warn);
  background: var(--warn-bg); padding: 4px 8px; border-radius: 6px;
}
.hr { height: 1px; background: var(--rule); }
.work-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.work-for { font-size: 14px; color: var(--muted); padding-top: 4px; }
.poster {
  height: 168px; border-radius: 6px; background: var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); text-align: center; padding: 0 12px;
}
.files { display: flex; flex-direction: column; gap: 8px; }
.file { display: flex; font-size: 14px; }
.file span:first-child { flex-grow: 1; color: var(--muted-strong); }
.file span:last-child { color: var(--muted); }
.due { display: flex; align-items: baseline; }
.due span:first-child { flex-grow: 1; font-size: 15px; color: var(--muted-strong); }
.due b { font-size: 22px; font-weight: 700; }
.pay-btn {
  height: 52px; border: 0; border-radius: 8px; background: var(--dark);
  color: var(--dark-fg); font-size: 19px; font-weight: 700; cursor: pointer;
  font-family: inherit;
}
.pay-note { font-size: 12px; line-height: 18px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ grids */

.split { display: flex; gap: 96px; align-items: flex-start; }
.split-72 { display: flex; gap: 72px; align-items: flex-start; }
.split h2 { width: 520px; flex-shrink: 0; }
.split p { flex-grow: 1; max-width: 520px; }
.col-560 { width: 560px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--card); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step-n { font-size: 13px; font-weight: 700; color: var(--heading); }
.step div:last-child { font-size: 16px; line-height: 26px; color: var(--muted-strong); }
.mini { padding: 20px; background: var(--tint); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; }
.mini h3 { font-size: 16px; line-height: 22px; font-weight: 700; }
.mini div { font-size: 14px; line-height: 20px; color: var(--muted-strong); }
.qa { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--card); border-radius: 8px; }
.qa h3 { font-size: 18px; line-height: 26px; }
.qa div { font-size: 15px; line-height: 24px; color: var(--muted-strong); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.chips span { padding: 8px 14px; background: var(--tint); border-radius: 6px; font-size: 14px; color: var(--muted-strong); }

/* the freelancer's invoice — no Kabidhi mark on it */
.invoice {
  width: 468px; flex-shrink: 0; background: var(--ground);
  border: 1px solid var(--rule-strong); border-radius: 8px; padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.inv-head { display: flex; align-items: flex-start; gap: 24px; }
.inv-from { flex-grow: 1; display: flex; flex-direction: column; gap: 3px; }
.inv-from b { font-size: 13px; }
.inv-from span { font-size: 12px; line-height: 17px; color: var(--muted); }
.inv-no { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.inv-no b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.inv-no span { font-size: 12px; color: var(--muted); }
.inv-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 12px; line-height: 17px; }
.inv-meta span { color: var(--muted); display: block; }
.inv-meta b { font-weight: 600; }
.inv-line { display: flex; font-size: 14px; }
.inv-line span:first-child { flex-grow: 1; }
.inv-vat { display: flex; font-size: 13px; color: var(--muted); }
.inv-vat span:first-child { flex-grow: 1; }
.inv-total { display: flex; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--rule); }
.inv-total span { flex-grow: 1; font-size: 14px; font-weight: 600; }
.inv-total b { font-size: 20px; font-weight: 700; }
.inv-stamp {
  margin-top: 4px; padding: 12px 14px; background: var(--tint); border-radius: 6px;
  font-size: 13px; line-height: 19px; color: var(--muted-strong);
}
.inv-stamp b { font-weight: 600; color: var(--good); }

/* ------------------------------------------------------------- fee table */

.feetable {
  flex-grow: 1; max-width: 468px; background: var(--card); border-radius: 8px;
  border: 1px solid var(--rule); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.feetable .fhead {
  display: flex; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--heading); padding-bottom: 6px;
}
.feetable .frow { display: flex; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.feetable .frow:last-child { padding-bottom: 0; border-bottom: 0; }
.feetable .fjob { flex-grow: 1; font-size: 16px; color: var(--muted-strong); }
.feetable .fplan, .feetable .ffree { width: 96px; text-align: right; font-size: 17px; }
.feetable .fhead .fplan, .feetable .fhead .ffree { font-size: 13px; }
.feetable .fplan { font-weight: 700; }
.feetable .ffree { font-weight: 600; color: var(--muted-strong); }

/* ----------------------------------------------------------------- plans */

.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.plan-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan {
  background: var(--card); border: 1px solid var(--rule); border-radius: 8px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--heading); letter-spacing: 0.01em; }
.plan-price { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 34px; }
/* The suffix is its own line on every card, so five cards of different price
   widths start their feature list at the same height. */
.plan-price span { display: block; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; line-height: 22px; }
.plan-annual { font-size: 13px; line-height: 19px; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.plan li { font-size: 14px; line-height: 21px; color: var(--muted-strong); }
.plan .spacer { flex-grow: 1; }
.plan .btn { margin-top: 6px; }
.band-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.band-list div { font-size: 14px; line-height: 22px; color: var(--muted-strong); }

/* ------------------------------------------------------------------ demo */

.demo-frame {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
}
.demo-banner {
  background: var(--warn-bg); border-left: 3px solid var(--warn); border-radius: 6px;
  padding: 14px 16px; font-size: 14px; line-height: 22px; color: var(--muted-strong);
}
.demo-banner b { color: var(--ink); }
.demo-hold { display: flex; justify-content: center; }
/* the client's page wears the STUDIO's colour, never Kabidhi's */
.corr {
  --studio-fg: #ffffff;
  width: 420px; max-width: 100%; background: #fff; border: 1px solid #ececea;
  border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 18px;
  color: #1F1A12;
}
.corr .logomark { background: var(--studio); }
.corr .statechip { font-size: 12px; font-weight: 600; color: var(--muted); background: #ececea; padding: 4px 8px; border-radius: 6px; }
.corr .statechip.ok { color: var(--good); background: #e6f2eb; }
.corr .hr { background: #ececea; }
.corr .poster { background: #ececea; color: #444; }
.corr .studio-btn {
  height: 52px; border: 0; border-radius: 8px; background: var(--studio);
  color: var(--studio-fg); font-size: 17px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.corr .studio-btn:disabled { background: #ddd; color: #777; cursor: default; }
.corr .dl {
  display: inline-flex; align-items: center; justify-content: center; height: 52px;
  border-radius: 8px; background: var(--studio); color: var(--studio-fg);
  font-size: 17px; font-weight: 700; text-decoration: none;
}
.demo-state { display: none; }
.demo-state.on { display: flex; flex-direction: column; gap: 18px; }
.steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps li {
  flex-grow: 1; padding: 10px 12px; background: var(--card); border-radius: 8px;
  border-top: 3px solid var(--rule); font-size: 14px; font-weight: 600; color: var(--muted);
}
.steps li.on { border-top-color: var(--heading); color: var(--heading); }
.steps li.done { border-top-color: var(--good); color: var(--good); }

/* ---------------------------------------------------------------- footer */

.close-band {
  width: 100%; padding: 96px var(--pad); background: var(--dark); color: var(--dark-fg);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.close-band h2 { color: var(--dark-fg); text-align: center; max-width: 760px; }
.close-band p { max-width: 720px; text-align: center; font-size: 14px; line-height: 22px; color: var(--dark-muted); }
.site-foot { width: 100%; padding: 56px var(--pad) 40px; background: var(--card); border-top: 1px solid var(--rule); }
.foot-blurb { max-width: 760px; font-size: 13px; line-height: 21px; color: var(--muted); }
.foot-cols { display: flex; gap: 96px; align-items: flex-start; }
.foot-cols > .wordmark { flex-grow: 1; color: var(--action); }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.foot-col a { font-size: 14px; color: var(--muted-strong); text-decoration: none; }
.foot-col a:hover { color: var(--action); }
.foot-legal { padding-top: 24px; border-top: 1px solid var(--rule); font-size: 12px; line-height: 18px; color: var(--muted); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1023px) {
  :root { --pad: 40px; }
  h1 { font-size: 52px; line-height: 54px; }
  h2 { font-size: 36px; line-height: 40px; }
  .hero { flex-direction: column; padding: 72px var(--pad); gap: 48px; }
  .hero-copy { width: 100%; }
  .client-card { width: 100%; max-width: 420px; }
  .split, .split-72 { flex-direction: column; gap: 32px; }
  .split h2, .col-560 { width: 100%; }
  .invoice { width: 100%; }
  .feetable { max-width: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { gap: 48px; }
}

@media (max-width: 480px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; }
  h2 { font-size: 30px; line-height: 36px; }
  h3 { font-size: 19px; line-height: 26px; }
  .lead { font-size: 17px; line-height: 27px; }
  .body { font-size: 16px; line-height: 26px; }
  .band { padding: 56px var(--pad); }
  .hero { padding: 44px var(--pad) 56px; gap: 36px; }
  .site-head { padding: 16px var(--pad); flex-wrap: wrap; gap: 12px; }
  .wordmark { flex-basis: 100%; flex-grow: 0; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .site-nav a { font-size: 14px; }
  .chain { flex-wrap: wrap; }
  .chain > div { flex-basis: calc(50% - 4px); }
  .grid-3, .grid-2, .plan-grid, .plan-two, .band-list { grid-template-columns: 1fr; }
  .steps { flex-wrap: wrap; }
  .steps li { flex-basis: calc(50% - 4px); }
  .btn { width: 100%; }
  .cta-row { gap: 16px; }
  .cta-row .textlink { width: 100%; }
  .client-card, .corr { padding: 18px; }
  .fee-shout b { font-size: 34px; }
  .close-band { padding: 56px var(--pad); }
  .site-foot { padding: 40px var(--pad) 32px; }
  .foot-cols { flex-direction: column; gap: 28px; }
  .feetable .fplan, .feetable .ffree { width: 72px; }
  .inv-head { flex-direction: column; gap: 12px; }
  .inv-no { align-items: flex-start; }
}
