:root {
  color-scheme: dark;
  --bg: #050713;
  --bg-2: #0a1024;
  --panel: rgba(27, 31, 55, 0.88);
  --panel-2: rgba(20, 25, 47, 0.92);
  --line: rgba(173, 198, 255, 0.18);
  --line-strong: rgba(93, 228, 255, 0.42);
  --text: #f7fbff;
  --muted: #c6cae2;
  --cyan: #25c7f3;
  --blue: #48a9f8;
  --violet: #8c55ff;
  --magenta: #e835bb;
  --gold: #ffd48a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(12, 48, 70, 0.36), transparent 34%),
    linear-gradient(245deg, rgba(84, 16, 70, 0.42), transparent 39%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 76%);
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #081025;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 19, 0.58);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 19, 0.84);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(154px, 15vw, 220px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cyan);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/serenity-preview.png");
  background-position: right 8vw center;
  background-size: min(42vw, 560px) auto;
  background-repeat: no-repeat;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 19, 0.96) 0%, rgba(5, 7, 19, 0.78) 48%, rgba(5, 7, 19, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 7, 19, 0.08), rgba(5, 7, 19, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(74px, 9vw, 126px) 0 clamp(56px, 8vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 42px;
  margin: 0 0 24px;
  padding: 8px 18px;
  border: 1px solid rgba(76, 214, 250, 0.34);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(37, 199, 243, 0.23), rgba(232, 53, 187, 0.22));
  color: #dfeaff;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 8vw, 7.25rem);
}

h2 {
  max-width: 860px;
  font-size: clamp(2.15rem, 5.4vw, 4.4rem);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.6rem);
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-lede {
  max-width: 690px;
  margin: 28px 0 0;
  color: #eef3ff;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.button-primary {
  background: linear-gradient(110deg, var(--cyan), var(--violet));
  color: white;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.verification-band,
.content-band,
.product-band,
.policy-band,
.contact-band {
  padding: clamp(62px, 9vw, 104px) 0;
}

.verification-band {
  background:
    linear-gradient(90deg, rgba(9, 16, 35, 0.96), rgba(20, 12, 35, 0.92)),
    var(--bg-2);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.wide-heading p {
  max-width: 1040px;
}

.fact-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fact-card,
.service-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.fact-card {
  min-height: 130px;
  padding: 22px;
}

.fact-card span,
.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.32rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.split,
.policy-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.copy-stack p {
  max-width: 780px;
  margin-top: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 900;
}

.product-band {
  background:
    linear-gradient(180deg, rgba(8, 11, 29, 0.94), rgba(13, 16, 37, 0.98)),
    var(--bg);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: stretch;
}

.product-figure {
  margin: 0;
}

.product-figure img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-copy {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

.product-copy h3 {
  margin-bottom: 22px;
}

.product-link {
  margin-top: 26px;
}

.notice {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 212, 138, 0.36);
  border-radius: 8px;
  background: rgba(255, 212, 138, 0.1);
  color: var(--muted);
}

.notice strong {
  color: white;
}

.service-card {
  min-height: 210px;
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 16px;
}

.policy-band {
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 24, 0.72);
}

.terms-band {
  background: rgba(10, 11, 28, 0.84);
}

.policy-copy {
  max-width: 760px;
}

.policy-copy p:first-child {
  margin-top: 0;
}

.policy-copy h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 1.16rem;
}

.contact-band {
  background:
    linear-gradient(100deg, rgba(37, 199, 243, 0.12), rgba(232, 53, 187, 0.1)),
    #070a18;
}

.contact-layout {
  align-items: center;
}

.contact-layout h2 {
  max-width: 720px;
}

.contact-panel {
  padding: clamp(26px, 4vw, 40px);
}

.contact-panel a {
  display: inline-block;
  color: var(--cyan);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 900;
  text-decoration: none;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  text-decoration: underline;
}

.contact-panel small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050713;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 106px;
}

.footer-inner img {
  width: 150px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 15, 32, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-media {
    background-position: right -90px bottom 22px;
    background-size: min(72vw, 390px) auto;
    opacity: 0.38;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 19, 0.98), rgba(5, 7, 19, 0.76)),
      linear-gradient(180deg, rgba(5, 7, 19, 0.08), rgba(5, 7, 19, 0.86));
  }

  .fact-grid,
  .service-grid,
  .split,
  .policy-layout,
  .contact-layout,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-figure img {
    max-height: 600px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 146px;
  }

  .nav-links {
    top: 72px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 56px 0 62px;
  }

  h1 {
    font-size: clamp(2.9rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .eyebrow {
    width: fit-content;
    max-width: 100%;
    letter-spacing: 0.12em;
  }

  .button {
    width: 100%;
  }

  .fact-card {
    min-height: 112px;
  }

  .product-copy {
    padding: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
