:root {
  --sky-top: #f4f0ea;
  --sky-mid: #d9ebf3;
  --sky-bottom: #8db4c6;
  --ink: #17313a;
  --muted: rgba(23, 49, 58, 0.72);
  --line: rgba(23, 49, 58, 0.12);
  --panel: rgba(252, 248, 242, 0.78);
  --panel-strong: #fcf8f2;
  --accent: #2a7487;
  --accent-strong: #184c58;
  --shadow: 0 24px 80px rgba(19, 44, 53, 0.16);
  --max-width: 1180px;
  --radius: 28px;
  --phone-shot-width: 22rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.75), transparent 32%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 34%, #eff3f0 58%, #f7f4ef 100%);
}

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

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

p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6.8rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header,
.site-footer,
.overview,
.story-band,
.split-feature,
.privacy-strip,
.cta-panel,
.article-layout {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(20, 61, 73, 0.18);
}

.brand span {
  display: grid;
  gap: 0.15rem;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav .nav-cta {
  color: var(--panel-strong);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100svh - 84px);
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(8px);
}

.cloud-one {
  top: 16%;
  left: -6%;
  width: 20rem;
  height: 5rem;
  animation: drift 18s ease-in-out infinite;
}

.cloud-two {
  top: 36%;
  right: -4%;
  width: 18rem;
  height: 4.5rem;
  animation: drift 22s ease-in-out infinite reverse;
}

.cloud-three {
  bottom: 12%;
  left: 20%;
  width: 15rem;
  height: 4rem;
  animation: drift 24s ease-in-out infinite;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 36rem;
  padding-inline: clamp(0rem, 2vw, 2.25rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-intro,
.article-lead {
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--muted);
}

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

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button-primary,
.nav-cta {
  background: var(--accent-strong);
  color: #f7fbfb;
}

.button-secondary {
  border: 1px solid rgba(23, 49, 58, 0.14);
  background: rgba(255, 255, 255, 0.5);
}

.hero-notes {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-notes li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgba(42, 116, 135, 0.12);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42rem;
}

.hero-glow {
  position: absolute;
  width: min(38rem, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.1) 62%, transparent 74%);
  filter: blur(6px);
}

.device {
  position: absolute;
  width: min(18.8rem, 58%);
  border: 12px solid rgba(13, 39, 46, 0.92);
  border-radius: 2.5rem;
  overflow: hidden;
  background: #0f232a;
  box-shadow: 0 24px 80px rgba(19, 44, 53, 0.16);
}

.device::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 50%;
  width: 38%;
  height: 0.5rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.16);
  z-index: 1;
}

.device img {
  width: 100%;
}

.device-main {
  position: relative;
  z-index: 3;
  transform: translateY(-0.6rem);
  animation: float-main 7s ease-in-out infinite;
}

.device-side {
  width: min(13rem, 38%);
  opacity: 0.95;
}

.device-side-top {
  left: 4%;
  top: 6%;
  z-index: 2;
  transform: rotate(-11deg);
  animation: float-side 8s ease-in-out infinite;
}

.device-side-bottom {
  right: 4%;
  bottom: 8%;
  z-index: 1;
  transform: rotate(10deg);
  animation: float-side-bottom 9s ease-in-out infinite reverse;
}

.section-grid,
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 7rem 0;
}

.overview {
  padding: 7rem 0;
}

.overview .section-label {
  max-width: 56rem;
  margin-bottom: 2.4rem;
}

.overview-system,
.story-band-rail {
  display: grid;
  gap: 1.4rem;
}

.overview-system {
  grid-template-columns: minmax(18rem, var(--phone-shot-width)) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.overview-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.overview-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.overview-card p:last-child {
  margin-bottom: 0;
}

.overview-card-primary {
  padding: 2rem;
}

.feature-kicker {
  margin-bottom: 0.65rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone-column,
.split-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(var(--phone-shot-width), 100%);
  padding: 0.9rem;
  border-radius: 2.9rem;
  background: #233741;
  box-shadow: 0 28px 80px rgba(19, 44, 53, 0.18);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 50%;
  width: 34%;
  height: 0.55rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.phone-frame-image {
  position: relative;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 2.15rem;
  box-shadow: 0 16px 36px rgba(19, 44, 53, 0.12);
}

.overview-card p,
.section-label p,
.split-copy p,
.story-band-copy p,
.privacy-copy p,
.cta-panel p {
  color: var(--muted);
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
  padding: 0 0 7rem;
}

.story-band-copy {
  padding-right: 2rem;
}

.rail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
}

.rail-item span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(42, 116, 135, 0.14);
  color: var(--accent-strong);
  font-weight: 800;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: auto auto 10% 50%;
  width: 75%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 213, 228, 0.85), transparent 68%);
  filter: blur(18px);
}

.split-feature .split-media::before {
  display: none;
}

.split-copy {
  align-self: center;
}

.privacy-strip,
.cta-panel {
  margin-bottom: 7rem;
  padding: 2.2rem;
}

.cta-panel {
  max-width: 55rem;
  text-align: center;
}

.cta-panel .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-layout {
  padding: 4rem 0 5rem;
}

.article-header {
  position: relative;
}

.article-hero {
  max-width: 48rem;
  margin-bottom: 3rem;
}

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

.sidebar-card {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 0.8rem;
  padding: 1.45rem;
}

.sidebar-card a {
  color: var(--muted);
  transition: color 160ms ease, transform 160ms ease;
}

.sidebar-card a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.article-body section {
  padding-top: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(23, 49, 58, 0.08);
}

.article-cta {
  margin-top: 3rem;
  padding: 2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms ease,
    transform 800ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-main {
  0%,
  100% {
    transform: translateY(-0.6rem);
  }
  50% {
    transform: translateY(0.6rem);
  }
}

@keyframes float-side {
  0%,
  100% {
    transform: translateY(0) rotate(-11deg);
  }
  50% {
    transform: translateY(-0.8rem) rotate(-8deg);
  }
}

@keyframes float-side-bottom {
  0%,
  100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(-0.8rem) rotate(7deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(1.5rem);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: none;
    min-width: 14rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.3rem;
    background: rgba(252, 248, 242, 0.96);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .section-grid,
  .story-band,
  .split-feature,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .story-band-copy {
    padding-right: 0;
  }

  .sidebar-card {
    position: static;
  }

  .overview-system {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .phone-column {
    justify-content: flex-start;
  }

}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .overview,
  .story-band,
  .split-feature,
  .privacy-strip,
  .cta-panel,
  .article-layout {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero {
    padding-inline: 0.25rem;
  }

  .hero-copy {
    padding-inline: 0;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .device-main {
    width: 66%;
  }

  .device-side {
    width: 42%;
  }

  .device-side-top {
    left: 0;
  }

  .device-side-bottom {
    right: 0;
  }

  .overview,
  .split-feature,
  .privacy-strip,
  .cta-panel {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .story-band {
    padding-bottom: 4.5rem;
  }

  .privacy-strip,
  .cta-panel,
  .article-cta {
    padding: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
