/* Maat Mate landing mockup (throw-away). Tokens from tokens.css (panel v1); additions below are the only new token values. */
:root {
  --lp-hero-h: clamp(30rem, 74vh, 41rem);
  --lp-strip-time: 1s;
  --lp-dim-time: 3s;
  --lp-dim: rgb(11 26 49 / 0.74);
  --lp-navy-950: #0b1a31;
  --lp-sand: url(img/sand.png); /* fine navy-sand grain tile, 256px, tiles seamlessly (white noise) */
  --lp-gold-grad: linear-gradient(180deg, #ecd29c 0%, #d3ab6a 55%, #b58b52 100%);
  --lp-gold-text: #e3c48a;
  --lp-max: 78rem;
  --lp-gutter: clamp(1rem, 4vw, 3rem);
  --lp-parchment: linear-gradient(180deg, #f8efdf 0%, #f1e4cd 100%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font: var(--font-size-md)/var(--line-height-body) var(--font-family-ui);
  overflow-x: hidden;
}
img,
video,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-family-display);
  font-weight: 400;
  margin: 0;
  line-height: var(--line-height-tight);
}
p {
  margin: 0;
}
a {
  color: var(--color-lapis-700);
}
:focus-visible {
  outline: var(--border-width-focus) solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
/* the skip link becomes a visible chip when it has keyboard focus */
.skip:focus,
.skip:focus-visible {
  top: var(--space-2);
  left: var(--space-2);
  z-index: 10;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  padding: var(--space-2) var(--space-4);
  background: var(--lp-navy-950);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-gold-300);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.page {
  position: relative;
}
/* header */
.head {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--lp-gutter);
  color: var(--color-text-inverse);
}
.head__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-inverse);
  text-decoration: none;
  font: var(--font-size-xl)/1 var(--font-family-display);
}
.head__brand img {
  display: block;
  height: 2.6rem;
  width: auto;
}
.head__nav {
  display: flex;
  gap: var(--space-6);
  margin-left: var(--space-6);
  flex: 1;
}
.head__nav a {
  color: var(--color-nav-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  padding: var(--space-2) 0;
  border-bottom: 1px solid transparent;
}
.head__nav a:hover {
  color: #fff;
  border-color: var(--color-gold-300);
}
.head__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}
.link-btn {
  background: none;
  border: 0;
  color: var(--color-text-inverse);
  font: inherit;
  font-size: var(--font-size-sm);
  cursor: pointer;
  min-height: var(--tap-target-min-size);
  padding: 0 var(--space-2);
  text-decoration: underline;
  text-decoration-color: var(--color-gold-600);
  text-underline-offset: 6px;
}
.head__burger {
  display: none;
  min-width: var(--tap-target-min-size);
  min-height: var(--tap-target-min-size);
  background: rgb(255 255 255/0.1);
  border: 1px solid rgb(255 255 255/0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.head__burger span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: #fff;
}
/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-min-height);
  padding: 0 var(--space-5);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--gold {
  background: var(--lp-gold-grad);
  color: var(--color-navy-950);
  border-color: #a47a3e;
  box-shadow: inset 0 1px 0 rgb(255 255 255/0.45);
}
.btn--ghost {
  background: rgb(11 26 49/0.35);
  color: var(--color-text-inverse);
  border-color: rgb(223 189 130/0.6);
}
.btn--navy {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-button);
}
/* hero: film band at most half the viewport; copy overlays it when wide, the strip sits right under the band */
.top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--lp-sand), var(--lp-navy-950);
  color: var(--color-text-inverse);
}
.hero {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  height: 50vh;
  min-height: 21rem;
  max-height: 30rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.hero__media video {
  position: absolute;
  left: 0;
  width: 100%;
  top: -3.2%;
  height: 106.4%;
  object-fit: cover;
  object-position: center;
} /* 3.2% off top and bottom hides the thin letterbox lines */
.hero__media video#film-rev {
  visibility: hidden;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--lp-navy-950) 0%, rgb(11 26 49/0.75) 14%, rgb(11 26 49/0) 40%),
    linear-gradient(180deg, rgb(11 26 49/0.6) 0, rgb(11 26 49/0) 22%);
}
/* grain continues over the video's left edge, faded with the same stops as the shade so the join is invisible */
.hero__shade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lp-sand);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 14%, transparent 40%);
  mask-image: linear-gradient(90deg, #000 0, #000 14%, transparent 40%);
  pointer-events: none;
}
.strip {
  grid-row: 2;
  grid-column: 1;
}
.hero__inner {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 2;
  align-self: start;
  justify-self: center;
  width: 100%;
  max-width: var(--lp-max);
  padding: 4.6rem var(--lp-gutter) 0;
}
.hero__inner > * {
  max-width: 32rem;
}
.eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  color: var(--color-nav-text);
  margin-bottom: var(--space-3);
}
.hero__inner h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: var(--space-3);
}
.gold {
  color: var(--lp-gold-text);
}
.hero__lead {
  font-size: var(--font-size-md);
  line-height: var(--line-height-snug);
  color: #e8ecf4;
  margin-bottom: var(--space-4);
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__more {
  grid-row: 3;
  grid-column: 1;
  max-width: var(--lp-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-3) var(--lp-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-8);
  align-items: center;
}
.hero__more a {
  color: var(--color-gold-300);
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target-min-size);
}
.hero__note {
  font-size: var(--font-size-sm);
  color: var(--color-nav-text);
}
.btn--lg {
  min-height: 3rem;
  padding: 0 var(--space-5);
  font-size: var(--font-size-sm);
}
/* login strip */
.strip {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--lp-sand), linear-gradient(180deg, #0b1a31, #112647);
  border-bottom: 2px solid var(--color-gold-600);
  transition: grid-template-rows var(--lp-strip-time) cubic-bezier(0.3, 0.7, 0.2, 1);
}
.strip__clip {
  overflow: hidden;
  min-height: 0;
}
.strip__body {
  position: relative;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--space-6) var(--lp-gutter);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  color: var(--color-text-inverse);
}
.strip__text h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
  color: var(--lp-gold-text);
}
.strip__text a {
  color: var(--color-gold-300);
}
.strip__action {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 26rem;
}
.strip__soon {
  font-family: var(--font-family-display);
  font-size: var(--font-size-lg);
  color: var(--lp-gold-text);
}
.strip__close {
  margin-left: auto;
  background: none;
  border: 1px solid rgb(255 255 255/0.3);
  color: #fff;
  border-radius: var(--radius-sm);
  min-height: var(--tap-target-min-size);
  padding: 0 var(--space-4);
  font: inherit;
  font-size: var(--font-size-sm);
  cursor: pointer;
}
html.strip-open .strip {
  grid-template-rows: 1fr;
}
html.static .strip,
html.static .below::after {
  transition: none !important;
}
/* lower page and dimming */
.below {
  position: relative;
}
.below::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lp-dim);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity var(--lp-dim-time) ease;
}
html.dim .below::after {
  opacity: 1;
}
/* benefits */
.benefits {
  background: var(--lp-parchment);
  border-bottom: 1px solid var(--color-border);
}
.benefits__list {
  list-style: none;
  margin: 0 auto;
  padding: var(--space-6) var(--lp-gutter);
  max-width: var(--lp-max);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.benefits__list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-right: var(--space-4);
  border-right: 1px solid var(--color-border);
}
.benefits__list li:last-child {
  border: 0;
}
.benefits svg,
.ring svg {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  fill: none;
  stroke: var(--color-gold-600);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefits svg .fill {
  fill: var(--color-paper);
}
.benefits h2 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.benefits p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
/* platform */
.platform {
  position: relative;
  overflow: hidden;
  background: var(--lp-parchment);
  padding: var(--space-12) var(--lp-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
  max-width: none;
}
.platform::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(img/bg-columns.png) left bottom/auto 100% no-repeat;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 55%);
  mask-image: linear-gradient(90deg, #000 0, transparent 55%);
  pointer-events: none;
}
.platform > * {
  position: relative;
}
.platform__laptop,
.platform__text {
  max-width: 42rem;
  width: 100%;
}
.platform__laptop {
  justify-self: end;
}
.platform__feather {
  position: absolute !important;
  right: 2%;
  top: 2rem;
  width: 7rem;
  opacity: 0.55;
  pointer-events: none;
}
.laptop {
  --l: 10.27%;
  --t: 11.96%;
  --r: 10.27%;
  --b: 14.66%;
  position: relative;
  aspect-ratio: 1568/1003;
  filter: drop-shadow(0 18px 24px rgb(17 38 71/0.25));
}
.laptop__shot {
  position: absolute;
  left: var(--l);
  top: var(--t);
  right: var(--r);
  bottom: var(--b);
  width: calc(100% - var(--l) - var(--r));
  height: calc(100% - var(--t) - var(--b));
  object-fit: cover;
  object-position: top left;
  border-radius: 2px;
}
.laptop__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.caption {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-2);
}
.label {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  color: var(--color-gold-600);
  margin-bottom: var(--space-3);
}
.platform h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: var(--space-4);
}
.platform__text > p:not(.label) {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
  color: #3a4455;
  margin-bottom: var(--space-5);
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.chips li {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-gold-600);
  border-radius: var(--radius-pill);
  background: var(--color-paper-light);
  font-size: var(--font-size-sm);
}
/* process */
.process {
  background: var(--lp-sand), linear-gradient(180deg, #0b1a31, #112647);
  color: var(--color-text-inverse);
  padding: var(--space-12) var(--lp-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-12);
  align-items: center;
}
.process > * {
  max-width: var(--lp-max);
}
.process__text {
  justify-self: end;
  max-width: 30rem;
}
.process h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: var(--space-3);
  color: #f4ead8;
}
.process__text p {
  color: var(--color-nav-text);
}
.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  justify-content: flex-start;
}
.process__steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  font-family: var(--font-family-display);
  font-size: var(--font-size-lg);
  width: 7.5rem;
}
.process__steps .arrow {
  width: auto;
  font-size: 1.6rem;
  color: var(--color-gold-600);
  margin-top: 1.1rem;
}
.ring {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1.5px solid var(--color-gold-600);
  border-radius: 50%;
  background: rgb(255 255 255/0.04);
}
.ring svg {
  stroke: var(--color-gold-300);
  width: 2.1rem;
  height: 2.1rem;
}
/* audiences */
.audiences {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--space-12) var(--lp-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.audiences article {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold-600);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.audiences h3 {
  font-size: var(--font-size-h2);
}
.audiences p {
  color: #3a4455;
}
/* contact */
.contact {
  background: var(--color-paper-sunk);
  padding: var(--space-12) 0;
}
.contact__box {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.contact p {
  max-width: 40rem;
  color: #3a4455;
}
/* legal pages */
.legal__top {
  min-height: 5.5rem;
}
.legal {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--space-12) var(--lp-gutter);
  min-height: 50vh;
}
.legal h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: var(--space-4);
}
.legal__body {
  max-width: 44rem;
  overflow-wrap: anywhere;
  line-height: var(--line-height-body);
  color: #3a4455;
}
.legal__body h2 {
  font-size: var(--font-size-h2);
  margin: var(--space-8) 0 var(--space-3);
  color: var(--color-ink);
}
.legal__body p,
.legal__body ol {
  margin: 0 0 var(--space-3);
}
.legal__body ol {
  padding-left: var(--space-6);
}
.legal__body li {
  margin-bottom: var(--space-2);
}
/* footer */
.foot {
  background: var(--lp-sand), var(--lp-navy-950);
  color: var(--color-nav-text);
  padding: var(--space-8) var(--lp-gutter);
  font-size: var(--font-size-sm);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  margin-bottom: var(--space-3);
}
.foot a {
  color: var(--color-gold-300);
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target-min-size);
  overflow-wrap: anywhere;
}
/* tablet */
@media (max-width: 1100px) {
  .head__nav {
    display: none;
  }
  .head__burger {
    display: flex;
  }
  .head.menu-open .head__nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: var(--lp-gutter);
    right: var(--lp-gutter);
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: var(--lp-sand), var(--color-navy-900);
    border: 1px solid rgb(255 255 255/0.15);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-4);
    box-shadow: var(--shadow-popover);
  }
  .head.menu-open .head__nav a {
    padding: var(--space-3) 0;
    min-height: var(--tap-target-min-size);
    border-bottom: 1px solid rgb(255 255 255/0.1);
  }
  .platform,
  .process {
    grid-template-columns: 1fr;
  }
  .platform__laptop,
  .process__text {
    justify-self: center;
  }
  .process__steps {
    justify-content: center;
  }
  .benefits__list {
    grid-template-columns: 1fr 1fr;
  }
  .benefits__list li:nth-child(2) {
    border-right: 0;
  }
}
@media (max-width: 767px) {
  .head {
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
  }
  .head__brand img {
    height: 2rem;
  }
  .head__brand {
    font-size: var(--font-size-lg);
  }
  .head__cta {
    display: none;
  }
  .head__actions {
    gap: var(--space-2);
  }
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .hero__shade {
    background: linear-gradient(180deg, rgb(11 26 49/0.7) 0, rgb(11 26 49/0) 30%);
  }
  .hero__shade::before {
    display: none;
  }
  .hero__inner {
    grid-row: 3;
    grid-column: 1;
    align-self: auto;
    padding: var(--space-5) var(--space-4) var(--space-4);
  }
  .hero__more {
    grid-row: 4;
    grid-column: 1;
    padding: 0 var(--space-4) var(--space-6);
  }
  .hero__btns .btn {
    width: 100%;
  }
  .strip__body {
    gap: var(--space-4);
    padding: var(--space-5) var(--space-4);
  }
  .strip__close {
    margin-left: 0;
    width: 100%;
  }
  .strip__action {
    width: 100%;
  }
  .benefits__list {
    grid-template-columns: 1fr;
  }
  .benefits__list li {
    border: 0;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-4);
  }
  .benefits__list li:last-child {
    border-bottom: 0;
  }
  .platform,
  .process,
  .contact {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
  .platform__feather {
    display: none;
  }
  .process__steps {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .process__steps li {
    flex-direction: row;
    width: auto;
    text-align: left;
  }
  .process__steps .arrow {
    display: none;
  }
  .audiences {
    grid-template-columns: 1fr;
  }
  .audiences article {
    padding: var(--space-5);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .strip,
  .below::after {
    transition: none !important;
  }
}
