/* SetuWork brand palette (as supplied 2026-09-07) */
:root {
  --primary: #0082FD;   /* Bright Blue — primary buttons, links, active states */
  --secondary: #00EAE2; /* Teal / Cyan — "work" in wordmark, highlights, secondary actions */
  --navy: #012148;      /* Deep Navy — main brand, navbar, footer, headings */
  --navy-dark: #02183B; /* Dark Navy — hover/background variant */
  --ink: #012148;
  --muted: #394E6E;     /* Text Gray — secondary text */
  --bg: #ffffff;
  --bg-alt: #F5F8FC;    /* Light Background — website sections/cards */
  --border: #E6ECF3;    /* Border Gray */
  --radius: 10px;
  --header-h: 68px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--secondary); }

/* Wraps both the nav links and the login/register buttons — on desktop
   this just spreads them across the remaining header width; on mobile
   this whole block is what the hamburger toggles open/closed as one
   unit, so a visitor gets both navigation AND the CTAs in the drawer,
   not just one or the other. */
.nav-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
  margin-left: 24px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
nav.main-nav a:hover { color: #fff; }

.nav-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--secondary); color: var(--navy); text-decoration: none; }
.site-header .btn-outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.site-header .btn-outline:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--bg-alt); text-decoration: none; }
.btn-block { width: 100%; }

/* Hamburger toggle — hidden on desktop, shown under the mobile breakpoint */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 8vw, 72px) 0; }
section.alt { background: var(--bg-alt); }

.hero { padding: clamp(56px, 10vw, 88px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

h2.section-title { font-size: clamp(1.5rem, 3.5vw, 1.9rem); text-align: center; margin: 0 0 12px; }
p.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(1, 33, 72, 0.08); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Marks a capability that's available on request rather than by default —
   see features.html's "Advanced customization" section. */
.badge-advanced {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--secondary);
  border-radius: 999px;
  padding: 2px 9px;
}

.pricing-card {
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 40px);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.pricing-card .price { font-size: clamp(2.4rem, 6vw, 3rem); font-weight: 700; margin: 8px 0; }
.pricing-card .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pricing-card ul { text-align: left; margin: 24px 0; padding: 0; list-style: none; }
.pricing-card li { padding: 6px 0; }
.pricing-card li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
footer.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
footer.site-footer nav a { color: rgba(255, 255, 255, 0.7); }
footer.site-footer nav a:hover { color: #fff; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 18px; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* ---------- Responsive: mobile nav ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .nav-collapse {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-collapse.is-open { opacity: 1; transform: translateY(0); visibility: visible; }

  nav.main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; margin: 0; }
  nav.main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  nav.main-nav a { display: block; padding: 14px 20px; }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 4px 20px 20px;
  }
  .nav-actions .btn { width: 100%; }

  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; }

  footer.site-footer .wrap { flex-direction: column; align-items: flex-start; }
  footer.site-footer nav ul { flex-direction: column; gap: 4px; }
}

/* ---------- Responsive: small phones ---------- */
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 1.1rem; }
  section { padding: 40px 0; }
  .card { padding: 20px; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .card, nav.main-nav, .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    transition: none;
  }
}
