:root {
  --ink: #0e0e10;
  --ink-soft: #2c2c2e;
  --mist: #d3d7da;
  --fog: #e9e8ed;
  --snow: #f5f4f7;
  --white: #ffffff;
  --line: rgba(14, 14, 16, 0.12);
  --line-strong: rgba(14, 14, 16, 0.28);
  --shade: linear-gradient(
    180deg,
    rgba(8, 10, 12, 0.55) 0%,
    rgba(8, 10, 12, 0.72) 45%,
    rgba(8, 10, 12, 0.88) 100%
  );
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --radius: 2px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(211, 215, 218, 0.55), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(233, 232, 237, 0.7), transparent 55%),
    linear-gradient(180deg, var(--snow) 0%, var(--mist) 40%, var(--fog) 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 750;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease,
    color 0.35s ease;
}

.site-header.is-scrolled {
  color: var(--white);
  background: rgba(14, 14, 16, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .brand span,
.site-header.is-scrolled .nav a {
  color: var(--white);
}

.site-header.is-scrolled .nav a {
  opacity: 0.82;
}

.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a:focus-visible {
  opacity: 1;
  color: var(--white);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
}

.brand span {
  color: inherit;
}

.brand img {
  display: none;
}

.site-header.is-scrolled .brand img {
  display: block;
}

.site-header.is-scrolled .brand span {
  display: none;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: cover;
}

.nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  color: inherit;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.header-inner > .btn {
  display: none;
  margin-left: 0.5rem;
}

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled .nav-toggle {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.menu-mobile {
  position: absolute;
  inset: var(--header-h) 0 auto;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.35rem;
  color: var(--ink);
  background: rgba(245, 244, 247, 0.96);
  border-bottom: 1px solid var(--line);
}

.menu-mobile[hidden] {
  display: none;
}

.menu-mobile a {
  padding: 0.85rem 0.25rem;
  font-weight: 500;
}

.menu-mobile .btn {
  margin-top: 0.5rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-solid {
  background: var(--ink);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--ink-soft);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-header.is-scrolled .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.site-header.is-scrolled .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.cta-final .btn-line,
.roles .btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.cta-final .btn-line:hover {
  background: rgba(14, 14, 16, 0.06);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
  width: fit-content;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transform-origin: center center;
  will-change: transform;
  animation: hero-zoom 18s ease-in-out infinite;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--shade);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.lede {
  max-width: 36ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head p,
.safety-copy > p,
.showcase-copy p,
.cta-final p,
.role p {
  max-width: 42ch;
  color: var(--ink-soft);
}

.how {
  background:
    linear-gradient(180deg, rgba(245, 244, 247, 0.85), rgba(211, 215, 218, 0.55));
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  opacity: 0.45;
}

.safety {
  background:
    linear-gradient(135deg, var(--ink) 0%, #1c1c1f 55%, #2a2a2e 100%);
  color: var(--white);
}

.safety-copy > p,
.safety-list {
  color: rgba(255, 255, 255, 0.78);
}

.safety-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.safety-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.safety-list li {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.safety-list strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.safety-visual {
  margin: 0;
  justify-self: center;
  max-width: 34rem;
}

.safety-visual img {
  width: 100%;
  border-radius: 30px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  animation: float-soft 7s ease-in-out infinite;
}

.roles-grid {
  display: grid;
  gap: 2.75rem;
}

.role {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.showcase {
  padding-top: 0;
}

.showcase-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.showcase-media {
  margin: 0;
  background: radial-gradient(circle at 50% 60%, #3a3a3e 0%, var(--ink) 70%);
  padding: 2rem 1rem 2rem;
  overflow: hidden;
  border-top-right-radius: 30px;
   border-bottom-left-radius: 30px;
}

.showcase-media img {
  margin-inline: auto;
  width: min(100%, 28rem);
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.cta-final {
  padding-top: 2rem;
}

.cta-final-inner {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--line-strong);
}

.cta-final .brand-mark {
  color: var(--ink);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.92rem;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}

.footer-brand {
  flex-shrink: 0;
  display: block;
}

.footer-brand img {
  display: block;
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-text {
  text-align: right;
  padding-top: 40px;
}

.footer-text {
  flex: 1;
  min-width: 0;
}

.footer-text p {
  margin: 0 0 0.35rem;
}

.footer-text p:last-child {
  margin-bottom: 0;
}

.footer-copy {
  opacity: 0.7;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes hero-zoom {
  0%,
  100% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.24);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (min-width: 760px) {
  .nav,
  .header-inner > .btn {
    display: inline-flex;
  }

  .nav-toggle,
  .menu-mobile {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .roles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .showcase-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

@media (min-width: 960px) {
  .safety-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .hero-copy {
    padding-bottom: 5.5rem;
  }
}

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

  .hero-media img,
  .safety-visual img,
  .reveal,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}
