:root {
  --ink: #101623;
  --muted: #657084;
  --line: #e5ebf5;
  --paper: #ffffff;
  --mist: #f6f8fc;
  --blue: #1f6feb;
  --blue-dark: #1858c8;
  --mint: #4fe0b6;
  --amber: #f5b84b;
  --shadow: 0 24px 80px rgba(16, 22, 35, 0.12);
  --soft-shadow: 0 14px 40px rgba(16, 22, 35, 0.07);
  --radius: 22px;
  --max: 1180px;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 88% 8%, rgba(31, 111, 235, 0.16), transparent 32%),
    radial-gradient(circle at 8% 28%, rgba(79, 224, 182, 0.14), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #f5f8ff 45%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.42);
  outline-offset: 4px;
}

.skip-link {
  background: var(--blue);
  border-radius: 0 0 12px 12px;
  color: #fff;
  left: 20px;
  padding: 10px 16px;
  position: fixed;
  top: -60px;
  z-index: 200;
}

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

.site-header {
  height: var(--header);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 100;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(16, 22, 35, 0.05);
}

.nav-shell,
.container {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: 38px;
  padding-right: 38px;
}

.nav-shell {
  align-items: center;
  display: flex;
  height: var(--header);
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  height: 38px;
  width: 38px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-nav a {
  border-radius: 12px;
  color: #354052;
  font-size: 0.94rem;
  font-weight: 720;
  min-height: 44px;
  padding: 10px 13px;
}

.site-nav a:hover {
  background: #eef5ff;
  color: var(--blue);
}

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
}

.menu-toggle {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: var(--ink);
  border-radius: 2px;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 20px;
}

.menu-icon::before {
  position: absolute;
  top: -7px;
}

.menu-icon::after {
  position: absolute;
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 86px 0 110px;
  position: relative;
}

.hero::before {
  background-image: url("../images/productivity-illustration.svg");
  background-position: center;
  background-size: cover;
  border-radius: 44px;
  box-shadow: var(--shadow);
  content: "";
  inset: 38px max(36px, calc((100vw - var(--max)) / 2 + 38px));
  opacity: 0.42;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background: linear-gradient(90deg, rgba(251, 252, 255, 0.95) 0%, rgba(251, 252, 255, 0.88) 48%, rgba(251, 252, 255, 0.42) 100%);
  border-radius: 44px;
  content: "";
  inset: 38px max(36px, calc((100vw - var(--max)) / 2 + 38px));
  position: absolute;
  z-index: -1;
}

.hero-content {
  max-width: 790px;
  padding-top: 54px;
}

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--mint);
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 22px 0 26px;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 830;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead {
  color: #364154;
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  font-weight: 540;
  line-height: 1.58;
  max-width: 700px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  font-weight: 820;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(31, 111, 235, 0.24);
  color: #fff;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p,
.card p,
.product-copy p,
.principle p,
.contact-panel p {
  color: var(--muted);
  font-weight: 520;
}

.capability-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.card,
.product-panel,
.principle,
.contact-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.card {
  min-height: 252px;
  padding: 26px;
}

.icon-box {
  align-items: center;
  background: #eef5ff;
  border-radius: 16px;
  color: var(--blue);
  display: flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 22px;
  width: 52px;
}

.icon-box svg {
  height: 26px;
  width: 26px;
}

.product-section {
  background: #101623;
  color: #fff;
}

.product-panel {
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(79, 224, 182, 0.24), transparent 28%),
    linear-gradient(135deg, #182235 0%, #101623 100%);
  border-color: rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  overflow: hidden;
  padding: 36px;
}

.product-copy p {
  color: #c4ccda;
}

.product-badge {
  background: rgba(79, 224, 182, 0.12);
  border: 1px solid rgba(79, 224, 182, 0.32);
  border-radius: 999px;
  color: #8ff3d7;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding: 7px 11px;
  text-transform: uppercase;
}

.mini-ui {
  background: #f5f8ff;
  border: 10px solid #0b0f18;
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  min-height: 420px;
  padding: 24px;
}

.mini-ui h3 {
  color: var(--ink);
  margin-bottom: 20px;
}

.mini-row {
  align-items: center;
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 18px;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  min-height: 62px;
  padding: 12px;
}

.mini-mark {
  background: #eef5ff;
  border-radius: 14px;
  color: var(--blue);
  display: grid;
  flex: 0 0 40px;
  font-weight: 850;
  height: 40px;
  place-items: center;
}

.mini-row span:last-child {
  color: #2d3748;
  font-weight: 780;
}

.principle-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  padding: 28px;
}

.principle-number {
  color: var(--blue);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
}

.contact-panel {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 36px;
}

.email-link {
  color: var(--blue);
  font-weight: 820;
  overflow-wrap: anywhere;
}

.site-footer {
  background: #0d121d;
  color: #fff;
  padding: 44px 0 28px;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #b8c1d1;
}

.footer-title {
  color: #fff;
  font-weight: 850;
  margin-bottom: 14px;
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 22px;
}

@media (max-width: 1100px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-shell,
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
    display: none;
    left: 0;
    padding: 12px 24px 18px;
    position: absolute;
    right: 0;
    top: var(--header);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    padding: 62px 0 82px;
  }

  .hero::before,
  .hero::after {
    inset: 22px 16px;
  }

  .hero::after {
    background: rgba(251, 252, 255, 0.9);
  }

  .hero-content {
    padding-top: 34px;
  }

  .product-panel,
  .principle-grid,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel .button-row {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .product-panel,
  .contact-panel {
    padding: 26px;
  }

  .mini-ui {
    min-height: 360px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
