/* ===== Hero ===== */
.r-hero { padding: 88px 0 72px; background: linear-gradient(180deg, #FDFDFE, var(--off-white-60)); border-bottom: 1px solid var(--color-border); position: relative; overflow: hidden; }
.r-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(30, 122, 43, 0.08), transparent 60%); pointer-events: none; }
.r-hero-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.r-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 60px; line-height: 1.04; letter-spacing: -0.025em; margin: 20px 0; }
.r-hero p.lead { font-size: 19px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 12px; }
.r-hero p.supp { font-size: 15px; color: var(--color-text-subtle); line-height: 1.55; }
.r-search { margin-top: 36px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.r-search input { width: 100%; padding: 18px 64px 18px 54px; font-size: 16px; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(10,20,40,0.04); font-family: inherit; transition: border-color var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard); }
.r-search input:focus { outline: none; border-color: var(--green-100); box-shadow: 0 0 0 4px rgba(30, 122, 43, 0.12); }
/* Decorative left-side spyglass — scoped via class so the submit button's
 * arrow icon isn't pulled into the same absolute positioning. The form has
 * a `.hint` line below the input, so `top: 50%` would push the icon down
 * past the input's centre. Anchor to the input row's mid-point (~30px from
 * the top of the form) like the submit button. */
.r-search .r-search-icon { position: absolute; left: 20px; top: 30px; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--color-text-subtle); fill: none; stroke-width: 2; pointer-events: none; }
.r-search .hint { font-size: 12px; color: var(--color-text-subtle); margin-top: 10px; letter-spacing: 0.02em; }
/* Right-side submit button — green pill with an arrow icon.
 * The form has 3 children (left spyglass, input, button, .hint), so the
 * form's vertical centre is NOT the input's vertical centre. Anchor the
 * button using the SAME logic the spyglass uses: position the top edge
 * at half the input row height (input padding 18 + font 16 + padding 18
 * ≈ 52, so top: 26 - half-button-height ≈ 5).
 *
 * Simpler: align with the input by anchoring to the top of the form +
 * half input height, then transform: translateY(-50%) to centre. */
.r-search-submit {
  position: absolute;
  right: 8px; top: 30px;             /* half the input row's effective height */
  transform: translateY(-50%);
  width: 42px; height: 42px;
  background: var(--green-100);
  color: #fff;
  border: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--motion-base) var(--ease-standard);
}
.r-search-submit:hover { background: #1E7A2B; }
.r-search-submit:focus-visible { outline: 2px solid var(--green-100); outline-offset: 3px; }
.r-search-submit svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform var(--motion-base) var(--ease-standard); }
.r-search-submit:hover svg { transform: translateX(2px); }

/* ===== Section shells ===== */
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 16px; margin-bottom: 14px; }
.section-head p.lead { font-size: 17px; color: var(--color-text-muted); line-height: 1.55; }

/* ===== Featured (Start here) ===== */
.featured { padding: 96px 0; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
.ft-card { padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 18px; display: flex; flex-direction: column; gap: 14px; transition: all var(--motion-base) var(--ease-standard); position: relative; overflow: hidden; min-height: 280px; }
.ft-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.ft-card .badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--off-white-60); color: var(--color-text-subtle); text-transform: uppercase; letter-spacing: 0.08em; align-self: flex-start; border: 1px solid var(--color-border-subtle); }
.ft-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.ft-card p { font-size: 15px; color: var(--color-text-muted); line-height: 1.5; }
.ft-card .cta { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--color-text); display: inline-flex; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid var(--color-border-subtle); }
.ft-card .cta:hover { color: var(--green-100); }

.ft-card.hero { background: linear-gradient(180deg, #0E3B2E 0%, #071A12 100%); color: #fff; border-color: transparent; grid-row: span 1; }
.ft-card.hero:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.ft-card.hero .badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.ft-card.hero h3 { color: #fff; font-size: 26px; }
.ft-card.hero p { color: rgba(255,255,255,0.72); }
.ft-card.hero .cta { color: #7FD48E; border-color: rgba(255,255,255,0.12); }

.ft-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== Explore by goal ===== */
.goals { padding: 96px 0; background: var(--off-white-60); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.goal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.goal-card { padding: 32px 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; transition: all var(--motion-base) var(--ease-standard); position: relative; }
.goal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.goal-card .ic { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #E8F3EA, #C9E0CE); color: #1E7A2B; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.goal-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.goal-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.goal-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }
.goal-card .cta { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--color-text); display: inline-flex; align-items: center; gap: 4px; padding-top: 12px; border-top: 1px solid var(--color-border-subtle); }
.goal-card .cta:hover { color: var(--green-100); }

/* ===== Resource categories — tabs + grid ===== */
.all-res { padding: 96px 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: 0 1px 2px rgba(10,20,40,0.04); margin-bottom: 32px; }
.tab-btn { padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); background: transparent; border: none; border-radius: 999px; cursor: pointer; transition: all var(--motion-base) var(--ease-standard); font-family: inherit; display: inline-flex; align-items: center; gap: 8px; }
.tab-btn:hover { color: var(--color-text); background: var(--off-white-60); }
.tab-btn.active { color: #fff; background: var(--color-text); }
.tab-btn .count { font-size: 11px; opacity: 0.5; font-weight: 500; }
.tab-btn.active .count { opacity: 0.7; }

.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.res-viewall { margin-top: 32px; display: flex; justify-content: center; }
.res-viewall .btn .arr { width: 14px; height: 14px; transition: transform 160ms ease; }
.res-viewall .btn:hover .arr { transform: translateX(3px); }
.res-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: all var(--motion-base) var(--ease-standard); }
.res-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.res-card.hidden { display: none; }
.res-card .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; flex: 0 0 auto; width: 100%; min-height: 180px; }
.res-card .thumb::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 24px, transparent 24px 48px); }
/* Cards with a real featured-image background swap the diagonal-stripe
   overlay for a soft bottom vignette so the meta + time pills stay
   readable against any photo. */
.res-card .thumb.has-img::after { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35) 100%); }
.res-card .thumb .meta { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; padding: 5px 10px; background: rgba(255,255,255,0.95); border-radius: 999px; color: var(--color-text); letter-spacing: 0.06em; text-transform: uppercase; z-index: 2; }
.res-card .thumb .time { position: absolute; bottom: 14px; right: 14px; font-size: 11px; font-weight: 600; padding: 5px 10px; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); border-radius: 999px; color: #fff; z-index: 2; display: flex; align-items: center; gap: 4px; }
.res-card .thumb .time svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.res-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.res-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -0.005em; }
.res-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }
.res-card .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--color-border-subtle); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.res-card .foot .ind { color: var(--color-text-subtle); font-weight: 500; }
.res-card .foot .res-cta { font-weight: 600; color: var(--color-text); }
.res-card:hover .foot .res-cta { color: var(--green-100); }

/* Thumb gradients per type — with inline SVG scene */
.thumb.guide { background: linear-gradient(135deg, #1E7A2B, #0E3B2E); }
.thumb.report { background: linear-gradient(135deg, #D8C9B0, #A89076); }
.thumb.template { background: linear-gradient(135deg, #BDC9D6, #6B7889); }
.thumb.webinar { background: linear-gradient(135deg, #4E6D54, #2E4735); }
.thumb.blog { background: linear-gradient(135deg, #6E7E95, #3A4557); }
.res-card .thumb .scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.res-card .thumb .scene svg { width: 56%; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.22)); }

/* ===== Featured guide ===== */
.fg { padding: 96px 0; background: var(--off-white-60); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.fg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fg-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; margin-bottom: 18px; }
.fg-grid p.lead { font-size: 17px; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 24px; }
.fg-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.fg-bullets li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 16px; color: var(--color-text); line-height: 1.5; }
.fg-bullets li svg { width: 18px; height: 18px; stroke: var(--green-100); fill: none; stroke-width: 2.5; margin-top: 3px; flex-shrink: 0; }
.fg-visual { aspect-ratio: 5/6; border-radius: 20px; background: linear-gradient(135deg, #1E7A2B 0%, #0E3B2E 100%); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); padding: 60px 50px; display: flex; flex-direction: column; justify-content: space-between; }
.fg-visual::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 30px, transparent 30px 60px); pointer-events: none; }
.fg-visual .label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 0.12em; text-transform: uppercase; }
.fg-visual h4 { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.2; letter-spacing: -0.015em; color: #fff; margin-top: 8px; position: relative; z-index: 1; }
.fg-visual .author { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.fg-visual .author .avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-display); font-size: 14px; }
.fg-visual .author .info strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.fg-visual .author .info span { font-size: 12px; color: rgba(255,255,255,0.65); }
.fg-visual .pages { position: absolute; right: -60px; bottom: -40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; transform: rotate(-8deg); opacity: 0.25; }
.fg-visual .pages div { width: 70px; aspect-ratio: 3/4; background: rgba(255,255,255,0.15); border-radius: 4px; }

/* ===== Sample reports band ===== */
.sr-band { padding: 96px 0; }
.sr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sr-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 16px; margin-bottom: 12px; max-width: 560px; }
.sr-head p.lead { font-size: 16px; color: var(--color-text-muted); line-height: 1.55; max-width: 560px; }
.sr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sr-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: all var(--motion-base) var(--ease-standard); }
.sr-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.sr-card .thumb-sm { aspect-ratio: 3/4; border-radius: 8px; position: relative; overflow: hidden; }
.sr-card .thumb-sm::after { content: ''; position: absolute; inset: 18px; background: #fff; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.sr-card.a .thumb-sm { background: linear-gradient(135deg, #D8C9B0, #A89076); }
.sr-card.b .thumb-sm { background: linear-gradient(135deg, #BDC9D6, #6B7889); }
.sr-card.c .thumb-sm { background: linear-gradient(135deg, #9BB59F, #4E6D54); }
.sr-card.d .thumb-sm { background: linear-gradient(135deg, #DCC6B1, #A88A6F); }
.sr-card .lbl { font-size: 11px; font-weight: 700; color: var(--green-100); letter-spacing: 0.08em; text-transform: uppercase; }
.sr-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.sr-card .meta { font-size: 12px; color: var(--color-text-subtle); }

/* ===== Webinars ===== */
.webinars { padding: 96px 0; background: var(--off-white-60); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.web-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.web-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 16px; margin-bottom: 12px; max-width: 560px; }
.web-head p.lead { font-size: 16px; color: var(--color-text-muted); line-height: 1.55; max-width: 540px; }
.web-head .web-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.web-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.web-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; transition: all var(--motion-base) var(--ease-standard); }
.web-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.web-card .thumb-w { aspect-ratio: 16/9; position: relative; overflow: hidden; background: linear-gradient(135deg, #1E7A2B, #0E3B2E); display: flex; align-items: center; justify-content: center; }
/* Subtle bottom-half scrim — matches the .rc-webinar-card .player::after
 * treatment on the /resources/tours/ archive so the play badge feels
 * grounded on busy thumbnails. */
.web-card .thumb-w::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%); pointer-events: none; }
.web-card .thumb-w .play { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--anthracite-90); border: 0; display: flex; align-items: center; justify-content: center; color: #fff; transition: transform var(--motion-base) var(--ease-standard), background var(--motion-base) var(--ease-standard); }
.web-card:hover .thumb-w .play { transform: scale(1.08); background: var(--anthracite-100); }
.web-card .thumb-w .play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 4px; }
.web-card .thumb-w .time { position: absolute; bottom: 12px; right: 12px; font-size: 11px; font-weight: 600; padding: 4px 10px; background: rgba(0,0,0,0.65); color: #fff; border-radius: 999px; }
.web-card .body { padding: 20px 22px; }
.web-card .ind { font-size: 11px; font-weight: 700; color: var(--color-text-subtle); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.web-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.web-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* ===== Blog ===== */
.blog-band { padding: 96px 0; }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.blog-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 16px; margin-bottom: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { display: flex; flex-direction: column; gap: 12px; transition: transform var(--motion-base) var(--ease-standard); }
.blog-card:hover { transform: translateY(-2px); }
.blog-card .thumb { aspect-ratio: 16/10; border-radius: 12px; background: linear-gradient(135deg, #D8C9B0, #A89076); border: 1px solid var(--color-border); margin-bottom: 6px; }
.blog-card.b .thumb { background: linear-gradient(135deg, #BDC9D6, #6B7889); }
.blog-card.c .thumb { background: linear-gradient(135deg, #9BB59F, #4E6D54); }
.blog-card .meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--color-text-subtle); }
.blog-card .meta .cat { font-weight: 700; color: var(--green-100); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.blog-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.005em; }
.blog-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* ===== Dev / Help ===== */
.devhelp { padding: 96px 0; background: #0E1C2E; color: #fff; position: relative; overflow: hidden; }
.devhelp::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(127, 212, 142, 0.08), transparent 60%); pointer-events: none; }
.dh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.dh-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; color: #fff; margin-top: 16px; margin-bottom: 18px; }
.dh-grid p.lead { font-size: 17px; color: rgba(255,255,255,0.72); line-height: 1.55; margin-bottom: 28px; }
.dh-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.dh-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; color: #fff; transition: all var(--motion-base) var(--ease-standard); }
.dh-links a:hover { background: rgba(255,255,255,0.08); border-color: rgba(127, 212, 142, 0.4); transform: translateX(2px); }
.dh-links a .ic { width: 36px; height: 36px; border-radius: 8px; background: rgba(127, 212, 142, 0.15); color: #7FD48E; display: flex; align-items: center; justify-content: center; }
.dh-links a .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.dh-links a strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.dh-links a span { font-size: 13px; color: rgba(255,255,255,0.6); }
.dh-links a .arr { width: 16px; height: 16px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 2; transition: transform var(--motion-base) var(--ease-standard), stroke var(--motion-base) var(--ease-standard); }
.dh-links a:hover .arr { stroke: #7FD48E; transform: translateX(2px); }

.dh-code { background: #071625; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; }
.dh-code-head { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.dh-code-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dh-code-head .dot.r { background: #FF5F57; }
.dh-code-head .dot.y { background: #FEBC2E; }
.dh-code-head .dot.g { background: #28C840; }
.dh-code-head .path { font-size: 12px; color: rgba(255,255,255,0.5); font-family: ui-monospace, monospace; margin-left: 8px; }
.dh-code pre { padding: 24px; margin: 0; font-family: ui-monospace, monospace; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.85); overflow-x: auto; }
.dh-code .kw { color: #C4A4FF; }
.dh-code .fn { color: #7FD48E; }
.dh-code .st { color: #FFB77F; }
.dh-code .cm { color: rgba(255,255,255,0.4); }
.dh-code .pr { color: #8FD8FF; }

/* ===== Final CTA ===== */
.final-cta { background: var(--gradient-primary); color: #fff; padding: 96px 0; text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; color: #fff; max-width: 820px; margin: 0 auto 20px; line-height: 1.1; }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 17px; margin: 0 auto 32px; max-width: 620px; line-height: 1.5; }
.final-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .ft-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-grid, .sr-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-grid, .dh-grid { grid-template-columns: 1fr; }
  .res-grid, .web-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .ft-grid, .goal-grid, .res-grid, .web-grid, .blog-grid, .sr-grid { grid-template-columns: 1fr; }
  .r-hero h1 { font-size: 42px; }
}

