/* Shared look for the plain public pages: pricing, terms, privacy, refunds.
   Same tokens as docs.html so the site reads as one thing. */
:root {
  --bg: #f4f4f1; --paper: #fcfcfb; --ink: #14140f; --ink-2: #45453d; --muted: #76766c;
  --faint: #a4a49a; --line: #e5e5e0; --line-2: #d7d7d0;
  /* Same faces and accent as the home page (static/new/story/story.css) — one
     website, one voice. --display is a geometric grotesque, not a serif. */
  --accent: #d6431c; --accent-ink: #b03614; --pop: #ff5a2e; --good: #11885a;
  --display: "Syne", "Bricolage Grotesque", system-ui, sans-serif;
  --serif: var(--display);
  --sans: "Schibsted Grotesk", "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
html.dark {
  /* The home page's dark palette, so a theme switch does not change brand. */
  --bg: #0a0a0e; --paper: #15151c; --ink: #f4f2ec; --ink-2: #c2bfb4; --muted: #83817a;
  --faint: #55534e; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --accent: #ff8a6a; --accent-ink: #ffa88e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65;
       -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
/* Everything else on the site signals hover with colour (story.css does the
   same on the home page and the nav). An underline on the wordmark looked like
   a bug; this file was the only one doing it. */
a:hover { color: var(--pop); text-decoration: none; }
.logo:hover, .top nav a:hover, .foot-in a:hover { color: var(--ink); }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
       backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1080px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; gap: 22px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .035em;
        text-transform: uppercase; color: var(--ink); }
.logo i { color: var(--pop); font-style: normal; }
.top nav { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 14px; }
.top nav a { color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px;
       background: var(--ink); color: var(--bg) !important; font-weight: 600; font-size: 14px; }
.btn:hover { text-decoration: none; opacity: .9; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line-2); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 56px 22px 80px; }
.narrow { max-width: 760px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6.4vw, 62px);
     line-height: 1.03; letter-spacing: -.025em; }
h1 em { color: var(--pop); font-style: normal; }
.lede { font-size: 18px; color: var(--ink-2); margin-top: 16px; max-width: 58ch; }
h2 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; margin: 44px 0 10px; }
h3 { font-size: 16px; font-weight: 650; margin: 24px 0 6px; }
p, li { color: var(--ink-2); font-size: 15px; }
p + p { margin-top: 10px; }
ul, ol { padding-left: 20px; margin: 8px 0; }
li + li { margin-top: 6px; }
.meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
code, .mono { font-family: var(--mono); font-size: .9em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card .v { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; line-height: 1.1;
           font-variant-numeric: tabular-nums; }
.card .u { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.card .own { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.card .own b { color: var(--good); }

/* ── Pricing ───────────────────────────────────────────────────────────────
   Deliberately not a card grid. The bill is a sentence you edit and a number in
   the display face; everything else is hairlines and space. Boxes-with-ticks is
   what every other pricing page looks like. */
.hero { max-width: 12ch; }
.deal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 46px;
        align-items: start; margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.say { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.say + .say { margin-top: 14px; }
/* A dotted underline alone did not read as "you can change this" — people took
   the sentence for a statement. The changeable words now sit in a soft field
   with a caret, so they look like the controls they are. */
.knob { font: inherit; color: var(--ink); background: none; cursor: pointer;
        display: inline-flex; align-items: center; gap: .42em; vertical-align: baseline;
        padding: .02em .44em .06em .5em; border: 1px solid var(--line-2); border-radius: .42em;
        transition: color .14s, border-color .14s, background .14s; }
/* A drawn chevron, sized in em so it holds at every type size. */
.knob::after { content: ""; width: .34em; height: .34em; flex: none; opacity: .5;
               border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
               transform: translateY(-.1em) rotate(45deg); transition: opacity .14s; }
.knob:hover, .knob:focus-visible { color: var(--pop); border-color: var(--pop);
                                   background: rgba(255,90,46,.08); outline: none; }
.knob:hover::after, .knob:focus-visible::after { opacity: 1; }
.knob.num { font-family: var(--display); font-weight: 700; font-size: 1.1em; letter-spacing: -.01em;
            padding: .02em .42em .06em .46em; font-variant-numeric: tabular-nums; }
/* The number is driven by the slider under it, so its mark is a slider, not a chevron. */
.knob.num::after { width: .8em; height: .42em; border: 0; transform: none; opacity: .45;
  background: linear-gradient(currentColor, currentColor) left 50% / 100% 1.6px no-repeat,
              radial-gradient(circle at 68% 50%, currentColor 42%, transparent 46%); }
.knob.ours { color: var(--pop); border-color: color-mix(in srgb, var(--pop) 55%, transparent); }
.deal-hint { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
             color: var(--muted); display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.deal-hint::before { content: ""; width: 22px; height: 1px; background: var(--pop); flex: none; }
html.dark .knob:hover, html.dark .knob:focus-visible { background: rgba(255,90,46,.12); }

.deal input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; max-width: 430px;
    height: 2px; background: var(--line-2); margin: 20px 0 26px; outline: none; }
.deal input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px;
    border-radius: 50%; background: var(--ink); cursor: grab; }
.deal input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%;
    background: var(--ink); cursor: grab; }
.deal input[type=range]:focus-visible { outline: 2px solid var(--pop); outline-offset: 6px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.fine b { color: var(--ink-2); font-weight: 600; }

/* The bill is sized to ITS COLUMN, not to the viewport. Sized to the viewport it
   fitted "Rs 217" and blew straight through the column at "Rs 1,04,493" — 590px
   of number in a 401px box, which pushed the whole page sideways at the top of
   the slider. 13cqi keeps the widest total inside whatever width it is given, on
   a phone and on a desktop, without anyone having to remember to re-check. */
.deal-bill { container-type: inline-size; }
.bill-n { font-family: var(--display); font-weight: 800; line-height: .95;
          letter-spacing: -.02em; font-variant-numeric: tabular-nums;
          font-size: clamp(40px, 5vw, 62px); }       /* no container queries */
.bill-n { font-size: clamp(34px, 13cqi, 80px); }
/* The failure message is words, not a number: sized to wrap inside the column. */
.bill-n.bill-na { font-size: clamp(22px, 7cqi, 34px); line-height: 1.1; overflow-wrap: anywhere; }
.bill-u { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.bill-lines { list-style: none; padding: 0; margin: 22px 0 0; }
.bill-lines li { display: flex; gap: 14px; align-items: baseline; font-size: 14.5px;
                 padding: 9px 0; border-top: 1px solid var(--line); }
.bill-lines li span { color: var(--ink-2); }
.bill-lines li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.bill-lines li.out b { font-weight: 400; font-size: 13px; color: var(--muted); }
/* The whole bill leads the lines now that the big number is our own fee. */
.bill-lines li.sum { border-top: 0; padding-top: 0; font-size: 16px; }
.bill-lines li.sum span { color: var(--ink); font-weight: 600; }
.bill-lines li.sum b { font-size: 18px; font-weight: 700; }

.aside { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.aside > span { font-size: 14px; color: var(--muted); }   /* not the $5 inside the button */

h2.sec { font-family: var(--display); font-weight: 700; font-size: 29px; letter-spacing: -.02em;
         margin: 64px 0 6px; }
.rates { margin: 0; }
.rate { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 26px; align-items: baseline;
        padding: 22px 0; border-top: 1px solid var(--line); }
.rate dt { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; color: var(--ink);
           font-variant-numeric: tabular-nums; }
.rate dd { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.rate dd b { color: var(--ink); font-weight: 600; }

.more { margin-top: 34px; border-top: 1px solid var(--line); }
.more summary { cursor: pointer; font-size: 14px; color: var(--ink-2); padding: 16px 0; list-style: none; }
.more summary::before { content: "+ "; color: var(--pop); font-weight: 600; }
.more[open] summary::before { content: "– "; }
.more .tw { border: 0; background: transparent; padding: 0; overflow-x: auto; }
.more table { margin-top: 0; }
.more .meta { padding-bottom: 20px; max-width: 74ch; }

.how { margin: 0; padding: 0; list-style: none; counter-reset: h; }
.how li { counter-increment: h; position: relative; padding: 20px 0 20px 46px;
          border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.how li::before { content: counter(h); position: absolute; left: 0; top: 18px; font-family: var(--display);
                  font-weight: 700; font-size: 19px; color: var(--faint); }
.how b { color: var(--ink); font-weight: 600; }
.ends { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }

@media (max-width: 860px) {
  .deal { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .rate { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rate dt { font-size: 28px; }
  h2.sec { font-size: 27px; margin-top: 48px; }
}

table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.tw { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 8px; }

/* "In short": the honest summary a reader actually reads, above the text that
   binds. Never contradicts the clauses below it. */
.short { background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
         padding: 22px 24px 18px; margin-top: 28px; }
.short h2 { margin: 0 0 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
            color: var(--muted); font-weight: 600; }
.short ul { list-style: none; padding: 0; margin: 0; }
.short li { font-size: 15.5px; color: var(--ink); line-height: 1.55; padding-left: 26px; position: relative; }
.short li + li { margin-top: 9px; }
.short li::before { content: "→"; position: absolute; left: 0; color: var(--pop); font-weight: 600; }
.short .tiny { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

.note { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent);
        border-radius: 12px; padding: 14px 16px; margin-top: 16px; }

.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 26px 22px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
           font-size: 13.5px; color: var(--muted); }
.foot-in a { color: var(--ink-2); }
.foot-in span { margin-right: auto; }

@media (max-width: 800px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  /* Stacked, the plus signs become the join between rows rather than columns. */
  .short li { font-size: 15px; }
  .top nav a.hide-sm { display: none; }
  .wrap { padding-top: 36px; }
}

/* ── Phone ─────────────────────────────────────────────────────────────────
   Written against a 375px screen. Three things decide whether this page is
   pleasant on a phone: the header has to fit, the bill has to be the first
   thing under the sentence, and every control has to be findable with a thumb. */
@media (max-width: 560px) {
  /* The header ran 43px past the viewport and scrolled the whole page
     sideways. "Sign in" and "Get started" go to the same place, so on a phone
     one of them is enough. */
  .top-in { gap: 14px; padding: 12px 20px; }
  .top nav { gap: 16px; }
  .top nav a[href="/login"]:not(.btn) { display: none; }
  .logo { font-size: 15px; }
  .btn { padding: 10px 14px; white-space: nowrap; }

  .wrap { padding: 30px 20px 64px; }
  .foot-in { padding: 24px 20px; gap: 14px 16px; }

  h1 { font-size: 40px; letter-spacing: -.03em; }
  .hero { max-width: 9ch; }
  .lede { font-size: 16.5px; margin-top: 14px; }

  .deal { margin-top: 34px; padding-top: 26px; gap: 26px; }
  .say { font-size: 22px; line-height: 1.5; }
  /* A 17px thumb on a 2px line is a target you hunt for. The input becomes a
     28px strip and paints its own hairline through the middle. */
  .deal input[type=range] { height: 28px; margin: 10px 0 18px; background: transparent;
      background-image: linear-gradient(var(--line-2), var(--line-2));
      background-size: 100% 2px; background-position: center; background-repeat: no-repeat; }
  .deal input[type=range]::-webkit-slider-thumb { width: 26px; height: 26px; }
  .deal input[type=range]::-moz-range-thumb { width: 24px; height: 24px; }
  .deal input[type=range]:focus-visible { outline-offset: 2px; }

  .bill-lines li { gap: 10px; font-size: 14px; }

  /* The call to action is worth its own line on a phone. */
  .aside { display: block; margin-top: 28px; }
  .aside .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 15px; }
  .aside > span { display: block; margin-top: 12px; }
  .ends { margin-top: 36px; }
  .ends .btn { flex: 1 1 100%; justify-content: center; padding: 14px 18px; font-size: 15px; }

  h2.sec { font-size: 25px; margin-top: 48px; }
  .rate { padding: 18px 0; }
  .rate dt { font-size: 26px; }
  .rate dd { font-size: 14.5px; }
  .how li { padding: 16px 0 16px 36px; font-size: 14.5px; }
  .how li::before { top: 15px; font-size: 17px; }

  /* Two columns in 335px wrapped every rate onto three ragged lines. Stacked,
     each row reads as the thing, then its price. */
  .more tr { display: block; border-bottom: 1px solid var(--line); }
  .more td { display: block; border-bottom: 0; padding: 12px 2px 0; }
  .more td.n { text-align: left; padding: 2px 2px 12px; color: var(--muted); }

  .short { padding: 18px 18px 16px; border-radius: 14px; }
  .note { padding: 13px 14px; }
}

/* Our profiles: icons at the end of the footer row (26 Sept) */
.soc{display:inline-flex;align-items:center;gap:16px}.soc a{display:inline-flex;color:var(--muted,#83817a);opacity:.85;transition:color .2s,opacity .2s}.soc a:hover{color:var(--ink,#f4f2ec);opacity:1}.soc svg{display:block}.foot-in .soc{margin-left:6px}.foot-in .soc a{color:var(--ink-2)}
