:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #dbeafe;
  --bg: linear-gradient(180deg, #ffffff 0%, #eff6ff 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: 36px;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
}
.brand-link:hover { text-decoration: none; }

.brand {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  color: #6366f1;
  letter-spacing: -2px;
}

.logo-link { display: inline-block; }

.logo {
  height: 54px;
  width: auto;
  display: block;
}

.search {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.search input[type="text"] {
  width: 100%;
  padding: 12px 18px;
  font-size: 15px;
  border: 1px 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: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.smart-search-btn {
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.smart-search-btn:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.smart-search-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.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) {
  .brand { font-size: 56px; letter-spacing: -1.5px; }
  .logo { height: 42px; }
  .search input[type="text"] { font-size: 14px; padding: 11px 16px; }
  .smart-search-btn { padding: 8px 16px; font-size: 13px; }
  footer nav { gap: 14px; }
}
