/* LindBw Mobile | ELY GRANGE MANAGEMENT LIMITED
   Daylight Gallery (#F8FAFC) + British Royal Indigo (#312E81) + Amber Gold (#B45309) */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --indigo: #312E81;
  --indigo-mid: #4338CA;
  --indigo-soft: #EEF2FF;
  --gold: #B45309;
  --gold-light: #FFFBEB;
  --gold-border: #FDE68A;
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-subtle: #64748B;
  --border: #E2E8F0;
  --emerald: #047857;
  --emerald-bg: #ECFDF5;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(49, 46, 129, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Top Compliance Ribbon */
.top-ribbon {
  background: var(--indigo);
  color: #E0E7FF;
  font-size: 12.5px;
  letter-spacing: 0.015em;
  padding: 8px 0;
  border-bottom: 2px solid var(--gold);
}

.top-ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-ribbon strong {
  color: #FFFFFF;
  font-weight: 600;
}

.ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  color: #FDE68A;
}

/* Primary Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--indigo) 0%, #1E1B4B 100%);
  border: 2px solid var(--gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-sm);
}

.brand-text h1, .brand-text .brand-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 10.5px;
  color: var(--ink-subtle);
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

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

.main-nav a {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid #A7F3D0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero Section */
.hero-section {
  padding: 46px 0 40px;
  background: radial-gradient(circle at 88% 15%, rgba(49, 46, 129, 0.07) 0%, transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.92fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-title span {
  color: var(--indigo);
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary {
  background: var(--indigo);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  background: var(--surface);
  color: var(--indigo);
  border: 1.5px solid #C7D2FE;
  padding: 11px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Verification Dossier Card */
.dossier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--indigo);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dossier-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-active {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.dossier-rows {
  display: grid;
  gap: 10px;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #E2E8F0;
}

.dossier-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dossier-row span {
  color: var(--ink-subtle);
  font-weight: 500;
}

.dossier-row strong {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* KPI Strip */
.kpi-strip {
  padding: 28px 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.kpi-sub {
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* Section Headers */
.section {
  padding: 34px 0 46px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0 0 4px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-header p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-img-wrap {
  height: 215px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.grade-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(49, 46, 129, 0.92);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}

.stock-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--emerald);
  border: 1px solid #A7F3D0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.product-spec {
  font-size: 12.5px;
  color: var(--ink-subtle);
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.meta-chip {
  background: var(--surface-alt);
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
}

.product-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}

.vat-note {
  font-size: 11px;
  color: var(--ink-subtle);
  font-weight: 600;
}

/* Process Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--indigo);
}

.pillar-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Tables & Charts */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--surface-alt);
  color: var(--indigo);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

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

.num-right {
  text-align: right;
  font-weight: 700;
}

.bar-track {
  background: var(--surface-alt);
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  border-radius: 999px;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #00B67A;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.review-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.review-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo);
  display: flex;
  justify-content: space-between;
}

/* Policy Prose */
.policy-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 920px;
  margin: 34px auto;
  box-shadow: var(--shadow-sm);
}

.policy-box h1 {
  margin-top: 0;
  color: var(--indigo);
  font-size: 28px;
}

.policy-box h2 {
  color: var(--indigo);
  font-size: 18px;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  background: #1E1B4B;
  color: #C7D2FE;
  padding: 40px 0 28px;
  border-top: 3px solid var(--gold);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-title {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.footer-links a:hover {
  color: #FDE68A;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #A5B4FC;
}

@media (max-width: 980px) {
  .hero-grid, .kpi-grid, .product-grid, .pillars-grid, .reviews-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-grid, .kpi-grid, .product-grid, .pillars-grid, .reviews-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 0;
  }
}
