/* Blazdell Consultancy — site styles */
:root {
  --ink: #474B4F;
  --ink-strong: #2E3134;
  --body: #4F555A;
  --muted: #5E656B;
  --paper: #F4F5F4;
  --surface: #FFFFFF;
  --line: #D6DAD9;
  --line-soft: #E6E9E8;
  --yellow: #F6C446;
  --yellow-tint: #FCEBB9;
  --font: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(90px + env(safe-area-inset-top, 0px)); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink-strong); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1; font-stretch: 118%; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; font-stretch: 112%; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--body); max-width: 38em; }
.muted { color: var(--muted); }
.placeholder { background: var(--yellow-tint); padding: 0 4px; border-radius: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244,245,244,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; min-width: 220px; box-shadow: 0 10px 30px rgba(46,49,52,.14); }
  .menu nav a { padding: 12px 14px; text-decoration: none; border-radius: 4px; }
  .menu nav a:hover { background: var(--paper); }
}

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; padding: 16px 26px; border-radius: 6px; text-decoration: none; border: 1px solid transparent; text-align: center; cursor: pointer; }
.btn-primary { background: var(--yellow); color: var(--ink-strong); }
.btn-primary:hover { background: #F2B91F; color: var(--ink-strong); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: #B9C0BE; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: var(--ink-strong); color: #FFFFFF; }
.btn-sm { padding: 12px 20px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #FFFFFF; }
.band-dark h2, .band-dark h3 { color: #FFFFFF; }
.band-dark .lead, .band-dark p { color: #D9DDDF; }
.band-yellow { background: var(--yellow); }
.band-yellow .lead { color: #3A3D40; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.stack { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-top: clamp(56px, 8vw, 96px); }
.hero .split { align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 860px) { .hero .split { grid-template-columns: 1fr; } }
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .wrap.stack > * { max-width: 820px; }
.page-hero .split .stack { max-width: none; }

/* Chart card */
.chart-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.chart-card figcaption { font-size: 15px; color: var(--body); border-top: 1px solid var(--line-soft); padding-top: 14px; }

/* Problem grid */
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.problem-grid > div { padding: 22px 0; border-top: 1px solid var(--line); }
.problem-grid > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.problem-grid h3 { font-size: 1.2rem; margin-bottom: 4px; }
.problem-grid p { font-size: 16px; color: var(--muted); }
@media (max-width: 640px) { .problem-grid { grid-template-columns: 1fr; } .problem-grid > div:nth-last-child(2) { border-bottom: 0; } }

/* Results */
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1000px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } }
.result { border-top: 3px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 20px; }
.result .sector { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.metric { display: flex; flex-direction: column; }
.metric b { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; line-height: 1.15; align-self: flex-start; box-shadow: inset 0 -0.35em 0 var(--yellow); }
.metric span { font-size: 15px; color: var(--body); }
.result .when { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 1px solid #6E7479; padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-size: 2.6rem; font-weight: 800; font-stretch: 125%; color: var(--yellow); line-height: 1; }
.steps h3 { font-size: 1.25rem; }
.steps p { font-size: 16px; }
.band-white .steps li, .steps.light li { border-top-color: var(--line); }
.steps.light .n { color: var(--ink); box-shadow: inset 0 -0.3em 0 var(--yellow); align-self: flex-start; }
.steps.light p { color: var(--body); }

/* Checklist card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3vw, 40px); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line-soft); font-size: 17px; }
.checks li:first-child { border-top: 0; }
.checks svg { flex: none; margin-top: 3px; }
.price { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 115%; }

/* Case studies */
.case { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
.case .sector { font-size: 15px; color: var(--muted); }
.case h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.case h3 { font-size: 1.05rem; margin-top: 8px; }
.case p { color: var(--body); }
.case aside { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.case aside .when { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 12px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--body); max-width: 60ch; }

/* Founder */
.photo { aspect-ratio: 4 / 5; border-radius: 10px; background: #E3E6E5; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { background: var(--ink); border-top: 12px solid var(--yellow); color: #FFFFFF; padding: 48px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.site-footer a { color: #FFFFFF; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer .top img { height: 40px; width: auto; display: block; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 16px; }
.site-footer .copy { border-top: 1px solid #6E7479; margin-top: 32px; padding-top: 22px; text-align: center; color: #E4E6E7; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps.three { grid-template-columns: 1fr; } }
.help { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .help { grid-template-columns: 1fr; } }
.metric b { white-space: nowrap; }
.metric b.long { font-size: clamp(1.4rem, 2.1vw, 1.75rem); }
.contact-detail { font-size: 16px; font-weight: 600; line-height: 1.45; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.45rem; font-stretch: 105%; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ol, .legal ul { padding-left: 1.3em; margin: 12px 0 0; }
.legal li + li { margin-top: 8px; }
.legal .note { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; font-size: 16px; }
.site-footer .legal-line { margin-top: 18px; text-align: center; color: #D2D6D8; font-size: 14px; line-height: 1.6; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 12px; font-size: 14px; }
.site-footer .placeholder { color: #2E3134; }
