/* The Simple Integration Company (ZeroTouch) — minimalist site
   Design tokens */
:root {
  --ink: #0e3a40;        /* deep teal — headings */
  --text: #2b343a;       /* body */
  --muted: #647079;      /* secondary */
  --line: #e2ecec;       /* hairlines */
  --bg: #ffffff;
  --bg-alt: #edf7f5;     /* soft teal tint */
  --accent: #109a9c;     /* brand teal */
  --accent-dark: #0c7a7c;
  --accent-soft: #e2f4f3;
  --accent-green: #6fb92c; /* brand green (logo top) */
  --maxw: 1080px;
  --pad: clamp(20px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Typography */
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { color: var(--ink); display: flex; align-items: center; gap: 11px; }
.brand .logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-text small { font-weight: 500; font-size: 0.66rem; color: var(--muted); letter-spacing: 0.03em; margin-top: 2px; }
/* legacy dot mark (unused) */
.brand .mark { width: 22px; height: 22px; border: 1.5px solid var(--accent); border-radius: 50%; position: relative; }
.brand .mark::after { content:""; position:absolute; inset: 5px; background: var(--accent); border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: 0.95rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { border: 1px solid var(--accent); color: var(--accent); padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
.nav-cta:hover { background: var(--accent); color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-size: 0.98rem; font-weight: 500; transition: all .15s; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { color: var(--accent); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.8rem; }

/* Sections */
section { padding: clamp(36px, 5vw, 60px) 0; }
.section-alt { background: var(--bg-alt); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero */
.hero { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(32px, 4vw, 48px); }
.hero .lead { margin-top: 1.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero-art { width: 100%; max-width: 440px; height: auto; margin-left: auto; display: block; }

/* Process diagram */
.process-art { width: 100%; max-width: 900px; height: auto; display: block; margin: 1.8rem auto 0; }

/* Stats / focus strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 1.8rem; }
.stat { background: var(--bg); padding: 30px 20px; text-align: center; }
.stat-num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

/* Case study cards */
.cs-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card .cs-outcome { color: var(--ink); font-size: 0.94rem; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Pill row */
.pills { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 2.4rem; }
.pills span { color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.pills span::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Grid of cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 1.8rem; }
.card { background: var(--bg); padding: 30px; }
.card .num { font-size: 0.85rem; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { color: var(--muted); font-size: 0.92rem; padding: 5px 0 5px 18px; position: relative; }
.card li::before { content:"—"; position: absolute; left: 0; color: var(--accent); }

/* Value list (why choose) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 40px; margin-top: 1.8rem; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* Section header block */
.section-head { max-width: 60ch; }
.section-head .lead { margin-top: 0.8rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; margin-top: 1.8rem; }
.member .role { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--muted); margin: 4px 0 12px; font-weight: 600; }
.member p { color: var(--muted); font-size: 0.95rem; }
.region-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; margin-top: 4px; }
.region-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; letter-spacing: 0.02em; margin-bottom: 16px; }
.avatar-photo { object-fit: cover; padding: 0; background: none; border: 2px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Principles list */
.principles { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 1.6rem 0 0; max-width: 720px; }
.principles li { padding: 10px 0 10px 22px; position: relative; break-inside: avoid; color: var(--text); border-bottom: 1px solid var(--line); }
.principles li::before { content:"✓"; position: absolute; left: 0; color: var(--accent); font-size: 0.85rem; font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-top: 2.6rem; }
.contact-info .row { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: 1px solid var(--line); }
.contact-info .k { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.contact-info .v { color: var(--ink); margin-top: 3px; }
.contact-info .v a { color: var(--accent); }
form label { display: block; font-size: 0.82rem; color: var(--ink); font-weight: 500; margin: 16px 0 6px; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 0.96rem; color: var(--text); background: var(--bg); transition: border-color .15s;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
form textarea { min-height: 130px; resize: vertical; }
form .btn-primary { margin-top: 22px; width: auto; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-green) 100%); color: #fff; border-radius: 18px; padding: clamp(36px, 6vw, 64px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 12px auto 0; }
.cta-band .btn { margin-top: 26px; background: #fff; color: var(--accent-dark); border-color: #fff; font-weight: 600; }
.cta-band .btn:hover { background: rgba(255,255,255,0.9); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; color: var(--ink); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a:hover { color: var(--ink); }
.footer-privacy { margin: 38px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); max-width: 70ch; }
.footer-privacy a { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--accent); }

/* Legal / policy page */
.legal { max-width: 760px; }
.legal h2 { margin: 2rem 0 0.6rem; font-size: 1.25rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.1rem; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; font-size: 1.05rem; }
  .nav-cta { margin-top: 6px; }
  .menu-btn { display: block; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .principles { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { max-width: 300px; margin: 8px auto 0; order: -1; }
}
