:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --ink: #161815;
  --muted: #62685f;
  --line: #dfe4d7;
  --green: #176b4c;
  --green-dark: #0f4a35;
  --yellow: #f3c74e;
  --shadow: 0 18px 50px rgba(22, 24, 21, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(246, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav .nav-cta {
  color: var(--ink);
  background: #e9eee2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: stretch;
  padding: clamp(36px, 7vw, 86px) clamp(18px, 5vw, 64px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.05;
}

h3 {
  margin: 14px 0 8px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions,
.trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  color: #fff;
  background: var(--green);
}

.primary:hover {
  background: var(--green-dark);
}

.secondary {
  background: #e9eee2;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 34px 0 0;
}

.stats div,
.hero-panel,
.mod-card,
.details,
.content-block,
.trust {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 18px;
  border-radius: 8px;
}

.stats dt {
  font-size: 1.6rem;
  font-weight: 800;
}

.stats dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-panel {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22, 24, 21, 0.04), rgba(22, 24, 21, 0.72)),
    url("assets/dzire.svg") center 30% / 82% no-repeat,
    #dfeadf;
  color: #fff;
}

.dzire-feature {
  background:
    linear-gradient(180deg, rgba(22, 24, 21, 0.02), rgba(22, 24, 21, 0.74)),
    url("assets/dzire-2024/dzire-front.jpeg") center / cover no-repeat,
    #dfeadf;
}

.tag,
.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.tag {
  padding: 8px 10px;
  color: var(--ink);
  background: var(--yellow);
}

.hero-panel h2 {
  margin-top: 16px;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.hero-panel a,
.mod-content a,
.footer a {
  font-weight: 800;
  color: var(--green);
}

.section {
  padding: 26px clamp(18px, 5vw, 64px) 56px;
}

.section-heading {
  margin-bottom: 22px;
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mod-card {
  overflow: hidden;
  border-radius: 8px;
}

.mod-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e3eadd;
  object-fit: cover;
}

.mod-content {
  padding: 18px;
}

.mod-content p,
.content-block p,
.content-block li,
.download-tile span,
.steps li,
.trust p {
  color: var(--muted);
  line-height: 1.65;
}

.pill {
  padding: 6px 9px;
  color: var(--green-dark);
  background: #dff0e7;
}

.video-link-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.download-tile {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf4;
  text-decoration: none;
}

.download-tile strong {
  color: var(--ink);
}

.download-tile:hover {
  border-color: var(--green);
  background: #edf5ec;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.trust {
  justify-content: space-between;
  margin: 0 clamp(18px, 5vw, 64px) 56px;
  padding: 24px;
  border-radius: 8px;
}

.trust div {
  max-width: 760px;
}

.footer {
  padding: 28px clamp(18px, 5vw, 64px);
  background: #101510;
  color: #fff;
}

.footer p {
  margin: 8px 0;
}

.fineprint {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
}

.legal-page h1 {
  margin: 0 0 18px;
}

.legal-page h2 {
  margin-top: 30px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-box {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.contact-box p {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 64px) 64px;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.download-hero img {
  width: 100%;
  border-radius: 8px;
  background: #e3eadd;
}

.download-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.download-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.details,
.content-block {
  border-radius: 8px;
  padding: 22px;
}

.details dl {
  margin: 0;
}

.details div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.content-block h2 {
  margin-top: 22px;
  font-size: 1.45rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 24px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #e3eadd;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .split,
  .download-layout,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

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

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

  .hero-panel {
    min-height: 340px;
  }

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