/* MeetYourCoworker — shared styles. No build step, plain CSS. */

:root {
  --ink: #101828;
  --slate: #475467;
  --line: #e4e7ec;
  --primary: #2d4ef5;
  --primary-dark: #1f39c2;
  --accent: #12b394;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --danger: #b42318;
  --radius: 12px;
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

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

a {
  color: var(--primary);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand img {
  height: 28px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-mobile {
  display: block;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile[open] summary {
  border-color: var(--primary);
}

.nav-mobile ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 12px;
  position: absolute;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
  min-width: 200px;
}

.nav-mobile li + li {
  margin-top: 8px;
}

.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 6px 4px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  .nav-mobile {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Sections */
section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-top: 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head p {
  color: var(--slate);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero p.lede {
  color: var(--slate);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--slate);
}

.card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--slate);
}

.card ul li + li {
  margin-top: 6px;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.card-tag.mergers {
  background: rgba(18, 179, 148, 0.12);
  color: var(--accent);
}

.card-tag.new-joiner {
  background: rgba(45, 78, 245, 0.1);
  color: var(--primary);
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 8px;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.steps p {
  color: var(--slate);
  margin: 0;
}

/* Timeline (about page) */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 28px 28px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline .year {
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

/* Placeholder copy styling (about page) */
.placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--slate);
  font-style: italic;
  background: var(--surface-alt);
}

/* Contact form */
.contact-wrap {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-wrap {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info h2 {
  margin-bottom: 12px;
}

.contact-info p {
  color: var(--slate);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--slate);
}

.contact-info li {
  margin-bottom: 10px;
}

form.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row .hint {
  font-weight: 400;
  color: var(--slate);
  font-size: 0.82rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0;
}

.form-success {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  background: var(--surface-alt);
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--slate);
  margin: 0;
}

[hidden] {
  display: none !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  background: var(--surface-alt);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-top img {
  height: 24px;
}

.footer-top nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-top nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-top nav a:hover {
  color: var(--primary);
}

.site-footer .copyright {
  color: var(--slate);
  font-size: 0.85rem;
  margin: 0;
}

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}

.error-page h1 {
  font-size: 2.2rem;
}

.error-page p {
  color: var(--slate);
  margin-bottom: 24px;
}
