/* ═══════════════════════════════════════════════════════════════════════════
   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 */
  --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 .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}
}

/* ── 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}

/* ── 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}

/* ── 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}
  .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}}
