:root {
  --bg: #f4f1e8;
  --text: #111111;
  --muted: #626262;
  --line: #c8c4ba;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

.page {
  width: min(calc(100% - 40px), var(--max));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.status {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 110px;
}

.eyebrow {
  margin: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 500;
}

.search-shell {
  margin-top: 58px;
  width: min(760px, 100%);
  min-height: 72px;
  border: 1px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: var(--muted);
  font-size: 1rem;
  background: rgba(255,255,255,0.18);
}

.search-mark {
  color: var(--text);
  font-size: 1.5rem;
}

.intro,
.secondary {
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.intro {
  margin: 42px 0 0;
}

.secondary {
  margin: 18px 0 0;
  color: var(--muted);
}

.footer {
  min-height: 96px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.86rem;
}

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

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer span {
  color: var(--muted);
}

@media (max-width: 700px) {
  .page {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar {
    min-height: 72px;
  }

  .hero {
    padding: 64px 0 80px;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 6.5rem);
  }

  .search-shell {
    margin-top: 42px;
    min-height: 64px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
