/* ==========================================================================
   Sytron Pte Ltd — lean static rebuild
   Single stylesheet. Brand tokens recovered from the original sytron.net
   inline CSS (green #1db150, slate text #2b405b, navy #1f2956).
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  --green:        #1db150;   /* primary brand green (logo / --c-active) */
  --green-dark:   #2c5e59;   /* deep teal-green, used for links */
  --green-deep:   #16863d;   /* hover/darker green */
  --navy:         #1f2956;   /* footer, headings accent, table header */
  --slate:        #2b405b;   /* body text */
  --slate-blue:   #4a667c;   /* secondary buttons / muted accents */
  --mint-1:       #d0ffec;
  --mint-2:       #85fccc;
  --mint-3:       #65eeb7;
  --ink:          #1a2230;
  --muted:        #5b6b7d;
  --line:         #e3e8ee;
  --bg:           #ffffff;
  --bg-soft:      #f5f9f7;

  --maxw:         1200px;
  --radius:       10px;
  --shadow:       0 6px 24px rgba(31, 41, 86, 0.08);
  --shadow-lg:    0 14px 40px rgba(31, 41, 86, 0.14);
  --font: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--green-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ----- Site header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px;
}
.site-logo img { width: 190px; height: auto; }

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 28px;
}
.main-nav a {
  color: var(--slate); font-weight: 600; font-size: 1rem;
  padding: 6px 2px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--green-dark); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 6px; }

/* ----- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(31,41,86,.82), rgba(22,134,61,.72)),
              url("../img/7605--1536x833.jpg") center/cover no-repeat;
}
.hero .container { padding-block: 96px 104px; max-width: 880px; }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: .5px;
  margin-bottom: .35em;
}
.hero h1 .accent { color: var(--mint-2); font-weight: 800; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ----- Section scaffolding ---------------------------------------------- */
.section { padding-block: 72px; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .8rem; font-weight: 700; color: var(--green);
  margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* ----- Benefit cards ----------------------------------------------------- */
.cards-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.benefit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-card img { width: 100%; aspect-ratio: 873 / 1002; object-fit: cover; }

/* ----- Two-column info blocks ------------------------------------------- */
.info-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-block.stack { grid-template-columns: 1fr; max-width: 820px; }
.quote {
  border-left: 4px solid var(--green); padding: 4px 0 4px 22px;
  font-size: 1.25rem; font-style: italic; color: var(--navy);
}

/* ----- Feature / tick lists --------------------------------------------- */
.tick-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.tick-list li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px; border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green); transform: rotate(-45deg);
}
.subhead { font-size: 1.05rem; font-weight: 700; color: var(--slate-blue); margin-top: 8px; }
.source-link { font-size: .95rem; color: var(--muted); }

/* ----- Compliance cards row --------------------------------------------- */
.compliance { display: grid; gap: 28px; }
.compliance .panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}

/* ----- RoHS table -------------------------------------------------------- */
.rohs-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 1rem; }
.rohs-table caption { text-align: left; color: var(--muted); margin-bottom: 10px; }
.rohs-table th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 14px 18px; font-weight: 600;
}
.rohs-table td { padding: 12px 18px; border-bottom: 1px solid #fff; }
.rohs-table tbody tr:nth-child(3n+1) td { background: var(--mint-1); }
.rohs-table tbody tr:nth-child(3n+2) td { background: var(--mint-2); }
.rohs-table tbody tr:nth-child(3n)   td { background: var(--mint-3); }
.rohs-table td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ----- Pillar cards (capabilities intro) -------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.pillar h3 { color: var(--navy); font-size: 1.2rem; }

/* ----- Spec cards (instruments / products with image slots) ------------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.spec-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.spec-card .spec-body { padding: 26px; }
.spec-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .4em; }
.spec-card .tick-list li { font-size: .98rem; }

/* Labelled placeholder for the 42 not-yet-recovered product/instrument photos */
.img-slot {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 12px, #eef4f0 12px, #eef4f0 24px);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--muted); padding: 16px; gap: 6px;
}
.img-slot .img-slot__icon {
  width: 40px; height: 40px; border: 2px solid var(--green); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--green);
  font-size: 1.2rem; font-weight: 700;
}
.img-slot .img-slot__label { font-size: .82rem; font-weight: 600; letter-spacing: .3px; }
.img-slot .img-slot__sub { font-size: .72rem; opacity: .75; }

/* ----- Legal / long-form text pages ------------------------------------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; color: var(--navy); }
.legal h2:first-of-type { margin-top: 0; }
.legal ol.privacy-terms { margin-left: 1.2em; }
.legal .contact-line { background: var(--bg-soft); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 8px 8px 0; }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin-inline: auto; }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-block: 56px 28px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--mint-2); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer h4 {
  color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-logo { width: 170px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact p { margin-bottom: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  align-items: center; padding-top: 22px; font-size: .9rem; color: rgba(255,255,255,.6);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .info-block { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 24px; }
  .main-nav a::after { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding-block: 52px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .container { padding-block: 68px 76px; }
}
