:root {
  color-scheme: light;
  --bg: #f5f7f9;
  --panel: #ffffff;
  --panel-muted: #eef3f6;
  --text: #172026;
  --muted: #65727c;
  --line: #dce4e9;
  --accent: #146c94;
  --accent-strong: #0d4f70;
  --warn: #965c12;
  --shadow: 0 18px 40px rgba(31, 47, 55, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(20, 108, 148, 0.08), transparent 320px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav a,
.primary-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
.primary-link:hover {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.landing {
  min-height: 100vh;
}

.intro {
  max-width: 860px;
  padding: 10vh 0;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  max-width: 1180px;
}

.tool-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.tool-link {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 18px;
  text-decoration: none;
}

.tool-link:hover {
  border-color: rgba(20, 108, 148, 0.32);
  background: #fff;
  transform: translateY(-1px);
}

.tool-link strong {
  color: var(--accent-strong);
  font-size: 1.05rem;
}

.tool-link span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.tool-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field,
.search-field {
  display: grid;
  gap: 6px;
}

.field span,
.search-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 108, 148, 0.14);
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 0 16px;
}

button:hover {
  background: var(--accent-strong);
}

button:disabled {
  cursor: progress;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1440px);
    padding-top: 18px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 2.25rem;
  }

  .landing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 6vh;
  }
}
