:root {
  --navy: #06183b;
  --navy-2: #0a2556;
  --ink: #10213a;
  --teal: #064a55;
  --gold: #f4b800;
  --gold-light: #ffcf24;
  --orange: #f26a00;
  --paper: #f7f4ec;
  --white: #ffffff;
  --muted: #647082;
  --line: rgba(211, 178, 76, 0.36);
  --shadow: 0 24px 70px rgba(16, 29, 67, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.program-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  color: var(--navy);
  background: linear-gradient(90deg, var(--gold-light), #ffb900);
  font-size: 0.92rem;
  font-weight: 1000;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 14px clamp(22px, 5vw, 64px);
  border-bottom: 1px solid rgba(211, 178, 76, 0.3);
  background: rgba(247, 244, 236, 0.94);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: var(--navy);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.54fr);
  gap: 76px;
  align-items: center;
  padding: 66px clamp(32px, 5vw, 76px);
  color: var(--white);
  background:
    linear-gradient(90deg, var(--gold-light) 0 14px, transparent 14px),
    radial-gradient(circle at 93% 10%, rgba(255, 255, 255, 0.12) 0 110px, transparent 111px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy) 56%, var(--navy-2) 100%);
  overflow: hidden;
}

.profile-hero {
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.44fr);
}

.story-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.5fr);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 870px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p,
span,
strong {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 920px;
  color: var(--white);
  font-family: Impact, "Arial Black", Inter, Arial, sans-serif;
  font-size: 5.2rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  max-width: 720px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.subhead {
  margin: 24px 0 0;
  color: var(--gold-light);
  font-size: 1.7rem;
  font-weight: 1000;
}

.hero-rule {
  width: min(520px, 100%);
  height: 4px;
  margin: 28px 0 28px;
  background: linear-gradient(90deg, var(--gold), rgba(211, 178, 76, 0.18));
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  color: var(--white);
  font-size: 1.12rem;
}

.hero-meta span {
  color: var(--gold-light);
}

.hero-meta strong,
.hero-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 207, 36, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-text {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-offer {
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 5px solid var(--gold-light);
  background: rgba(255, 255, 255, 0.09);
}

.hero-offer strong {
  color: var(--gold-light);
  font-weight: 1000;
  text-transform: uppercase;
}

.hero-offer span {
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-email,
.hero-phone,
.hero-social {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(244, 214, 109, 0.78);
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold-light);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  font-weight: 1000;
}

.hero-email {
  margin-top: 28px;
}

.hero-phone,
.hero-social {
  margin-top: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-email:hover,
.hero-phone:hover,
.hero-social:hover {
  background: var(--white);
  color: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
}

.button.primary {
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-logo,
.profile-panel {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(211, 178, 76, 0.5);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 29, 67, 0.68), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-logo img,
.profile-panel img {
  width: 100%;
}

.hero-brand-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(211, 178, 76, 0.62);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8dc 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.hero-brand-card > img {
  width: 100%;
  border-radius: 6px;
}

.achievement-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 16px 42px rgba(6, 24, 59, 0.18);
}

.achievement-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
}

.achievement-photo figcaption {
  padding: 12px 14px;
  color: var(--gold-light);
  background: var(--navy);
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
}

.story-panel,
.success-photo {
  margin: 0;
}

.story-panel {
  position: relative;
  z-index: 1;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(211, 178, 76, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.story-panel img,
.success-photo img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(6, 24, 59, 0.2);
}

.story-panel img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.story-panel figcaption {
  margin-top: 14px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.success-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f7f4ec 100%);
  border-bottom: 1px solid rgba(16, 29, 67, 0.12);
}

.success-preview h2 {
  max-width: 820px;
}

.success-preview p {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.success-preview .button {
  margin-top: 26px;
}

.success-photo img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.success-photo figcaption {
  margin-top: 12px;
  color: var(--teal);
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
}

.nabc-hero h1 {
  max-width: 1040px;
}

.bulletin-panel img {
  aspect-ratio: 840 / 493;
  object-fit: cover;
  object-position: center;
}

.achievement-feature,
.section.achievement-feature {
  display: grid !important;
  grid-template-columns: minmax(280px, 680px) minmax(360px, 760px) !important;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 29, 67, 0.12);
}

.achievement-feature > * {
  min-width: 0;
}

.achievement-feature > div {
  width: 100%;
  max-width: 780px;
}

.achievement-feature h2 {
  max-width: 850px;
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
}

.achievement-feature p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.bulletin-figure {
  width: 100%;
  max-width: 680px;
  margin: 0;
}

.bulletin-figure img {
  width: 100%;
  max-height: 420px;
  border: 1px solid rgba(16, 29, 67, 0.18);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 18px 46px rgba(16, 29, 67, 0.14);
}

.bulletin-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.achievement-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 1000;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.achievement-link:hover {
  color: var(--teal);
}

.program-logo-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.program-logo-card img {
  width: 108px;
}

.program-logo-card span {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.25;
  text-align: left;
}

.hero-brand-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 1000;
  text-align: center;
}

.hero-brand-card p {
  margin: 8px 0 0;
  color: var(--muted);
  text-align: center;
}

.hero-brand-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
}

.hero-brand-card .program-logo-card span {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.25;
  text-align: left;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(20px, 5vw, 64px);
  background: rgba(16, 29, 67, 0.14);
}

.trust-band div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 28px;
  background: var(--white);
}

.trust-program {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
}

.trust-program img {
  grid-row: span 2;
  width: 112px;
}

.trust-band strong {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 1000;
}

.trust-band span,
.trust-band a {
  color: var(--muted);
}

.trust-band a {
  width: fit-content;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.casper-photo {
  aspect-ratio: 520 / 737;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 40px rgba(16, 29, 67, 0.24);
}

.profile-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  color: var(--navy);
}

.profile-panel strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1.05;
}

.profile-panel p {
  margin: 0;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.company-profile,
.local-seo,
.tool-promo {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  background: linear-gradient(135deg, #ffffff 0%, #f4efe0 100%);
  border-bottom: 1px solid rgba(16, 29, 67, 0.12);
}

.local-seo {
  background: var(--white);
}

.tool-promo {
  background: linear-gradient(135deg, #ffffff 0%, #eef1ee 100%);
}

.profile-copy {
  display: grid;
  gap: 18px;
  padding-left: clamp(0px, 3vw, 34px);
  border-left: 3px solid var(--gold);
}

.profile-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.program-note {
  color: var(--navy) !important;
  font-weight: 1000;
}

.split,
.service-model,
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.championship-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.championship-feature h2 {
  color: var(--white);
}

.championship-feature p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.championship-feature figure {
  margin: 0;
}

.championship-feature img {
  width: min(430px, 100%);
  aspect-ratio: 520 / 737;
  border: 1px solid rgba(211, 178, 76, 0.56);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.championship-feature figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.split {
  border-bottom: 1px solid rgba(16, 29, 67, 0.12);
  background: var(--paper);
}

.split > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(20px, 5vw, 64px);
  background: rgba(16, 29, 67, 0.16);
}

.core-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.core-services .feature-card {
  min-height: 360px;
}

.core-services .feature-card h3 {
  font-size: 1.8rem;
}

.core-services .feature-card p {
  font-size: 1.08rem;
}

.feature-card {
  min-height: 310px;
  padding: clamp(26px, 4vw, 42px);
  border-top: 5px solid var(--gold-light);
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(16, 29, 67, 0.14);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--orange);
  font-weight: 1000;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--navy);
  font-weight: 1000;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-link:hover {
  color: var(--teal);
}

.detail-hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
  justify-items: start;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(211, 178, 76, 0.95) 0 14px, transparent 14px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.detail-hero h1 {
  max-width: 900px;
}

.detail-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.16rem;
}

.tool-hero {
  min-height: 46vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(211, 178, 76, 0.95) 0 14px, transparent 14px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.tool-hero h1 {
  max-width: 820px;
}

.tool-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.tool-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tool-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 207, 36, 0.55);
  color: var(--white);
  font-weight: 1000;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.tool-jump-links a:hover {
  background: var(--gold);
  color: var(--navy);
}

.tool-note {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 207, 36, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.tool-note strong {
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 1000;
}

.tool-note span {
  color: rgba(255, 255, 255, 0.78);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: rgba(16, 29, 67, 0.16);
}

.detail-grid article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
}

.detail-grid h2 {
  font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.detail-grid p {
  margin: 18px 0 0;
  color: var(--muted);
}

.service-model {
  background: #ffffff;
}

.model-list,
.price-grid {
  display: grid;
  gap: 14px;
}

.model-list div,
.price-grid div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 29, 67, 0.14);
}

.model-list strong,
.price-grid strong {
  display: block;
  color: var(--teal);
  font-weight: 1000;
}

.model-list p,
.price-grid span {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
}

.media-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.media-links a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.media-links a:hover {
  color: var(--teal);
}

.converter-shell {
  background: #ffffff;
}

.compact-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.compact-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
}

.compact-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.converter-toolbar,
.converter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.converter-toolbar {
  margin-bottom: 22px;
}

.tool-tab,
.tool-action {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(16, 29, 67, 0.18);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tool-tab.active,
.tool-tab:hover,
.tool-action:hover {
  color: var(--white);
  background: var(--navy);
}

.tool-action.quiet {
  color: var(--muted);
  background: transparent;
}

.tool-action.quiet:hover {
  color: var(--white);
  background: var(--teal);
}

.converter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.converter-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.converter-panel span {
  color: var(--teal);
  font-weight: 1000;
}

.converter-panel textarea {
  width: 100%;
  min-height: 420px;
  resize: vertical;
  padding: 16px;
  border: 1px solid rgba(16, 29, 67, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfaf6;
  font: 0.96rem/1.5 Consolas, "Cascadia Mono", "Courier New", monospace;
}

.converter-panel textarea:focus {
  outline: 3px solid rgba(255, 207, 36, 0.5);
  border-color: var(--gold);
}

.converter-actions {
  margin-top: 20px;
}

.file-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.button.secondary.light {
  color: var(--navy);
  border: 1px solid rgba(16, 29, 67, 0.28);
  background: var(--white);
}

.button.secondary.light:hover {
  color: var(--white);
  background: var(--navy);
}

#converter-status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 900;
}

#converter-status.error {
  color: #b33218;
}

.conversion-progress {
  display: grid;
  grid-template-columns: minmax(160px, 360px) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(16, 29, 67, 0.18);
  border-radius: 999px;
  background: #eef1ee;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  transition: width 180ms ease;
}

#progress-label {
  min-width: 44px;
  color: var(--navy);
  font-weight: 1000;
}

.training-generator {
  background: #f7f4ec;
  border-top: 1px solid rgba(16, 29, 67, 0.12);
}

.training-generator .compact-heading {
  max-width: none;
  margin-bottom: 32px;
}

.training-generator .compact-heading h2 {
  max-width: none;
  font-size: clamp(2.45rem, 3.4vw, 3.65rem);
  line-height: 1.02;
}

.training-generator-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 29, 67, 0.16);
  border-radius: 6px;
  background: #ffffff;
}

.training-controls,
.training-result {
  min-width: 0;
  padding: clamp(26px, 3vw, 40px);
}

.training-controls {
  display: grid;
  align-content: start;
  gap: 18px;
  border-right: 1px solid rgba(16, 29, 67, 0.16);
}

.training-panel-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  margin-bottom: 4px;
}

.training-step {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 1000;
}

.training-panel-heading p,
.training-panel-heading h3 {
  margin: 0;
}

.training-panel-heading p {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.training-panel-heading h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.12;
}

.training-controls > label {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 1000;
}

.training-count-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.training-count-control {
  display: grid;
  grid-template-columns: 44px 86px 44px;
  width: 174px;
  height: 46px;
}

.training-count-control button,
.training-count-control input,
.training-count-presets button {
  border: 1px solid rgba(16, 29, 67, 0.22);
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
}

.training-count-control button {
  display: inline-grid;
  width: 44px;
  height: 46px;
  padding: 0;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.training-count-control button:first-child {
  border-radius: 4px 0 0 4px;
}

.training-count-control button:last-child {
  border-radius: 0 4px 4px 0;
}

.training-count-control input {
  width: 86px;
  min-width: 0;
  height: 46px;
  padding: 0 10px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  text-align: center;
  appearance: textfield;
}

.training-count-control input::-webkit-inner-spin-button,
.training-count-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.training-count-control button:hover,
.training-count-presets button:hover {
  border-color: var(--gold);
  background: #fff8db;
}

.training-count-presets {
  display: inline-grid;
  grid-template-columns: repeat(5, 42px);
  gap: 6px;
}

.training-count-presets button {
  width: 42px;
  height: 36px;
  padding: 0;
  border-radius: 3px;
  cursor: pointer;
}

.training-level-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.training-level-picker legend {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 1000;
}

.training-level-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.training-level-options label {
  min-width: 0;
  cursor: pointer;
}

.training-level-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.training-level-options span {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 29, 67, 0.2);
  border-radius: 4px;
  background: #ffffff;
  color: var(--navy);
}

.training-level-options strong {
  display: block;
  letter-spacing: 0;
}

.training-level-options strong {
  font-size: 0.9rem;
}

.training-level-options label:hover span {
  border-color: var(--gold);
  background: #fffaf0;
}

.training-level-options input:focus-visible + span {
  outline: 3px solid rgba(240, 179, 0, 0.3);
  outline-offset: 2px;
}

.training-level-options input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.training-controls #generate-training-set {
  width: fit-content;
  min-width: 190px;
  margin-top: 2px;
}

.training-result {
  display: grid;
  align-content: start;
  gap: 22px;
}

.training-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(16, 29, 67, 0.15);
  border-radius: 4px;
  background: #ffffff;
}

.training-metrics span {
  display: grid;
  gap: 3px;
  min-height: 76px;
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  align-content: center;
}

.training-metrics span + span {
  border-left: 1px solid rgba(16, 29, 67, 0.13);
}

.training-metrics strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.training-status-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

#training-generator-status {
  min-height: 24px;
  flex: 1 1 280px;
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

#training-generator-status.error {
  color: #b72b12;
}

.training-downloads {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.training-downloads .button:disabled,
#generate-training-set:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.training-progress {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

#training-progress-label {
  min-width: 96px;
  color: var(--navy);
  font-weight: 1000;
}

.records-library {
  background: var(--paper);
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.record-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(16, 29, 67, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.record-year {
  width: fit-content;
  padding: 6px 10px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 1000;
  background: var(--gold);
}

.record-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Georgia", serif;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1;
}

.record-card p {
  margin: 0;
  color: var(--muted);
}

.record-card p strong {
  color: var(--navy);
  font-weight: 1000;
}

.record-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0, 92, 105, 0.2);
  color: var(--teal);
  font-size: 0.83rem;
  font-weight: 1000;
}

.record-status {
  width: fit-content;
  margin-top: auto;
  color: var(--navy);
  border-color: rgba(16, 29, 67, 0.2);
  background: rgba(16, 29, 67, 0.04);
}

a.record-status {
  text-decoration: none;
}

a.record-status:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
}

.record-cta {
  display: grid;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
}

.record-cta .record-status {
  margin-top: 0;
}

.record-card .record-count {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.35;
}

.records-hero {
  min-height: 40vh;
}

.record-summary,
.records-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.record-summary {
  margin-top: 28px;
}

.record-summary span,
.records-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 207, 36, 0.5);
  color: var(--white);
  font-weight: 1000;
  background: rgba(255, 255, 255, 0.08);
}

.records-downloads {
  display: grid;
  gap: 36px;
  background: #ffffff;
}

.records-format-group {
  display: grid;
  gap: 28px;
}

.records-format-heading {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--gold);
}

.records-format-heading .eyebrow,
.records-format-heading h2,
.records-format-heading p {
  margin: 0;
}

.records-format-heading h2 {
  color: var(--navy);
  font-family: "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.records-format-heading p:last-child {
  color: var(--muted);
}

.records-nav {
  padding-bottom: 8px;
}

.records-nav a {
  min-height: 40px;
  color: var(--navy);
  text-decoration: none;
  border-color: rgba(16, 29, 67, 0.18);
  background: var(--paper);
}

.records-nav a:hover {
  background: var(--gold);
}

.records-stage {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 29, 67, 0.12);
}

.records-stage-heading {
  display: grid;
  gap: 8px;
}

.records-stage-heading span {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.records-stage-heading h2,
.records-stage-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Georgia", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.records-stage-heading h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}

.records-stage-heading p {
  margin: 0;
  color: var(--muted);
}

.download-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.download-row {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(16, 29, 67, 0.14);
  border-radius: 8px;
  color: var(--navy);
  background: var(--paper);
}

.download-row span {
  font-weight: 1000;
}

.download-row-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.download-actions {
  display: flex;
  gap: 6px;
}

.download-format {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 62px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: white;
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1;
  text-decoration: none;
}

.download-format:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
}

.download-row .board-count {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 1000;
}

.download-row a.download-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: white;
  background: var(--navy);
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
}

.download-row:has(a:hover) {
  border-color: var(--gold);
  background: #fff7d6;
}

.download-row a.download-icon:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
}

.pricing {
  background: #eef1ee;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 29, 67, 0.14);
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 1000;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy);
  border-top: 4px solid var(--gold);
}

.footer a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer a:hover {
  color: var(--gold-light);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero,
  .profile-hero,
  .story-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-logo,
  .hero-brand-card,
  .profile-panel {
    width: min(540px, 100%);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .records-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-services {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-program {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .trust-program img {
    width: 96px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .bulletin-figure {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .subhead {
    font-size: 1.2rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand img {
    width: min(210px, 72vw);
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav a {
    flex: 1 1 120px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-left: 20px;
    padding-right: 20px;
    background:
      linear-gradient(90deg, rgba(211, 178, 76, 0.95) 0 8px, transparent 8px),
      linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  }

  .hero-text {
    margin-top: 34px;
  }

  .hero-actions,
  .button,
  .hero-email,
  .hero-phone,
  .hero-social {
    width: 100%;
  }

  .program-logo-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .program-logo-card span {
    text-align: center;
  }

  .split,
  .company-profile,
  .local-seo,
  .tool-promo,
  .success-preview,
  .achievement-feature,
  .championship-feature,
  .tool-hero,
  .service-model,
  .pricing,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .converter-grid {
    grid-template-columns: 1fr;
  }

  .training-generator-layout {
    grid-template-columns: 1fr;
  }

  .training-controls {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 29, 67, 0.16);
  }

  .training-status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .training-downloads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .records-grid {
    grid-template-columns: 1fr;
  }

  .download-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .converter-panel textarea {
    min-height: 300px;
  }

  .conversion-progress {
    grid-template-columns: 1fr auto;
  }

  .training-progress {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .profile-copy {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 3px solid var(--gold);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .achievement-feature h2 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .achievement-feature p:not(.eyebrow) {
    font-size: 1rem;
  }

  .bulletin-figure img {
    max-height: 340px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .achievement-feature,
  .section.achievement-feature {
    grid-template-columns: minmax(0, 680px) !important;
    justify-content: center;
    justify-items: stretch;
    text-align: left;
  }

  .achievement-feature > div,
  .bulletin-figure {
    max-width: 680px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .profile-panel strong {
    font-size: 2.2rem;
  }

  .training-level-options {
    grid-template-columns: 1fr;
  }

  .training-level-options span {
    min-height: 58px;
  }
}
