/* ============================================================
   STARTER.CSS — SEO/Affiliate Template Design System
   Customize :root tokens per project. Never edit below that.
   ============================================================ */

/* === TOKENS === */
:root {
  --primary:       #0F172A;
  --primary-dark:  #070e1b;
  --primary-light: #e2e8f0;
  --accent:        #f97316;
  --accent-dark:   #ea6c0a;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --radius:    8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow:    0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);

  --container: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.6; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
p a { text-decoration: underline; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--gray-900); }

/* === TYPOGRAPHY === */
h1 { font-size: clamp(var(--text-3xl), 5vw,   var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl),  2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
p  { margin-bottom: 1rem; max-width: 72ch; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* === LAYOUT === */
.container       { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gap); }
.container--narrow { max-width: 768px; }
.container--wide   { max-width: 1400px; }

.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--alt  { background: var(--gray-50); }
.section--dark { background: var(--gray-900); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark .section-header p,
.section--dark .feature-card__desc { color: rgba(255,255,255,.72); }
.section--dark .feature-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.section--dark .feature-card__title { color: var(--white); }
.section--dark .feature-card__icon { background: rgba(249,115,22,.15); color: var(--accent); }
.section--dark .label { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }

.section--hero { background: linear-gradient(rgba(15,23,42,.72), rgba(15,23,42,.72)), url('/img/hero.jpg') center/cover no-repeat; color: var(--white); }
.section--hero h1, .section--hero h2 { color: var(--white); }
.section--hero p, .section--hero .text-muted, .section--hero .text-lg { color: rgba(255,255,255,.78); }
.section--hero .article-header__desc { color: rgba(255,255,255,.78); }
.section--hero .article-header__cat { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.25); }

.grid   { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.flex         { display: flex; gap: var(--gap); flex-wrap: wrap; align-items: center; }
.flex--center  { justify-content: center; }
.flex--between { justify-content: space-between; }

.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-header p { color: var(--gray-600); font-size: var(--text-lg); margin-inline: auto; }

.label { display: inline-block; font-size: var(--text-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: var(--text-base); cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .1s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary      { background: var(--primary);     color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); }
.btn--accent       { background: var(--accent);      color: var(--primary); }
.btn--accent:hover  { background: var(--accent-dark);  color: var(--primary); }
.btn--outline      { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: var(--white); color: var(--gray-900); }
.btn--lg   { padding: 1rem 2rem; font-size: var(--text-lg); }
.btn--sm   { padding: .5rem 1rem; font-size: var(--text-sm); }
.btn--full { width: 100%; justify-content: center; }

/* === NAV === */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: var(--container); margin-inline: auto; padding-inline: var(--gap); }
.nav__logo { font-size: var(--text-xl); font-weight: 700; color: var(--gray-900); }
.nav__logo:hover { text-decoration: none; color: var(--primary); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: var(--gray-700); font-weight: 500; font-size: var(--text-sm); transition: color .15s; }
.nav__links a:hover { color: var(--primary); text-decoration: none; }
.nav__cta { margin-left: 1rem; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; color: var(--gray-700); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); padding: 1rem 0;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .75rem var(--gap); border-bottom: 1px solid var(--gray-100); }
  .nav__cta { margin: 1rem var(--gap) 0; }
}

/* === HERO === */
.hero { padding-block: clamp(4rem, 12vw, 8rem); background: linear-gradient(135deg, rgba(226,232,240,.97) 0%, rgba(255,255,255,.92) 55%), url('/img/hero.jpg') right center / cover no-repeat; }
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 768px) { .hero__inner { grid-template-columns: 1fr 1fr; } }
.hero__label { color: var(--primary); font-weight: 600; font-size: var(--text-sm); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.hero__title { margin-bottom: 1.5rem; }
.hero__desc  { color: var(--gray-600); font-size: var(--text-lg); margin-bottom: 2rem; max-width: 55ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero__trust { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: .5rem; font-size: var(--text-sm); color: var(--gray-600); font-weight: 500; }

/* === CARDS === */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--gray-200); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__img  { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--gray-100); }
.card__body { padding: 1.5rem; }
.card__label { font-size: var(--text-sm); font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.card__title { font-size: var(--text-xl); margin-bottom: .75rem; }
.card__title a { color: var(--gray-900); }
.card__title a:hover { color: var(--primary); text-decoration: none; }
.card__desc  { color: var(--gray-600); font-size: var(--text-sm); line-height: 1.6; margin-bottom: 1rem; }
.card__meta  { font-size: var(--text-sm); color: var(--gray-400); }
.card__footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-100); }

.feature-card { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--shadow); overflow: hidden; }
.feature-card__img { display: block; width: calc(100% + 3rem); margin: -1.5rem -1.5rem 1.5rem; height: 200px; object-fit: contain; background: var(--gray-50); padding: 1rem; border-bottom: 1px solid var(--gray-200); }
.feature-card__icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); flex-shrink: 0; }
.feature-card__title { font-size: var(--text-lg); margin-bottom: .5rem; }
.feature-card__desc  { color: var(--gray-600); font-size: var(--text-sm); }

/* === STATS === */
.stats { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.stat__number { font-size: var(--text-4xl); font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: .25rem; }
.stat__label  { font-size: var(--text-sm); color: var(--gray-600); font-weight: 500; }

/* === CTA === */
.cta-banner { background: var(--primary); color: var(--white); padding-block: clamp(3rem, 8vw, 5rem); text-align: center; }
.cta-banner h2, .cta-banner h3 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.85); font-size: var(--text-lg); max-width: 55ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta-inline { background: var(--primary-light); border: 1px solid var(--primary); border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-block: 2rem; text-align: center; }
.cta-inline h3 { margin-bottom: .75rem; }
.cta-inline p  { margin-bottom: 1.25rem; color: var(--gray-700); }

/* === FAQ === */
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__question {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.25rem; cursor: pointer; font-weight: 600;
  color: var(--gray-900); user-select: none;
}
.faq__question::after { content: '+'; font-size: var(--text-xl); font-weight: 400; color: var(--primary); flex-shrink: 0; transition: transform .2s; }
.faq__item.is-open .faq__question::after { transform: rotate(45deg); }
.faq__answer { display: none; padding-bottom: 1.25rem; color: var(--gray-600); line-height: 1.7; }
.faq__item.is-open .faq__answer { display: block; }

/* === BREADCRUMB === */
.breadcrumb { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: var(--text-sm); color: var(--gray-500); padding-block: 1rem; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--gray-300); }
.breadcrumb__current { color: var(--gray-700); font-weight: 500; }

/* === ARTICLE === */
.article-header { padding-block: clamp(2rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--gray-200); margin-bottom: 2rem; }
.article-header__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: var(--text-sm); color: var(--gray-500); margin-bottom: 1rem; }
.article-header__cat { background: var(--primary-light); color: var(--primary); padding: .25rem .75rem; border-radius: var(--radius-full); font-weight: 600; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; }
.article-header__title { margin-bottom: 1rem; }
.article-header__desc  { color: var(--gray-600); font-size: var(--text-lg); margin-bottom: 1.5rem; }
.article-header__img   { border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem; }
.article-header__img img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }

.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 1fr 320px; } }

.article-body { max-width: 720px; }
.article-body h2  { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3  { margin-top: 2rem;   margin-bottom: .75rem; }
.article-body ul  { list-style: disc;    padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body ol  { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li  { margin-bottom: .5rem; color: var(--gray-700); }
.article-body blockquote { border-left: 4px solid var(--primary); padding-left: 1.25rem; margin-block: 1.5rem; color: var(--gray-600); font-style: italic; }

/* === SIDEBAR === */
.sidebar__widget { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar__widget h3 { font-size: var(--text-lg); margin-bottom: 1rem; }

/* === AFFILIATE BLOCK === */
.affiliate-block { background: var(--gray-50); border: 1px solid var(--gray-200); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-block: 2.5rem; }
.affiliate-block__header { margin-bottom: 1.25rem; }
.affiliate-block__label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--gray-400); margin-bottom: .35rem; }
.affiliate-block__title { font-size: var(--text-xl); margin-bottom: 0; }
.affiliate-block__price { font-size: var(--text-lg); font-weight: 700; color: var(--primary); margin-bottom: .75rem; }

/* === ADS === */
.ad-slot { background: var(--gray-100); border: 1px dashed var(--gray-300); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: var(--text-sm); text-align: center; }
.ad-slot--banner     { height: 90px; margin-block: 1rem; }
.ad-slot--square     { width: 300px; height: 250px; }
.ad-slot--in-content { height: 280px; margin-block: 2rem; }

/* === RELATED === */
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.related__title { font-size: var(--text-2xl); margin-bottom: 1.5rem; }

/* === PROCESS STEPS === */
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; align-items: start; padding-bottom: 2rem; position: relative; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--gray-200); }
.step__num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-lg); flex-shrink: 0; position: relative; z-index: 1; }
.step__title { font-size: var(--text-xl); margin-bottom: .5rem; }
.step__desc  { color: var(--gray-600); }

/* === TESTIMONIALS === */
.testimonial { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.testimonial__stars  { color: #f59e0b; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial__text   { color: var(--gray-700); font-style: italic; margin-bottom: 1rem; }
.testimonial__author { font-weight: 600; font-size: var(--text-sm); color: var(--gray-900); }
.testimonial__role   { font-size: var(--text-sm); color: var(--gray-500); }

/* === FOOTER === */
.footer { background: var(--gray-900); color: var(--gray-400); padding-block: 3rem 1.5rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 3rem; }
.footer__brand   { color: var(--white); font-size: var(--text-xl); font-weight: 700; margin-bottom: .75rem; }
.footer__desc    { font-size: var(--text-sm); line-height: 1.6; max-width: 30ch; }
.footer__heading { color: var(--white); font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer__links   { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { color: var(--gray-400); font-size: var(--text-sm); }
.footer__links a:hover { color: var(--white); text-decoration: none; }
.footer__bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: var(--text-sm); }

/* === DISCLOSURE === */
.disclosure { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: .75rem 1rem; font-size: var(--text-sm); color: var(--gray-600); margin-bottom: 2rem; }

/* === FORMS === */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: .5rem; color: var(--gray-700); }
.form-input, .form-textarea, .form-select { width: 100%; padding: .75rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: var(--text-base); color: var(--gray-900); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.form-textarea { min-height: 120px; resize: vertical; }

/* === UTILITIES === */
.text-center { text-align: center; }
.text-sm    { font-size: var(--text-sm); }
.text-lg    { font-size: var(--text-lg); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden  { display: none !important; }

/* === PAGE HEADER === */
.page-header { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(rgba(15,23,42,.72), rgba(15,23,42,.72)), url('/img/hero.jpg') center/cover no-repeat; border-bottom: none; }
.page-header__title { margin-bottom: .75rem; color: var(--white); }
.page-header__desc  { color: rgba(255,255,255,.78); font-size: var(--text-lg); max-width: 62ch; }

/* === HERO VISUAL PANEL === */
.hero__visual { display: flex; align-items: flex-start; justify-content: center; }
.hero__ref-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem 1.75rem;
  width: 100%;
}
.hero__ref-header {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: .5rem;
}
.hero__ref-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 0; border-top: 1px solid var(--gray-100);
}
.hero__ref-size { font-size: var(--text-2xl); font-weight: 800; color: var(--primary); min-width: 5ch; line-height: 1; flex-shrink: 0; }
.hero__ref-label { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.4; }
.hero__ref-footer { margin-top: .75rem; padding-top: .875rem; border-top: 1px solid var(--gray-100); font-size: var(--text-sm); color: var(--gray-500); }
.hero__ref-footer a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.hero__ref-footer a:hover { opacity: .75; }

/* === NAV LOGO MARK === */
.nav__logo { display: flex; align-items: center; gap: .5rem; }
.nav__logo-icon { color: var(--accent); flex-shrink: 0; transition: opacity .15s; }
.nav__logo:hover .nav__logo-icon { opacity: .8; }

/* === CTA BANNER ACCENT === */
.cta-banner { position: relative; }
.cta-banner::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); }

/* === FEATURE CARD ICON WARM TINT === */
.feature-card__icon { background: rgba(249,115,22,.1); color: var(--accent); }

/* === SIDEBAR REFINEMENTS === */
.sidebar__widget h3 { border-bottom: 1px solid var(--gray-200); padding-bottom: .75rem; margin-bottom: 1rem; font-size: var(--text-base); }
.sidebar__widget ul { display: flex; flex-direction: column; gap: .25rem; }
.sidebar__widget ul li { font-size: var(--text-sm); padding: .3rem 0; border-bottom: 1px solid var(--gray-100); }
.sidebar__widget ul li:last-child { border-bottom: none; }

/* === ARTICLE TABLE (mobile-safe) === */
.article-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin-bottom: 1.5rem; }
.article-body thead tr { background: var(--primary); color: var(--white); }
.article-body th { text-align: left; padding: .6rem .75rem; font-weight: 600; white-space: nowrap; }
.article-body td { padding: .5rem .75rem; border: 1px solid var(--gray-200); color: var(--gray-700); }
.article-body tbody tr:nth-child(even) { background: var(--gray-50); }
.article-body tbody tr:hover { background: rgba(249,115,22,.04); }

/* === CONTACT FORM === */
.contact-form { max-width: 640px; }
.contact-form__group { margin-bottom: 1.25rem; }
.contact-form__label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: .5rem; color: var(--gray-700); }
.contact-form__input {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius);
  font-size: var(--text-base); color: var(--gray-900); background: var(--white);
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
.contact-form__input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,23,42,.1); }
.contact-form__textarea { min-height: 160px; resize: vertical; }

/* === AFFILIATE BLOCK CLEANUP === */
.affiliate-block { background: var(--gray-50); border: 1px solid var(--gray-200); border-top: 3px solid var(--accent); }
.affiliate-block .card { background: var(--white); }
.affiliate-block .card__body { padding: 1.25rem; }

/* === FOCUS === */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* === MOTION SAFETY === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* === PRINT === */
@media print {
  .nav, .cta-banner, .affiliate-block, .footer, .sidebar__widget { display: none; }
  .article-layout { display: block; }
  .article-body { max-width: none; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .75em; color: var(--gray-500); }
}
