/* Shared styles for the service pages — same tokens and type as the home page (index.html keeps its own inline copy) */
:root {
  --cream: #F4EEE1; --paper: #FBF7EE; --forest: #1F3A2E; --forest-2: #2A4A3B;
  --gold: #B8862B; --gold-lt: #D9B25C; --gold-dk: #8A6420; --ink: #26392F; --muted: #55665C; --rule: #DCCDA9;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); color: var(--forest); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dk); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--forest); color: var(--paper); text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--forest); transition: background .2s, color .2s; }
.btn:hover { background: var(--forest-2); }
.btn.gold { background: var(--gold-lt); color: var(--forest); border-color: var(--gold-lt); }
.btn.gold:hover { background: #E6C58D; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.note { font-size: 14px; color: var(--muted); }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(244,238,225,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.brand svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
header.top nav { display: flex; align-items: center; gap: 18px; }
header.top nav a { white-space: nowrap; }
header.top nav a.back { font-size: 14px; font-weight: 600; color: var(--forest); text-decoration: none; }
header.top nav a.back:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
header.top .btn { padding: 10px 18px; font-size: 14px; }
header.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 360px) { .brand span { display: none; } }
@media (max-width: 600px) {
  header.top .wrap { flex-wrap: wrap; row-gap: 8px; column-gap: 18px; }
  header.top nav { display: contents; }
  header.top .brand { order: 0; margin-right: auto; font-size: 12px; letter-spacing: .12em; line-height: 1.25; }
  header.top .brand span { max-width: 9.5em; }
  header.top .btn { order: 1; }
  header.top .wrap::after { content: ""; order: 2; flex-basis: 100%; }
  header.top nav a.back { order: 3; font-size: 13px; }
}

/* breadcrumb + page hero */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--forest); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.phero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding-block: 28px 56px; }
.phero .ic { width: 84px; height: 84px; margin-top: 6px; }
.phero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; margin-top: 12px; }
.phero .lede { font-size: 21px; font-weight: 600; color: var(--gold-dk); margin-top: 14px; }
.phero .para { margin-top: 14px; max-width: 40em; font-size: 18px; }
.phero .cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
@media (max-width: 640px) { .phero .wrap { grid-template-columns: 1fr; gap: 8px; } .phero .ic { width: 64px; height: 64px; } }

.ic { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold); color: var(--forest); align-items: center; justify-content: center; background: var(--cream); flex-shrink: 0; }
.ic svg { width: 58%; height: 58%; }

/* content sections */
.sec { padding-block: 64px; border-top: 1px solid var(--rule); }
.sec.alt { background: var(--paper); }
.sec h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-top: 10px; }
.sec h2 span { color: var(--gold-dk); }
.sec .intro { margin-top: 14px; font-size: 18px; max-width: 40em; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.why > div { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; min-width: 0; }
.sec.alt .why > div { background: var(--cream); }
.why h3 { font-size: 20px; font-weight: 700; }
.why p { margin-top: 8px; font-size: 16px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

.qs { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.qs li { position: relative; padding-left: 34px; font-size: 17px; font-weight: 600; color: var(--forest); }
.qs li::before { content: "?"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-lt); color: var(--forest);
  font: 800 13px/22px var(--body); text-align: center; }
@media (max-width: 760px) { .qs { grid-template-columns: 1fr; } }

/* example scenarios */
.scen { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.scen article { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--gold); border-radius: 12px; padding: 24px 24px 22px; min-width: 0; }
.sec.alt .scen article { background: var(--cream); }
.scen .who { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.scen h3 { font-size: 22px; font-weight: 700; margin-top: 8px; }
.scen p { margin-top: 10px; font-size: 16px; }
.scen .look { margin-top: 12px; font-size: 15px; color: var(--muted); }
.scen .look b { color: var(--forest); }
.illus { margin-top: 18px; font-size: 13px; color: var(--muted); font-style: italic; }
@media (max-width: 760px) { .scen { grid-template-columns: 1fr; } }

/* what we cover in a check-in */
.cover { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: c; }
.cover li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 17px; }
.cover li::before { content: counter(c); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); color: var(--forest);
  font: 700 16px/30px var(--display); text-align: center; background: var(--paper); }
.cover b { color: var(--forest); }

/* call-to-action band */
.band { background: var(--forest); color: var(--paper); }
.band .wrap { padding-block: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { color: var(--paper); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-top: 10px; }
.band .eyebrow { color: var(--gold-lt); }
.band p.lead { margin-top: 14px; color: #E7DCC4; font-size: 18px; max-width: 32em; }
.band .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.band .note { color: #C9D2CC; }
.band .phones { font-size: 15px; color: #E7DCC4; }
.band .phones a { color: var(--gold-lt); font-weight: 700; text-decoration: none; white-space: nowrap; }
.band .phones a:hover { text-decoration: underline; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* other services */
.more { padding-block: 56px; }
.more h2 { font-size: 28px; font-weight: 700; }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.others a { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 16px; text-decoration: none;
  color: var(--forest); font-weight: 700; font-size: 15px; line-height: 1.3; transition: border-color .2s, transform .2s; min-width: 0; }
.others a:hover { border-color: var(--gold); transform: translateY(-2px); }
.others .ic { width: 42px; height: 42px; }
@media (max-width: 960px) { .others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .others { grid-template-columns: 1fr; } }

footer { padding-block: 36px 48px; border-top: 1px solid var(--rule); }
footer .disc { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 70em; }
footer .disc b { color: var(--forest); }
footer .small { margin-top: 14px; font-size: 13px; color: var(--muted); }
footer .small a { color: var(--forest); }
footer .disc + .disc { margin-top: 10px; }

/* "did you know" facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.fact { background: var(--forest); color: var(--paper); border-radius: 16px; padding: 26px 24px; min-width: 0; }
.fact .k { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.15; color: var(--gold-lt); }
.fact p { margin-top: 10px; font-size: 16px; color: #E7DCC4; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* scenario problem → strategy */
.scen .lbl { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 4px; }
.scen .strat { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--cream); font-size: 15px; }
.sec.alt .scen .strat { background: var(--paper); }
.scen .strat b { color: var(--forest); }

/* strategy tags */
.tags { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.tags a { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--paper); color: var(--forest);
  font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s; }
.tags a:hover { background: var(--gold-lt); }

/* product cards (solutions page) */
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.prod { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px 26px; min-width: 0; scroll-margin-top: 90px; }
.sec.alt .prod { background: var(--cream); }
.prod .kind { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.prod h3 { font-size: 26px; font-weight: 700; margin-top: 8px; }
.prod .one { margin-top: 8px; font-weight: 600; color: var(--forest); }
.prod p { margin-top: 10px; font-size: 16px; }
.prod ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.prod li { position: relative; padding-left: 20px; font-size: 15px; }
.prod li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prod .ask { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--rule); font-size: 15px; font-style: italic; color: var(--forest); }
.prod .fine { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .prods { grid-template-columns: 1fr; } }

/* learn hub */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 26px 24px 22px;
  text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card .meta { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.card h3 { font-size: 23px; font-weight: 700; margin-top: 10px; }
.card p { margin-top: 10px; font-size: 16px; }
.card .read { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; color: var(--forest); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* article */
.post { padding-block: 28px 64px; }
.post .meta { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.post h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-top: 12px; }
.post .dek { font-size: 21px; font-weight: 500; color: var(--forest); margin-top: 16px; line-height: 1.5; }
.post .by { margin-top: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.post .by b { color: var(--forest); }
.post h2 { font-size: clamp(25px, 3vw, 32px); font-weight: 700; margin-top: 44px; }
.post h3 { font-size: 21px; font-weight: 700; margin-top: 28px; }
.post p { margin-top: 16px; font-size: 18px; line-height: 1.7; }
.post ul.list { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.post ul.list li { position: relative; padding-left: 22px; font-size: 18px; line-height: 1.6; }
.post ul.list li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.post a { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 600; }
.tablewrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
table.cmp thead th { background: var(--forest); color: var(--paper); font-family: var(--display); font-size: 18px; font-weight: 700; }
table.cmp tbody th { color: var(--forest); font-weight: 700; width: 26%; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
.callout { margin-top: 28px; padding: 22px 24px; border-radius: 14px; background: var(--forest); color: #E7DCC4; }
.callout b { color: var(--gold-lt); display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.callout p { margin-top: 0; font-size: 17px; color: #F4EEE1; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.fit > div { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--gold); border-radius: 12px; padding: 20px 22px; min-width: 0; }
.fit h3 { margin-top: 0; font-size: 20px; }
.fit ul { margin: 10px 0 0; padding-left: 18px; }
.fit li { font-size: 16px; margin-top: 6px; }
@media (max-width: 640px) { .fit { grid-template-columns: 1fr; } }
.inline-cta { margin-top: 40px; padding: 26px; border: 2px solid var(--gold); border-radius: 16px; background: var(--paper); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.inline-cta p { margin: 0; font-size: 18px; font-weight: 600; color: var(--forest); max-width: 28em; }
.post .note-src { margin-top: 28px; font-size: 13px; color: var(--muted); font-style: italic; }
