:root {
  --brand-primary: #0ea5e9;
  --brand-primary-rgb: 14, 165, 233;
  --text: #000000;
  --muted: rgba(0, 0, 0, 0.7);
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --border: rgba(0, 0, 0, 0.12);
  --accent: #0ea5e9;
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --max-width: 1100px;
  --header-height: 72px;
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
}

body.no-scroll {
  overflow: hidden;
}

main {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-light { font-weight: 300; }
.text-medium { font-weight: 500; }
.text-black { font-weight: 900; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

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

.stack {
  display: grid;
  gap: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 12px 24px rgba(var(--brand-primary-rgb), 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 16px 32px rgba(var(--brand-primary-rgb), 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.5);
}

.badge, .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background-color: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-size: 0.85rem;
}

.link {
  color: var(--accent);
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

  header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
  }

  header.site-header.scrolled {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-height);
}

  .navbar__brand {
    display: flex;
    align-items: center;
  }

  .navbar__brand img {
    display: block;
    max-width: 140px;
    height: auto;
  }

  .navbar__menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 500;
    color: var(--text);
  }

  .navbar__menu a {
    position: relative;
    color: inherit;
    padding: 0.25rem 0;
  }

  .navbar__menu a:hover,
  .navbar__menu a:focus {
    color: var(--accent);
  }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.navbar__toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.navbar__toggle span::before,
.navbar__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: var(--transition);
}

.navbar__toggle span::before { top: -6px; }
.navbar__toggle span::after { top: 6px; }

.navbar__toggle[aria-expanded="true"] span {
  background: transparent;
}

.navbar__toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 6vw, 7rem);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10% 0 auto;
  height: 100%;
  background: url('https://ctovmhwxjuehichrydrl.supabase.co/storage/v1/object/public/Imagaes/Workhint%20blue%20Logo%20mark.png') no-repeat right center;
  background-size: clamp(200px, 30vw, 320px);
  opacity: 0.06;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero p {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-weight: 700;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

  .stepper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(var(--brand-primary-rgb), 0.3);
    transform: translateY(-50%);
    z-index: 0;
  }

.step {
  position: relative;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.step strong {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.2rem;
  color: var(--text);
}

.quote {
  display: grid;
  gap: 1rem;
}

.quote p {
  font-size: 1.05rem;
  color: var(--muted);
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.integration-item {
  display: grid;
  place-items: center;
  width: 120px;
  height: 80px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
}

.toast { display: none; }

.toast[data-visible="true"] { display: block; }

footer.site-footer {
  background: #fff;
  color: var(--text);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer .text-light {
  color: var(--muted);
}

.footer-column p {
  color: var(--muted);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.sidebar-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  align-self: start;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  background: #fff;
}

.sidebar h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.sidebar nav {
  display: grid;
  gap: 0.5rem;
}

.sidebar a {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
}

.sidebar a[aria-current="page"] {
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--accent);
}

.subpage-hero {
  margin-bottom: 2rem;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  font-weight: 900;
}

.subpage-hero p {
  color: var(--muted);
  max-width: 560px;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list li {
  list-style: none;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2000;
  }

.modal[open] {
  display: flex;
}

.modal__content {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 720px;
  width: min(100%, 720px);
  position: relative;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: #fff;
}

.modal__content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
  background: var(--bg-alt);
}

.sidebar-toggle {
  display: none;
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .navbar__menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(12px);
  }

  .navbar__menu[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__actions {
    display: none;
  }

  .hero {
    text-align: center;
  }

  .hero__content {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero::after {
    background-position: center 120%;
  }

  .modal__content {
    padding: 1.5rem;
  }
}
