:root {
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #16202b;
  --muted: #5e6a77;
  --line: #d8e0e8;
  --accent: #204d74;
  --accent-2: #2d6a9f;
  --accent-soft: #e7f0f8;
  --warn-soft: #fff5d9;
  --warn-text: #866500;
  --urgent-soft: #fdeaea;
  --urgent-text: #9c2d2d;
  --shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Shared site shell */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 224, 232, 0.9);
}

.site-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f1f4f7;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Home page */

.hero {
  padding: 76px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 0 15px;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hero-point {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.hero-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.hero-point span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-title {
  margin: 0 0 6px;
  font-size: 1.06rem;
  font-weight: 900;
}

.panel-sub {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.panel-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.queue-card,
.cue-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.queue-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.queue-row + .queue-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.status-pill.urgent {
  background: var(--urgent-soft);
  color: var(--urgent-text);
}

.status-pill.waiting {
  background: var(--warn-soft);
  color: var(--warn-text);
}

.status-pill.ready {
  background: var(--accent-soft);
  color: var(--accent);
}

.cue-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.cue-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.cue-list li + li {
  margin-top: 8px;
}

.section {
  padding: 34px 0;
}

.section-header {
  margin-bottom: 22px;
  max-width: 760px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.02rem;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.proof {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.55rem;
  color: var(--accent);
}

.proof span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta {
  padding: 28px 0 72px;
}

.cta-box {
  background: linear-gradient(135deg, #1c4b71 0%, #295d8b 100%);
  color: #fff;
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.cta-box p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  max-width: 56ch;
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

.cta .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-points,
  .card-grid,
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1080px) {
  .site-header-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand-logo {
    height: 36px;
  }

  .brand {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 10px 0;
  }

  .header-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-header.nav-open .header-actions {
    display: flex;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: auto;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-points,
  .card-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .site-footer-inner {
    align-items: flex-start;
  }
}

/* Services page */

.hero-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 42px;
}

.hero-box p {
  margin: 0 0 14px;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.panel p {
  margin: 0 0 12px;
  color: var(--muted);
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.panel li + li {
  margin-top: 8px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.audience-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.audience-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1020px) {
  .service-grid,
  .two-col,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .service-grid,
  .two-col,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-box {
    padding: 28px;
  }
}

/* Workflow graphic */

.workflow-graphic-panel {
  padding: 12px;
}

.workflow-graphic-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.workflow-graphic {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

@media (max-width: 760px) {
  .workflow-graphic-panel {
    padding: 10px;
  }

  .workflow-graphic-scroll {
    padding-bottom: 6px;
  }

  .workflow-graphic {
    width: 920px;
    max-width: none;
  }
}