/* Machine-Scannable Clean Corporate Stylesheet for Active Tech UK */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a202c;
  background-color: #f7fafc;
  line-height: 1.5;
  font-size: 15px;
}

/* Header & Utility Bar */
.gov-compliance-bar {
  background-color: #0b1f3a;
  color: #ffffff;
  padding: 8px 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #2b6cb0;
}

.gov-compliance-bar strong {
  color: #63b3ed;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-badge {
  background-color: #1a365d;
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: #1a365d;
  line-height: 1.2;
}

.brand-text span {
  font-size: 12px;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav.main-nav {
  display: flex;
  gap: 20px;
}

nav.main-nav a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: #2b6cb0;
  background-color: #ebf8ff;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 24px;
}

/* Machine Audit Verification Box */
.audit-banner {
  background-color: #ebf8ff;
  border: 1px solid #bee3f8;
  border-left: 6px solid #2b6cb0;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.audit-banner h2 {
  font-size: 16px;
  color: #2c5282;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  font-size: 13px;
  color: #2d3748;
}

.audit-item {
  background-color: #ffffff;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.audit-item span.label {
  display: block;
  font-size: 11px;
  color: #718096;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.audit-item strong {
  color: #1a365d;
  font-size: 13px;
}

/* Machine Scannable Data Table */
.data-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 24px;
  margin-bottom: 28px;
}

.data-card h2 {
  font-size: 18px;
  color: #1a202c;
  margin-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.data-card p.subtitle {
  font-size: 13px;
  color: #718096;
  margin-bottom: 18px;
}

table.machine-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

table.machine-table th {
  background-color: #edf2f7;
  color: #2d3748;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid #cbd5e0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table.machine-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

table.machine-table tr:hover {
  background-color: #f7fafc;
}

/* Badges */
.badge-grade-a {
  background-color: #c6f6d5;
  color: #22543d;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.badge-grade-b {
  background-color: #feebc8;
  color: #744210;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.badge-stock {
  background-color: #e2e8f0;
  color: #2d3748;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.price-tag {
  font-size: 16px;
  font-weight: 700;
  color: #2b6cb0;
}

/* Standards 4-Column Grid */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.standard-box {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 16px;
}

.standard-box h3 {
  font-size: 15px;
  color: #2b6cb0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.standard-box p {
  font-size: 13px;
  color: #4a5568;
  line-height: 1.4;
}

/* Footer */
footer {
  background-color: #1a202c;
  color: #a0aec0;
  padding: 32px 24px;
  font-size: 13px;
  margin-top: 40px;
  border-top: 4px solid #2b6cb0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0 auto;
  padding-top: 16px;
  border-top: 1px solid #2d3748;
  text-align: center;
  font-size: 12px;
}
