/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange:       #1E3355;   /* TS Lab navy — primary accent */
  --orange-light: #EAF0F8;   /* soft navy tint for backgrounds */
  --teal:         #4DC8CC;   /* TS Lab teal — secondary highlight */
  --dark:         #1A1A1A;
  --mid:          #555555;
  --light:        #F4F7FB;
  --yellowish:    #F4F7FB;
  --white:        #FFFFFF;
  --border:       #DDE4EE;

  --radius:       12px;
  --radius-lg:    20px;

  --font-sans:    'Montserrat', sans-serif;
  --font-display: 'Sora', sans-serif;

  --max-w:        1120px;
  --section-py:   5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
  line-height: 1.6;
  color: var(--mid);
}

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 91.666%;
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: .9375rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  transition: opacity .2s, transform .15s;
}
.btn-primary:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: var(--dark);
  font-weight: 600;
  font-size: .9375rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover {
  border-color: var(--orange);
  background: var(--orange-light);
}

.btn-outline {
  display: inline-block;
  color: var(--orange);
  font-weight: 600;
  font-size: .9375rem;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  transition: background .2s, color .2s;
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}


.btn-nav {
  display: inline-block;
  background: var(--orange);   /* navy */
  color: var(--white) !important;
  font-weight: 600;
  font-size: .875rem;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  transition: opacity .2s;
}
.btn-nav:hover {
  opacity: .85;
}

.inline-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── SECTION TITLES ──────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: .75rem;
}
.section-sub {
  text-align: center;
  color: var(--mid);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 91.666%;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link { display: flex; align-items: center; }
.logo { height: 40px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--light);
  padding: 6rem 0 5rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.hero-sub {
  color: var(--mid);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.part-of-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange-light);
  border: 1px solid rgba(30,51,85,.2);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--mid);
}
.part-of-badge a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 14ch;
}
.accent { color: var(--teal); }

.hero-sub {
  font-size: 1.125rem;
  color: var(--mid);
  max-width: 52ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
}

/* ── SOLUTIONS / PILLARS ─────────────────────────────────── */
.solutions {
  padding: var(--section-py) 0;
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.pillar:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pillar-icon svg { width: 22px; height: 22px; }

.pillar-icon.comply  { background: #E8F5E9; color: #2E7D32; }
.pillar-icon.verify  { background: #E3F2FD; color: #1565C0; }
.pillar-icon.protect { background: #E6F7F8; color: #2A9EA6; }
.pillar-icon.signal  { background: #F3E5F5; color: #6A1B9A; }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .625rem;
}
.pillar p {
  font-size: .9375rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ── CLOUD PARTNERS ──────────────────────────────────────── */
.partners-section {
  background: var(--yellowish);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-label {
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.partner-logo-link {
  display: flex;
  align-items: center;
  opacity: .8;
  transition: opacity .2s;
}
.partner-logo-link:hover { opacity: 1; }

.partner-logo { display: block; }
.aws-logo { height: 38px; width: auto; }
.do-logo  { height: 72px; width: auto; }   /* taller because it's a stacked mark+wordmark */

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.about-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  max-width: 58ch;
  line-height: 1.75;
}
.about-text .btn-outline { margin-top: .75rem; }

.about-badge { flex-shrink: 0; }

.part-of-card {
  background: var(--yellowish);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  text-align: center;
  min-width: 220px;
}
.poc-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mid);
  margin-bottom: .75rem;
}
.sourcelab-logo {
  height: 28px;
  width: auto;
  margin-bottom: .75rem;
}
.sourcelab-text-fallback {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: .75rem;
}
.poc-desc {
  font-size: .8125rem;
  color: var(--mid);
  line-height: 1.5;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  background: var(--orange);   /* dark navy for contact section */
  color: var(--white);
  padding: var(--section-py) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-text p {
  color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 42ch;
}

.address-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.address-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.flag { font-size: 1.5rem; flex-shrink: 0; }

.address-block strong {
  display: block;
  font-size: .9375rem;
  margin-bottom: .35rem;
}
.address-block address {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.address-block address a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.address-block address a:hover { color: var(--white); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--yellowish);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}

.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo { height: 32px; width: auto; }

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--teal); }

.footer-family {
  font-size: .875rem;
  color: var(--mid);
  display: flex;
  gap: .3rem;
  align-items: center;
}
.footer-family a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: .5rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .875rem; color: var(--mid); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: .875rem;
  color: var(--mid);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--teal); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner     { grid-template-columns: 1fr; }
  .about-badge     { display: flex; justify-content: flex-start; }
  .contact-inner   { grid-template-columns: 1fr; }
  .footer-top      { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --section-py: 3.5rem; }

  .nav-links {
    gap: 1rem;
  }
  .nav-links li:not(:last-child) { display: none; }

  .hero { padding: 4rem 0 3.5rem; }
  .hero h1 { font-size: 2.4rem; }

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

  .partners-logos { gap: 2.5rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
