:root {
  --paper: #f5f4ef;
  --paper-bright: #fbfaf7;
  --ink: #111319;
  --ink-soft: #5f636d;
  --night: #080b12;
  --night-soft: #101623;
  --blue: #3b6fe8;
  --blue-light: #83a8ff;
  --line: rgba(17, 19, 25, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --page-gutter: clamp(22px, 5vw, 80px);
  --content-width: 1440px;
  --header-height: 76px;
  --radius-large: clamp(22px, 3vw, 42px);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

.nowrap {
  white-space: nowrap;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: white;
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 14px var(--page-gutter);
  color: var(--ink);
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  color: white;
}

.product-lockup,
.maker-lockup,
.site-nav {
  display: flex;
  align-items: center;
}

.product-lockup {
  justify-self: start;
  gap: 11px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.product-lockup img {
  width: 38px;
  height: 38px;
}

.site-nav {
  justify-self: center;
  gap: clamp(18px, 2.7vw, 38px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav > a:not(.nav-download) {
  transition: color 160ms ease;
}

.site-nav > a:not(.nav-download):hover,
.site-nav > a:not(.nav-download):focus-visible {
  color: white;
}

.nav-download {
  padding: 9px 15px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-download:hover,
.nav-download:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.52);
}

.maker-lockup {
  justify-self: end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.soriian-wordmark-image {
  width: 76px;
  height: auto;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height) + clamp(36px, 4vw, 64px)) var(--page-gutter) 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 50% 62%, rgba(59, 111, 232, 0.3), transparent 36%),
    linear-gradient(155deg, #111827 0%, var(--night) 58%, #05070c 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(0deg, rgba(5, 8, 14, 0.82) 0%, transparent 28%),
    linear-gradient(90deg, rgba(5, 8, 14, 0.18), transparent 28%, transparent 72%, rgba(5, 8, 14, 0.18));
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: 42%;
  left: 50%;
  width: min(88vw, 1320px);
  aspect-ratio: 1.9;
  border: 1px solid rgba(107, 151, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(59, 111, 232, 0.07);
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(940px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: #59606d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(72px, 8vw, 116px);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 0.92;
  animation: hero-copy-in 760ms 160ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-summary {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: balance;
  animation: hero-copy-in 760ms 220ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  animation: hero-copy-in 760ms 290ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-meta {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  animation: hero-copy-in 760ms 350ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 42px rgba(33, 83, 199, 0.33);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #4779ed;
  box-shadow: 0 18px 48px rgba(33, 83, 199, 0.45);
}

.button svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button--white {
  color: var(--blue);
  background: white;
  box-shadow: 0 16px 46px rgba(21, 55, 136, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.68);
}

.hero-product {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: clamp(40px, 4vw, 60px) auto clamp(64px, 6vw, 96px);
  animation: hero-product-in 1100ms 160ms both cubic-bezier(0.2, 0.75, 0.18, 1);
}

.desktop-window {
  position: relative;
  aspect-ratio: 1512 / 982;
  overflow: hidden;    
  isolation: isolate;
}

.desktop-window::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
}

.product-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-overlay {
  z-index: 2;
}

.product-overlay--hero {
  animation: product-breathe 6s 1.2s infinite alternate ease-in-out;
}

.desktop-menu {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 23px;
  padding: 0 10px;
  color: rgba(10, 14, 24, 0.78);
  background: rgba(243, 246, 255, 0.82);
  border-bottom: 1px solid rgba(24, 35, 60, 0.14);
  font-size: 8px;
  font-weight: 560;
  backdrop-filter: blur(12px);
}

.desktop-menu-spacer {
  flex: 1;
}

.menu-date {
  display: grid;
  width: 18px;
  height: 16px;
  color: white;
  background: var(--blue);
  border-radius: 5px;
  place-items: center;
}

.story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: clamp(50px, 8vw, 150px);
  min-height: 820px;
  padding: clamp(110px, 12vw, 190px) var(--page-gutter);
  overflow: hidden;
}

.story-copy {
  max-width: 540px;
}

.story-copy h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(47px, 6vw, 92px);
  font-weight: 580;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.story-copy > p:not(.eyebrow),
.faq-item p {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.feature-list {
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 560;
}

.feature-list span,
.faq-item > span {
  color: #969aa3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.story--menu {
  background: var(--paper-bright);
}

.story-visual--menu {
  width: min(1040px, 74vw);
  margin-right: -18vw;
  transform: rotate(1.5deg);
}

.story-visual--menu .product-overlay {
  transform: translateX(-18%);
}


.story--focus {
  grid-template-columns: minmax(540px, 1.22fr) minmax(340px, 0.78fr);
  color: white;
  background:
    radial-gradient(circle at 25% 55%, rgba(57, 107, 226, 0.22), transparent 36%),
    var(--night);
}

.story-copy--light > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow--blue {
  color: var(--blue-light);
}

.detail-note {
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 14px !important;
}

.focus-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 620px;
}

.focus-visual img {
  position: relative;
  z-index: 2;
  width: 110%;
  height: auto;
  max-width: none;
  margin-left: -17%;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.42));
}

.focus-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(112, 151, 255, 0.12);
  border-radius: 50%;
}

.focus-orbit--one {
  inset: -12% 8% 5% -22%;
}

.focus-orbit--two {
  inset: 11% 23% 25% -6%;
}

.story--widgets {
  grid-template-columns: minmax(330px, 0.7fr) minmax(560px, 1.3fr);
  background: #eae9e4;
}

.widget-stage {
  position: relative;
  width: min(1010px, 72vw);
  margin-right: -15vw;
  aspect-ratio: 1512 / 982;
  overflow: hidden;
}

.widget-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.widget-stage:hover img {
  transform: scale(1.025);
}

.faq-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(120px, 13vw, 210px) var(--page-gutter);
  background: var(--paper-bright);
}

.faq-heading {
  align-self: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  gap: 26px;
  align-items: center;
  min-height: 94px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span {
  color: #969aa3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.faq-item summary > strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.faq-item summary::after {
  content: "+";
  justify-self: end;
  color: var(--ink-soft);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: color 180ms ease, transform 220ms ease;
}

.faq-item[open] summary::after {
  color: var(--blue);
  transform: rotate(45deg);
}

.faq-item summary:hover > strong,
.faq-item summary:focus-visible > strong {
  color: var(--blue);
}

.faq-item summary:focus-visible {
  outline: 2px solid rgba(59, 111, 232, 0.35);
  outline-offset: 6px;
}

.faq-answer {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  gap: 26px;
  animation: faq-answer-in 220ms ease both;
}

.faq-answer p {
  grid-column: 2;
  margin: -5px 0 30px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.faq-policy-link {
  margin-left: 4px;
  color: var(--blue);
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.final-cta {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 70% 30%, rgba(154, 185, 255, 0.32), transparent 32%),
    var(--blue);
}

.final-cta-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 800px;
  min-height: 670px;
  padding: 90px var(--page-gutter);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.64);
}

.final-cta h2 {
  max-width: 760px;
  font-size: clamp(58px, 8vw, 124px);
}

.final-cta-copy > p:not(.eyebrow) {
  margin: 25px 0 32px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.final-mark {
  position: absolute;
  right: 8vw;
  bottom: -8%;
  width: clamp(160px, 20vw, 300px);
  aspect-ratio: 1 / 2;
  opacity: 0.2;
  transform: rotate(4deg);
}

.final-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  padding: 72px var(--page-gutter) 42px;
  color: rgba(255, 255, 255, 0.58);
  background: var(--night);
}

.soriian-wordmark-image--footer {
  width: 120px;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-top: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

/* Legal pages */

.legal-body {
  background: var(--paper-bright);
}

.legal-header {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.legal-header .site-nav {
  color: var(--ink-soft);
}

.legal-header .site-nav > a:not(.nav-download):hover,
.legal-header .site-nav > a:not(.nav-download):focus-visible {
  color: var(--ink);
}

.legal-header .nav-download {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.legal-header .maker-lockup {
  color: var(--ink-soft);
}

.legal-main {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--page-gutter) 140px;
}

.legal-intro {
  padding-bottom: 68px;
  border-bottom: 1px solid var(--line);
}

.legal-intro h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.legal-intro > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4e535d;
  font-size: 16px;
  line-height: 1.72;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  color: #7a7e87;
  font-size: 12px;
}

.legal-content {
  padding-top: 28px;
}

.legal-section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section-number {
  padding-top: 7px;
  color: #92969f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.legal-copy h3 {
  margin: 30px 0 12px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.legal-copy p,
.legal-copy li {
  color: #4e535d;
  font-size: 16px;
  line-height: 1.72;
}

.legal-copy p {
  margin: 0 0 16px;
}

.legal-copy ul {
  margin: 14px 0 20px;
  padding-left: 20px;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-intro a,
.legal-copy a {
  color: #265edc;
  text-decoration: underline;
  text-decoration-color: rgba(38, 94, 220, 0.3);
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 28px 0 18px;
  padding: 24px 26px;
  color: #2f405f;
  background: #eaf0ff;
  border-left: 3px solid var(--blue);
  border-radius: 0 16px 16px 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 50px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
}

.legal-footer {
  background: #10131a;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-product-in {
  from {
    opacity: 0;
    transform: translateY(70px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes product-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.012);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .maker-lockup {
    grid-column: 2;
  }

  .hero-product {
    width: min(1120px, 100%);
  }

  .story,
  .story--widgets {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 48px;
  }

  .story--focus {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
  }

  .faq-story {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
  }

  .faq-item summary,
  .faq-answer {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 20px;
  }

  .faq-answer p {
    grid-column: 2;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero-actions {
    align-items: center;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .product-lockup img {
    width: 34px;
    height: 34px;
  }

  .maker-lockup > span:first-child {
    display: none;
  }

  .hero {
    padding: calc(var(--header-height) + 54px) var(--page-gutter) 0;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(5, 8, 14, 0.9) 0%, transparent 34%);
  }

  .hero-copy {
    z-index: 5;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(50px, 14.5vw, 64px);
  }

  .hero-summary {
    max-width: 440px;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-product {
    width: 100%;
    margin: 52px auto 54px;
  }

  .desktop-window {
    border-radius: 22px;
  }

  .story,
  .story--focus,
  .story--widgets,
  .faq-story {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: 0;
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .story-copy {
    width: 100%;
    max-width: 560px;
    min-width: 0;
  }

  .story-copy h2,
  .faq-heading h2 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .story-visual--menu,
  .widget-stage {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .widget-stage {
    border-radius: var(--radius-large);
  }

  .story--focus .story-copy {
    order: 1;
  }

  .focus-visual {
    order: 2;
    width: 100%;
    min-width: 0;
    min-height: 430px;
  }

  .focus-visual img {
    width: 125%;
    margin-left: -21%;
  }

  .faq-item summary,
  .faq-answer {
    grid-template-columns: 30px minmax(0, 1fr) 22px;
    gap: 14px;
  }

  .faq-item summary {
    min-height: 82px;
    padding: 22px 0;
  }

  .faq-answer p {
    grid-column: 2 / -1;
    margin-bottom: 24px;
  }

  .final-cta,
  .final-cta-copy {
    min-height: 590px;
  }

  .final-cta h2 {
    font-size: clamp(62px, 18vw, 92px);
  }

  .final-mark {
    right: -16vw;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-legal {
    grid-column: auto;
  }

  .legal-main {
    padding-top: 78px;
    padding-bottom: 90px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
