:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-strong: #eef3f9;
  --text: #101828;
  --muted: #667085;
  --line: #e4e9f0;
  --brand: #2563eb;
  --brand-dark: #1747b8;
  --brand-soft: #e9f0ff;
  --dark: #111827;
  --white: #ffffff;
  --radius: 18px;
  --container: 1180px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(228, 233, 240, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: #475467;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #d8e1f0;
  border-radius: 10px;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: #b8c7df;
  background: #fbfcfe;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 84px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 20%, rgba(37, 99, 235, 0.08), transparent 32%),
    radial-gradient(circle at 5% 100%, rgba(37, 99, 235, 0.055), transparent 28%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--brand);
}

.hero-text {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-dark);
}

.button-secondary {
  border-color: #d6deeb;
  background: var(--white);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.07);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: #7a8699;
  font-size: 13px;
  font-weight: 600;
}

/* Hero preview */
.tool-preview {
  display: flex;
  justify-content: flex-end;
}

.preview-window {
  width: min(100%, 500px);
  overflow: hidden;
  border: 1px solid #dce3ed;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.12);
  transform: rotate(1.5deg);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6cfda;
}

.preview-label {
  margin-left: auto;
  margin-right: auto;
  color: #7b8797;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.preview-body {
  padding: 24px;
}

.preview-search {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  color: #8a95a5;
  background: #fff;
  font-size: 13px;
}

.search-icon {
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.preview-search kbd {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid #dfe5ec;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #f8fafc;
  color: #8691a0;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
}

.preview-section-label {
  margin-top: 24px;
  margin-bottom: 9px;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.preview-list {
  display: grid;
  gap: 7px;
}

.preview-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f8fafc;
}

.preview-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
}

.preview-item strong,
.preview-item small {
  display: block;
}

.preview-item strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.preview-item small {
  margin-top: 2px;
  color: #7d8999;
  font-size: 11px;
}

.preview-arrow {
  color: #9aa5b5;
  font-size: 16px;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2,
.about-grid h2,
.arrow-promo h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Tool cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: #cfdaea;
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
}

.icon-blue { background: #eaf2ff; color: #2864d7; }
.icon-purple { background: #f2ebff; color: #7a42d1; }
.icon-green { background: #eaf9f1; color: #208456; }
.icon-orange { background: #fff2e4; color: #c76b13; }
.icon-pink { background: #ffeaf2; color: #c23b72; }
.icon-teal { background: #e5f8f8; color: #138486; }

.card-content {
  min-width: 0;
}

.card-content strong,
.card-content span {
  display: block;
}

.card-content strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.card-content span {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
}

.card-arrow {
  color: #98a2b3;
  font-size: 18px;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 175px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
  border-color: #cfdaea;
  box-shadow: var(--shadow);
}

.category-number {
  display: block;
  margin-bottom: 36px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.category-card strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.category-card > span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* About strip */
.about-strip {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.benefit-grid {
  display: grid;
  gap: 20px;
}

.benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.benefit:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #f9fbfd;
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
}

.benefit strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
}

.benefit p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Arrow Gigs promo */
.arrow-promo {
  padding: 64px 0;
  background: var(--dark);
  color: var(--white);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.promo-inner .eyebrow {
  color: #8fb1ff;
}

.arrow-promo h2 {
  max-width: 720px;
}

.arrow-promo p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: #b8c0cf;
  font-size: 14px;
  line-height: 1.65;
}

.button-light {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--dark);
}

.button-light:hover,
.button-light:focus-visible {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Footer */
.site-footer {
  background: #0d1320;
  color: #d8dee8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 54px 0 46px;
}

.brand-footer .brand-mark {
  background: var(--white);
  color: var(--dark);
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-copy span {
  color: #9da8b7;
}

.footer-brand p {
  max-width: 280px;
  margin: 16px 0 0;
  color: #8e9aaa;
  font-size: 13px;
  line-height: 1.6;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h3 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  color: #8e9aaa;
  font-size: 13px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #778294;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1020px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 11px;
  }

  .brand {
    min-width: auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 20px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .tool-preview {
    justify-content: flex-start;
  }

  .preview-window {
    transform: none;
  }

  .tool-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding: 64px 0 60px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    gap: 6px;
    line-height: 1.7;
  }

  .preview-body {
    padding: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .tool-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 98px;
  }

  .promo-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button-light {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 10px 14px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 12px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .preview-window {
    border-radius: 16px;
  }

  .preview-topbar {
    min-height: 42px;
  }

  .preview-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .preview-icon {
    width: 34px;
    height: 34px;
  }

  .card-content span {
    line-height: 1.4;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
