:root {
  --brand: #dc2626;
  --brand-dark: #b91c1c;
  --brand-light: #fee2e2;
  --bg: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
  --ink: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 6px 18px rgba(17, 24, 39, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

main { flex: 1; }

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 78vh;
  padding: 24px;
  gap: 32px;
}

.logo-link { display: inline-block; }

.logo {
  height: 54px;
  width: auto;
  display: block;
}

.search {
  width: 100%;
  max-width: 580px;
  position: relative;
}

.search input[type="text"] {
  width: 100%;
  padding: 13px 54px 13px 20px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: #fff;
  outline: none;
  box-shadow: var(--shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}

.search input[type="text"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.search button:hover { background: var(--brand-dark); }

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.page-header .logo { height: 40px; }

.page h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
}

.page h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 8px;
  color: var(--ink);
}

.page p, .page li {
  color: #374151;
  line-height: 1.65;
  font-size: 14.5px;
}

.page p { margin: 0 0 12px; }

.page ol, .page ul {
  padding-left: 22px;
  margin: 0 0 14px;
}

.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 0; }

.faq-item .q {
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.faq-item .a {
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 18px 16px;
}

footer nav {
  max-width: 780px;
  margin: 0 auto 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

footer nav a {
  color: var(--muted);
  font-size: 13.5px;
}
footer nav a:hover { color: var(--brand-dark); text-decoration: none; }

footer p {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 480px) {
  .logo { height: 42px; }
  .search input[type="text"] { font-size: 14px; padding: 11px 46px 11px 16px; }
  footer nav { gap: 14px; }
}
