/* =============================================================================
   Akm Innovations Ltd — global tokens (homepage + other pages)
   ============================================================================= */

:root {
  --maroon: #4b1d1a;
  --maroon-hover: #5e2522;
  --border-soft: #eeeeee;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --text: #111111;
  --muted: #555555;
  --muted-soft: #777777;
  --shadow-card: 0 4px 28px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 2px 14px rgba(0, 0, 0, 0.04);
  --radius-btn: 999px;
  --radius-card: 16px;
  --wrap: min(1120px, 100%);
  --gutter: clamp(20px, 5vw, 72px);

  /* Legacy aliases (about, products, contact, legal pages) */
  --accent: var(--maroon);
  --accent-hover: var(--maroon-hover);
  --accent-soft: rgba(75, 29, 26, 0.12);
  --accent-softer: rgba(75, 29, 26, 0.06);
  --border: var(--border-soft);
  --radius-pill: var(--radius-btn);
  --radius-card-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* =============================================================================
   Homepage (index.html) — corporate landing
   ============================================================================= */

.home-wrap {
  width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.home-wrap--narrow {
  max-width: 720px;
}

/* ----- Header ----- */

.home-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.home-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.home-logo:hover {
  opacity: 0.92;
}

.home-logo:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 4px;
  border-radius: 4px;
}

.home-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 32px;
}

.home-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.home-nav a:hover {
  color: var(--maroon);
}

.home-nav a[aria-current="page"] {
  color: var(--maroon);
  font-weight: 600;
}

/* ----- About page (about.html) ----- */

.about-main {
  overflow-x: hidden;
}

.about-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
}

.about-hero__title {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 20ch;
}

.about-hero__sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 42ch;
}

.about-section {
  padding: clamp(72px, 10vw, 112px) 0;
  background: var(--bg);
}

.about-section--alt {
  background: var(--bg-alt);
}

.about-section__title {
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: clamp(28px, 4vw, 40px);
  color: var(--text);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: 56px;
    align-items: stretch;
  }
}

.about-split__text p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52ch;
}

.about-visual-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.about-section--alt .about-visual-card {
  background: var(--bg);
}

.about-visual-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 18px;
}

.about-visual-card__list {
  list-style: none;
}

.about-visual-card__list li {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.about-visual-card__list li:first-child {
  padding-top: 0;
}

.about-visual-card__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-prose {
  font-size: clamp(1.05rem, 1.9vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
}

.about-build-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .about-build-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .about-values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.about-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.about-section--alt .about-card {
  background: var(--bg);
}

.about-card--value {
  padding: 28px 24px;
}

.about-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--maroon);
  margin-bottom: 12px;
}

.about-card__text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

.about-card__link {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
}

.about-card__link:hover {
  color: var(--maroon-hover);
  text-decoration: underline;
}

.about-cta {
  padding-bottom: clamp(88px, 11vw, 120px);
}

.about-cta__panel {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 56px) clamp(24px, 4vw, 44px);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
}

.about-cta__title {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-cta__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Hero ----- */

.home-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  padding: clamp(56px, 10vw, 110px) 0 clamp(72px, 12vw, 120px);
  min-height: min(78vh, 880px);
  display: flex;
  align-items: center;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .home-hero__grid {
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 56px;
  }
}

.home-hero__title {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
}

.home-hero__sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
}

.home-hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.home-btn--primary {
  background: var(--maroon);
  color: #ffffff;
  border: 1px solid var(--maroon);
}

.home-btn--primary:hover {
  background: var(--maroon-hover);
  border-color: var(--maroon-hover);
  color: #ffffff;
}

.home-btn--secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-soft);
}

.home-btn--secondary:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.home-hero-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.home-hero-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 20px;
}

.home-hero-card__list {
  list-style: none;
}

.home-hero-card__list li {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.home-hero-card__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-hero-card__list li:first-child {
  padding-top: 0;
}

/* ----- Sections ----- */

.home-section {
  padding: clamp(72px, 11vw, 112px) 0;
  background: var(--bg);
}

.home-section--alt {
  background: var(--bg-alt);
}

.home-section__title {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: clamp(36px, 6vw, 52px);
  max-width: 22ch;
}

.home-section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 30ch;
}

/* ----- Focus cards ----- */

.home-focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .home-focus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.home-focus-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.home-section--alt .home-focus-card {
  background: var(--bg);
}

.home-focus-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.home-focus-card__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ----- Product cards ----- */

.home-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-product-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.home-section--alt .home-product-card {
  background: var(--bg);
}

.home-product-card__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  margin-bottom: 20px;
  padding: 0;
}

.home-product-card__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.home-product-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.home-product-card__name {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.home-product-card__name--5lex {
  color: #111111;
}

.home-product-card__name--kwari {
  color: var(--maroon);
}

.home-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  white-space: nowrap;
}

.home-badge--live {
  background: var(--maroon);
  color: #ffffff;
  border-color: var(--maroon);
}

.home-product-card__links {
  margin-top: 18px;
}

.home-store-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
}

.home-store-link:hover {
  color: var(--maroon-hover);
  text-decoration: underline;
}

.home-product-card__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ----- Mission ----- */

.home-mission {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

/* ----- CTA ----- */

.home-cta {
  padding-bottom: clamp(88px, 12vw, 120px);
}

.home-cta__panel {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 7vw, 56px) clamp(24px, 5vw, 48px);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
}

.home-cta__title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.home-cta__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Footer ----- */

.home-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 36px 0 44px;
}

.home-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.home-footer__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.home-footer__copy {
  font-size: 14px;
  color: var(--muted-soft);
}

.home-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.home-footer__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.home-footer__nav a:hover {
  color: var(--maroon);
}

@media (max-width: 600px) {
  .home-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-nav {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 0;
  }

  .home-footer__inner {
    flex-direction: column;
  }

  .home-logo img {
    height: 38px;
  }
}

/* =============================================================================
   Other pages — shared layout (about, products, contact, privacy, terms)
   ============================================================================= */

.navbar {
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo:hover {
  opacity: 0.92;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  min-height: 75vh;
  padding: 100px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  border-bottom: 1px solid var(--accent-soft);
}

.hero h1 {
  max-width: 850px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
}

.hero p {
  max-width: 650px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.primary {
  background: var(--accent);
  color: #ffffff;
}

.primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--bg);
}

.secondary:hover {
  background: var(--accent-softer);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.products-preview {
  padding: 80px 8%;
  background: var(--bg);
}

.products-preview h2,
.products-preview > h1 {
  font-size: 38px;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  color: var(--text);
}

.products-preview h2 {
  margin-bottom: 30px;
}

.products-preview > h1 {
  margin-bottom: 16px;
}

.btn.primary,
.btn.secondary {
  display: inline-block;
}

button.btn {
  cursor: pointer;
  font: inherit;
}

button.btn.primary {
  border: none;
}

button.btn.secondary {
  background: var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--border-soft);
  padding: 36px;
  border-radius: var(--radius-card-lg);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.card-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  margin-bottom: 20px;
  padding: 0;
}

.card-brand__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.card h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--accent);
}

.card h3.product-title--black {
  color: #111111;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card-availability {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 10px;
}

.card-store-line {
  margin-top: 16px;
}

.card-store-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
}

.card-store-link:hover {
  color: var(--maroon-hover);
  text-decoration: underline;
}

footer {
  padding: 30px 8%;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg);
}

footer p {
  color: var(--muted);
  font-size: 15px;
}

footer a {
  margin-left: 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.page {
  padding: 72px 8% 100px;
  max-width: 760px;
}

.page h1 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.page-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 36px;
}

.legal-meta {
  font-size: 15px;
  color: var(--muted-soft);
  margin: -8px 0 28px;
  line-height: 1.5;
}

.prose {
  font-size: 17px;
  line-height: 1.65;
  color: #333333;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 22px;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1rem 1.25rem;
}

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

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--accent-hover);
}

.contact-block {
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.65;
  color: #333333;
}

.contact-block p {
  margin-bottom: 0.75rem;
}

.contact-block a {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted-soft);
  max-width: 480px;
}

.page-actions {
  margin-top: 36px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 18px;
  }

  nav a {
    margin: 0 8px;
  }

  .hero h1 {
    font-size: 42px;
  }

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

  footer {
    flex-direction: column;
  }

  .page h1 {
    font-size: 32px;
  }

  .logo img {
    height: 38px;
  }
}
