/* Base styles shared by every page: variables, reset, typography, buttons. */

:root {
  --ink: #0f172a;
  --ink-hover: #1e293b;
  --text: #475569;
  --line: #e5e7eb;
  --accent: #2563eb;

  --nav-height: 68px;
  --max-width: 1640px;

  /* Side spacing. Grows on very wide screens so content stays inside --max-width. */
  --gutter: max(clamp(20px, 6vw, 100px), calc((100vw - var(--max-width)) / 2));

  /* Change these to resize the logos independently. */
  --header-logo-width: 140px;
  --hero-logo-width: 120px;
}

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

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border: 1px solid #2358f0;
  border-radius: 0;
  background: #2358f0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn:hover {
  border-color: #168f91;
  background: linear-gradient(105deg, #2358f0 72%, #0eb39a 150%);
  box-shadow: inset 0 -2px 0 rgba(14, 179, 154, .45);
}

.btn--small {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
