/* Machine Mitra – static site */
:root {
  --navy: #0B1B3F;
  --asphalt: #2B3442;
  --blue: #1D4ED8;
  --yellow: #FFC20E;
  --yellow-deep: #E0A800;
  --concrete: #EEF1F5;
  --line: #D7DDE6;
  --muted: #5B6575;
  --white: #FFFFFF;
  --head: "Archivo", "Hind", system-ui, sans-serif;
  --body: "Hind", system-ui, sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: var(--r-sm); z-index: 50;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Headline type: wide, heavy, like machine decals */
h1, h2 {
  font-family: var(--head);
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.01em;
}
html[lang="hi"] h1, html[lang="hi"] h2 {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 14px;
  font: 600 17px/1 var(--body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #FFCD3A; }
.btn-ghost { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-ghost:hover { background: rgba(11, 27, 63, .06); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #16295A; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top::before {
  content: ""; display: block; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--navy) 14px 28px);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand span { font-family: var(--head); font-weight: 800; font-variation-settings: "wdth" 112; font-size: 20px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--blue); }
.top-act { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 600 15px/1 var(--body); color: var(--navy);
  background: var(--concrete); border: 0; border-radius: 10px;
  height: 42px; padding: 0 14px; cursor: pointer;
}
.lang:hover { background: #E2E7EF; }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, #F4F7FC 0%, #FFFFFF 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); max-width: 13ch; }
html[lang="hi"] .hero h1 { max-width: 16ch; }
.lead { margin-top: 20px; font-size: 19px; color: var(--asphalt); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Radar: the one animated moment */
.radar { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.radar-svg { width: 100%; height: auto; overflow: visible; }
.ring { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 5 7; opacity: .22; }
.ring-1, .ring-2 { opacity: .35; }
.r-lbl rect { fill: var(--white); stroke: var(--line); }
.r-lbl text { font: 600 12px var(--body); fill: var(--navy); text-anchor: middle; }
.lbl-2 rect { fill: var(--yellow); stroke: var(--yellow-deep); }
.pin-pulse { fill: var(--yellow); opacity: .5; transform-origin: 210px 210px; }
.mach { transform-box: fill-box; transform-origin: center; }
.m-far { opacity: .32; }

.r-status {
  position: absolute; left: 50%; top: 58%; transform: translateX(-50%);
  background: var(--navy); color: var(--white);
  padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.found {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  width: min(330px, 92%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 18px 40px -18px rgba(11, 27, 63, .45);
  padding: 14px 14px 8px;
}
.found-h { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.found-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--concrete); }
.found-row div { flex: 1; line-height: 1.25; }
.found-row b { display: block; font-size: 15px; }
.found-row span { font-size: 13px; color: var(--muted); }
.found-row .call {
  background: var(--yellow); color: var(--navy); font-weight: 600; font-size: 13px;
  padding: 6px 12px; border-radius: 10px;
}

/* Animation states (JS adds classes; without JS / reduced motion the final state shows) */
.radar.anim .ring-1, .radar.anim .ring-2, .radar.anim .lbl-1, .radar.anim .lbl-2,
.radar.anim .m-1, .radar.anim .m-2, .radar.anim .found { opacity: 0; }
.radar.anim .found { transform: translate(-50%, 12px); }
.radar.anim .r-status { opacity: 1; }
.radar.s1 .ring-1, .radar.s1 .lbl-1 { opacity: .35; transition: opacity .4s; }
.radar.s1 .lbl-1 { opacity: 1; }
.radar.s2 .ring-2 { opacity: .35; transition: opacity .4s; }
.radar.s2 .lbl-2 { opacity: 1; transition: opacity .4s; }
.radar.s3 .m-1, .radar.s3 .m-2 { opacity: 1; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.radar.s3 .m-2 { animation-delay: .12s; }
.radar.s4 .found { opacity: 1; transform: translate(-50%, 0); transition: opacity .4s, transform .4s; }
.radar.s4 .r-status { opacity: 0; transition: opacity .3s; }
.radar:not(.anim) .r-status { display: none; }
.radar.anim .pin-pulse { animation: pulse 1.4s ease-out infinite; }
.radar.s4 .pin-pulse { animation: none; }
@keyframes pop { from { transform: scale(.3); } to { transform: scale(1); } }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(3.2); opacity: 0; } }

/* Fleet */
.fleet { padding: 72px 0; background: var(--concrete); }
.fleet h2 { font-size: clamp(26px, 3.2vw, 38px); }
.fleet-grid {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 18px;
}
.fleet-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.fleet-grid img { width: 100%; max-width: 120px; aspect-ratio: 4 / 3; }
.fleet-grid span { font-weight: 500; font-size: 15px; line-height: 1.3; }

/* How */
.how { padding: 80px 0; }
.how h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 20ch; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 22px; }
.steps li::before {
  content: counter(s);
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font: 800 19px/1 var(--head); margin-bottom: 16px;
}
.steps h3 { font-size: 21px; font-weight: 700; font-family: var(--body); }
.steps p { margin-top: 8px; color: var(--asphalt); }

/* Owners */
.owners { padding: 84px 0; background: var(--navy); color: var(--white); }
.owners-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.owners h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 16ch; }
.owners .lead { color: #C9D2E3; margin-bottom: 30px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.perks li { padding: 20px 0 20px 44px; border-bottom: 1px solid rgba(255, 255, 255, .14); position: relative; }
.perks li:first-child { padding-top: 6px; }
.perks li::before {
  content: ""; position: absolute; left: 0; top: 24px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230B1B3F' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.perks li:first-child::before { top: 10px; }
.perks b { display: block; font-size: 18px; font-weight: 600; }
.perks span { display: block; margin-top: 4px; color: #C9D2E3; }

/* Apps */
.apps { padding: 72px 0; }
.apps-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md);
}
.app img { flex: none; }
.app h3 { font-family: var(--head); font-weight: 800; font-variation-settings: "wdth" 112; font-size: 22px; }
.app p { margin: 8px 0 18px; color: var(--asphalt); }

/* Footer */
.foot { background: #07122C; color: #C9D2E3; padding: 56px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.brand-light { color: var(--white); }
.foot-about { margin-top: 14px; max-width: 30em; }
.foot-h { font-family: var(--body); font-variation-settings: normal; font-weight: 600; font-size: 17px; color: var(--white); letter-spacing: 0; }
.foot-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.foot-list a { color: #C9D2E3; text-decoration: none; }
.foot-list a:hover { color: var(--yellow); text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .radar { max-width: 420px; padding-bottom: 60px; }
  .fleet-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .owners-in { grid-template-columns: 1fr; gap: 36px; }
  .apps-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .top-act { margin-left: auto; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 17px; }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 12px; }
  .fleet-grid span { font-size: 14px; }
  .app { flex-direction: column; padding: 22px; }
}
@media (max-width: 420px) {
  .brand span { font-size: 17px; }
  .top-act .btn-sm { display: none; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
