/* ═══════════════════════════════════════════════════════════════════════════
   EaseMyPost — sub-page stylesheet.

   Direction: paper ground, ink text, dark used only as punctuation (the closing
   CTA block and the footer). The category — Buffer, Later, Planable — is light
   and artifact-forward for a reason: the product's proof is the post it made,
   and a post photographs badly on charcoal. This also survives being opened on
   a phone in daylight, which is where a shop owner will actually read it.

   Three colour roles, kept strictly separate:
     ink      structure, primary CTA, dark bands
     green    approval semantics ONLY — the stamp, "you" markers, links
     gold     eyebrows, rules, small accents — never a surface
   ═══════════════════════════════════════════════════════════════════════════ */

:root{
  --paper:#F7F4EE;      /* ground */
  --paper-2:#F0EBE1;    /* recessed surface */
  --paper-3:#E7E1D5;    /* pressed / hairline fill */
  --ink:#14181F;        /* text, dark bands */
  /* Brand/identity blue, introduced with the EMP mark. Deliberately NOT a
     status colour: green means approved and only that, so the blue tick in
     the logo reads as identity while a green tick in the UI reads as state. */
  --blue:#6480DA;
  --blue-deep:#3F5BC4;
  --ink-2:#232935;      /* dark band surface */
  --ink-soft:#4E5666;   /* body copy */
  --ink-faint:#5E6675;  /* captions — 5.3:1 on paper, 4.9:1 on paper-2 */
  --green:#1FA855;      /* approve */
  --green-deep:#0F6B3C; /* links, text-safe green */
  --gold:#C8871F;       /* rules and markers only — 2.8:1, never text */
  --gold-ink:#96620C;   /* gold as text: 4.7:1 on paper */
  --gold-lit:#E8A33D;   /* accent on ink */
  --rule:rgba(20,24,31,.13);
  --rule-soft:rgba(20,24,31,.07);
  --display:"Bricolage Grotesque",system-ui,sans-serif;
  --body:"IBM Plex Sans",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,monospace;
  --wrap:790px; --e:cubic-bezier(.22,.9,.28,1);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:hidden;max-width:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);
  font-size:17px;line-height:1.68;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:var(--green-deep);text-decoration:none;
  box-shadow:inset 0 -1px 0 rgba(15,107,60,.35);transition:box-shadow .2s var(--e)}
a:hover{text-decoration:none;box-shadow:inset 0 -2px 0 rgba(15,107,60,.85)}
:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.wide{max-width:1120px}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav{border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:20;
  background:rgba(247,244,238,.88);backdrop-filter:blur(14px) saturate(1.4)}
.nav .wrap{max-width:1120px;display:flex;align-items:center;
  justify-content:space-between;gap:18px;padding-top:15px;padding-bottom:15px}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--display);
  font-weight:800;font-size:19px;letter-spacing:-.025em;color:var(--ink);
  box-shadow:none}
.brand:hover{box-shadow:none}
.brand .logo{height:26px;width:auto;color:var(--ink);display:block}
.nav.on-ink .brand .logo{color:var(--paper)}
/* Kept in the DOM and read aloud: the logo is a monogram, so the full brand
   name must still exist as text on every page. */
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.brand .tick{width:25px;height:25px;border-radius:8px;background:var(--green);
  display:grid;place-items:center;flex:none}
/* The tick glyph is authored dark for the old dark nav; force it to paper so it
   reads on the green chip. */
.brand .tick svg path{stroke:#F7F4EE}
.navlinks{display:flex;gap:22px;align-items:center;font-size:14.5px;flex-wrap:wrap}
.navlinks a{color:var(--ink-soft);white-space:nowrap;box-shadow:none;font-weight:500}
.navlinks a:hover{color:var(--ink);box-shadow:none}
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;
  padding:11px 21px;border-radius:999px;background:var(--ink);color:var(--paper);
  white-space:nowrap;box-shadow:0 1px 0 rgba(20,24,31,.18);
  transition:transform .2s var(--e),background .2s var(--e),box-shadow .2s var(--e)}
.btn:hover{transform:translateY(-2px);background:#000;
  box-shadow:0 10px 22px -12px rgba(20,24,31,.6)}
/* `.navlinks a` (0,1,1) outranks `.btn` (0,1,0), so without this the nav CTA
   inherits the link colour and renders green-on-ink — unreadable. */
.navlinks a.btn,.navlinks a.btn:hover{color:var(--paper)}

/* ── breadcrumb ──────────────────────────────────────────────────────────── */
.crumb{font-family:var(--mono);font-size:11px;letter-spacing:.13em;
  text-transform:uppercase;color:var(--ink-faint);padding:34px 0 0}
.crumb a{color:var(--ink-faint);box-shadow:none}
.crumb a:hover{color:var(--gold-ink);box-shadow:none}

/* ── content ─────────────────────────────────────────────────────────────── */
main{padding:14px 0 0}
h1{font-family:var(--display);font-weight:800;letter-spacing:-.04em;
  font-size:clamp(35px,5.4vw,58px);line-height:1.02;margin:16px 0 22px;
  color:var(--ink);max-width:16ch}
/* An h2 opens a movement, so it carries a gold hairline above it rather than
   relying on margin alone to say "new section". */
h2{font-family:var(--display);font-weight:700;letter-spacing:-.028em;
  font-size:clamp(24px,3.1vw,33px);line-height:1.14;margin:0 0 16px;
  padding-top:20px;color:var(--ink);position:relative}
h2::before{content:"";position:absolute;top:0;left:0;width:38px;height:2px;
  background:var(--gold)}
* + h2{margin-top:58px}
h3{font-family:var(--display);font-weight:600;font-size:20px;
  letter-spacing:-.018em;margin:32px 0 9px;color:var(--ink)}
p{margin:0 0 18px;color:var(--ink-soft)}
.lead{font-size:20.5px;line-height:1.58;color:var(--ink);margin-bottom:32px;
  max-width:60ch}
strong{color:var(--ink);font-weight:600}
em{font-style:italic}
ul,ol{margin:0 0 20px;padding-left:21px;color:var(--ink-soft)}
li{margin-bottom:9px}
li::marker{color:var(--gold)}
hr{border:0;border-top:1px solid var(--rule);margin:52px 0}
.updated{font-family:var(--mono);font-size:12px;color:var(--ink-faint);
  letter-spacing:.06em;margin-top:8px}

/* ── table ───────────────────────────────────────────────────────────────── */
table{width:100%;border-collapse:collapse;margin:26px 0;font-size:15.5px}
th,td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--rule);
  vertical-align:top}
thead th{border-bottom:1.5px solid var(--ink)}
th{font-family:var(--mono);font-size:10.5px;letter-spacing:.13em;
  text-transform:uppercase;color:var(--ink-faint);font-weight:500}
td{color:var(--ink-soft)}
td:first-child{color:var(--ink);font-weight:600}
tbody tr:hover{background:var(--paper-2)}
.tablewrap{overflow-x:auto}

/* ── callout ─────────────────────────────────────────────────────────────── */
.callout{border:1px solid var(--rule);border-left:3px solid var(--green);
  border-radius:0 14px 14px 0;background:var(--paper-2);padding:22px 26px;margin:30px 0}
.callout p:last-child{margin-bottom:0}
/* The one callout that states the product's single rule earns the stamp. */
.callout-stamped{display:flex;align-items:center;gap:26px}
.callout-stamped .stamp{flex:none}
@media (max-width:700px){
  .callout-stamped{flex-direction:column;align-items:flex-start;gap:18px}
}

/* ── launch-blocker placeholder ─────────────────────────────────────────────
   For a legal field only a human can supply (grievance officer name, postal
   address) that build_pages.py could not fill in from the environment. Loud
   on purpose — this must be impossible to miss on a local preview even
   without reading the terminal, on the theory that the build-time check in
   tests/check_site.py is the real gate and this is the backup for the human
   staring at the page. */
.todo{background:#FDE1DC;color:#9A1B1B;font-weight:700;padding:2px 8px;
  border-radius:5px;font-family:var(--mono);font-size:13px}

/* ── simple forms (report-issue, and anything else generated-page-side) ────
   Deliberately separate from the homepage's .eaform/.eafield, which are
   styled inline in index.html for its dark hero section. This is the paper
   (light) equivalent, shared via site.css so any generated page can use it. */
.rform{max-width:520px;margin:26px 0}
.rfield{margin-bottom:14px}
.rfield label{display:block;font-family:var(--mono);font-size:11px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:7px}
.rfield .opt{text-transform:none;letter-spacing:0;font-family:var(--body);color:var(--ink-faint)}
.rfield input,.rfield textarea{width:100%;font-family:var(--body);font-size:15.5px;
  color:var(--ink);background:var(--paper-2);border:1.5px solid var(--rule);
  border-radius:10px;padding:12px 14px;resize:vertical}
.rfield input:focus,.rfield textarea:focus{outline:none;border-color:var(--green)}
.rgotcha{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.rform .btn{border:0;cursor:pointer;font:inherit}
.rform .btn[disabled]{opacity:.55;cursor:progress}
.rmsg{display:none;margin:14px 0 0;padding:12px 15px;border-radius:10px;font-size:14.5px}
.rmsg.show{display:block}
.rmsg.ok{background:rgba(31,168,85,.10);border:1px solid rgba(31,168,85,.35);color:var(--green-deep)}
.rmsg.bad{background:rgba(200,135,31,.10);border:1px solid rgba(200,135,31,.35);color:var(--gold-ink)}

/* ── the stamp ───────────────────────────────────────────────────────────────
   The signature device. The whole product is one human saying yes, and the
   artifact that means "a person signed off on this" in an Indian shop or office
   is a rubber stamp. Used sparingly — once per page at most. */
.stamp{display:inline-block;font-family:var(--mono);font-size:12.5px;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--green-deep);
  border:2px solid var(--green-deep);border-radius:5px;padding:7px 13px 6px;
  transform:rotate(-3.5deg);opacity:.92;white-space:nowrap;
  box-shadow:inset 0 0 0 1px rgba(31,168,85,.18)}

/* ── cards ───────────────────────────────────────────────────────────────── */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:30px 0}
.card{border:1px solid var(--rule);border-radius:16px;background:var(--paper-2);
  padding:24px 26px;transition:border-color .3s var(--e),transform .3s var(--e),
  box-shadow .3s var(--e)}
.card:hover{border-color:rgba(20,24,31,.3);transform:translateY(-4px);
  box-shadow:0 16px 32px -22px rgba(20,24,31,.45)}
.card h3{margin:0 0 8px;font-size:18.5px}
.card p{margin:0;font-size:15.5px}

/* ── pipeline steps ──────────────────────────────────────────────────────────
   A numbered stage rail. The numbering earns its place here: this content IS a
   sequence, and stage 08 depends on 02 having run. Stages the owner performs
   are marked green — so you can see at a glance how little of the twelve is
   your job. */
.steps{list-style:none;margin:36px 0 0;padding:0;position:relative}
.steps::before{content:"";position:absolute;left:19px;top:10px;bottom:18px;
  width:1px;background:var(--rule)}
.step{position:relative;padding:0 0 34px 62px}
.step:last-child{padding-bottom:0}
.step .n{position:absolute;left:0;top:0;width:39px;height:39px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;background:var(--ink);
  color:var(--paper);font-family:var(--mono);font-size:13px;font-weight:600;
  letter-spacing:.02em}
.step h3{margin:6px 0 10px;font-size:21px}
.step p{margin:0 0 13px}
.step .who{font-family:var(--mono);font-size:10.5px;letter-spacing:.13em;
  text-transform:uppercase;color:var(--ink-faint);display:block}
/* The owner's own stages, flipped to green so the human's part of the pipeline
   is legible without reading a word. */
.step .who.you{color:var(--green-deep);font-weight:600}
.step:has(.who.you) .n{background:var(--green-deep)}

.io{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 0}
.io div{border:1px solid var(--rule);border-radius:13px;background:var(--paper-2);
  padding:15px 18px}
.io h4{margin:0 0 8px;font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-faint);font-weight:500;
  padding-bottom:8px;border-bottom:1px solid var(--rule-soft)}
.io ul{margin:0;padding-left:16px;font-size:14.5px;line-height:1.58;color:var(--ink-soft)}
.io li{margin-bottom:5px}

/* ── closing CTA — the first ink band ────────────────────────────────────── */
.cta-band{border-radius:22px;background:var(--ink);color:var(--paper);
  padding:44px 40px;margin:72px 0 0;text-align:center;position:relative;
  overflow:hidden}
/* A single warm bloom keeps the ink block from reading as a flat rectangle. */
.cta-band::after{content:"";position:absolute;inset:auto -10% -60% 40%;height:180px;
  background:radial-gradient(closest-side,rgba(232,163,61,.22),transparent);
  pointer-events:none}
.cta-band h2{margin-top:0;padding-top:0;color:var(--paper)}
.cta-band h2::before{display:none}
.cta-band p{color:#B9C0CD;position:relative}
.cta-band .btn{background:var(--gold-lit);color:var(--ink)}
.cta-band .btn:hover{background:#F2B457}

/* ── product screenshots ─────────────────────────────────────────
   Real captures of the running dashboard (see SHOTS in build_pages.py). The app's
   own chrome is white, so the frame + shadow is what stops a screenshot from
   bleeding into the page. The 8:5 ratio is fixed by the width/height attrs. */
figure.shot{margin:30px 0 34px}
figure.shot img{display:block;width:100%;height:auto;border-radius:12px;
  border:1px solid rgba(20,24,31,.14);background:#fff;
  box-shadow:0 20px 52px -30px rgba(20,24,31,.5)}
figure.shot figcaption{font-size:14.5px;color:var(--ink-faint);margin:13px 2px 0}

/* ── footer — the second ink band ────────────────────────────────────────── */
footer{border-top:1px solid var(--rule);padding:36px 0;background:var(--ink);
  margin-top:80px}
footer .wrap{max-width:1120px;display:flex;justify-content:space-between;
  align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:#8D95A5}
footer a{color:#8D95A5;box-shadow:none}
footer a:hover{color:var(--gold-lit);box-shadow:none}
.foot-links{display:flex;gap:20px;flex-wrap:wrap}
/* the operator statement gets its own row above the flex pair, so it reads
   as a statement and not as one more footer link */
.foot-owner{flex-basis:100%;order:-1;color:#A7AEBC}

/* ── responsive ──────────────────────────────────────────────────────────────
   The nav carries 9 items, which cannot fit a phone. Drop the section links
   progressively rather than letting them wrap into a two-row nav — every one is
   still in the footer of every page, so nothing becomes unreachable. "Log in"
   and the CTA always survive. */
@media (max-width:1040px){
  .navlinks{gap:18px}
  .navlinks a:nth-child(-n+4){display:none}
}
@media (max-width:760px){
  .cards{grid-template-columns:1fr}
  .io{grid-template-columns:1fr}
  .navlinks{gap:14px;font-size:13.5px}
  .navlinks a:nth-child(-n+7){display:none}
  .nav .wrap{gap:12px}
  .step{padding-left:52px;padding-bottom:30px}
  .steps::before{left:16px}
  .step .n{width:33px;height:33px;font-size:12px;border-radius:9px}
  .step h3{font-size:19.5px}
  .cta-band{padding:34px 24px;border-radius:18px}
  h1{max-width:none}
}
/* Below this the brand + "Log in" + CTA stop fitting on one line and the nav
   wraps to two rows. Shrink all three rather than drop the login link. */
@media (max-width:520px){
  .brand{font-size:17px;gap:8px}
  .brand .tick{width:22px;height:22px}
  .brand .logo{height:22px}
  .navlinks{gap:11px;font-size:13px}
  .navlinks a.btn{padding:9px 13px;font-size:13.5px}
  .nav .wrap{gap:10px;padding-left:16px;padding-right:16px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ── pricing ─────────────────────────────────────────────────────────────── */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:34px 0 18px}
.tier{border:1px solid var(--rule);border-radius:18px;background:var(--paper-2);padding:26px 22px 22px;
  display:flex;flex-direction:column;position:relative}
.tier.pick{border-color:var(--ink);background:var(--paper);box-shadow:0 14px 40px -22px rgba(20,24,31,.45)}
.tier .tag{position:absolute;top:-12px;left:22px;background:var(--ink);color:var(--paper);font-size:12px;
  font-weight:600;letter-spacing:.02em;padding:4px 10px;border-radius:999px}
.tier h3{margin:0 0 4px;font-size:20px}
.tier .who{font-size:14.5px;color:var(--ink-faint);margin:0 0 18px;min-height:3.2em}
.tier .price{font-family:var(--display);font-size:38px;font-weight:700;letter-spacing:-.02em;line-height:1;margin:0}
.tier .price small{font-family:var(--body);font-size:15px;font-weight:500;color:var(--ink-soft);letter-spacing:0;margin-left:4px}
.tier .gst{font-size:13.5px;color:var(--ink-faint);margin:8px 0 18px}
.tier ul{list-style:none;padding:0;margin:0 0 22px;font-size:14.5px}
.tier li{padding:6px 0 6px 24px;position:relative;border-top:1px solid var(--rule-soft)}
.tier li::before{content:"";position:absolute;left:2px;top:12px;width:12px;height:7px;border:2px solid var(--green-deep);
  border-top:0;border-right:0;transform:rotate(-45deg)}
.tier li.no{color:var(--ink-faint)}
.tier li.no::before{border:0;width:10px;height:2px;background:var(--rule);top:16px;transform:none}
.tier .btn{margin-top:auto;justify-content:center}
.tier.pick .btn{background:var(--ink);color:var(--paper)}
.cmp th{text-align:left;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-faint)}
.cmp th:not(:first-child),.cmp td:not(:first-child){text-align:center;white-space:nowrap}
.cmp td.y{color:var(--green-deep);font-weight:700}
.cmp td.n{color:var(--ink-faint)}
.cmp tr.grp td{background:var(--paper-2);font-weight:700;font-size:14px;padding-top:14px}
.cmp td small{display:block;color:var(--ink-faint);font-weight:400;font-size:13px;white-space:normal}
@media (max-width:860px){.tiers{grid-template-columns:1fr}.tier .who{min-height:0}}
