@charset "UTF-8";
/* ==========================================================================
   Resume.info — design system  (v2.0.0)
   Token-driven, responsive, light + dark. No build step.
   ========================================================================== */

/* ------------------------------------------------------------- 1. tokens -- */
:root {
  /* surfaces */
  --bg:            #ffffff;
  --bg-subtle:     #f6f8fa;
  --bg-sunken:     #edf1f5;
  --surface:       #ffffff;
  --surface-raise: #ffffff;

  /* lines */
  --border:        #dde4ec;
  --border-strong: #c3ced9;

  /* text */
  --text:       #101b2d;
  --text-muted: #53637a;
  --text-invert:#ffffff;

  /* brand */
  --brand:       #0e5578;
  --brand-hover: #0a4560;
  --brand-soft:  #e3f0f6;
  --on-brand:    #ffffff;

  /* accent (calls to action) */
  --accent:       #c2410c;
  --accent-hover: #9a3412;
  --accent-soft:  #fdf0e8;
  --on-accent:    #ffffff;

  /* status */
  --success:      #15803d;
  --success-soft: #e9f6ee;

  /* effects */
  --shadow-sm: 0 1px 2px rgb(16 27 45 / .06), 0 1px 3px rgb(16 27 45 / .08);
  --shadow-md: 0 4px 10px rgb(16 27 45 / .07), 0 12px 28px rgb(16 27 45 / .08);
  --shadow-lg: 0 10px 24px rgb(16 27 45 / .10), 0 28px 56px rgb(16 27 45 / .10);
  --ring: 0 0 0 3px color-mix(in srgb, var(--brand) 32%, transparent);

  /* geometry */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --measure: 68ch;
  --page-max: 1180px;
  --gutter: 20px;

  /* type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --step--1: clamp(.82rem, .80rem + .10vw, .875rem);
  --step-0:  clamp(1rem, .97rem + .16vw, 1.075rem);
  --step-1:  clamp(1.15rem, 1.09rem + .30vw, 1.33rem);
  --step-2:  clamp(1.35rem, 1.23rem + .58vw, 1.72rem);
  --step-3:  clamp(1.6rem, 1.38rem + 1.05vw, 2.25rem);
  --step-4:  clamp(1.95rem, 1.55rem + 1.95vw, 3rem);
  --step-5:  clamp(2.3rem, 1.66rem + 3.05vw, 3.9rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #0b121b;
    --bg-subtle:     #111b27;
    --bg-sunken:     #0e1721;
    --surface:       #131f2c;
    --surface-raise: #182635;

    --border:        #24354a;
    --border-strong: #35485f;

    --text:       #e7edf4;
    --text-muted: #9baac0;

    --brand:       #56b6de;
    --brand-hover: #7fcbeb;
    --brand-soft:  #10293a;
    --on-brand:    #06202e;

    --accent:       #f97316;
    --accent-hover: #fb923c;
    --accent-soft:  #2a1710;
    --on-accent:    #24120a;

    --success:      #4ade80;
    --success-soft: #10241a;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / .40);
    --shadow-md: 0 4px 10px rgb(0 0 0 / .45), 0 12px 28px rgb(0 0 0 / .35);
    --shadow-lg: 0 10px 24px rgb(0 0 0 / .50), 0 28px 56px rgb(0 0 0 / .40);
  }
}
:root[data-theme="dark"] {
  --bg:            #0b121b;
  --bg-subtle:     #111b27;
  --bg-sunken:     #0e1721;
  --surface:       #131f2c;
  --surface-raise: #182635;
  --border:        #24354a;
  --border-strong: #35485f;
  --text:       #e7edf4;
  --text-muted: #9baac0;
  --brand:       #56b6de;
  --brand-hover: #7fcbeb;
  --brand-soft:  #10293a;
  --on-brand:    #06202e;
  --accent:       #f97316;
  --accent-hover: #fb923c;
  --accent-soft:  #2a1710;
  --on-accent:    #24120a;
  --success:      #4ade80;
  --success-soft: #10241a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .40);
  --shadow-md: 0 4px 10px rgb(0 0 0 / .45), 0 12px 28px rgb(0 0 0 / .35);
  --shadow-lg: 0 10px 24px rgb(0 0 0 / .50), 0 28px 56px rgb(0 0 0 / .40);
}

/* --------------------------------------------------------------- 2. base -- */
*, *::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: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--brand-hover); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: var(--on-brand);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ 3. layout --- */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(2.75rem, 1.6rem + 4.2vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.section--subtle { background: var(--bg-subtle); }
.section--sunken { background: var(--bg-sunken); }

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.measure { max-width: var(--measure); }
.mx-auto { margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* content + rail */
.layout-rail {
  display: grid;
  gap: clamp(1.75rem, 1rem + 2.6vw, 3rem);
  align-items: start;
}
@media (min-width: 62rem) {
  .layout-rail { grid-template-columns: minmax(0, 1fr) 20rem; }
  .layout-rail__aside { position: sticky; top: 6rem; }
}

/* ----------------------------------------------------------- 4. eyebrow --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow--plain::before { display: none; }

/* ----------------------------------------------------------- 5. buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }

.btn--brand { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }
.btn--brand:hover { background: var(--brand-hover); color: var(--on-brand); }

.btn--outline { background: transparent; color: var(--brand); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }

.btn--ghost { background: transparent; color: var(--text); padding-inline: .8rem; }
.btn--ghost:hover { background: var(--bg-sunken); color: var(--text); }

.btn--lg { font-size: var(--step-1); padding: 1rem 1.9rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row--center { justify-content: center; }

/* ------------------------------------------------------------ 6. header --- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--bg); } }

.topbar {
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--step--1);
}
.topbar a { color: inherit; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: inherit; text-decoration: underline; }
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .4rem 1.4rem; padding-block: .5rem;
}
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }

.header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex; align-items: baseline; gap: .12rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand__dot { color: var(--accent); }
.brand__tld { color: var(--brand); }

/* desktop nav */
.nav { display: none; }
@media (min-width: 64rem) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 550;
  color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.nav__link:hover { background: var(--bg-sunken); color: var(--text); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__caret { width: .6rem; height: .6rem; flex: none; transition: transform .18s ease; }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + .45rem); left: 0;
  min-width: 46rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem;
  padding: 1.5rem;
  background: var(--surface-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-.35rem);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item--open .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel-title {
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 .6rem;
}
.nav__panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.nav__panel-list a {
  display: block; padding: .4rem .55rem; margin-inline: -.55rem;
  border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--text); text-decoration: none;
}
.nav__panel-list a:hover { background: var(--brand-soft); color: var(--brand); }

.header__cta { display: none; white-space: nowrap; }
@media (min-width: 48rem) { .header__cta { display: inline-flex; } }
@media (min-width: 64rem) and (max-width: 78rem) {
  .nav__link { padding-inline: .55rem; font-size: .9rem; }
  .header__cta { padding: .7rem 1rem; font-size: .9rem; }
}

/* mobile toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  background: none; border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); cursor: pointer;
}
@media (min-width: 64rem) { .nav-toggle { display: none; } }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  max-height: calc(100dvh - 4.5rem);
  overflow-y: auto;
  padding-block: 1rem 2rem;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 64rem) { .mobile-nav, .mobile-nav.is-open { display: none; } }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > .wrap > ul > li + li { border-top: 1px solid var(--border); }
.mobile-nav a {
  display: block; padding: .8rem .25rem; color: var(--text);
  text-decoration: none; font-weight: 550;
}
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav details > summary {
  list-style: none; cursor: pointer;
  padding: .8rem .25rem; font-weight: 550;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav details > summary::-webkit-details-marker { display: none; }
.mobile-nav details > summary::after { content: "+"; color: var(--text-muted); font-size: 1.2rem; }
.mobile-nav details[open] > summary::after { content: "–"; }
.mobile-nav details ul { padding: 0 0 .6rem .9rem; border-left: 2px solid var(--border); margin-left: .25rem; }
.mobile-nav details a { padding: .5rem .25rem; font-weight: 400; font-size: .95rem; }
.mobile-nav__group { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted); font-weight: 700; padding: .7rem .25rem .2rem; }

/* -------------------------------------------------------------- 7. hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 82% -12%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 62%),
    radial-gradient(44rem 26rem at 4% 108%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid; gap: clamp(2rem, 1rem + 3.5vw, 3.5rem);
  padding-block: clamp(3rem, 1.8rem + 4.6vw, 5.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
}
.hero h1 { margin-bottom: .45em; }
.hero__lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero__proof {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  margin-top: 1.8rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: var(--step--1); color: var(--text-muted);
}
.hero__proof strong { color: var(--text); font-size: var(--step-1); display: block; font-family: var(--font-display); }

/* ------------------------------------------------------------- 8. cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, .9rem + 1.1vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.card--raised { box-shadow: var(--shadow-md); }
.card h3 { font-size: var(--step-1); margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card-link {
  display: flex; flex-direction: column; gap: .5rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card-link:hover {
  color: inherit;
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-link__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--text); }
.card-link:hover .card-link__title { color: var(--brand); }
.card-link__desc { color: var(--text-muted); font-size: .95rem; margin: 0; }
.card-link__more { margin-top: auto; padding-top: .4rem; color: var(--brand); font-weight: 600; font-size: .9rem; }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.steps > li { position: relative; padding-left: 3.4rem; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .25em; }
.steps p { color: var(--text-muted); margin-bottom: 0; }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checklist > li { position: relative; padding-left: 1.9rem; }
.checklist > li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 1.15rem; height: .6rem;
  border-left: 2.5px solid var(--success);
  border-bottom: 2.5px solid var(--success);
  transform: rotate(-45deg) translateY(-.1em);
  border-radius: 1px;
}

/* quotes */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: .97rem; }
.quote__lead { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; margin-bottom: .6rem; }
.quote cite, .quote .signature {
  display: block; margin-top: .8rem;
  font-style: normal; font-size: .85rem; font-weight: 600;
  color: var(--text-muted);
}
.quote-grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 46rem) { .quote-grid { columns: 2; } }
@media (min-width: 72rem) { .quote-grid { columns: 3; } }
.quote-grid > * { break-inside: avoid; margin-bottom: 1.25rem; }

/* stats */
.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: var(--step-4); font-weight: 700; color: var(--brand); line-height: 1; }
.stat__label { font-size: var(--step--1); color: var(--text-muted); margin-top: .4rem; }

/* callout / guarantee band */
.callout {
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  text-align: center;
}
.callout h2 { color: inherit; }
.callout p { color: color-mix(in srgb, var(--on-brand) 82%, transparent); max-width: 46rem; margin-inline: auto; }
.callout .btn--primary { box-shadow: var(--shadow-md); }
.callout .btn--outline { color: var(--on-brand); border-color: color-mix(in srgb, var(--on-brand) 45%, transparent); }
.callout .btn--outline:hover {
  background: color-mix(in srgb, var(--on-brand) 12%, transparent);
  border-color: var(--on-brand); color: var(--on-brand);
}

.note {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .95rem;
}
.note strong { color: var(--accent); }

/* aside CTA card */
.cta-card { text-align: center; }
.cta-card__phone {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  margin: .3rem 0 .2rem;
  white-space: nowrap;
}
.cta-card__phone:hover { color: var(--brand-hover); }
.cta-card small { color: var(--text-muted); font-size: var(--step--1); }

/* badge */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--success-soft); color: var(--success);
  border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: var(--step--1); font-weight: 650;
}

/* ------------------------------------------------------------- 9. prose --- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-3); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h4 { font-size: var(--step-1); margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose dt { font-weight: 650; margin-top: 1.1em; }
.prose dd { margin: .25em 0 0; color: var(--text-muted); }
.prose blockquote {
  margin: 1.6em 0; padding: .2em 0 .2em 1.2em;
  border-left: 3px solid var(--accent);
  color: var(--text-muted); font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-weight: 650; background: var(--bg-subtle); }
.prose code {
  background: var(--bg-sunken); padding: .12em .4em; border-radius: var(--radius-sm);
  font-size: .9em;
}

.lede { font-size: var(--step-1); color: var(--text-muted); }

/* float image inside prose, but never on small screens */
.prose .figure-right { margin: 0 0 1.25rem; }
@media (min-width: 46rem) {
  .prose .figure-right { float: right; width: 13rem; margin: .3rem 0 1.25rem 1.75rem; }
}

/* ---------------------------------------------------------- 10. samples --- */
.sample-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sample {
  display: flex; gap: .95rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sample:hover { border-color: var(--brand); box-shadow: var(--shadow-md); color: inherit; }
.sample__icon {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .04em;
}
.sample__title { font-weight: 650; display: block; margin-bottom: .15rem; }
.sample:hover .sample__title { color: var(--brand); }
.sample__desc { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ------------------------------------------------------------- 11. blog --- */
.post-list { display: grid; gap: 1.25rem; }
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.post-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.post-card h2, .post-card h3 { font-size: var(--step-2); margin-bottom: .35em; }
.post-card h2 a, .post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brand); }
.post-meta { font-size: var(--step--1); color: var(--text-muted); margin-bottom: .6rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.post-excerpt { color: var(--text-muted); margin-bottom: .9rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tag {
  display: inline-block; padding: .22rem .7rem;
  background: var(--bg-sunken); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: .78rem; text-decoration: none;
}
.tag:hover { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); }

.pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
  display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem;
  padding-inline: .7rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text); font-size: .92rem;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current="page"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); font-weight: 600; }

.breadcrumb { font-size: var(--step--1); color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ----------------------------------------------------------- 12. footer --- */
.site-footer {
  background: var(--bg-sunken);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.5rem, 1.6rem + 3vw, 4rem) 2rem;
  font-size: .93rem;
}
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 60rem) { .footer__brand { grid-column: auto; } }
.footer__title {
  font-family: var(--font-sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 .9rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__list a { color: var(--text); text-decoration: none; }
.footer__list a:hover { color: var(--brand); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--text-muted); line-height: 1.75; }
.footer__phone {
  display: inline-block; margin-top: .6rem;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700;
  color: var(--brand); text-decoration: none;
}
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between;
  color: var(--text-muted); font-size: .85rem;
}
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 0; padding: 0; }
.footer__bottom a { color: var(--text-muted); }
.footer__bottom a:hover { color: var(--brand); }

/* ------------------------------------------------------------- 13. misc --- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

@media print {
  .site-header, .site-footer, .callout, .btn, .nav-toggle, .topbar { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ------------------------------------------------------------ 14. forms --- */
label { display: inline-block; margin-bottom: .35rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="search"], select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}
textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%2353637a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 3.5 5 7 8.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: .7rem;
  padding-right: 2.2rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%239baac0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 3.5 5 7 8.5 3.5'/%3E%3C/svg%3E");
  }
}

::placeholder { color: var(--text-muted); opacity: 1; }
