:root {
  --bg: #0f1822;
  --bg-soft: #162330;
  --panel: rgba(19, 34, 46, 0.82);
  --panel-strong: rgba(15, 29, 40, 0.94);
  --line: rgba(92, 133, 158, 0.26);
  --line-strong: rgba(117, 164, 192, 0.36);
  --ink: #f4f8fb;
  --muted: #a9bdca;
  --brand: #11ad9f;
  --brand-deep: #0a7c70;
  --accent: #8ad8f1;
  --shadow: 0 26px 60px rgba(3, 10, 16, 0.42);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(900px 560px at 10% -10%, rgba(19, 83, 117, 0.2), rgba(19, 83, 117, 0) 60%),
    radial-gradient(800px 500px at 92% 0%, rgba(17, 173, 159, 0.18), rgba(17, 173, 159, 0) 56%),
    linear-gradient(180deg, #0d151e 0%, #101b26 45%, #0d151e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(138, 216, 241, 0.06), transparent 36%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.55));
}

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

main p a:not(.btn),
main li a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

main p a:not(.btn):hover,
main li a:not(.btn):hover {
  color: #c0f0ff;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 21, 31, 0.78);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease;
}

body.is-scrolled .site-header {
  background: rgba(13, 21, 31, 0.9);
  border-bottom-color: rgba(100, 140, 165, 0.18);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 10px 18px rgba(17, 173, 159, 0.16));
}

.brand-sub {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

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

.nav-links a {
  color: rgba(244, 248, 251, 0.92);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: #ffffff;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(126, 177, 204, 0.28);
  padding: 0.38rem 0.78rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(19, 34, 46, 0.55);
}

.hero h1,
.section h2,
.contact-card h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 18px 32px rgba(10, 124, 112, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 36px rgba(10, 124, 112, 0.34);
}

.btn-ghost {
  color: #d7e6ef;
  border-color: rgba(165, 198, 218, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.btn-ghost:hover {
  border-color: rgba(183, 213, 230, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.card,
.doc-card,
.product-card,
.contact-card,
.legal-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(28, 44, 57, 0.38), rgba(13, 23, 32, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
  padding: 1.35rem;
}

.panel-glow {
  position: absolute;
  inset: auto -10% -26% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(17, 173, 159, 0.22), rgba(17, 173, 159, 0));
  pointer-events: none;
}

.panel-head,
.product-preview {
  position: relative;
  z-index: 1;
}

.panel-kicker,
.product-label {
  display: inline-block;
  margin-bottom: 0.38rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-head strong {
  font-size: 1.08rem;
}

.signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.signal-card,
.product-preview-card {
  border-radius: 18px;
  border: 1px solid rgba(115, 160, 188, 0.2);
  background: rgba(9, 20, 28, 0.62);
  padding: 1rem;
}

.signal-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  color: #d7f6ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.signal-card p,
.product-preview-card p,
.card p,
.product-card p,
.contact-card p,
.legal-card p {
  margin: 0;
  color: var(--muted);
}

.product-preview {
  margin-top: 1rem;
}

.page-main {
  padding-top: 3.25rem;
}

.page-title {
  margin: 1rem 0 0;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page-lead {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section {
  padding: 1.55rem 0 3rem;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.section h2,
.contact-card h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.7rem);
}

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

.card,
.legal-card {
  padding: 1.2rem;
}

.card h3,
.product-card h3,
.legal-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.product-card,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
}

.product-actions,
.contact-link {
  align-self: center;
}

.muted {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: #8ea7b7;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 23, 32, 0.76);
  color: #f7fbfd;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.contact-link:hover {
  border-color: rgba(148, 195, 220, 0.5);
}

.section-legal {
  padding-top: 0.5rem;
  padding-bottom: 2.4rem;
}

.doc-card {
  padding: 1.4rem;
}

.doc-section + .doc-section {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(110, 157, 183, 0.16);
}

.doc-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.doc-note {
  margin: 0 0 1.15rem;
  color: #d8e7f0;
  font-size: 0.95rem;
}

.doc-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.doc-list li + li {
  margin-top: 0.45rem;
}

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

.footer {
  border-top: 1px solid rgba(93, 132, 155, 0.16);
  padding: 1rem 0 1.5rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-line {
  font-size: 0.82rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 440ms ease, transform 480ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .product-card,
  .contact-card,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    justify-self: flex-start;
  }
}

@media (max-width: 780px) {
  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.95rem 0 0.85rem;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }

  .legal-grid,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-links {
    gap: 0.75rem;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1rem, var(--max));
  }

  .hero {
    padding-top: 4rem;
  }

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

  .hero-actions .btn,
  .product-actions .btn,
  .contact-link {
    width: 100%;
  }

  .hero-panel,
  .card,
  .doc-card,
  .product-card,
  .contact-card,
  .legal-card {
    border-radius: 20px;
  }

  .section {
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .site-header {
    transition: none;
  }
}
