/* ============================================================
   لافندر — Subpages (Pricing / How / Blog) + Single + Archive
   Builds on lvendr.css tokens. RTL-native.
   ============================================================ */

/* ---------- Shared subpage hero ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(54px, 7vw, 104px) 0 clamp(38px, 5vw, 64px); }
.phero .blueprint-bg::before { -webkit-mask-image: radial-gradient(ellipse 92% 80% at 50% 6%, #000 22%, transparent 80%); mask-image: radial-gradient(ellipse 92% 80% at 50% 6%, #000 22%, transparent 80%); }
.phero .blueprint-bg::after { inset-inline-start: auto; inset-inline-end: -160px; }
.phero__in { position: relative; max-width: 800px; margin-inline: auto; text-align: center; }
.phero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 20px 0 0; }
.phero__sub { font-size: clamp(16.5px, 1.4vw, 20px); color: var(--ink-soft); font-weight: 300; line-height: 1.85; max-width: 660px; margin: 20px auto 0; }
.phero__line { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--brand); letter-spacing: .01em; }
.phero__line .d { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.phero__cta { display: flex; gap: 13px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* breadcrumb-ish page kicker */
.peyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); padding: 7px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding-top: clamp(8px, 2vw, 24px); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r-lg); padding: 30px 26px;
  box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line);
}
.plan__name { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price .amt { font-size: 32px; font-weight: 700; letter-spacing: -.02em; font-family: var(--mono); color: var(--ink); }
.plan__price .per { font-size: 13px; color: var(--muted); font-weight: 400; }
.plan__mo { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.plan__mo b { font-family: var(--mono); font-weight: 600; color: var(--brand-ink); font-size: 16px; }
.plan__rule { height: 1px; background: var(--line); margin: 22px 0; }
.plan__desc { font-size: 13.5px; color: var(--ink-soft); font-weight: 300; line-height: 1.7; min-height: 76px; }
.plan__list { display: flex; flex-direction: column; gap: 11px; margin: 22px 0 26px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.plan__list .ic { width: 19px; height: 19px; border-radius: 6px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--signal) 16%, white); color: oklch(0.5 0.12 168); margin-top: 2px; }
.plan__list .ic svg { width: 12px; height: 12px; }
.plan .btn { width: 100%; }
.plan__cta-line { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 12px; }

/* featured plan — dark, elevated */
.plan--feature {
  background: linear-gradient(168deg, var(--night-2), var(--night)); color: #fff;
  box-shadow: var(--sh-lg); padding-top: 38px; transform: translateY(-10px);
}
.plan--feature::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; border-radius: inherit; overflow: hidden;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 80% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 60% at 80% 0%, #000, transparent 70%);
}
.plan--feature > * { position: relative; }
.plan__badge {
  position: absolute; top: 0; inset-inline-end: 26px; transform: translateY(-50%);
  background: var(--signal); color: oklch(0.26 0.06 168); font-size: 11.5px; font-weight: 700;
  font-family: var(--mono); padding: 6px 14px; border-radius: 999px; letter-spacing: .02em;
  box-shadow: 0 6px 16px color-mix(in oklab, var(--signal) 40%, transparent);
}
.plan--feature .plan__name { color: var(--brand-2); }
.plan--feature .plan__price .amt { color: #fff; }
.plan--feature .plan__price .per { color: rgba(255,255,255,.5); }
.plan--feature .plan__mo { color: rgba(255,255,255,.72); }
.plan--feature .plan__mo b { color: #fff; }
.plan--feature .plan__rule { background: var(--night-line); }
.plan--feature .plan__desc { color: rgba(255,255,255,.66); }
.plan--feature .plan__list li { color: rgba(255,255,255,.84); }
.plan--feature .plan__list .ic { background: color-mix(in oklab, var(--signal) 24%, transparent); color: var(--signal-soft); }
.plan--feature .plan__cta-line { color: rgba(255,255,255,.5); }
.plan--feature .btn--primary { background: #fff; color: var(--brand-ink); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.plan--feature .btn--primary:hover { background: #fff; transform: translateY(-2px); }

.plans-note { text-align: center; margin-top: 34px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; }
.plans-note span { display: inline-flex; align-items: center; gap: 7px; }
.plans-note svg { width: 15px; height: 15px; color: var(--signal); }

/* includes band — dark */
.includes { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; position: relative; overflow: hidden; }
.includes::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 50px 50px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%); }
.includes .head { position: relative; }
.includes .h2 { color: #fff; }
.includes .lead { color: rgba(255,255,255,.7); }
.inc-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 48px; max-width: 900px; margin-inline: auto; }
.inc-grid .it { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--night-line); }
.inc-grid .it .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--signal-soft); }
.inc-grid .it .ic svg { width: 18px; height: 18px; }
.inc-grid .it span { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.9); }

/* recommend block */
.recommend { background: var(--paper-2); }
.rec-card {
  position: relative; max-width: 880px; margin-inline: auto; background: var(--card);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--sh), inset 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
.rec-card .h2 { font-size: clamp(22px, 2.4vw, 32px); }
.rec-card .lead { margin-top: 14px; }
.rec-field { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.rec-input {
  flex: 1; min-width: 220px; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper-2);
  box-shadow: inset 0 0 0 1.5px var(--line); resize: none; line-height: 1.6;
}
.rec-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand); }
.rec-input::placeholder { color: var(--faint); }
.rec-result {
  display: none; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--brand) 6%, white); box-shadow: inset 0 0 0 1px var(--line-2);
}
.rec-result.show { display: flex; animation: recin .4s cubic-bezier(.2,.8,.2,1); }
@keyframes recin { from { opacity: 0; transform: translateY(8px); } }
.rec-result .seal { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--brand); color: #fff; }
.rec-result .seal svg { width: 20px; height: 20px; }
.rec-result .rtxt { font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.rec-result .rtxt b { color: var(--brand-ink); font-weight: 700; }
.rec-result .rtxt .tag { display: inline-block; font-family: var(--mono); font-size: 12px; background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; margin: 0 2px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* hero 3-stage transform strip */
.transform-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; max-width: 860px; margin: 46px auto 0; }
.tnode {
  background: var(--card); border-radius: var(--r); padding: 22px 18px; text-align: center;
  box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); position: relative;
}
.tnode .tn-ic { width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.tnode .tn-ic svg { width: 23px; height: 23px; }
.tnode.is-live .tn-ic { background: color-mix(in oklab, var(--signal) 16%, white); color: oklch(0.5 0.12 168); }
.tnode .tn-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tnode .tn-t { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tarrow { color: var(--line-2); display: grid; place-items: center; }
.tarrow svg { width: 26px; height: 26px; }
[dir="rtl"] .tarrow svg { transform: scaleX(-1); }

/* "الفكرة ببساطة" — questions → one question */
.simple { background: var(--paper-2); }
.simple__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.qstack { display: flex; flex-direction: column; gap: 12px; }
.qold {
  display: flex; align-items: center; gap: 13px; padding: 16px 20px; border-radius: var(--r-sm);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 15px;
  position: relative;
}
.qold .x { width: 24px; height: 24px; border-radius: 7px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, #d08 8%, var(--paper-2)); color: oklch(0.6 0.12 18); }
.qold .x svg { width: 13px; height: 13px; }
.qold s { text-decoration: line-through; text-decoration-color: var(--faint); }
.qnew {
  margin-top: 8px; display: flex; align-items: center; gap: 15px; padding: 22px 24px; border-radius: var(--r);
  background: linear-gradient(150deg, var(--night-2), var(--night)); color: #fff; box-shadow: var(--sh-lg);
}
.qnew .av { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; box-shadow: var(--sh-brand); }
.qnew .qt { font-family: var(--mono); font-size: 11px; color: var(--brand-2); letter-spacing: .04em; }
.qnew .qq { font-size: 18px; font-weight: 600; margin-top: 2px; }

/* journey — vertical blueprint timeline */
.journey { position: relative; max-width: 920px; margin: 56px auto 0; }
.journey::before { content: ""; position: absolute; inset-inline-start: 27px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(var(--line-2) 0 7px, transparent 7px 14px); }
.jstep { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 38px; }
.jstep:last-child { padding-bottom: 0; }
.jnode {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--card); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line-2);
  font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--brand);
}
.jstep.is-final .jnode { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.jbody { padding-top: 4px; }
.jbody h3 { font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 8px; }
.jbody > p { font-size: 15px; color: var(--ink-soft); font-weight: 300; line-height: 1.75; max-width: 620px; }
.jchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jchips span { font-size: 13px; font-weight: 500; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.jchips span.lead-chip { background: color-mix(in oklab, var(--brand) 8%, white); color: var(--brand); }
.jnote { display: inline-flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: 13.5px; color: var(--muted); max-width: 580px; line-height: 1.6; }
.jnote svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 3px; }
/* mini review plan list inside a step */
.jplan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; max-width: 560px; }
.jplan span { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); padding: 9px 12px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 8px; }
.jplan span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }

/* behind the scenes — two columns */
.behind { background: var(--paper-2); }
.behind__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.bcard { border-radius: var(--r-lg); padding: 34px; }
.bcard--you { background: var(--card); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); }
.bcard--lv { background: linear-gradient(165deg, var(--night-2), var(--night)); color: #fff; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.bcard--lv::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 85% 100%, #000, transparent 70%); }
.bcard > * { position: relative; }
.bcard__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; display: inline-block; margin-bottom: 8px; }
.bcard--you .bcard__tag { color: var(--brand); }
.bcard--lv .bcard__tag { color: var(--brand-2); }
.bcard h3 { font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 22px; }
.bcard--lv h3 { color: #fff; }
.bcard__list { display: flex; flex-direction: column; gap: 14px; }
.bcard__list li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; }
.bcard__list .ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; margin-top: 1px; }
.bcard__list .ic svg { width: 14px; height: 14px; }
.bcard--you .bcard__list li { color: var(--ink-soft); }
.bcard--you .bcard__list .ic { background: color-mix(in oklab, var(--brand) 10%, white); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.bcard--lv .bcard__list li { color: rgba(255,255,255,.85); }
.bcard--lv .bcard__list .ic { background: rgba(255,255,255,.08); color: var(--signal-soft); }
.behind__strong { text-align: center; max-width: 700px; margin: 38px auto 0; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--brand-ink); line-height: 1.6; }

/* deliverables grid */
.deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 48px; max-width: 880px; margin-inline: auto; }
.deliver-grid .it { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.deliver-grid .it .ic { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--signal) 14%, white); color: oklch(0.5 0.12 168); }
.deliver-grid .it .ic svg { width: 16px; height: 16px; }
.deliver-grid .it span { font-size: 15px; font-weight: 500; color: var(--ink); }

/* what it's NOT */
.notdo { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; position: relative; overflow: hidden; }
.notdo::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 50px 50px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 78%); }
.notdo .head { position: relative; }
.notdo .h2 { color: #fff; }
.not-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.not-card { background: rgba(255,255,255,.04); border-radius: var(--r); padding: 28px; box-shadow: inset 0 0 0 1px var(--night-line); }
.not-card .x { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in oklab, #e0457a 22%, transparent); color: #ff9bbd; margin-bottom: 18px; }
.not-card .x svg { width: 20px; height: 20px; }
.not-card p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.7; }
.notdo__reframe { position: relative; max-width: 760px; margin: 40px auto 0; text-align: center; padding: 30px; border-radius: var(--r-lg); background: rgba(157,107,245,.12); box-shadow: inset 0 0 0 1px rgba(157,107,245,.3); }
.notdo__reframe .k { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-2); }
.notdo__reframe p { margin-top: 12px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; color: #fff; line-height: 1.65; }

/* ============================================================
   BLOG  — editorial knowledge hub
   ============================================================ */
.blog-hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 88px) 0 clamp(30px, 4vw, 52px); }
.blog-hero .blueprint-bg::before { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 20% 10%, #000 22%, transparent 76%); mask-image: radial-gradient(ellipse 80% 80% at 20% 10%, #000 22%, transparent 76%); }
.blog-hero__in { position: relative; max-width: 760px; }
.blog-hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; margin: 18px 0 0; }
.blog-hero__sub { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-soft); font-weight: 300; line-height: 1.8; margin-top: 18px; max-width: 620px; }
.search {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; max-width: 520px;
  background: var(--card); border-radius: 999px; padding: 6px 8px 6px 20px; box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line);
}
[dir="rtl"] .search { padding: 6px 20px 6px 8px; }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; font-family: var(--sans); font-size: 15px; color: var(--ink); background: none; border: none; outline: none; }
.search input::placeholder { color: var(--faint); }
.search .btn { padding: 12px 22px; }
.chipscroll { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.catchip {
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 9px 16px; border-radius: 999px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); transition: all .15s; white-space: nowrap;
}
.catchip:hover { color: var(--brand); box-shadow: inset 0 0 0 1px var(--line-2); }
.catchip.on { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }

/* featured article */
.featured { padding-top: clamp(20px, 3vw, 40px); }
.fcard {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line);
}
.fcard__cover { position: relative; min-height: 340px; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); overflow: hidden; }
.fcard__cover::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 38px 38px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000, transparent 72%); mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000, transparent 72%); }
.fcard__art { position: absolute; inset: 0; display: grid; place-items: center; }
.fcard__art .mock { transform: rotate(-3deg); max-width: 300px; }
.fcard__body { padding: clamp(28px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.tagcat { align-self: flex-start; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .03em; color: var(--brand); padding: 6px 13px; border-radius: 999px; background: color-mix(in oklab, var(--brand) 8%, white); box-shadow: inset 0 0 0 1px var(--line); }
.fcard__body h2 { font-size: clamp(23px, 2.6vw, 34px); line-height: 1.28; margin: 18px 0 14px; letter-spacing: -.01em; }
.fcard__body p { font-size: 15.5px; color: var(--ink-soft); font-weight: 300; line-height: 1.8; }
.fmeta { display: flex; align-items: center; gap: 8px 16px; margin: 22px 0 26px; font-family: var(--mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.fmeta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.fcard__body .tlink { font-size: 15.5px; }

/* posts grid */
.posts-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.post {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.post__cover { height: 132px; position: relative; overflow: hidden; }
.post__cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 60% 20%, #000, transparent 75%); }
.post__cover .gly { position: absolute; inset-inline-end: 16px; bottom: 14px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); }
.post__cover .gly svg { width: 20px; height: 20px; }
.cov-1 { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); }
.cov-2 { background: linear-gradient(150deg, oklch(0.55 0.16 250), oklch(0.36 0.12 258)); }
.cov-3 { background: linear-gradient(150deg, var(--signal), oklch(0.42 0.1 175)); }
.cov-4 { background: linear-gradient(150deg, oklch(0.62 0.16 30), oklch(0.4 0.13 22)); }
.cov-5 { background: linear-gradient(150deg, var(--brand-2), oklch(0.4 0.14 300)); }
.cov-6 { background: linear-gradient(150deg, oklch(0.6 0.13 200), oklch(0.38 0.1 215)); }
.post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .03em; color: var(--brand); margin-bottom: 11px; }
.post__body h3 { font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
.post__body p { font-size: 14px; color: var(--ink-soft); font-weight: 300; line-height: 1.65; flex: 1; }
.post__foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.post__foot svg { width: 14px; height: 14px; }

/* practical guides */
.guides { background: var(--paper-2); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.guide {
  display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: var(--r); padding: 22px 24px;
  box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); transition: transform .18s, box-shadow .18s;
}
.guide:hover { transform: translateY(-3px); box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); }
.guide__ic { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.guide__ic svg { width: 25px; height: 25px; }
.guide__t { font-size: 16px; font-weight: 600; line-height: 1.4; }
.guide__a { margin-inline-start: auto; color: var(--brand); flex: none; }
.guide__a svg { width: 18px; height: 18px; }
[dir="rtl"] .guide__a svg { transform: scaleX(-1); }

/* newsletter */
.news__in { position: relative; max-width: 720px; margin-inline: auto; text-align: center; }
.news .h2 { color: #fff; }
.news p { color: rgba(255,255,255,.74); font-size: clamp(15.5px, 1.3vw, 18px); font-weight: 300; max-width: 540px; margin: 18px auto 0; line-height: 1.8; }
.news-form { display: flex; gap: 12px; max-width: 480px; margin: 32px auto 0; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 220px; font-family: var(--sans); font-size: 15px; color: #fff;
  background: rgba(255,255,255,.08); border-radius: 999px; padding: 15px 22px; border: none; outline: none;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2);
}
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.news-form input:focus { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.news-ok { display: none; margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--signal-soft); }
.news-ok.show { display: block; }

/* mid CTA (light, inline) */
.midcta { position: relative; }
.midcta__card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(34px, 4vw, 56px);
  background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff; text-align: center;
  box-shadow: var(--sh-lg);
}
.midcta__card::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000, transparent 72%); mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000, transparent 72%); }
.midcta__card > * { position: relative; }
.midcta__card h2 { color: #fff; font-size: clamp(22px, 2.6vw, 34px); }
.midcta__card p { color: rgba(255,255,255,.86); font-weight: 300; max-width: 520px; margin: 14px auto 0; font-size: clamp(15px, 1.2vw, 18px); }
.midcta__card .btn { margin-top: 26px; }

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-header {
  position: relative; overflow: hidden;
  padding: clamp(54px, 7vw, 100px) 0 clamp(36px, 5vw, 58px);
  background: var(--paper);
}
.archive-header .blueprint-bg::before {
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 18%, transparent 78%);
}
.archive-header__in { position: relative; max-width: 760px; }
.archive-header h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; line-height: 1.22; letter-spacing: -.015em; margin: 18px 0 0; }
.archive-header p { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--ink-soft); font-weight: 300; line-height: 1.8; margin-top: 16px; max-width: 600px; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-cover {
  height: clamp(220px, 28vw, 380px); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.single-cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000, transparent 72%);
}
.single-glyph {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center; background: rgba(255,255,255,.2); color: #fff;
  backdrop-filter: blur(10px);
}
.single-glyph svg { width: 36px; height: 36px; }
.single-header {
  max-width: 800px; margin-inline: auto;
  padding: clamp(34px, 4vw, 56px) 20px clamp(20px, 2vw, 30px);
  text-align: center;
}
.single-header .tagcat { margin-bottom: 24px; }
.single-header h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 22px; }
.single-header .smeta {
  display: flex; align-items: center; gap: 8px 18px; justify-content: center;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
}
.single-header .smeta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* prose body */
.entry-content {
  max-width: 720px; margin-inline: auto; padding: 0 20px clamp(50px, 6vw, 80px);
  font-size: clamp(16px, 1.3vw, 18px); font-weight: 300; line-height: 1.9; color: var(--ink-soft);
}
.entry-content h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--ink); margin: 2.2em 0 .7em; line-height: 1.3; }
.entry-content h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; color: var(--ink); margin: 2em 0 .6em; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content a { color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--brand) 40%, transparent); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--brand); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; margin-bottom: 1.4em; }
.entry-content li { margin-bottom: .55em; }
.entry-content blockquote { margin: 2em 0; padding: 22px 28px; border-inline-start: 3px solid var(--brand); background: color-mix(in oklab, var(--brand) 5%, var(--paper)); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.entry-content blockquote p { margin-bottom: 0; color: var(--ink); font-weight: 400; font-style: italic; }
.entry-content pre { background: var(--night); color: #c9d1d9; border-radius: var(--r-sm); padding: 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.7; margin-bottom: 1.4em; }
.entry-content code { font-family: var(--mono); font-size: .88em; background: color-mix(in oklab, var(--brand) 7%, var(--paper)); color: var(--brand-ink); padding: 2px 6px; border-radius: 4px; }
.entry-content pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.entry-content img { max-width: 100%; border-radius: var(--r-sm); margin: 1.5em 0; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { text-align: center; font-size: 13px; color: var(--muted); font-family: var(--mono); margin-top: 10px; }
.entry-content hr { border: none; height: 1px; background: var(--line); margin: 2.5em 0; }

/* post navigation */
.post-nav {
  max-width: 720px; margin-inline: auto; padding: 0 20px clamp(50px, 6vw, 80px);
  display: flex; gap: 16px;
}
.post-nav a {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px; border-radius: var(--r); background: var(--card);
  box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line);
  transition: transform .18s, box-shadow .18s; text-decoration: none;
}
.post-nav a:hover { transform: translateY(-3px); box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); }
.post-nav a.next { text-align: start; }
.post-nav a.prev { text-align: end; }
.post-nav .nav-label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--brand); text-transform: uppercase; }
.post-nav .nav-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan--feature { transform: none; }
  .simple__in { grid-template-columns: 1fr; gap: 40px; }
  .behind__grid, .not-grid { grid-template-columns: 1fr; }
  .posts, .guides-grid { grid-template-columns: 1fr 1fr; }
  .fcard { grid-template-columns: 1fr; }
  .fcard__cover { min-height: 240px; }
  .transform-strip { grid-template-columns: 1fr; gap: 14px; max-width: 360px; }
  .tarrow { transform: rotate(90deg); }
  [dir="rtl"] .tarrow svg { transform: none; }
  .post-nav { flex-direction: column; }
}
@media (max-width: 680px) {
  .plans, .inc-grid, .deliver-grid, .posts, .guides-grid { grid-template-columns: 1fr; }
  .jplan { grid-template-columns: 1fr 1fr; }
  .rec-field { flex-direction: column; }
  .rec-field .btn { width: 100%; }
  .entry-content { padding-inline: 16px; }
  .post-nav { padding-inline: 16px; }
  .single-header { padding-inline: 16px; }
}
