:root {
  --bg: #f4f7fb;
  --bg-alt: #ecf2fb;
  --surface: #ffffff;
  --surface-strong: #0f1729;
  --text: #122033;
  --text-muted: #4f647f;
  --line: #d7e1ee;
  --brand: #0c8ce9;
  --brand-strong: #0a61d7;
  --accent: #ff7a3d;
  --mint: #11bfa7;
  --shadow-soft: 0 12px 35px rgba(21, 38, 64, 0.1);
  --shadow-card: 0 8px 22px rgba(14, 34, 64, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 85% -10%, #c8f1ff 0, transparent 40%),
    radial-gradient(circle at 0 20%, #dbe4ff 0, transparent 38%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(12, 140, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 140, 233, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-lead {
  max-width: 700px;
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-bottom: 2.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.88);
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.nav a:hover {
  color: var(--brand-strong);
}

.nav-cta {
  margin-left: 0.6rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.25rem;
}

.btn {
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  box-shadow: 0 10px 22px rgba(12, 97, 215, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  padding: 4.8rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.2rem;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 255, 0.8));
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f375f;
  background: rgba(17, 191, 167, 0.14);
  border: 1px solid rgba(17, 191, 167, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.82rem;
  margin-bottom: 1.05rem;
  font-weight: 800;
}

.hero-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(120deg, var(--brand-strong), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.7rem;
}

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

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}

.metric strong {
  display: block;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.34rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-panel {
  background: #0f1729;
  border-radius: var(--radius-lg);
  color: #e8effb;
  padding: clamp(1.2rem, 3.3vw, 2.2rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-label {
  display: inline-flex;
  width: fit-content;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  background: rgba(106, 167, 255, 0.18);
  color: #cfe4ff;
  border: 1px solid rgba(106, 167, 255, 0.35);
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.panel-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 0.82rem 0.95rem;
}

.panel-list strong {
  display: block;
  color: #f7f9ff;
  font-size: 0.97rem;
}

.panel-list span {
  color: #aac0df;
  font-size: 0.86rem;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
}

.card h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(120deg, #dff0ff, #e5f7f4);
  color: #085a8f;
  font-weight: 900;
}

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

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-muted);
}

.feature-list strong {
  color: var(--text);
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.timeline b {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-size: 0.84rem;
}

.cta-panel {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #0f1729, #1b2b46 60%, #0f3f75);
  color: #eaf2ff;
  padding: clamp(1.45rem, 3vw, 2.3rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cta-panel h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.cta-panel p {
  color: #bad0ed;
}

.project-highlight {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #f5faff, #edf4ff);
}

.tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.tag {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #26598a;
  background: rgba(106, 167, 255, 0.16);
  border: 1px solid rgba(106, 167, 255, 0.28);
  border-radius: 999px;
  padding: 0.24rem 0.54rem;
}

.legal-layout {
  padding: 3.5rem 0 4.5rem;
}

.legal-shell {
  max-width: 860px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

.breadcrumb {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.legal-shell h1 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.updated {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.legal-shell h2 {
  margin-top: 1.45rem;
  margin-bottom: 0.55rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.17rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-shell ul,
.legal-shell ol {
  margin-left: 1.2rem;
  display: grid;
  gap: 0.38rem;
}

.notice {
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid #f8c2a4;
  background: #fff4ed;
  color: #7f2f08;
  font-size: 0.92rem;
}

.notice.success {
  border-color: #92e0d4;
  background: #ecfffb;
  color: #0b6256;
}

form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

label {
  font-weight: 700;
  font-size: 0.9rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem 0.85rem;
  font-size: 0.94rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(12, 140, 233, 0.65);
  box-shadow: 0 0 0 3px rgba(12, 140, 233, 0.15);
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check input {
  margin-top: 0.15rem;
  width: auto;
}

.site-footer {
  margin-top: 3.5rem;
  background: var(--surface-strong);
  color: #d3dded;
  padding: 2.6rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h4,
.footer-grid h3 {
  color: #ffffff;
  margin-bottom: 0.7rem;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: #b7c7df;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9cafc9;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: 80px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    margin-left: 0;
  }

  .cards,
  .split,
  .metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
  }
}
