:root {
  color-scheme: dark;
  --ink: #f7f1ea;
  --muted: #b8aec8;
  --dim: #7f748f;
  --void: #090711;
  --night: #120d1f;
  --panel: #1d172c;
  --panel-2: #251d38;
  --line: rgba(245, 236, 255, 0.14);
  --line-strong: rgba(245, 236, 255, 0.24);
  --lavender: #9b8cff;
  --violet: #6f58db;
  --ember: #ff6a3d;
  --gold: #f0a34a;
  --paper: #fff7ec;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 4%, rgba(111, 88, 219, 0.24), transparent 34rem),
    radial-gradient(circle at 8% 18%, rgba(255, 106, 61, 0.12), transparent 22rem),
    var(--void);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(155, 140, 255, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--ember);
}

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

.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 7, 17, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  color: var(--paper);
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex: 0 0 auto;
  box-shadow: 0 14px 34px rgba(255, 106, 61, 0.24);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--paper);
}

main {
  overflow: hidden;
}

.campaign-hero {
  min-height: min(790px, 88svh);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(9, 7, 17, 0.98) 0%, rgba(9, 7, 17, 0.84) 36%, rgba(9, 7, 17, 0.4) 66%, rgba(9, 7, 17, 0.2) 100%),
    linear-gradient(180deg, rgba(9, 7, 17, 0.16), rgba(9, 7, 17, 0.82)),
    url("/assets/promo/hero-workstation.png");
  background-size: auto, auto, cover;
  background-position: center, center, center;
  border-bottom: 1px solid var(--line);
}

.campaign-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--void));
}

.hero-inner {
  padding: 86px 0 110px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 0.78fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-ui-stage {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-ui-stage::before {
  content: "";
  position: absolute;
  inset: 7% -6% 3% 3%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 106, 61, 0.18), transparent 34%),
    radial-gradient(circle at 54% 50%, rgba(155, 140, 255, 0.26), transparent 52%);
  filter: blur(28px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-weight: 820;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  font-size: clamp(3.5rem, 8.2vw, 7.8rem);
  line-height: 0.88;
}

.hero-line {
  max-width: 690px;
  margin-top: 18px;
  color: var(--lavender);
  font-size: clamp(1.9rem, 4.4vw, 4.25rem);
  line-height: 0.96;
  font-weight: 780;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.7vw, 4.9rem);
  line-height: 0.95;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.15;
}

p {
  margin: 0;
}

.lead {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(247, 241, 234, 0.82);
  font-size: clamp(1.07rem, 2vw, 1.34rem);
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 780;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--ember), var(--gold));
  color: #140b10;
  box-shadow: 0 20px 48px rgba(255, 106, 61, 0.28);
}

.button.secondary {
  border: 1px solid rgba(247, 241, 234, 0.32);
  color: var(--paper);
  background: rgba(247, 241, 234, 0.06);
}

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

.section {
  padding: clamp(68px, 9vw, 116px) 0;
}

.workflow-section {
  background:
    radial-gradient(circle at 5% 10%, rgba(155, 140, 255, 0.13), transparent 28rem),
    var(--void);
}

.export-section {
  background: linear-gradient(180deg, var(--void), var(--night));
}

.editorial-grid,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.editorial-grid.reverse {
  grid-template-columns: minmax(380px, 1.08fr) minmax(0, 0.92fr);
}

.section-copy {
  display: grid;
  gap: 20px;
}

.section-copy p:not(.eyebrow),
.split-layout p:not(.eyebrow),
.mini-list p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-copy.narrow {
  max-width: 760px;
  margin-bottom: 34px;
}

.promo-frame {
  margin: 0;
  position: relative;
}

.promo-frame img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.flush-right img {
  transform: translateX(2vw);
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  background: var(--line);
}

.workflow-rail article {
  min-height: 178px;
  padding: 22px;
  background: rgba(29, 23, 44, 0.84);
}

.workflow-rail span {
  display: block;
  margin-bottom: 42px;
  color: var(--paper);
  font-weight: 820;
}

.workflow-rail p {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.mini-list p,
.rule-list p {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.product-proof {
  background:
    linear-gradient(180deg, rgba(18, 13, 31, 0.9), rgba(9, 7, 17, 0.98)),
    var(--night);
}

.screenshot-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 30px);
  align-items: end;
}

figure {
  margin: 0;
}

.screenshot-layout figure {
  display: grid;
  gap: 12px;
}

.screenshot-layout img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: #05040a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

figcaption {
  color: var(--dim);
  font-size: 0.94rem;
  text-align: center;
}

.phone-shot {
  margin: 0;
  position: absolute;
  display: grid;
  gap: 10px;
  transform-origin: center;
}

.phone-shot img {
  width: min(32vw, 292px);
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(247, 241, 234, 0.26);
  background: #05040a;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.52),
    0 0 0 8px rgba(247, 241, 234, 0.035);
}

.phone-shot figcaption {
  color: rgba(247, 241, 234, 0.74);
  font-size: 0.82rem;
}

.phone-shot-main {
  z-index: 3;
  transform: translateY(6px);
}

.phone-shot-main img {
  width: min(34vw, 330px);
}

.phone-shot-back {
  opacity: 0.74;
  filter: saturate(0.9) brightness(0.88);
}

.phone-shot-record {
  z-index: 1;
  transform: translate(-178px, 28px) rotate(-9deg) scale(0.82);
}

.phone-shot-export {
  z-index: 2;
  transform: translate(172px, 14px) rotate(8deg) scale(0.86);
}

.consent-section {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 106, 61, 0.14), transparent 26rem),
    var(--void);
}

.split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: start;
}

.rule-list {
  display: grid;
  gap: 14px;
}

.legal-band {
  padding-top: 0;
  background: var(--void);
}

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

.legal-links a,
.tile {
  min-height: 130px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(29, 23, 44, 0.78);
  text-decoration: none;
}

.legal-links strong,
.tile strong {
  color: var(--paper);
}

.legal-links span,
.tile span,
.meta {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 38px;
  color: var(--dim);
  font-size: 0.92rem;
  background: var(--void);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero {
  max-width: 820px;
  padding: 56px 0 32px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 5.4rem);
  line-height: 0.94;
}

.hero .lead {
  color: var(--muted);
}

.panel {
  margin-bottom: 72px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(29, 23, 44, 0.82);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.28);
}

.panel h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.panel h2:first-child {
  margin-top: 0;
}

.panel h3 {
  margin: 24px 0 8px;
}

.panel p + p {
  margin-top: 14px;
}

.panel p,
.panel li {
  color: var(--muted);
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 18px;
}

li + li {
  margin-top: 8px;
}

.notice {
  border-left: 4px solid var(--ember);
  padding: 14px 16px;
  background: rgba(255, 106, 61, 0.1);
  border-radius: 6px;
  margin: 18px 0;
}

@media (max-width: 980px) {
  .campaign-hero {
    min-height: 84svh;
    background-image:
      linear-gradient(180deg, rgba(9, 7, 17, 0.82) 0%, rgba(9, 7, 17, 0.88) 44%, rgba(9, 7, 17, 0.98) 100%),
      url("/assets/promo/hero-workstation.png");
    background-size: auto, cover;
    background-position: center, 58% center;
  }

  .editorial-grid,
  .editorial-grid.reverse,
  .split-layout,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-ui-stage {
    min-height: 540px;
  }

  .phone-shot img {
    width: min(42vw, 274px);
  }

  .phone-shot-main img {
    width: min(48vw, 312px);
  }

  .flush-right img {
    transform: none;
  }

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

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

  .topbar {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  nav {
    gap: 12px;
  }

  .campaign-hero {
    min-height: auto;
    background-position: center, 66% top;
  }

  .hero-inner {
    padding: 46px 0 58px;
  }

  .hero-ui-stage {
    min-height: 430px;
    margin-top: 18px;
  }

  .phone-shot img,
  .phone-shot-main img {
    width: min(64vw, 230px);
    border-radius: 24px;
  }

  .phone-shot-record {
    transform: translate(-92px, 16px) rotate(-8deg) scale(0.78);
  }

  .phone-shot-export {
    transform: translate(96px, 12px) rotate(8deg) scale(0.8);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-line {
    font-size: clamp(1.7rem, 10vw, 3rem);
  }

  .section {
    padding: 64px 0;
  }

  .workflow-rail,
  .legal-links,
  .grid,
  .screenshot-layout {
    grid-template-columns: 1fr;
  }

  .promo-frame img {
    border-radius: 14px;
  }

  .screenshot-layout img {
    max-height: 640px;
    object-fit: contain;
  }

  .button {
    width: 100%;
  }

  .panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
