/* GS Labs Inc. corporate site. Tokens come from the logo: sky #b6e2f9, charcoal #59595c. */
:root {
  --sky: #b6e2f9;
  --sky-soft: #eaf6fd;
  --mist: #f6f9fb;
  --ink: #26282c;
  --ink-2: #3b3e44;
  --body: #44464a;
  --muted: #59595c;
  --muted-light: #9ea3aa;
  --on-dark: #c9cdd2;
  --blue: #1b6a94;
  --blue-dark: #145275;
  --border: #d9e4ec;
  --input-border: #c7d4de;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --head: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.08; font-weight: 300; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
h3 { font-size: 22px; font-weight: 500; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 720px; }
.copy { font-size: 19px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.stack { display: flex; flex-direction: column; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--white); position: relative; z-index: 20; }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; padding: 10px 4px; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--blue); }
.nav .btn, .nav .btn[aria-current="page"] { padding: 0 18px; height: 42px; color: var(--white); border-bottom: 1px solid var(--blue); }
.nav .btn[aria-current="page"] { background: var(--blue-dark); border-color: var(--blue-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-family: var(--head); font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--sky-soft); color: var(--blue-dark); }
.link { font-family: var(--head); font-weight: 500; font-size: 16px; text-decoration: none; }
.eyebrow { font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eyebrow.blue { color: var(--blue); }
.eyebrow.sky { color: var(--sky); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 80px 0; }
.band-sky { background: var(--sky-soft); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink p { color: var(--on-dark); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.card-lg { padding: 40px; }
.icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--sky-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius); background: var(--sky-soft); color: var(--blue); font-family: var(--head); font-weight: 500; font-size: 14px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.frame { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.frame-cover img { width: 100%; height: 100%; object-fit: cover; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero .frame { width: 380px; height: 480px; justify-self: end; }
.hero .frame img { height: 440px; width: auto; }
.hero-text { gap: 24px; }
.hero-text .lead { max-width: 560px; }

/* Facts */
.facts { padding: 64px 0; }
.fact-n { font-family: var(--head); font-weight: 300; font-size: 48px; line-height: 1; color: var(--white); }
.fact-l { font-size: 16px; color: var(--sky); margin-top: 10px; }

/* Steps */
.step { font-family: var(--head); font-weight: 300; font-size: 44px; line-height: 1; color: var(--blue); }

/* CTA */
.cta { padding: 88px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }

/* Forms */
label { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--ink); display: block; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--input-border); border-radius: var(--radius); padding: 0 14px; height: 48px;
  font-family: var(--text); font-size: 17px; color: var(--ink); background: var(--white);
}
textarea { height: 160px; padding: 12px 14px; resize: vertical; }
.form { gap: 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 14px 16px; background: var(--sky-soft); font-size: 16px; }
.notice.error { border-left-color: #b45309; background: #fff7ed; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 56px 0 40px; margin-top: auto; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 36px; }
.site-footer img { height: 34px; width: auto; align-self: flex-start; }
.site-footer a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-addr { font-size: 15px; line-height: 1.6; }
.foot-legal { border-top: 1px solid var(--ink-2); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.foot-legal p { font-size: 14px; line-height: 1.6; color: var(--muted-light); }

/* Long-form legal pages */
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.prose h2 { font-size: 26px; font-weight: 500; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; }

/* Responsive */
@media (max-width: 960px) {
  .wrap { padding: 0 28px; }
  .grid-12 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .grid-12 > .span-3, .grid-12 > .span-4, .grid-12 > .span-5, .grid-12 > .span-7, .grid-12 > .span-8, .grid-12 > .span-12 { grid-column: auto; }
  .foot-grid .span-3, .foot-grid .span-4 { grid-column: span 3; }
  .foot-grid .span-5 { grid-column: span 6; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .frame { width: 100%; max-width: 420px; height: 420px; justify-self: start; }
  .hero .frame img { height: 380px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 64px 0; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 64px; }
  .logo img { height: 30px; }
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 12px; height: 48px; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .facts .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-n { font-size: 40px; }
  .hero { padding: 48px 0 56px; }
  .hero .frame { height: 360px; } .hero .frame img { height: 330px; }
  .actions.stack-sm { flex-direction: column; } .actions.stack-sm .btn { width: 100%; }
  .card, .card-lg, .form { padding: 24px; }
  .section { padding: 64px 0; }
  .cta { padding: 56px 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid .span-5 { grid-column: span 2; }
  .foot-grid .span-3, .foot-grid .span-4 { grid-column: span 1; }
}
