/* Trumio's site-wide visual language, based on the supplied Nexform reference. */
:root {
  --paper: #eeeeee;
  --ink: #080808;
  --paper-rgb: 238, 238, 238;
  --ink-rgb: 8, 8, 8;
  color-scheme: light;
  --background: var(--paper);
  --surface: var(--paper);
  --text: var(--ink);
  --muted: rgba(var(--ink-rgb), 0.68);
  --subtle: rgba(var(--ink-rgb), 0.58);
  --line: rgba(var(--ink-rgb), 0.14);
  --button-line: rgba(var(--ink-rgb), 0.45);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(24px, 4.5vw, 80px);
  --content: 1440px;
  --header-height: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.hero,
.site-header,
.site-menu,
.mio-section,
.experience,
.builder-example,
.pricing-section,
.site-footer,
.enterprise-hero,
.enterprise-placeholder,
.enterprise-cta {
  color-scheme: dark;
  --background: var(--ink);
  --surface: var(--ink);
  --text: var(--paper);
  --muted: rgba(var(--paper-rgb), 0.68);
  --subtle: rgba(var(--paper-rgb), 0.58);
  --line: rgba(var(--paper-rgb), 0.16);
  --button-line: rgba(var(--paper-rgb), 0.5);
  color: var(--text);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 300 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary {
  outline-offset: 6px;
}
:focus-visible {
  outline: 2px solid var(--text);
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 300;
}
h1,
h2 {
  line-height: 1.13;
  letter-spacing: -0.045em;
}
p {
  color: var(--muted);
}
strong {
  color: var(--text);
  font-weight: 400;
}
::selection {
  color: var(--background);
  background: var(--text);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--text);
}
.skip:focus {
  top: 16px;
}
.meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 1px;
  background: var(--paper);
  mix-blend-mode: difference;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.underlined {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: currentColor;
}
.mono,
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.075em;
  line-height: 1.6;
}
.eyebrow {
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 48px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--button-line);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.button:hover {
  color: var(--muted);
  border-color: var(--text);
}
.arrow {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.button:hover .arrow {
  transform: translate(3px, -3px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.reveal.will-reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal {
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Full-width navigation with an unframed blur that fades into the page. */
.site-header {
  --nav-background-rgb: var(--ink-rgb);
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  isolation: isolate;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
  padding: 0 var(--gutter);
  background: transparent;
  pointer-events: none;
}
.site-header > * {
  pointer-events: auto;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -16px;
  z-index: -1;
  pointer-events: none;
  background: rgba(var(--nav-background-rgb), 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}
.site-header.is-scrolled::before {
  opacity: 1;
}
.site-header.is-on-light {
  color-scheme: light;
  --text: var(--ink);
  --line: rgba(var(--ink-rgb), 0.2);
  --nav-background-rgb: var(--paper-rgb);
}
.site-header.is-on-light .logo img {
  filter: invert(1);
}
.site-header.is-on-light .icon-button {
  border-color: rgba(var(--ink-rgb), 0.35);
}
.site-header.is-on-light .icon-button:hover {
  background: rgba(var(--ink-rgb), 0.05);
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .site-header::before {
    background: rgba(var(--nav-background-rgb), 0.85);
  }
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: inherit;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}
.logo img {
  display: block;
  flex: none;
  object-fit: contain;
}
.logo-symbol {
  width: 26px;
  height: 26px;
}
.logo-wordmark {
  width: 93px;
  height: auto;
}
.header-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.header-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0;
  transition: opacity 0.25s;
}
.header-platform span {
  font-size: 18px;
  font-weight: 300;
}
.site-header > .icon-button {
  margin-left: 8px;
}
.header-links a:hover {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.header-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
@media (max-width: 900px) {
  .header-links .header-section {
    display: none;
  }
}
.icon-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--paper-rgb), 0.35);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.icon-button:hover {
  border-color: var(--line);
  background: rgba(var(--paper-rgb), 0.05);
}

/* Full-viewport cinematic introduction, matching the reference proportions. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(720px, 100svh);
  padding: 108px var(--gutter) 32px;
  overflow: hidden;
  background: var(--ink) url("./theme-poster.jpg") center / cover no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero.video-unavailable .hero-video {
  opacity: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(var(--ink-rgb), 0.12),
      rgba(var(--ink-rgb), 0.5) 42%,
      rgba(var(--ink-rgb), 0.6)
    ),
    linear-gradient(
      180deg,
      rgba(var(--ink-rgb), 0.2),
      transparent 25%,
      transparent 65%,
      rgba(var(--ink-rgb), 0.48)
    );
  pointer-events: none;
}
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
}
.hero-composition {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  max-width: 920px;
  margin: 0 clamp(0px, 6.6vw, 96px) 0 auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.025em;
  transition: opacity 0.25s;
}
.hero-cta:hover {
  opacity: 0.65;
}

.hero-bottom {
  position: relative;
}

.hero-footer-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(var(--paper-rgb), 0.18);
  padding-top: 18px;
}
.hero-footer-info p {
  max-width: 475px;
  color: rgba(var(--paper-rgb), 0.66);
  font-size: 12px;
  line-height: 1.65;
}
.hero-footer-right {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(var(--paper-rgb), 0.66);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.motion-toggle:hover {
  color: var(--text);
}
.motion-symbol {
  font-size: 11px;
  letter-spacing: -2px;
}
.motion-paused .motion-symbol {
  font-size: 0;
}
.motion-paused .motion-symbol::after {
  content: "▷";
  font-size: 12px;
}

.hero-copy {
  width: 100%;
  max-width: 660px;
  min-width: 0;
}
.hero-copy h1 {
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 300;
  text-wrap: balance;
}
.hero-copy > p {
  max-width: 510px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.hero-copy .hero-cta {
  margin-top: 24px;
  gap: 16px;
}
@media (max-width: 767px) {
  :root {
    --header-height: 76px;
  }
  .hero-copy {
    max-width: 540px;
  }
  .hero-copy h1 {
    font-size: clamp(32px, 5.4vw, 42px);
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 22px;
  }
}

/* A native dialog provides focus containment and escape-key behavior. */
.site-menu {
  position: fixed;
  inset: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(var(--ink-rgb), 0.96);
  color: var(--text);
}
.site-menu::backdrop {
  background: rgba(var(--ink-rgb), 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.site-menu[open] {
  animation: menu-in 0.4s var(--ease);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-shell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px var(--gutter);
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-main {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 56px 0;
}
.menu-main > .eyebrow {
  margin-bottom: 28px;
}
.menu-links {
  display: flex;
  flex-direction: column;
}
.menu-links a {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.04em;
  transition: color 0.25s;
}
.menu-links a:hover {
  color: var(--muted);
}

.menu-links a span:last-child {
  margin-left: auto;
  font-size: 26px;
}
.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.menu-footer p {
  font-size: 12px;
}
.menu-footer > div {
  display: flex;
  gap: 32px;
  font-size: 12px;
}
.menu-footer a {
  padding: 10px 0;
}

/* The footer carries the same open grid and understated editorial type. */
.site-footer {
  margin: auto;
  max-width: none;
  padding: 56px var(--gutter) 24px;
  padding-inline: max(
    var(--gutter),
    calc((100% - var(--content)) / 2 + var(--gutter))
  );
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-top: 0;
}
.footer-brand p {
  margin-top: 22px;
  font-size: 12px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col h2 {
  margin-bottom: 20px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 12px;
  font-weight: 300;
}
.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 24px;
  color: var(--subtle);
  font-size: 10px;
}
.footer-bottom a {
  padding: 8px 0;
  color: var(--muted);
}
.compliance-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.compliance-note svg {
  flex-shrink: 0;
}

.enterprise-placeholder {
  padding: 144px var(--gutter) 56px;
  padding-inline: max(
    var(--gutter),
    calc((100% - var(--content)) / 2 + var(--gutter))
  );
  background: var(--ink);
}
.enterprise-placeholder h1 {
  margin-top: 20px;
  max-width: 800px;
  font-size: clamp(38px, 4vw, 56px);
}
.enterprise-notice {
  margin: 20px 0 24px;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 1600px) {
  .hero-composition {
    margin-right: calc((100vw - 1440px) / 2 + 60px);
  }
}
@media (max-width: 1023px) {
  .header-links {
    gap: 28px;
  }
  .header-links a {
    font-size: 13px;
  }
  .hero-composition {
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(var(--ink-rgb), 0.25),
      rgba(var(--ink-rgb), 0.52) 25%,
      rgba(var(--ink-rgb), 0.52) 68%,
      rgba(var(--ink-rgb), 0.7)
    );
  }
  .site-header {
    gap: 16px;
  }
  .logo {
    font-size: 21px;
  }
  .header-links {
    gap: 20px;
  }
  .site-header > .icon-button {
    margin-left: 0;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .hero {
    min-height: max(700px, 100svh);
    padding-top: 100px;
    padding-bottom: 24px;
  }
  .hero-main {
    padding: 80px 0 72px;
  }
  .hero-composition {
    justify-content: center;
  }

  .hero-cta {
    margin-top: 20px;
    font-size: 12px;
  }

  .hero-footer-info {
    align-items: flex-start;
    gap: 20px;
  }
  .hero-footer-info p {
    font-size: 10px;
    max-width: 340px;
  }
  .hero-footer-right {
    font-size: 9px;
  }
  .motion-toggle {
    font-size: 9px;
  }
  .menu-shell {
    padding-block: 24px;
  }
  .menu-main {
    padding: 40px 0;
  }
  .menu-links a {
    min-height: 66px;
    gap: 16px;
    font-size: 28px;
  }

  .menu-links a span:last-child {
    font-size: 20px;
  }
  .menu-footer > div {
    flex-direction: column;
    gap: 0;
  }
  .site-footer {
    padding-top: 64px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-brand p {
    margin: 0;
    font-size: 11px;
  }
  .footer-col a {
    font-size: 11px;
  }
  .footer-bottom {
    margin-top: 48px;
    font-size: 9px;
  }
}
@media (max-width: 479px) {
  .site-header {
    gap: 10px;
  }
  .header-links .header-enterprise {
    display: none;
  }
  .hero-main {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-footer-info {
    flex-direction: column;
    gap: 16px;
  }
  .hero-footer-right {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .hero-footer-info p {
    max-width: 300px;
  }

  .menu-links a {
    font-size: 25px;
    gap: 12px;
  }
  .menu-links a span:last-child {
    font-size: 18px;
  }

  .footer-grid {
    gap: 36px 16px;
  }
  .footer-col h2 {
    font-size: 10px;
  }
  .footer-col a {
    min-height: 40px;
    font-size: 10px;
  }
  .compliance-note {
    order: -1;
    width: 100%;
  }
  .enterprise-placeholder {
    padding-block: 128px 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal.will-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Shared product navigation. Secondary destinations stay in the three-dot menu. */
.product-links .header-section {
  display: inline-flex;
}
.product-links .nav-label-short {
  display: none;
}
.product-links .nav-enterprise-arrow {
  font-size: 18px;
  font-weight: 300;
}
@media (max-width: 600px) {
  .site-header {
    gap: 10px;
  }
  .product-links {
    gap: 18px;
  }
  .product-links .nav-label-full,
  .product-links .nav-enterprise-arrow {
    display: none;
  }
  .product-links .nav-label-short {
    display: inline;
  }
}
@media (max-width: 360px) {
  .site-header {
    padding-inline: 18px;
    gap: 6px;
  }
  .product-links {
    gap: 12px;
  }
  .product-links a {
    font-size: 12px;
  }
}
