:root {
  --ink: #161e25;
  --muted: #535c64;
  --paper: #f9f8f5;
  --orange: #ff853b;
  --accent: #a63e0b;
  --line: #e1ded7;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p { line-height: 1.6; margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.07; }
h1, h2 { letter-spacing: -.052em; }
h3 { letter-spacing: -.028em; }
h2 { font-size: clamp(2.25rem, 4.7vw, 4rem); }
h3 { font-size: 1.42rem; }
:focus-visible { outline: 3px solid #d15616; outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1220px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 5; background: white; padding: 12px; }
.skip:focus { top: 8px; }
.header, .footer { background: #fff; }
.header-inner, .footer-inner { display: flex; min-height: 85px; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { height: auto; }
.header nav, .footer nav { display: flex; gap: clamp(16px, 3vw, 38px); }
.header nav a, .footer nav a { text-decoration: none; font-size: .94rem; font-weight: 650; }
.header nav a:hover, .footer nav a:hover { color: var(--accent); }
.button {
  background: var(--orange); color: #171d22; padding: 15px 20px; min-height: 50px; border: 1px solid transparent; border-radius: 5px;
  font: inherit; font-weight: 750; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 16px; cursor: pointer; white-space: nowrap;
}
.button:hover { background: #ffa26a; }
.button span { font-size: 1.12rem; line-height: 1; }
.button.small { min-height: 42px; padding: 10px 15px; font-size: .88rem; }
.button.outline { color: white; background: #141b2370; border-color: #ffffff65; }
.button.outline:hover { background: #3c444c; }
.hero {
  color: white;
  background: linear-gradient(90deg, #10171ffb 0%, #111923f0 26%, #1119239e 49%, #141b2110 75%), url("hero.webp") center 58% / cover, #172029;
}
.hero-inner { display: flex; align-items: center; min-height: clamp(470px, 45vw, 650px); padding-block: 80px; }
.hero-content { max-width: 730px; }
.eyebrow { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: var(--accent); }
.eyebrow span { width: 18px; height: 2px; background: currentColor; flex-shrink: 0; }
.hero .eyebrow, .contact .eyebrow { color: #ffa76f; }
.hero h1 { font-size: clamp(3.35rem, 6.5vw, 6.1rem); line-height: .99; }
.hero h1 span { color: var(--orange); }
.hero-copy { font-size: clamp(1rem, 1.65vw, 1.25rem); color: #f0f1f2; margin: 22px 0 29px; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.service-area {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 14px;
  border-left: 3px solid var(--orange);
  background: #151d25;
  color: white;
  font-size: 1.0625rem;
  font-weight: 750;
}
.service-area span { color: #ffae7a; }
.service-strip { background: #1e252d; color: #f2f4f5; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 44px; padding-block: 20px; font-weight: 650; font-size: .91rem; }
.strip-inner span { display: flex; align-items: center; gap: 9px; }
.strip-inner i { color: #ff9b60; font-style: normal; }
.section { padding-block: clamp(60px, 7vw, 105px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading > p { max-width: 350px; color: var(--muted); }
.courses, .steps { display: grid; gap: 18px; }
.courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course { position: relative; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 7px; display: flex; flex-direction: column; align-items: flex-start; }
.tag { color: var(--accent); background: #fff1e7; border-radius: 4px; padding: 5px 9px; font-size: .76rem; font-weight: 750; }
.course-icon { width: 54px; height: 54px; margin: 19px 0 12px; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.course h3 { overflow-wrap: anywhere; }
.course p, .steps p, .bio p, .questions p { color: var(--muted); margin-block: 12px 22px; }
.course a { color: var(--accent); text-decoration: none; font-weight: 750; margin-top: auto; }
.course a:hover { text-decoration: underline; }
.course a span { padding-left: 4px; }
.process, .faq { background: #efede8; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; }
.steps li { border-top: 1px solid #d0cbc3; padding: 20px 12px 0 0; }
.steps li > span { display: block; font-size: 1.65rem; font-weight: 750; color: var(--accent); margin-bottom: 13px; }
.steps p { margin-bottom: 0; }
.bio, .faq-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 85px); }
.bio { align-items: center; }
.bio-name { border-left: 4px solid var(--orange); padding-left: 25px; }
.bio-name .eyebrow { margin: 0 0 15px; color: var(--accent); }
.bio p:last-child { margin-bottom: 0; }
.questions { border-top: 1px solid #d0cbc3; }
.questions details { border-bottom: 1px solid #d0cbc3; padding: 18px 0; }
.questions summary { font-weight: 750; cursor: pointer; }
.questions p { margin-bottom: 0; }
.contact { background: #151d25; color: white; }
.contact-grid > div:first-child > p:not(.eyebrow) { margin-top: 18px; color: #d6dbe0; }
.contact-details { display: grid; gap: 8px; margin-top: 18px; color: #d6dbe0; }
.contact-details p:not([hidden]) { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 8px; margin: 0; }
.contact-details a { overflow-wrap: anywhere; }
.form-card { background: white; border-radius: 7px; padding: clamp(18px, 3vw, 33px); color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields .wide { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 700; }
label span { color: var(--accent); }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); padding: 10px 11px; background: #faf9f7; border: 1px solid #cac7bf; border-radius: 4px; }
label input, label select, label textarea { display: block; margin-top: 5px; font-weight: 450; }
textarea { resize: vertical; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.privacy-check input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: 2px 0 0; accent-color: var(--accent); }
.privacy-check > span { color: var(--ink); }
.privacy-check a { text-decoration: underline; text-underline-offset: 2px; }
.form-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.form-bottom p, .preview-note, .inquiry-status { font-size: .85rem; color: var(--muted); margin: 0; }
.preview-note, .inquiry-status:not(:empty) { margin-top: 12px; }
.inquiry-status[data-state="error"] { color: #a52118; }
.footer-inner { flex-wrap: wrap; padding-block: 20px; }
.footer small { color: var(--muted); }
.footer nav { flex-wrap: wrap; align-items: center; row-gap: 10px; }
.cookie-settings-link { appearance: none; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .94rem; font-weight: 650; cursor: pointer; }
.cookie-settings-link:hover { color: var(--accent); }
.cookie-panel {
  position: fixed; z-index: 20; inset: auto 16px 16px auto;
  width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: clamp(16px, 4vw, 25px); border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); box-shadow: 0 10px 35px #151d2533;
}
.cookie-panel h2 { font-size: 1.3rem; margin: 0 0 8px; }
.cookie-panel p { margin: 0; font-size: .9rem; }
.cookie-panel a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; margin-top: 15px; }
.cookie-actions button { min-height: 44px; padding: 7px 10px; border: 1px solid #27323c; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.cookie-actions button:hover, .cookie-actions button[aria-expanded="true"] { background: #fff1e7; }
.cookie-options { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.cookie-options h3 { font-size: .95rem; margin: 0 0 4px; }

.legal { max-width: 770px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 28px 0 10px; }
.legal p + p { margin-top: 12px; }
.notice { background: #fff1e7; border-left: 4px solid var(--orange); margin-top: 18px; padding: 16px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header .brand img { width: 205px; }
  .course { padding: 19px; }
  .section-heading > p { max-width: 280px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 72px; }
  .header nav { display: none; }
  .hero { background-position: center, 62% center, center; }
  .hero h1 { font-size: clamp(2rem, 10.4vw, 3.8rem); }
  .hero-inner { min-height: 490px; padding-block: 65px; }
  .section-heading, .bio, .faq-grid, .contact-grid { display: grid; grid-template-columns: 1fr; }
  .section-heading > p { max-width: 100%; }
  .courses, .steps { grid-template-columns: 1fr; }
  .course { padding: 22px; }
}
@media (max-width: 440px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 12px; }
  .header .brand img { width: 165px; }
  .header .button { padding-inline: 8px; gap: 7px; font-size: .75rem; }
  .hero { background-image: linear-gradient(90deg, #10171ff5, #111923a6 70%, #141b2180), url("hero.webp"); }
  .strip-inner { gap: 10px; }
  .fields { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

.refreshers { border-top: 1px solid var(--line); }
.refreshers .section-heading h2 { overflow-wrap: anywhere; }
.refreshers .section-heading > p { flex: 0 0 min(100%, 350px); }
.refresher-note { color: var(--muted); max-width: 850px; margin-top: 18px; }
.fields select { min-width: 0; }
@media (max-width: 960px) {
  .header nav { gap: 14px; }
}
@media (max-width: 810px) {
  .header nav { display: none; }
}
