/* Teevr Systems — teevr.in
   Colours, type and spacing follow the approved design (1440px desktop layout),
   with tablet and phone layouts added. */

:root {
  --navy: #0F2A4A;
  --navy-deep: #0A1D34;
  --red: #C8102E;
  --green: #9FCB5E;
  --ink: #33404D;
  --body: #4A5560;
  --mist: #C9D4E2;
  --line: #DDE3EA;
  --line-2: #E3E8EE;
  --card-line: #2C4A6E;
  --input-line: #5B7596;
  --grey-bg: #F4F6F9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
  --content: 1200px;
  --edge: max(var(--gutter), calc((100% - var(--content)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 96px; }

.wrap { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

/* ---------- shared pieces ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 4px; color: var(--red); text-transform: uppercase; }
.eyebrow.on-dark { color: var(--green); }
.rule { width: 96px; height: 5px; background: var(--red); }
.h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 46px); line-height: 1.15; color: var(--navy); font-weight: 700; }
.on-dark .h2, .h2.on-dark { color: #fff; }
.lede-italic { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--navy); }
.stack { display: flex; flex-direction: column; gap: 20px; }

.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 18px 30px; border-radius: 2px; text-align: center; font-family: inherit; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; border: 0; }
.btn-red:hover { background: #A50D26; color: #fff; }
.btn-ghost-light { border: 1.5px solid #fff; color: #fff; padding: 16.5px 30px; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; padding: 18px 28px; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost-navy { border: 1.5px solid var(--navy); color: var(--navy); padding: 16.5px 28px; }
.btn-ghost-navy:hover { background: var(--navy); color: #fff; }

/* logo shown at the top-right of most sections */
.section-logo { position: absolute; right: var(--edge); top: 40px; height: 44px; width: auto; display: block; }
.torn + .section-logo, .torn ~ .section-logo { top: 36px; }

/* white torn edge across the top of dark sections */
.torn { position: absolute; left: 0; top: 0; width: 100%; height: clamp(60px, 11.1vw, 160px); display: block; filter: drop-shadow(0 4px 8px rgba(10,23,41,0.42)); pointer-events: none; }

/* saffron / white / green strip */
.tricolour { position: absolute; left: 0; bottom: 0; width: 100%; height: 8px; display: flex; }
.tricolour span { flex: 1; }
.tricolour span:nth-child(1) { background: #FF9933; }
.tricolour span:nth-child(2) { background: #fff; }
.tricolour span:nth-child(3) { background: #138808; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line-2); }
.site-header .wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; color: var(--navy); }
.main-nav a:hover { color: var(--red); }
.main-nav a.nav-cta { color: #fff; background: var(--red); padding: 13px 22px; border-radius: 2px; font-weight: 600; }
.main-nav a.nav-cta:hover { background: #A50D26; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.back-link { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--navy); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; min-height: 760px; display: flex; align-items: center; overflow: hidden; padding-bottom: 96px; }
.hero-img { position: absolute; right: 0; top: 0; width: 54.2%; height: 100%; object-fit: cover; display: block; }
.hero-fade { position: absolute; left: 45.8%; top: 0; width: 240px; height: 100%; background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(10,29,52,0) 100%); }
.hero-content { position: relative; max-width: 700px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 4.45vw, 64px); line-height: 1.08; font-weight: 700; color: #fff; }
.hero p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--mist); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.hero-bottom-fade { position: absolute; left: 0; bottom: 0; width: 100%; height: 170px; background: linear-gradient(180deg, rgba(10,29,52,0) 0%, rgba(10,29,52,0.85) 55%, var(--navy-deep) 100%); }
.hero-mii { position: absolute; left: var(--edge); right: var(--edge); bottom: 34px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; }
.hero-mii strong { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: 6px; color: #fff; }
.hero-mii span { font-size: 17px; letter-spacing: 1px; color: var(--mist); }

/* ---------- about ---------- */
.about { position: relative; padding: 120px 0; }
.about .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; }
.about-copy { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--body); }

/* ---------- group ---------- */
.group { position: relative; background: var(--navy); color: #fff; padding: 152px 0 112px; }
.group .wrap { display: flex; flex-direction: column; gap: 56px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.group-card { background: var(--navy-deep); border: 1px solid var(--card-line); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.group-card .tag { font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--green); }
.group-card h3 { font-family: var(--serif); font-size: 28px; line-height: 1.2; color: #fff; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.group-card h3 img { height: 34px; width: auto; display: block; }
.group-card p { font-size: 16px; line-height: 1.65; color: var(--mist); }
.group-card a { margin-top: 6px; font-size: 15px; font-weight: 600; color: #fff; }
.group-closing { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: #fff; }

/* ---------- capabilities ---------- */
.capabilities { position: relative; background: var(--grey-bg); padding: 112px 0; }
.capabilities .wrap { display: flex; flex-direction: column; gap: 56px; }
.cap-label { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--navy); }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cap-card { background: #fff; border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.cap-card h3, .cap-dark h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.cap-card p { font-size: 15px; line-height: 1.6; color: var(--body); }
.cap-fig { display: flex; flex-direction: column; gap: 6px; }
.cap-fig img { width: 100%; height: 140px; object-fit: cover; display: block; }
.cap-fig span { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--navy); }
.cap-card > img { width: 100%; height: 150px; object-fit: cover; display: block; }
.cap-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cap-dark { background: var(--navy); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.cap-dark h3 { color: #fff; }
.cap-dark p { font-size: 15px; line-height: 1.6; color: var(--mist); }
.img-150 { width: 100%; height: 150px; object-fit: cover; display: block; }
.img-116 { width: 100%; height: 116px; object-fit: cover; object-position: 50% 45%; display: block; margin-top: -8px; }
.img-266 { width: 100%; height: 266px; object-fit: cover; display: block; }
.white-plate { background: #fff; display: flex; justify-content: center; padding: 6px; margin-top: -6px; }
.white-plate img { height: 110px; width: auto; display: block; }
.autopilot-plate { background: #fff; height: 266px; padding: 10px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; }
.autopilot-plate img { height: 118px; width: auto; max-width: 100%; display: block; }

/* ---------- make in india ---------- */
.mii { position: relative; background: var(--navy); color: #fff; padding: 104px 0; min-height: 500px; display: flex; align-items: center; }
.mii .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: center; padding-top: 24px; }
.mii h2 { font-family: var(--serif); font-size: clamp(34px, 3.5vw, 50px); line-height: 1.12; }
.mii p { font-size: 19px; line-height: 1.6; color: var(--mist); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span { border: 1px solid var(--input-line); padding: 12px 20px; font-size: 16px; font-weight: 500; }

/* ---------- why teevr ---------- */
.why { position: relative; padding: 112px 0; }
.why .wrap { display: flex; flex-direction: column; gap: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.why-item { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--navy); padding-top: 28px; }
.why-item h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.why-item p { font-size: 16px; line-height: 1.65; color: var(--body); }

/* ---------- vioo / ugv ---------- */
.ugv { position: relative; background: var(--grey-bg); padding: 112px 0; }
.ugv .wrap { display: flex; flex-direction: column; gap: 56px; }
.ugv-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.ugv-intro { display: flex; flex-direction: column; gap: 22px; }
.ugv-intro h2 { display: flex; align-items: center; flex-wrap: wrap; column-gap: 16px; }
.ugv-intro h2 img { height: 50px; width: auto; display: block; }
.ugv-intro p { font-size: 18px; line-height: 1.7; color: var(--body); }
.ugv-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.ugv-feature { text-decoration: none; display: flex; flex-direction: column; background: var(--navy-deep); color: #fff; min-height: 416px; padding: 40px; justify-content: space-between; gap: 20px; }
.ugv-feature:hover { color: #fff; }
.ugv-feature .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ugv-feature .tag { font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--green); }
.ugv-feature .brandmark { font-size: 13px; letter-spacing: 2px; color: var(--mist); display: flex; align-items: center; gap: 8px; }
.ugv-feature .brandmark img { height: 22px; width: auto; display: block; }
.ugv-feature > img { width: 100%; height: 250px; object-fit: cover; display: block; }
.ugv-feature .title { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.ugv-feature .more { font-size: 15px; font-weight: 600; text-decoration: underline; }
.ugv-feature .row.bottom { align-items: flex-end; }
.ugv-tile { text-decoration: none; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.ugv-tile img { width: 100%; height: 240px; object-fit: cover; display: block; }
.ugv-tile span { padding: 16px 20px; font-size: 16px; font-weight: 600; color: var(--navy); }
.ugv-tile:hover span { color: var(--red); }

/* ---------- founders ---------- */
.founders { position: relative; padding: 112px 0; }
.founders .wrap { display: flex; flex-direction: column; gap: 44px; }
.founders-tagline { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); color: var(--navy); }
.founders-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.founder { display: flex; flex-direction: column; background: var(--grey-bg); border: 1px solid var(--line); }
.founder-head { background: var(--navy); color: #fff; padding: 24px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.founder-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; }
.founder-head h3 { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.founder-body { padding: 24px 28px 32px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.founder-body .area { font-size: 14px; font-weight: 700; letter-spacing: 3px; color: var(--red); }
.founder-body .role { font-style: italic; font-size: 15px; color: var(--body); }
.founder-body .big { font-family: var(--serif); font-size: 48px; font-weight: 700; color: var(--red); line-height: 1.1; margin-top: 8px; }
.founder-body .big.sm { font-size: 40px; }
.founder-body .sub { font-size: 14px; line-height: 1.5; color: var(--body); }
.founder-body hr { width: 100%; height: 1px; background: #D5DCE4; border: 0; margin: 12px 0; }
.founder-points { display: flex; flex-direction: column; gap: 18px; text-align: left; align-self: stretch; }
.founder-points strong { display: block; font-size: 16px; color: var(--navy); }
.founder-points span { display: block; font-size: 14px; line-height: 1.5; color: var(--body); margin-top: 4px; }
.founders-closing { text-align: center; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--navy); }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--navy-deep); color: #fff; padding: 168px 0 104px; }
.contact .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; }
.contact-intro { display: flex; flex-direction: column; gap: 22px; }
.contact-intro p { font-size: 18px; line-height: 1.6; color: var(--mist); }
.contact-details { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; font-size: 17px; }
.contact-details a { color: #fff; }
.contact-details a:hover { color: var(--green); }
.contact-details strong { color: #fff; }
.contact-details .co { margin-top: 8px; }
.contact-details address { font-style: normal; color: var(--mist); line-height: 1.5; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--mist); }
.contact-form input, .contact-form textarea { height: 48px; border: 1px solid var(--input-line); background: var(--navy); color: #fff; padding: 0 14px; font-size: 16px; font-family: inherit; border-radius: 0; width: 100%; }
.contact-form textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; }
.contact-form .btn { align-self: flex-start; padding: 16px 30px; }
.form-status { font-size: 15px; color: var(--green); min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 4px solid var(--red); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; padding-bottom: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 64px; width: auto; display: block; align-self: flex-start; }
.footer-brand p { font-size: 17px; line-height: 1.65; color: var(--body); max-width: 460px; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col .head { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--red); }
.footer-col a { text-decoration: none; font-size: 16px; color: var(--navy); }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--line); min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--body); padding: 20px 0; }

/* ---------- legal pages ---------- */
.legal-hero { background: var(--navy); padding: 0; min-height: 260px; display: flex; align-items: center; }
.legal-hero .wrap { display: flex; flex-direction: column; gap: 18px; padding: 48px 0; }
.legal-hero .eyebrow { color: var(--green); }
.legal-hero h1 { font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); font-weight: 700; color: #fff; }
.legal-main { padding: 88px 0; }
.legal-main .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 96px; }
.legal-nav { display: flex; flex-direction: column; gap: 14px; }
.legal-nav .head { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--red); }
.legal-nav a { text-decoration: none; font-size: 15px; color: var(--navy); }
.legal-nav a[aria-current="page"] { font-weight: 700; color: var(--red); }
.legal-body { max-width: 800px; display: flex; flex-direction: column; gap: 44px; }
.legal-body section { display: flex; flex-direction: column; gap: 14px; }
.legal-body h2 { font-size: 15px; font-weight: 700; letter-spacing: 3px; color: var(--navy); }
.legal-body p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal-footer { border-top: 4px solid var(--red); }
.legal-footer .wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.legal-footer span { font-size: 14px; color: var(--body); }
.legal-footer a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy); }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { gap: 24px; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-split { grid-template-columns: 1fr; gap: 56px; }
  .about .wrap, .mii .wrap, .contact .wrap, .ugv-top { gap: 56px; }
  .founders-grid { gap: 20px; }
  .founder-head h3 { white-space: normal; }
  .footer-grid { gap: 48px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 96px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line-2); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(10,29,52,0.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .main-nav a.nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .site-header .wrap { position: static; }
  .site-header { position: sticky; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .hero-img { position: relative; width: 100%; height: clamp(260px, 55vw, 460px); order: -1; object-position: 65% 35%; }
  .hero-fade { left: 0; top: auto; width: 100%; height: 120px; background: linear-gradient(180deg, rgba(10,29,52,0) 0%, var(--navy-deep) 100%); position: absolute; top: calc(clamp(260px, 55vw, 460px) - 120px); }
  .hero-content { max-width: none; padding: 32px 0 40px; }
  .hero-bottom-fade { display: none; }
  .hero-mii { position: relative; left: auto; right: auto; bottom: auto; width: min(var(--content), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 20px 0 36px; border-top: 1px solid var(--card-line); }

  .about .wrap, .mii .wrap, .contact .wrap, .ugv-top { grid-template-columns: 1fr; }
  .cards-3, .founders-grid, .why-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 40px; }
  .founders-grid { max-width: 560px; }
  .legal-main .wrap { grid-template-columns: 1fr; gap: 40px; }
  .legal-nav { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
  .legal-nav .head { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   Phone
   ========================================================= */
@media (max-width: 720px) {
  .site-header .wrap { height: 72px; }
  .brand img { height: 44px; }
  .main-nav { top: 72px; }
  section[id] { scroll-margin-top: 72px; }

  .section-logo { display: none; }
  .about, .capabilities, .why, .ugv, .founders { padding: 72px 0; }
  .group { padding: 96px 0 72px; }
  .mii { padding: 96px 0 72px; min-height: 0; }
  .contact { padding: 104px 0 72px; }
  .about .wrap, .mii .wrap, .contact .wrap, .ugv-top { gap: 40px; }
  .group .wrap, .capabilities .wrap, .why .wrap, .ugv .wrap { gap: 40px; }

  .hero-actions .btn, .ugv-actions .btn { flex: 1 1 100%; }
  .hero-mii strong { font-size: 20px; letter-spacing: 4px; }
  .hero-mii span { font-size: 15px; }

  .about-copy, .ugv-intro p { font-size: 17px; }
  .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .cap-card { min-height: 0; }
  .cap-fig img { height: 180px; }
  .cap-card > img { height: 200px; }
  .group-card { padding: 28px 24px; }
  .group-card h3 { font-size: 24px; }

  .ugv-feature { padding: 24px; min-height: 0; }
  .ugv-feature > img { height: 200px; }
  .ugv-feature .title { font-size: 22px; }
  .cards-3 .ugv-tile img { height: 200px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { align-self: stretch; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .legal-hero { min-height: 180px; }
  .legal-main { padding: 48px 0 64px; }
  .legal-body { gap: 32px; }
  .legal-body p { font-size: 16px; }
  .legal-footer .wrap { flex-direction: column; align-items: flex-start; justify-content: center; }
}
