:root {
  --paper: #f7f4ed;
  --ink: #1d1b17;
  --muted: #6d675c;
  --line: #d8d0c1;
  --accent: #0c6b5f;
  --accent-2: #b6402a;
  --panel: #fffdfa;
  --shadow: 0 12px 35px rgba(29, 27, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.topbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 48px);
}

.brand {
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 34px;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 146px;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

main {
  min-height: calc(100vh - 57px);
}

.search-home {
  margin: 0 auto;
  max-width: 860px;
  padding: 14vh 20px 48px;
  text-align: center;
}

.coming-soon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(30, 103, 198, 0.08) 0 25%, transparent 25% 100%),
    linear-gradient(315deg, rgba(255, 190, 18, 0.14) 0 18%, transparent 18% 100%),
    #f8fbff;
  display: grid;
  min-height: calc(100vh - 57px);
  padding: clamp(42px, 8vw, 92px) 20px;
}

.coming-shell {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.coming-brand {
  align-items: center;
  display: inline-flex;
  gap: 18px;
  margin: 0 auto clamp(34px, 6vw, 58px);
}

.coming-mark {
  display: block;
  height: 112px;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 112px;
}

.coming-name {
  color: #213244;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 72px;
  font-weight: 850;
  line-height: 1;
}

.coming-name span:first-child {
  color: #1e67c6;
}

.coming-name span:nth-child(2) {
  color: #ffbe12;
}

.eyebrow {
  color: #1e67c6;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.coming-shell h1 {
  font-size: 64px;
  line-height: 0.96;
  margin-bottom: 24px;
}

.coming-copy {
  color: #304153;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 auto 30px;
  max-width: 650px;
}

.coming-meter {
  background: rgba(48, 65, 83, 0.12);
  border-radius: 999px;
  height: 8px;
  margin: 0 auto 12px;
  max-width: 360px;
  overflow: hidden;
}

.coming-meter span {
  background: linear-gradient(90deg, #1e67c6, #ffbe12);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 42%;
}

.coming-note {
  color: #304153;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.home-logo {
  display: block;
  margin: 0 auto 32px;
  max-width: min(620px, 92vw);
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 100%;
}

h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.95;
  margin: 0 0 28px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

h2 {
  font-size: 18px;
  margin: 0 0 14px;
}

.search-box,
.inline-search {
  display: grid;
  gap: 12px;
}

.search-box {
  grid-template-columns: 1fr auto;
}

.search-box input[type="search"],
.inline-search input,
.tool input {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.search-box input[type="search"] {
  grid-column: 1 / -1;
}

button {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  min-height: 44px;
  padding: 0 18px;
}

button:hover {
  background: #09564d;
}

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

.segmented label {
  background: rgba(255, 253, 250, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  padding: 10px 12px;
}

.scope,
.meta,
.url {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.results-shell,
.panel {
  margin: 0 auto;
  max-width: 980px;
  padding: 38px 20px 80px;
}

.narrow {
  max-width: 720px;
}

.page-logo {
  display: block;
  height: 86px;
  margin: 0 0 20px;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 86px;
}

.inline-search {
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-bottom: 18px;
}

.results {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.results li,
.tool,
.answer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 18px;
}

.result-title {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pill {
  background: #eee7da;
  border-radius: 999px;
  color: var(--muted);
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  margin-right: 6px;
  padding: 4px 8px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 30px;
}

.tool {
  box-shadow: none;
  display: grid;
  gap: 10px;
  margin: 0;
}

table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  text-align: left;
}

.truncate {
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

pre {
  background: #eee7da;
  border-radius: 6px;
  overflow: auto;
  padding: 14px;
}

@media (max-width: 760px) {
  .topbar,
  .nav,
  .segmented {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box,
  .inline-search,
  .grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 30px;
    width: 128px;
  }

  .home-logo {
    margin-bottom: 24px;
  }

  .coming-shell h1 {
    font-size: 44px;
  }

  .coming-copy {
    font-size: 18px;
  }

  .coming-brand {
    gap: 12px;
  }

  .coming-mark {
    height: 72px;
    width: 72px;
  }

  .coming-name {
    font-size: 44px;
  }
}
