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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #e5e7eb;
  background-color: #0b0e13;
}

/* --------------------
   h1, h2, p, etc
-------------------- */
h1, h2 {
  line-height: 1.2;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 0.25rem;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
}

p {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

#about p,
#hardware p {
  margin-left: 4.5rem;
  margin-right: 0;
}

@media (max-width: 600px) {
  #about p,
  #hardware p {
    margin-left: 0;
  }
}

.tagline {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

strong {
  color: #ffffff;
}

/* --------------------
   Layout
-------------------- */

section {
  padding: 3.5rem 1.5rem;
}

footer {
  padding: 3.5rem 1.5rem;
}

header,
footer {
  background: linear-gradient(180deg, #0e1117, #0b0e13);
}

section {
  max-width: 1100px;
  margin: 0 auto;
}

section + section {
  border-top: 1px solid #1f2937;
}

/* --------------------
   Header
-------------------- */
header {
  text-align: center;
  padding-top: 2.25rem;
  padding-bottom: 1.75rem;
}

header p {
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* --------------------
   Hero
-------------------- */
#hero {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.15), transparent 60%);
  padding-top: 2.45rem;
  padding-bottom: 2.45rem;
}

#hero p {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* --------------------
   Buttons
-------------------- */
.cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  border-color: #374151;
  background: #0f172a;
}

.btn-primary {
  background: #2563eb;
  border-color: #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-text {
  margin-left: 4.5rem;
  margin-top: 1.25rem;
}

@media (max-width: 600px) {
  .cta {
    gap: 0.75rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .btn-text {
    margin-left: 0;
  }
}

a.link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}
a.link:hover {
  text-decoration: underline;
}

/* --------------------
   About
-------------------- */
#about p {
  color: #d1d5db;
}

/* --------------------
   Features
-------------------- */
#features ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

#features li {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 1.5rem;
}

#features li strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* --------------------
   Footer
-------------------- */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

footer .disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b7280;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  header,
  section,
  footer {
    padding: 2.5rem 1.25rem;
  }

  #features ul {
    grid-template-columns: 1fr;
  }
}