:root {
  --bg: #f5f8fc;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #17232f;
  --muted: #4b6073;
  --stroke: rgba(23, 35, 47, 0.14);
  --brand: #0f9d74;
  --brand-2: #177dcf;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #edf4ff 0%, #f9fbff 46%, #eef8f4 100%);
}

body {
  min-height: 100vh;
  position: relative;
}

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

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  z-index: -1;
}

.bg-shape-a {
  width: 26rem;
  height: 26rem;
  background: rgba(23, 125, 207, 0.22);
  top: -8rem;
  right: -8rem;
}

.bg-shape-b {
  width: 24rem;
  height: 24rem;
  background: rgba(15, 157, 116, 0.2);
  bottom: -6rem;
  left: -7rem;
}

.site-header,
main,
footer {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 0.6rem;
  margin-bottom: 1.1rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.76);
}

.brand,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

main {
  padding: 0.5rem 0 2.4rem;
}

.section {
  margin: 1.2rem 0;
  padding: 1.4rem;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--surface);
}

.hero {
  padding: 1.6rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.72rem;
}

h1 {
  margin: 0.8rem 0 0.7rem;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.08;
}

h1 span {
  color: var(--brand-2);
}

h2 {
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.lead,
.section p,
li {
  color: var(--muted);
  line-height: 1.56;
}

.hero-actions,
.inline-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics article,
.project-card {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.75);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Sora", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.05rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(23, 125, 207, 0.2);
}

@media (hover: none) {
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
}

.btn-ghost {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.74);
}

.btn-small {
  padding: 0.52rem 0.78rem;
  font-size: 0.82rem;
}

.card-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.feature-list {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.project-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.project-card p {
  margin: 0;
  font-size: 0.94rem;
}

.cta {
  text-align: center;
}

.center {
  justify-content: center;
}

footer {
  margin-bottom: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-links {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legal-links a {
  color: var(--brand-2);
  font-weight: 700;
}

.legal-shell {
  width: min(900px, 92vw);
  margin: 1.5rem auto 2.2rem;
  padding: 1.25rem;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--surface);
}

.legal-shell h1,
.legal-shell h2 {
  margin-top: 0;
}

.legal-shell h2 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.6;
}

.legal-shell ul {
  margin: 0.2rem 0 1.2rem;
}

.legal-nav {
  width: min(900px, 92vw);
  margin: 1rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.legal-nav .brand {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  nav {
    display: flex;
    width: 100%;
    order: 3;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  nav a {
    white-space: nowrap;
  }

  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0.75rem 0.85rem;
  }

  .hero-metrics,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 1.15rem;
  }
}

@media (max-width: 640px) {
  .bg-shape {
    filter: blur(38px);
    opacity: 0.58;
  }

  .site-header {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.92);
  }

  .site-header .btn-small {
    margin-left: auto;
  }

  .hero-actions .btn,
  .inline-actions .btn {
    width: 100%;
  }

  .legal-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-nav .inline-actions {
    width: 100%;
  }
}
