:root {
  --bg: #eef2ff;
  --bg-deep: #dfe7ff;
  --surface: rgba(247, 249, 255, 0.72);
  --surface-strong: rgba(248, 250, 255, 0.9);
  --surface-dark: rgba(25, 31, 52, 0.82);
  --ink: #1a2340;
  --muted: #56627f;
  --line: rgba(33, 42, 74, 0.12);
  --line-strong: rgba(33, 42, 74, 0.2);
  --blue: #4a7cff;
  --cyan: #63c6ff;
  --violet: #8b67ff;
  --gold: #9d8bff;
  --shadow-soft: 0 16px 40px rgba(24, 33, 68, 0.1);
  --shadow-strong: 0 28px 80px rgba(24, 33, 68, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(99, 198, 255, 0.24), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(139, 103, 255, 0.22), transparent 24%),
    radial-gradient(circle at 55% 100%, rgba(74, 124, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f7f9ff 0%, var(--bg) 46%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.ambient {
  position: fixed;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.7;
}

.ambient-one {
  top: 90px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(89, 191, 248, 0.16);
}

.ambient-two {
  right: -100px;
  bottom: 80px;
  width: 360px;
  height: 360px;
  background: rgba(127, 109, 255, 0.12);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(244, 247, 255, 0.66);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(63, 121, 244, 0.2);
}

.brand-wordmark {
  font-size: 1rem;
}

.site-nav {
  display: inline-flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.section {
  padding: 84px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 120px);
}

.eyebrow,
.persona-label,
.showcase-kicker,
.workflow-index {
  margin: 0 0 14px;
  color: #5267d8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 4.4vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4.3vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.hero-text,
.section-text,
.trust-band p,
.persona-card p,
.showcase-copy p,
.workflow-card p,
.download-copy p,
.site-footer p,
.hero-note,
.floating-card span {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-actions,
.download-actions-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  padding: 10px 14px;
  border: 1px solid rgba(74, 124, 255, 0.18);
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.72);
  color: #3f4e74;
  font-size: 0.92rem;
}

.meta-pill-accent {
  border-color: rgba(139, 103, 255, 0.22);
  background: linear-gradient(135deg, rgba(99, 198, 255, 0.18), rgba(139, 103, 255, 0.18));
  color: #33458d;
}

.hero-note {
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2f5ee0 48%, var(--violet));
  box-shadow: 0 16px 36px rgba(63, 121, 244, 0.28);
}

.button-primary:hover {
  box-shadow: 0 22px 44px rgba(63, 121, 244, 0.34);
}

.button-secondary,
.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.56);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  padding: 34px 0;
}

.video-shell,
.persona-card,
.showcase-card,
.workflow-card,
.trust-band,
.download-panel,
.manifesto-section blockquote,
.floating-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.video-shell {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(245, 248, 255, 0.84);
  box-shadow: var(--shadow-strong);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 255, 0.8);
}

.window-label {
  color: #516070;
  font-size: 0.92rem;
  font-weight: 600;
}

.traffic-lights {
  display: inline-flex;
  gap: 8px;
}

.traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.traffic-lights span:first-child {
  background: #ff6b6b;
}

.traffic-lights span:nth-child(2) {
  background: #f5c35d;
}

.traffic-lights span:nth-child(3) {
  background: #70d39d;
}

.intro-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(180deg, #edf4ff, #ebe9ff);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 248px;
  padding: 12px;
  border-radius: 22px;
}

.floating-card img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.floating-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.floating-card span {
  font-size: 0.96rem;
  line-height: 1.58;
}

.floating-card-left {
  left: -74px;
  bottom: 30px;
}

.floating-card-right {
  top: 18px;
  right: -62px;
}

.trust-band {
  position: relative;
  width: min(100%, 920px);
  margin-inline: auto;
  padding: 28px 34px 28px 42px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(63, 121, 244, 0.13), transparent 34%),
    rgba(245, 248, 255, 0.78);
}

.trust-band::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
}

.trust-band p {
  max-width: 780px;
  margin: 0;
  color: #4b5565;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.section-heading {
  max-width: 760px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  max-width: none;
}

.persona-grid,
.showcase-grid,
.workflow-rail {
  display: grid;
  gap: 22px;
}

.persona-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.persona-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.persona-card img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(49, 74, 122, 0.14);
}

.persona-card-main {
  background:
    radial-gradient(circle at top right, rgba(89, 191, 248, 0.14), transparent 36%),
    var(--surface);
}

.persona-card-alt {
  background:
    radial-gradient(circle at top right, rgba(127, 109, 255, 0.12), transparent 40%),
    var(--surface);
}

.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.showcase-card {
  overflow: hidden;
  border-radius: 28px;
}

.showcase-card img {
  width: 100%;
  border-top: 1px solid var(--line);
}

.showcase-card-large {
  grid-column: 1 / -1;
}

.showcase-card-compact {
  align-self: start;
}

.showcase-copy {
  padding: 26px 26px 18px;
}

.compact-image {
  max-height: 360px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.5);
}

.workflow-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.workflow-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.manifesto-section {
  padding-top: 22px;
}

.manifesto-section blockquote {
  margin: 0;
  padding: 40px;
  border-radius: var(--radius-xl);
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.download-actions-panel {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 52px;
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1080px) {
  .hero,
  .split-heading,
  .persona-grid,
  .showcase-grid,
  .workflow-rail,
  .download-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .showcase-card-large {
    grid-column: auto;
  }

  .download-actions-panel {
    justify-content: flex-start;
  }

  .site-footer {
    display: grid;
  }

  .floating-card-left {
    left: -28px;
    bottom: 20px;
  }

  .floating-card-right {
    top: 16px;
    right: -28px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    top: 10px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 26px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-wordmark {
    font-size: 0.95rem;
  }

  .site-nav {
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 0.84rem;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-header > .button-small {
    width: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .section {
    padding: 62px 0;
  }

  .persona-card {
    grid-template-columns: 1fr;
  }

  .persona-card img {
    width: 104px;
    height: 104px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .hero-stage {
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .download-actions-panel {
    flex-direction: column;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .brand-wordmark {
    font-size: 0.88rem;
  }

  .site-nav {
    width: auto;
    justify-content: flex-start;
    gap: 6px;
    font-size: 0.76rem;
  }

  .site-header > .button-small {
    width: auto;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.76rem;
  }

  .persona-card,
  .showcase-copy,
  .workflow-card,
  .download-panel,
  .manifesto-section blockquote {
    padding-left: 18px;
    padding-right: 18px;
  }

  .trust-band {
    padding: 22px 20px 22px 28px;
  }

  .trust-band::before {
    top: 20px;
    bottom: 20px;
    left: 16px;
  }
}

@media (max-width: 460px) {
  .site-header {
    gap: 6px;
  }

  .brand-wordmark {
    display: none;
  }

  .site-nav {
    gap: 5px;
    font-size: 0.72rem;
  }

  .site-header > .button-small {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.72rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .button:hover {
    transform: none;
  }
}
