/* Tenuto — page 60 (artboard "60 · ★ 56 + consistent section spacing") */

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Mix";
  src: url("fonts/ABCArizonaMix-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14161B;
  --ink-muted: #585D68;
  --ground: #F5F5F4;
  --dark: #151515;
  --grey-on-dark: #A6A6A6;
  --line-on-dark: rgba(255,255,255,.14);
  --font-display: "ABC Arizona Mix", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1280px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section-gap: clamp(96px, 11vw, 160px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (min-width: 1441px) {
  .container { padding-inline: 0; }
}

/* Type */
.display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.34vw, 48px);
  line-height: 1.104;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
  transition: opacity .18s ease, background-color .18s ease;
}
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #E9E9E7; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  height: 38px; padding-inline: 16px;
  font-size: 14px; line-height: 18px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); }
.btn-nav { height: 38px; padding-inline: 16px; font-size: 14px; }
.btn-hero { height: 48px; padding-inline: 24px; font-size: 16px; letter-spacing: -0.01em; }

/* Announcement bar */
.announce {
  height: 44px;
  background: var(--ground);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 16px;
  font-size: 14px; line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}
.announce a { font-weight: 600; }
.announce a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .announce { font-size: 13px; height: auto; padding-block: 10px; }
}

/* Hero — fills the viewport below the announce bar (Harvey h-dvh) */
.viewport-fold {
  display: flex;
  flex-direction: column;
  height: 100svh;
}
.hero {
  position: relative;
  flex: 1;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: brightness(.88);
  opacity: 0;
  transition: opacity .4s ease;
}
.hero-video.is-playing { opacity: 1; }
.hero-poster-layer {
  position: absolute; inset: 0;
  background: url("assets/hero-poster.webp") 50% 45% / cover no-repeat;
  filter: brightness(.88);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,.82) 0%, rgba(0,0,0,.72) 32%,
    rgba(0,0,0,.42) 58%, rgba(0,0,0,.12) 82%, rgba(0,0,0,0) 98%);
}
@media (max-width: 720px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(0,0,0,.66) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.55) 100%);
  }
}
/* Navbar — Rogo mechanics: transparent + blur(5px) over the hero (frost is
   invisible until content passes beneath), solid light + inverted colors past
   the hero, retracts on scroll down / reveals on scroll up */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding-block: 15px;
  background: transparent;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background-color .3s ease;
}
.nav--frost {
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.nav--fixed { position: fixed; }
.nav--hidden { transform: translateY(-100%); }
.nav--solid {
  background: #fff;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { width: 100px; height: auto; transition: filter .3s ease; }
.nav--solid .nav-logo img { filter: invert(1); }
.nav--solid .btn-ghost { color: var(--ink); border-color: rgba(20,22,27,.25); }
.nav--solid .btn-ghost:hover { border-color: rgba(20,22,27,.5); }
.nav--solid .btn-white { background: var(--ink); color: #fff; }
.nav--solid .btn-white:hover { background: #2A2D34; }
.nav-actions { display: flex; gap: 10px; }
@media (max-width: 480px) {
  .btn-ghost { display: none; }
}

.hero-copy {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.hero-lede {
  margin-top: clamp(24px, 3.4vh, 40px);
  max-width: 460px;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.82);
}
.hero-copy .btn-hero { margin-top: clamp(28px, 3.6vh, 42px); }

/* S02 · We handle */
.s-handle { padding-top: var(--section-gap); }
@media (min-width: 721px) { .s-handle h2 span { display: block; } }
.handle-media {
  margin-top: clamp(48px, 6vw, 117px);
  border-radius: 8px;
  background: var(--ground);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.handle-media video { width: 100%; height: 100%; object-fit: cover; }

/* S03 · Showcase (Arrakis-inspired, scroll-driven) */
.s-teams { height: 400svh; background: #fff; }
.teams-sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.teams-sticky .container { width: 100%; } /* auto margins in flex shrink it otherwise */
.showcase {
  margin-top: clamp(48px, 6vw, 117px);
  display: grid;
  grid-template-columns: 1fr 1fr;   /* two equal halves */
  align-items: center;
  position: relative;
}
.showcase-items { display: flex; justify-content: center; }
.showcase-window {
  width: min(360px, 100%);
  height: 400px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.showcase-list {
  list-style: none;
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.showcase-list li { margin-bottom: 80px; }
.showcase-list button {
  appearance: none; border: 0; background: none; padding: 0;
  text-align: left; cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 2.78vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--ink);
  opacity: .5; /* was .1; raised for WCAG 3:1 on large text */
  transition: opacity .5s ease;
}
.showcase-list li.active button { opacity: 1; }
.showcase-list button:hover { opacity: .7; }
.showcase-list li.active button:hover { opacity: 1; }

.showcase-rail {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 64px;
  opacity: .25;
  height: 400px;
  overflow: hidden;
  justify-content: center;
}
.showcase-rail span { width: 24px; height: 1px; background: var(--ink); flex-shrink: 0; }

.showcase-desc { max-width: 360px; justify-self: center; }
.showcase-desc p {
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-muted);
  animation: descIn .5s ease;
}
@keyframes descIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }
  .showcase-rail, .s-teams h2 { display: none; }
  .showcase-items { width: 100%; }
  .showcase-window { height: 300px; width: min(360px, 100%); }
  .showcase-list li { margin-bottom: 56px; }
  .showcase-list button { text-align: center; width: 100%; }
  .showcase-desc { min-height: 120px; }
}

/* S04 · Quote */
.s-quote {
  background: var(--ground);
  padding-block: clamp(96px, 11vw, 160px);
}
.s-quote blockquote { text-align: center; }
.s-quote p {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.78vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--ink);
  max-width: 960px;
  margin-inline: auto;
}
.s-quote cite {
  display: block;
  margin-top: clamp(28px, 4vw, 60px);
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

/* S05 · Security */
.s-security {
  background: var(--dark);
  color: #fff;
  padding-block: var(--section-gap) clamp(96px, 11vw, 160px);
}
.s-security .display-md { color: #fff; }
.sec-grid {
  margin-top: clamp(48px, 6vw, 117px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sec-card {
  border: 1px solid var(--line-on-dark);
  padding: 24px;
  min-height: 359px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.sec-card svg { position: absolute; left: 24px; top: 24px; }
.sec-card h3 {
  font-size: 16px; line-height: 24px;
  font-weight: 500; letter-spacing: -0.01em;
}
.sec-card p {
  margin-top: 8px;
  font-size: 14px; line-height: 20px;
  color: var(--grey-on-dark);
}
@media (max-width: 1100px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sec-grid { grid-template-columns: 1fr; } .sec-card { min-height: 280px; } }

/* Footer */
.footer {
  background: var(--dark);
  color: #fff;
  padding-block: clamp(72px, 8.3vw, 120px) 0;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 2.78vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  max-width: 340px;
}
.footer-rule {
  border: 0;
  height: 1px;
  background: var(--line-on-dark);
  margin-block: clamp(40px, 4vw, 58px) clamp(40px, 4.4vw, 64px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) repeat(3, minmax(auto, 200px));
  gap: 32px 24px;
}
.footer-badges { display: flex; gap: 24px; align-items: flex-start; }
.badge-img { height: auto; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h3 {
  font-size: 14px; line-height: 21px;
  font-weight: 400; letter-spacing: -0.02em;
  color: rgba(255,255,255,.55);
  margin-bottom: 11px;
}
.footer-col a {
  font-size: 14px; line-height: 21px;
  letter-spacing: -0.02em;
  padding-block: 5.5px;
  color: #fff;
}
.footer-col a:hover { color: rgba(255,255,255,.7); }
.footer-copy {
  text-align: center;
  font-size: 12px; line-height: 16px;
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--grey-on-dark);
  padding-block: clamp(40px, 5vw, 76px) 24px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-badges { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-badges { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .showcase-list, .showcase-desc p { transition: none; animation: none; }
}

/* ---- Demo request (artboard 64) ---- */
.split { display: flex; min-height: 100svh; }
.split-dark {
  flex: 1;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px;
  position: relative;
}
.split-dark .logo { position: absolute; top: 48px; left: 64px; }
.split-dark .logo img { width: 100px; height: auto; }
.split-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.17vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 36px;
}
.split-copy p {
  max-width: 561px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.82);
}
.split-badges {
  position: absolute;
  left: 64px; bottom: 48px;
  display: flex; gap: 24px;
}
.split-white {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.demo-form { width: min(540px, 100%); display: flex; flex-direction: column; gap: 16px; }
.demo-form .row { display: flex; gap: 36px; }
.demo-form .row > * { flex: 1; min-width: 0; }
.demo-form input,
.demo-form select {
  width: 100%;
  height: 52px;
  padding-inline: 16px;
  border: 0;
  border-radius: 6px;
  background: var(--ground);
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  appearance: none;
}
.demo-form ::placeholder { color: var(--ink-muted); opacity: 1; }
.demo-form select:invalid { color: var(--ink-muted); }
.demo-form .select-wrap { position: relative; }
.demo-form .select-wrap::after {
  content: "";
  position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.3px solid #0F0E0D;
  border-bottom: 1.3px solid #0F0E0D;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.demo-form input:focus, .demo-form select:focus { outline: 2px solid rgba(20,22,27,.25); }
.demo-consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 14px; line-height: 20px;
  letter-spacing: -0.01em;
  color: rgba(20,22,27,.82);
}
.demo-consent input {
  appearance: none;
  padding: 0;
  background: #fff;
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid rgba(20,22,27,.2);
  border-radius: 3px;
  cursor: pointer;
}
.demo-consent input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.demo-consent a { text-decoration: underline; }
.demo-submit {
  height: 52px;
  border: 0; border-radius: 6px;
  background: var(--dark); color: #fff;
  font-family: var(--font-body);
  font-weight: 500; font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.demo-submit:hover { background: #2A2D34; }
.demo-form[hidden] { display: none; }
.demo-submit:disabled { opacity: .6; cursor: default; }
.demo-status { font-size: 14px; line-height: 20px; color: #B42318; }
.demo-thanks { width: min(540px, 100%); }
.demo-thanks h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.34vw, 48px); line-height: 1.1; letter-spacing: -0.05em; }
.demo-thanks p { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
@media (max-width: 900px) {
  .split { flex-direction: column; }
  .split-dark { min-height: 60svh; padding: 112px 24px 140px; }
  .split-dark .logo { left: 24px; top: 32px; }
  .split-badges { left: 24px; bottom: 32px; }
  .split-white { padding: 40px 24px; }
  .demo-form .row { flex-direction: column; gap: 16px; }
  .demo-form .row > * { flex: none; }
  .demo-form .row > [aria-hidden] { display: none; }
}

/* ---- Legal pages (artboard 65) ---- */
.nav-static { position: static; background: #fff; }
.nav-static .nav-logo img { filter: invert(1); }
.nav-static .btn-ghost { color: var(--ink); border-color: rgba(20,22,27,.2); }
.nav-static .btn-ghost:hover { border-color: rgba(20,22,27,.45); }
.nav-static .btn-white { background: var(--ink); color: #fff; }
.nav-static .btn-white:hover { background: #2A2D34; }
.legal-head { padding: clamp(96px, 12.5vw, 180px) 0 64px; }
.legal-head h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.17vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.legal-head .updated {
  margin-top: 28px;
  font-size: 14px; line-height: 20px;
  letter-spacing: 0.02em;
  color: rgba(20,22,27,.6);
}
.legal-body { max-width: 600px; padding-bottom: 128px; display: flex; flex-direction: column; gap: 32px; }
.legal-body p, .legal-body li {
  font-size: 17px; line-height: 30px;
  letter-spacing: -0.005em;
  color: rgba(20,22,27,.82);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px; line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 16px;
}
.legal-body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
