/* ApplianceCodeFix - Service Manual Design */
/* Style: Clean technical documentation for appliance repair */
/* Colors: Appliance industry palette - blue, steel gray, white */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:wght@500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* Text Colors - Maximum Readability */
  --black: #0f0f0f;
  --gray-900: #1a1a1a;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #6b6b6b;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;

  /* Appliance Industry Colors */
  --blue-700: #1e40af;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-400: #94a3b8;
  --steel-200: #e2e8f0;
  --steel-100: #f1f5f9;

  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-100: #fee2e2;

  /* Typography */
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;

  /* Font Sizes - Larger for 50+ audience */
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;

  /* Layout */
  --max-width: 1120px;
  --content-width: 780px;
  --radius: 4px;
  --radius-lg: 6px;
  --header-height: 68px;

  /* Shadows - Minimal, technical */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.06);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 0.5em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

strong {
  font-weight: 600;
}

a {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--blue-700);
}

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

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.375rem;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
}

.header__logo:hover {
  color: var(--black);
}

.header__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-600);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-link {
  color: var(--gray-600);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
}

.header__nav-link:hover {
  color: var(--black);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--blue-600);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
}

.header__cta:hover {
  background: var(--blue-700);
  color: white;
}

.header__menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gray-300);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--gray-700);
  border-radius: var(--radius);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu-btn { display: block; }
}

/* ===== Hero Section ===== */
.hero {
  padding: 3.5rem 0 4.5rem;
  background: var(--white);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__title span {
  color: var(--blue-600);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-top: 0.125rem;
}

/* Hero Demo Card */
.hero__visual {
  position: relative;
}

.hero__image {
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.hero__demo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.hero__demo-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.hero__demo-icon {
  width: 42px;
  height: 42px;
  background: var(--red-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero__demo-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--black);
}

.hero__demo-subtitle {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.hero__demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.hero__demo-table th {
  text-align: left;
  padding: 0.5rem 0.375rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__demo-table td {
  padding: 0.625rem 0.375rem;
  border-bottom: 1px solid var(--gray-100);
}

.hero__demo-table tr:last-child td {
  border-bottom: none;
}

.success-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.8125rem;
}

@media (max-width: 968px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__visual { order: -1; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn--primary {
  background: var(--blue-600);
  color: white;
  border-color: var(--blue-600);
}

.btn--primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: white;
}

.btn--secondary {
  background: var(--white);
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn--secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--gray-900);
}

.btn--large {
  padding: 1rem 1.75rem;
  font-size: var(--text-lg);
}

/* ===== Quick Help Section ===== */
.quick-help {
  padding: 4.5rem 0;
  background: var(--steel-100);
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}

.quick-help__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.quick-help__header h2 {
  margin-top: 0.75rem;
}

.quick-help__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quick-help__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.quick-help__card--highlight {
  border-color: var(--blue-600);
  border-width: 2px;
}

.quick-help__step {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--steel-600);
  color: white;
  border-radius: var(--radius);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.quick-help__card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: 0.625rem;
}

.quick-help__card > p {
  color: var(--gray-600);
  font-size: var(--text-base);
}

.quick-help__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.quick-help__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm);
}

.quick-help__list li:last-child {
  border-bottom: none;
}

.quick-help__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--steel-500);
}

.quick-help__stat {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  text-align: center;
}

.quick-help__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-700);
}

.quick-help__stat-label {
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.quick-help__warning {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: var(--gray-100);
  border-left: 3px solid var(--steel-500);
  font-size: var(--text-sm);
  color: var(--gray-700);
}

.quick-help__note {
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.quick-help__cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--steel-200);
}

.quick-help__cta p {
  margin-bottom: 1rem;
  font-size: var(--text-lg);
  color: var(--gray-700);
}

@media (max-width: 968px) {
  .quick-help__grid { grid-template-columns: 1fr; }
}

/* ===== Features Section ===== */
.features {
  padding: 4.5rem 0;
  background: var(--white);
}

.features__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.features__subtitle {
  color: var(--gray-600);
  font-size: var(--text-lg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.feature-card:hover {
  border-color: var(--gray-300);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--steel-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.feature-card__text {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: var(--text-sm);
}

@media (max-width: 968px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ===== Success Stories ===== */
.stories {
  padding: 4.5rem 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.stories__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.story-card__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-700);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.story-card__quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--blue-600);
  line-height: 0;
  margin-right: 0.125rem;
  vertical-align: -0.25em;
}

.story-card__outcome {
  padding: 1rem;
  background: var(--blue-50);
  border-radius: var(--radius);
  margin-bottom: 0.875rem;
}

.story-card__saved {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-700);
}

.story-card__vs {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.story-card__meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stories__note {
  max-width: 650px;
  margin: 2rem auto 0;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
}

.stories__note p {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--text-sm);
}

@media (max-width: 968px) {
  .stories__grid { grid-template-columns: 1fr; }
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 4.5rem 0;
  background: var(--white);
}

.how-it-works__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gray-200);
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: 0.375rem;
}

.step__text {
  color: var(--gray-600);
  font-size: var(--text-sm);
}

@media (max-width: 968px) {
  .how-it-works__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .how-it-works__steps::before { display: none; }
}

@media (max-width: 640px) {
  .how-it-works__steps { grid-template-columns: 1fr; }
}

/* ===== Data Section ===== */
.data-section {
  padding: 4.5rem 0;
  background: var(--steel-100);
  border-top: 1px solid var(--steel-200);
}

.data-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.data-section__content h2 {
  margin-bottom: 1.25rem;
}

.data-section__text {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.data-section__list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.data-section__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.data-section__list li::before {
  content: '✓';
  color: var(--blue-600);
  font-weight: 700;
}

.data-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.data-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.data-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: 0;
}

.data-card__badge {
  padding: 0.25rem 0.625rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.data-bar {
  margin-bottom: 1rem;
}

.data-bar__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.375rem;
  font-size: var(--text-sm);
}

.data-bar__label {
  color: var(--gray-700);
}

.data-bar__value {
  color: var(--gray-900);
  font-weight: 600;
}

.data-bar__track {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.data-bar__fill {
  height: 100%;
  background: var(--blue-600);
  border-radius: 4px;
}

@media (max-width: 968px) {
  .data-section__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===== Calculator Preview ===== */
.calculator-preview {
  padding: 4.5rem 0;
  background: var(--white);
}

.calculator-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calculator-preview__content h2 {
  margin-top: 0.75rem;
  margin-bottom: 0.875rem;
}

.calculator-preview__example {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}

.calculator-preview__scenario {
  margin-bottom: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: var(--text-sm);
}

.calculator-preview__verdict {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

.calculator-preview__verdict--repair {
  background: var(--blue-100);
  color: var(--blue-700);
}

.calculator-preview__verdict--replace {
  background: var(--red-100);
  color: var(--red-700);
}

.calculator-preview__result p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

.calculator-demo {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.calculator-demo__header {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.calculator-demo__field {
  margin-bottom: 1rem;
}

.calculator-demo__field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.calculator-demo__input {
  padding: 0.75rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--gray-900);
}

.calculator-demo__output {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.calculator-demo__bar {
  height: 24px;
  background: var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.calculator-demo__bar-fill {
  height: 100%;
  background: var(--blue-600);
  border-radius: var(--radius);
}

.calculator-demo__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 500;
}

.calculator-demo__labels span:first-child {
  color: var(--blue-700);
}

.calculator-demo__labels span:last-child {
  color: var(--gray-500);
}

@media (max-width: 968px) {
  .calculator-preview__inner { grid-template-columns: 1fr; }
}

/* ===== Appliances Section ===== */
.appliances {
  padding: 4.5rem 0;
  background: var(--steel-100);
  border-top: 1px solid var(--steel-200);
}

.appliances__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.appliances__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.appliance-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.875rem;
  text-align: center;
}

.appliance-card:hover {
  border-color: var(--gray-300);
}

.appliance-card__icon {
  font-size: 2.25rem;
  margin-bottom: 0.625rem;
}

.appliance-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: 0.375rem;
}

.appliance-card__stat {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.appliance-card__insight {
  font-size: 0.75rem;
  color: var(--blue-600);
  font-weight: 600;
  margin-top: 0.375rem;
}

@media (max-width: 1024px) {
  .appliances__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .appliances__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Brands Section ===== */
.brands {
  padding: 3.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.brands__title {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.brands__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-400);
}

.brand-logo:hover {
  color: var(--gray-600);
}

/* ===== CTA Section ===== */
.cta {
  padding: 4.5rem 0;
  background: var(--steel-700);
  color: white;
}

.cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: white;
  margin-bottom: 0.875rem;
}

.cta__text {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.cta__benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.75rem;
  max-width: 380px;
  text-align: left;
}

.cta__benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.9;
}

.cta__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 700;
}

.cta__form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.cta__input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-size: var(--text-base);
  background: rgba(255,255,255,0.1);
  color: white;
}

.cta__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.cta__input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
}

.cta__btn {
  background: var(--blue-600);
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
}

.cta__btn:hover {
  background: var(--blue-500);
}

.cta__note {
  margin-top: 0.875rem;
  font-size: var(--text-sm);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .cta__form { flex-direction: column; }
  .cta__title { font-size: 1.875rem; }
}

/* ===== Footer ===== */
.footer {
  padding: 3.5rem 0 2rem;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
  margin-bottom: 0.875rem;
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-600);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
}

.footer__title {
  font-family: var(--font-heading);
  color: var(--gray-900);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--gray-600);
  font-size: var(--text-sm);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--gray-900);
}

.footer__bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  text-decoration: none;
}

.footer__social a:hover {
  background: var(--gray-300);
  color: var(--gray-900);
}

@media (max-width: 968px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== Page Content Styles ===== */
.page-header {
  padding: 3.5rem 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.page-header__inner {
  max-width: var(--content-width);
}

.page-header__breadcrumb {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: 0.875rem;
}

.page-header__breadcrumb a {
  color: var(--gray-500);
}

.page-header__title {
  font-size: 2.5rem;
  margin-bottom: 0.875rem;
}

.page-header__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.6;
}

.page-header__meta {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.page-content {
  padding: 3.5rem 0;
}

.page-content__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 0.875rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
}

.page-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-content h3 {
  font-size: 1.375rem;
  margin: 1.75rem 0 0.625rem;
}

.page-content h4 {
  font-size: var(--text-lg);
  margin: 1.25rem 0 0.5rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--gray-100);
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Info boxes */
.info-box {
  margin: 1.75rem 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid;
}

.info-box--info {
  background: var(--blue-50);
  border-color: var(--blue-200);
}

.info-box--warning {
  background: #fffbeb;
  border-color: #fcd34d;
}

.info-box--danger {
  background: var(--red-100);
  border-color: #fca5a5;
}

.info-box--success {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.info-box__title {
  font-weight: 600;
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: var(--text-sm);
}

.data-table th,
.data-table td {
  padding: 0.875rem;
  text-align: left;
  border: 1px solid var(--gray-200);
}

.data-table th {
  background: var(--gray-100);
  font-weight: 600;
}

.data-table tr:nth-child(even) {
  background: var(--gray-50);
}

/* Forms */
.contact-form {
  max-width: 560px;
  margin: 1.75rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-600);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.team-card {
  padding: 1.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  text-align: center;
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  background: var(--blue-600);
  border-radius: 50%;
  margin: 0 auto 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.team-card__role {
  color: var(--gray-500);
  font-size: var(--text-sm);
}

/* Coming soon */
.coming-soon {
  padding: 5rem 0;
  text-align: center;
  background: var(--gray-100);
}

.coming-soon__icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}

.coming-soon__title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  margin-bottom: 0.875rem;
}

.coming-soon__text {
  color: var(--gray-600);
  font-size: var(--text-lg);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Error Code Search ===== */
.hero__search {
  margin-bottom: 2rem;
}

.error-search {
  max-width: 500px;
}

.error-search__input-wrap {
  display: flex;
  gap: 0.5rem;
}

.error-search__input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: inherit;
}

.error-search__input:focus {
  outline: none;
  border-color: var(--blue-600);
}

.error-search__input::placeholder {
  color: var(--gray-400);
}

.error-search__btn {
  padding: 0.875rem 1.25rem;
  background: var(--blue-600);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
}

.error-search__btn:hover {
  background: var(--blue-700);
}

.error-search__hint {
  margin-top: 0.375rem;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* Search Results */
.search-results {
  margin-top: 1.25rem;
  max-width: 560px;
}

.search-result {
  background: var(--white);
  border: 1px solid var(--blue-600);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.search-result--not-found {
  border-color: var(--gray-300);
}

.search-result__header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.search-result__code {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
}

.search-result--not-found .search-result__code {
  background: var(--gray-100);
  color: var(--gray-600);
}

.search-result__meta {
  flex: 1;
}

.search-result__meta strong {
  display: block;
  font-size: var(--text-base);
  margin-bottom: 0.125rem;
}

.search-result__reports {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius);
}

.search-result__solutions {
  margin-bottom: 1rem;
}

.search-result__title {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.search-result__solution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm);
}

.search-result__solution:last-child {
  border-bottom: none;
}

.search-result__solution--top {
  background: var(--blue-50);
  border-radius: var(--radius);
  border-bottom: none;
  margin-bottom: 0.375rem;
}

.search-result__fix {
  flex: 1;
  font-weight: 500;
}

.search-result__success {
  font-weight: 600;
  color: var(--blue-700);
}

.search-result__cost {
  font-weight: 500;
  color: var(--gray-700);
  min-width: 45px;
  text-align: right;
}

.search-result__action {
  background: var(--gray-100);
  padding: 0.875rem;
  border-radius: var(--radius);
  text-align: center;
}

.search-result__action p {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
  font-size: var(--text-sm);
}

/* Calculator Interactive */
.calculator-demo--interactive {
  background: var(--white);
}

.calculator-demo__input-field {
  width: 100%;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--gray-900);
  font-family: inherit;
}

.calculator-demo__input-field:focus {
  outline: none;
  border-color: var(--blue-600);
}

.calculator-demo__input-field::placeholder {
  color: var(--gray-400);
}

select.calculator-demo__input-field {
  cursor: pointer;
}

.btn--full { width: 100%; }
.btn--small { padding: 0.5rem 1rem; font-size: var(--text-sm); }

.calculator-preview__verdict--neutral {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* CTA Social Proof */
.cta__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.cta__avatars {
  display: flex;
}

.cta__avatar {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-left: -6px;
}

.cta__avatar:first-child { margin-left: 0; }

.cta__counter {
  font-size: var(--text-sm);
  opacity: 0.9;
}

.cta__counter strong {
  color: var(--blue-400);
}

.cta__trust {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.cta__trust span {
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .error-search__input-wrap { flex-direction: column; }
  .search-result__solution { flex-wrap: wrap; gap: 0.375rem; }
  .cta__social-proof { flex-direction: column; gap: 0.375rem; }
  .cta__trust { gap: 0.875rem; }
}
