/* ============================================================
   עד מתי - design system
   Warm, human, trustworthy. Petrol green + amber on cream.
   One stylesheet for the whole site (cached across pages).
   ============================================================ */

:root {
  --cream:        #F7F3EC;
  --cream-deep:   #EFE7D8;
  --paper:        #FFFFFF;

  --green:        #0C6B5E;
  --green-deep:   #0C4B51;
  --green-ink:    #0A3F38;

  --amber:        #E8A13D;
  --amber-deep:   #CF8A29;

  --ink:          #26221B;
  --body:         #4A453C;
  --muted:        #8C8474;

  --line:         rgba(38, 34, 27, 0.10);
  --line-strong:  rgba(38, 34, 27, 0.16);

  --green-tint:   #E5EFEA;
  --amber-tint:   #FBEFD9;

  --font-head: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(38,34,27,.05), 0 2px 6px rgba(38,34,27,.05);
  --shadow-md: 0 10px 30px rgba(38,34,27,.09);
  --shadow-lg: 0 28px 70px rgba(12,75,81,.16);
  --shadow-green: 0 14px 34px rgba(12,107,94,.28);
  --shadow-amber: 0 12px 28px rgba(232,161,61,.35);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  --wrap: 1080px;
  --wrap-narrow: 720px;

  --nav-h: 66px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: var(--wrap-narrow); }
section { padding-block: clamp(48px, 8vw, 96px); }
.section-alt { background: var(--cream-deep); }
.section-tight { padding-block: clamp(36px, 6vw, 64px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .02em; color: var(--green);
  background: var(--green-tint); padding: 7px 14px; border-radius: var(--pill);
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: #F4D9AC; background: rgba(232,161,61,.14); }

/* amber underline motif, echoing the app logo stroke */
.stroke { width: 46px; height: 5px; border-radius: 3px; background: var(--amber); margin: 14px 0 26px; }
.stroke.center { margin-inline: auto; }

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.6vw, 44px); }
.section-head p { font-size: clamp(17px, 2.2vw, 20px); color: var(--body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  padding: 15px 26px; border-radius: var(--pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }

.btn-play { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-play:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: #3d2c0c; box-shadow: var(--shadow-amber); }
.btn-amber:hover { background: var(--amber-deep); color: #3d2c0c; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line-strong); }
.btn-ghost:hover { background: #fff; border-color: var(--green); color: var(--green); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { font-size: 18px; padding: 17px 32px; }

.btn-play small { display:block; font-size: 11px; font-weight: 500; opacity: .85; margin-bottom: -3px; }
.btn-play b { font-size: 18px; font-weight: 800; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,236,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-links.mobile { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn span.long { display: none; }
}

/* logo */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--font-head); font-weight: 800; color: var(--green); letter-spacing: -.02em; font-size: 26px; }
.logo i { width: 30px; height: 4px; border-radius: 3px; background: var(--amber); margin-top: 5px; font-style: normal; }
.logo.big b { font-size: 34px; }
.logo.big i { width: 40px; height: 5px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(36px, 6vw, 60px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(232,161,61,.16), transparent 60%),
    radial-gradient(55% 60% at 6% 92%, rgba(12,107,94,.10), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); color: var(--ink); margin-bottom: .35em; }
.hero h1 .hl { color: var(--green); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; inset-inline: -2px; bottom: 4px; height: 12px; z-index: -1;
  background: rgba(232,161,61,.42); border-radius: 4px;
}
.hero-sub { font-size: clamp(18px, 2.4vw, 22px); color: var(--body); max-width: 32ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display:flex; align-items:center; gap: 14px; margin-top: 22px; color: var(--muted); font-size: 15px; flex-wrap: wrap; }
.hero-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.hero-note b { color: var(--green); font-weight: 700; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-visual { order: -1; }
}

/* ---------- phone device ---------- */
.phone {
  position: relative; width: 288px; max-width: 78vw; aspect-ratio: 1080 / 2110;
  margin-inline: auto;
  background: #10201d; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.4) inset;
}
.phone::after { /* speaker/notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 46%; height: 22px; background: #10201d; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; }
.phone-float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

.hero-visual { position: relative; }
.hero-phones { position: relative; display: flex; justify-content: center; }
.hero-phones .phone.back {
  position: absolute; top: 34px; width: 232px; transform: rotate(7deg) translateX(-58%);
  filter: saturate(.98); opacity: .96; z-index: 1;
}
.hero-phones .phone.front { position: relative; z-index: 2; transform: rotate(-2deg); }
@media (max-width: 520px) { .hero-phones .phone.back { display: none; } .hero-phones .phone.front { transform: none; } }

.badge-float {
  position: absolute; z-index: 4; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 12px 16px; font-family: var(--font-head);
  display: flex; align-items: center; gap: 10px;
}
.badge-float .em { font-size: 22px; }
.badge-float b { display: block; color: var(--ink); font-size: 15px; font-weight: 800; }
.badge-float span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.badge-float.one { top: 12%; inset-inline-start: -6%; }
.badge-float.two { bottom: 14%; inset-inline-end: -4%; }
@media (max-width: 880px) { .badge-float.one { inset-inline-start: 2%; } .badge-float.two { inset-inline-end: 2%; } }
@media (max-width: 560px) { .badge-float { display: none; } }

/* ---------- logos / trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.4); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; padding-block: 20px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--body); font-weight: 600; font-size: 15px; font-family: var(--font-head); }
.trust-item svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 30px 26px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step .num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--green); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-green);
}
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { font-size: 16px; margin: 0; }
.step .em { position: absolute; top: 26px; inset-inline-end: 24px; font-size: 26px; opacity: .9; }
.steps .connector { display: none; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; font-size: 26px; background: var(--green-tint); }
.feature .ic.amber { background: var(--amber-tint); }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { font-size: 16px; margin: 0; }
.feature.wide { grid-column: span 2; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } .feature.wide { grid-column: span 2; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } .feature.wide { grid-column: span 1; } }

/* ---------- dark section (law on your side) ---------- */
.dark { background: linear-gradient(160deg, var(--green-deep), var(--green-ink)); color: #E9EFEC; position: relative; overflow: hidden; }
.dark::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 40% at 85% 10%, rgba(232,161,61,.14), transparent 60%); pointer-events:none; }
.dark .wrap { position: relative; z-index: 1; }
.dark h2 { color: #fff; }
.dark .section-head p { color: rgba(233,239,236,.86); }
.dark .stroke { background: var(--amber); }
.law-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: 8px; }
.law-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.law-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-md); padding: 16px 18px; }
.law-list .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: #3d2c0c; display: grid; place-items: center; font-weight: 800; margin-top: 2px; }
.law-list h4 { color: #fff; font-size: 17px; margin: 0 0 3px; }
.law-list p { margin: 0; color: rgba(233,239,236,.8); font-size: 15px; }
@media (max-width: 820px) { .law-grid { grid-template-columns: 1fr; } .law-visual { order: -1; } }

/* quote card for the "what you're owed" example */
.owed-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 26px; }
.owed-card .row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.16); font-size: 15px; }
.owed-card .row:last-child { border: 0; }
.owed-card .row span { color: rgba(233,239,236,.7); }
.owed-card .row b { color: #fff; font-family: var(--font-head); }
.owed-card .verdict { margin-top: 18px; background: var(--amber); color: #3d2c0c; border-radius: var(--r-md); padding: 14px 18px; font-family: var(--font-head); font-weight: 700; text-align: center; }

/* ---------- premium ---------- */
.premium-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.premium-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; }
.premium-card .ic { flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: var(--shadow-green); }
.premium-card h3 { font-size: 20px; margin-bottom: 5px; }
.premium-card p { font-size: 16px; margin: 0; }
.premium-foot { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .premium-grid { grid-template-columns: 1fr; } }

/* ---------- referral ---------- */
.referral { background: linear-gradient(150deg, #12463f, var(--green-ink)); color: #fff; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 64px); position: relative; overflow: hidden; }
.referral::before { content:""; position:absolute; inset:0; background: radial-gradient(45% 60% at 90% 15%, rgba(232,161,61,.22), transparent 55%); }
.referral-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.referral h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); }
.referral p { color: rgba(255,255,255,.86); font-size: 18px; }
.gift-emoji { font-size: 46px; margin-bottom: 12px; }
.code-card { background: rgba(255,255,255,.06); border: 1px dashed rgba(232,161,61,.6); border-radius: var(--r-lg); padding: 24px; text-align: center; }
.code-card small { color: rgba(255,255,255,.7); font-size: 13px; font-family: var(--font-head); letter-spacing: .06em; }
.code-card .code { font-family: var(--font-head); font-weight: 800; color: var(--amber); font-size: 34px; letter-spacing: .32em; padding: 8px 0 16px; padding-inline-start: .32em; }
.referral-perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.referral-perks li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.9); font-size: 16px; }
.referral-perks .ck { color: var(--amber); font-weight: 800; }
@media (max-width: 760px) { .referral-in { grid-template-columns: 1fr; } .referral-visual { order: -1; } }

/* ---------- trust / privacy ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.trust-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.trust-card .ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-tint); display: grid; place-items: center; font-size: 25px; }
.trust-card h3 { font-size: 18px; margin-bottom: 5px; }
.trust-card p { font-size: 15px; margin: 0; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; margin-top: 40px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--green); font-weight: 400; transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--body); font-size: 16.5px; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .card { background: linear-gradient(160deg, var(--green-deep), var(--green-ink)); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px) 24px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.final-cta .card::before { content:""; position:absolute; inset:0; background: radial-gradient(40% 50% at 50% 0%, rgba(232,161,61,.2), transparent 60%); }
.final-cta .card > * { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-size: clamp(28px, 5vw, 46px); }
.final-cta p { color: rgba(255,255,255,.86); font-size: 19px; max-width: 40ch; margin-inline: auto; margin-bottom: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-ink); color: rgba(233,239,236,.72); padding-block: 54px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo b { color: #fff; }
.site-footer p { font-size: 15px; margin: 14px 0 0; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 15px; letter-spacing: .02em; margin: 0 0 14px; }
.footer-col a { display: block; color: rgba(233,239,236,.72); font-size: 15px; padding: 6px 0; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; color: rgba(233,239,236,.55); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG
   ============================================================ */
.page-head { background: var(--cream-deep); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 6vw, 60px); }
.page-head h1 { font-size: clamp(30px, 5vw, 48px); }
.page-head p { font-size: 19px; max-width: 60ch; margin: 0; }

.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumbs a { color: var(--green); font-weight: 600; }
.breadcrumbs .sep { color: var(--line-strong); }

/* post grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card .cover { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; padding: 20px; text-align: center; overflow: hidden; }
.post-card .cover .cat { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.9); color: var(--green-deep); font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: var(--pill); }
.post-card .cover .em { font-size: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 20px; line-height: 1.28; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--green); }
.post-card .excerpt { font-size: 15.5px; color: var(--body); margin: 0 0 16px; }
.post-card .meta { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.post-card .meta .d { display: flex; align-items: center; gap: 5px; }

/* cover gradients per category */
.cover-warranty { background: linear-gradient(150deg, #0C6B5E, #0A3F38); }
.cover-subs     { background: linear-gradient(150deg, #12463f, #0d3b34); }
.cover-nego     { background: linear-gradient(150deg, #14524a, #0A3F38); }
.cover-rights   { background: linear-gradient(150deg, #0C6B5E, #12463f); }
.cover-save     { background: linear-gradient(150deg, #1a5a4f, #0A3F38); }
.cover-generic  { background: linear-gradient(150deg, #0C6B5E, #0A3F38); }

/* featured (pillar) card */
.featured { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 34px; }
.featured .cover { min-height: 260px; display: grid; place-items: center; color: #fff; padding: 30px; text-align: center; }
.featured .cover .em { font-size: 64px; }
.featured .body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.featured .pill-tag { align-self: flex-start; background: var(--amber-tint); color: var(--amber-deep); font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 6px 13px; border-radius: var(--pill); margin-bottom: 14px; }
.featured h2 { font-size: clamp(24px, 3.4vw, 34px); }
.featured p { font-size: 17px; }
@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } .featured .cover { min-height: 170px; } }

/* section label row */
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.row-head h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.row-head a { font-family: var(--font-head); font-weight: 600; font-size: 15px; }

/* category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 14.5px; padding: 9px 16px; border-radius: var(--pill); transition: all .15s ease; }
.chip:hover, .chip.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- article ---------- */
.article-head { background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.article-head .wrap { max-width: var(--wrap-narrow); padding-block: clamp(30px, 5vw, 52px); }
.article-cat { display: inline-block; background: var(--green-tint); color: var(--green-deep); font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 6px 13px; border-radius: var(--pill); margin-bottom: 14px; }
.article-head h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.12; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14.5px; margin-top: 14px; align-items: center; }
.article-meta .who { display: flex; align-items: center; gap: 8px; }
.article-meta .who .av { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.article-meta b { color: var(--body); font-weight: 700; }

.article { max-width: var(--wrap-narrow); margin-inline: auto; padding-block: clamp(32px, 5vw, 52px); }
.article .lead { font-size: 21px; line-height: 1.6; color: var(--ink); font-weight: 500; margin-bottom: 26px; }

/* AEO quotable answer box */
.answer-box { background: var(--green-tint); border: 1px solid rgba(12,107,94,.18); border-inline-start: 5px solid var(--green); border-radius: var(--r-md); padding: 22px 24px; margin: 0 0 30px; }
.answer-box .lbl { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--green); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.answer-box p { font-size: 18px; color: var(--ink); margin: 0; line-height: 1.6; }

/* table of contents */
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 30px; }
.toc strong { font-family: var(--font-head); font-size: 15px; color: var(--ink); display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 7px; }
.toc a { font-size: 15.5px; color: var(--body); }
.toc a:hover { color: var(--green); }

/* article body typography */
.prose { font-size: 18.5px; line-height: 1.78; color: var(--body); }
.prose > h2 { font-size: clamp(24px, 3.4vw, 31px); margin-top: 1.6em; margin-bottom: .5em; scroll-margin-top: 90px; }
.prose > h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 3px; background: var(--amber); margin-bottom: 14px; }
.prose > h3 { font-size: clamp(20px, 2.6vw, 24px); margin-top: 1.4em; margin-bottom: .4em; color: var(--green-deep); scroll-margin-top: 90px; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-inline-start: 26px; display: grid; gap: 9px; }
.prose li { padding-inline-start: 4px; }
.prose ul li::marker { color: var(--amber-deep); }
.prose a { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(12,107,94,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--green); }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-inline-start: 4px solid var(--amber); color: var(--ink); font-size: 20px; font-style: italic; }
.prose strong { color: var(--ink); }
.prose h2 + p, .prose h3 + p { margin-top: 0; }

/* callout inside prose */
.callout { background: var(--amber-tint); border-radius: var(--r-md); padding: 18px 22px; margin: 1.5em 0; display: flex; gap: 14px; font-size: 16.5px; }
.callout .em { font-size: 24px; flex: none; }
.callout.tip { background: var(--green-tint); }
.callout p { margin: 0; }
.callout b { color: var(--ink); }

/* data table in prose */
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.prose th { background: var(--green); color: #fff; font-family: var(--font-head); text-align: start; padding: 12px 16px; font-weight: 700; }
.prose td { background: var(--paper); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* CTA embedded in article */
.article-cta { background: linear-gradient(155deg, var(--green-deep), var(--green-ink)); color: #fff; border-radius: var(--r-lg); padding: 32px; margin: 2.2em 0; text-align: center; box-shadow: var(--shadow-md); }
.article-cta h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,.85); margin-bottom: 20px; font-size: 16.5px; }

/* faq inside article */
.article .faq { margin-top: 34px; }

/* sources / author box */
.sources { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h3 { font-size: 18px; }
.sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sources li { font-size: 15px; color: var(--muted); }
.sources a { color: var(--green); }

.author-box { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-top: 30px; box-shadow: var(--shadow-sm); }
.author-box .av { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; flex: none; }
.author-box b { color: var(--ink); font-family: var(--font-head); font-size: 16px; }
.author-box p { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); }

/* tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tag { background: var(--cream-deep); color: var(--body); font-size: 13.5px; padding: 6px 13px; border-radius: var(--pill); font-family: var(--font-head); font-weight: 600; }

/* related posts */
.related { background: var(--cream-deep); border-top: 1px solid var(--line); }

/* pagination */
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 40px; align-items: center; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--pill); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager .current { background: var(--green); color: #fff; border-color: var(--green); }
.pager .disabled { opacity: .4; pointer-events: none; }

/* skip link (a11y) */
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; z-index: 100; }
.skip:focus { inset-inline-start: 0; color: #fff; }

/* generic utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide-mobile { }
@media (max-width: 640px) { .hide-mobile { display: none !important; } }
