
:root {
  --color-bg: #050509;
  --color-bg-elevated: #0c0f18;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #ffffff;
  --color-text-muted: #a0a4b3;
  --color-accent: #27c5ff;
  --color-chip-bg: #111626;
  --color-chip-border: rgba(255, 255, 255, 0.15);

  --radius-card: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, Menlo, Monaco, "SF Mono", "Fira Code", monospace;

  --header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #10172b 0, #050509 45%, #020308 100%);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 9, 0.92),
    rgba(5, 5, 9, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.6rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__logo {
  height: 26px;
  display: block;
}

.brand__text {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav__link {
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--color-accent);
  transition: width 0.2s ease-out;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

/* Landing */

.landing {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem 3rem;
}

.landing__inner {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.landing__intro {
  margin-bottom: 1.75rem;
}

.landing__name {
  font-size: clamp(2.4rem, 3vw, 3.1rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

.landing__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.landing__line {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text);
}

.landing__line--muted {
  margin-top: 0.3rem;
  color: var(--color-text-muted);
}
.landing__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.landing__logo img {
  height: 140px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.7));
  opacity: 0.95;
}

/* Search box */

.landing__search {
  max-width: 720px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(10, 14, 24, 0.96);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.9rem;
  box-shadow: var(--shadow-soft);
}

.search-box__icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.8;
}

.search-box__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.98rem;
  padding: 0.4rem 0.2rem;
}

.search-box__input::placeholder {
  color: var(--color-text-muted);
}

/* Buttons */

.landing__buttons {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
  transition: background 0.15s ease-out, border-color 0.15s ease-out,
    transform 0.08s ease-out, box-shadow 0.15s ease-out;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-accent);
  color: #020308;
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(39, 197, 255, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 10px 30px rgba(39, 197, 255, 0.4);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 22, 0.9);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Chips */

.chips {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-chip-border);
  background: var(--color-chip-bg);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  padding: 0.25rem 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

/* Answer panel */

.answer-panel {
  margin: 1.5rem auto 0;
  max-width: 720px;
  text-align: left;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-card);
  background: rgba(8, 12, 22, 0.96);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.answer-panel--hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.answer-panel__question {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.answer-panel__body {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Sections */

.section {
  padding: 2.5rem 1.75rem;
}

.section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.section__title {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.section__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section--last {
  padding-bottom: 3.5rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.2rem 1.75rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* Responsive */

@media (max-width: 720px) {
  .site-header__inner {
    padding-inline: 1.1rem;
  }

  .brand__text {
    display: none;
  }

  .nav {
    gap: 0.7rem;
    font-size: 0.8rem;
  }

  .landing__inner {
    text-align: left;
  }

  .landing__intro {
    text-align: left;
  }

  .landing__buttons {
    justify-content: flex-start;
  }

  .chips {
    justify-content: flex-start;
  }

  .answer-panel {
    margin-top: 1.1rem;
  }

  .section {
    padding-inline: 1.25rem;
  }
}
