:root {
  --navy: #151162;
  --navy-deep: #0b083f;
  --red: #d3121d;
  --white: #ffffff;
  --soft: #f5f5f7;
  --ink: #17171d;
  --muted: #62626c;
  --line: #dcdce3;
  --wrap: min(1180px, calc(100% - 64px));
  --shadow: 0 28px 70px rgba(21, 17, 98, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

main,
section,
.nav,
.hero__grid,
.hero__grid > *,
.machine-card,
.machine-card > *,
.order__grid,
.contact__grid,
.contact__grid > *,
.form-grid > * {
  min-width: 0;
}

h1,
h2,
h3,
p,
dd,
li {
  overflow-wrap: break-word;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
video:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(211, 18, 29, 0.38);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(21, 17, 98, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  width: 88px;
  height: 72px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #383841;
  font-size: 12px;
  font-weight: 760;
}

.nav__links > a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 2px;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  font-weight: 820;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 0 12px 28px rgba(211, 18, 29, 0.2);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 11px;
}

.button--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.button--outline:hover {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(21, 17, 98, 0.15);
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 820;
}

.text-link span {
  color: var(--red);
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--navy {
  color: var(--navy);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  min-height: min(750px, calc(100vh - 84px));
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: clamp(64px, 8vw, 104px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 780;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero__lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: #44444d;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero__proof {
  display: flex;
  margin: 38px 0 0;
  padding: 22px 0 0;
  flex-wrap: wrap;
  gap: 12px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}

.hero__proof li {
  position: relative;
  padding-left: 15px;
}

.hero__proof li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--red);
  transform: translateY(-50%);
}

.hero__media {
  position: relative;
  min-height: 560px;
}

.hero__media figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__primary {
  inset: 0 13% 7% 0;
}

.hero__secondary {
  right: 0;
  bottom: 0;
  width: 45%;
  height: 43%;
  border: 8px solid var(--white);
}

.hero__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7, 5, 39, 0.88));
  font-size: 13px;
  font-weight: 800;
}

.hero__media figcaption span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-bar {
  color: var(--white);
  background: var(--navy);
}

.signal-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-bar p {
  min-height: 116px;
  margin: 0;
  padding: 24px 28px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 13px;
  font-weight: 750;
}

.signal-bar p:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.signal-bar span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(84px, 10vw, 136px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-heading h2,
.order h2,
.contact h2,
.legal-section h2 {
  max-width: 800px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4.7vw, 64px);
  font-weight: 770;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
}

.machine-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.machine-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--white);
}

.machine-card--reverse .machine-card__media {
  order: 2;
}

.machine-card__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}

.machine-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-card__body {
  display: flex;
  padding: clamp(44px, 6vw, 74px);
  justify-content: center;
  flex-direction: column;
}

.machine-card__number {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.machine-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.machine-card__body > p:not(.machine-card__number) {
  max-width: 510px;
  margin: 24px 0 0;
  color: #50505a;
  font-size: 17px;
}

.machine-card__questions {
  display: grid;
  margin: 30px 0;
  padding: 20px 0;
  gap: 4px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.machine-card__questions strong {
  color: var(--ink);
  font-size: 11px;
}

.machine-card .button {
  align-self: flex-start;
}

.order {
  color: var(--white);
  background: var(--navy);
}

.order__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(60px, 10vw, 140px);
}

.order h2 {
  color: var(--white);
}

.order__intro > p:last-child {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 17px;
}

.order__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order__steps li {
  display: grid;
  min-height: 138px;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.order__steps li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.order__steps > li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 800;
}

.order__steps h3 {
  margin: 0;
  font-size: 19px;
}

.order__steps p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact__response {
  display: grid;
  margin-top: 40px;
  padding-top: 22px;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.contact__response span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__response strong {
  color: var(--navy);
  font-size: 14px;
}

.contact__panel {
  min-height: 560px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 22px;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.form-grid label,
.form-consent {
  color: #303039;
  font-size: 11px;
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #a7a7b0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
}

input,
select {
  min-height: 52px;
}

textarea {
  padding: 14px 0;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--red);
  outline: 0;
}

.form-privacy {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.form-consent {
  display: grid;
  margin-top: 15px;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 600;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.form-consent a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  width: 100%;
  margin-top: 28px;
  gap: 10px;
}

.form-submit img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.legal-section {
  padding-block: clamp(70px, 8vw, 100px);
  color: var(--white);
  background: var(--navy-deep);
}

.legal-section__header {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.legal-section h2 {
  max-width: 700px;
  color: var(--white);
}

.legal-section__header > p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.66);
}

.legal-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-list summary {
  display: grid;
  min-height: 84px;
  padding: 14px 0;
  grid-template-columns: 54px 1fr 44px;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 720;
  list-style: none;
}

.legal-list summary::-webkit-details-marker {
  display: none;
}

.legal-list summary > span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.legal-list summary i {
  color: var(--red);
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  transition: transform 160ms ease;
}

.legal-list details[open] summary i {
  transform: rotate(45deg);
}

.legal-content {
  max-width: 860px;
  margin-left: 70px;
  padding: 0 0 52px;
  color: rgba(255, 255, 255, 0.72);
}

.legal-content h3 {
  margin: 30px 0 8px;
  color: var(--white);
  font-size: 16px;
}

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

.legal-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-date {
  margin-top: 30px !important;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.footer {
  color: rgba(255, 255, 255, 0.73);
  background: var(--navy);
}

.footer__top {
  display: grid;
  min-height: 210px;
  grid-template-columns: 0.7fr 1fr 0.65fr;
  gap: 50px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__brand {
  position: relative;
  display: flex;
  width: 150px;
  aspect-ratio: 946 / 776;
  align-items: center;
  isolation: isolate;
}

.footer__brand::before,
.footer__brand::after {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--white);
}

.footer__brand::before {
  top: -2.3%;
  left: -1.9%;
  width: 85.8%;
}

.footer__brand::after {
  top: 23.1%;
  left: 54.2%;
  width: 47.7%;
}

.footer__brand img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.footer__top p {
  max-width: 440px;
  margin: 0;
  font-size: 16px;
}

.footer__top > a:last-child {
  justify-self: end;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.footer__top > a:last-child span {
  margin-left: 10px;
  color: #ff7c84;
}

.footer__legal-links {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__legal-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 750;
}

.footer__legal-links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: grid;
  min-height: 88px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 28px;
  font-size: 10px;
}

.footer__bottom span:nth-child(2) {
  text-align: center;
}

.footer__bottom span:last-child {
  text-align: right;
}

@media (max-width: 1060px) {
  :root {
    --wrap: min(920px, calc(100% - 48px));
  }

  .menu-button {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 84px);
    padding: 18px max(24px, calc((100% - min(920px, 100% - 48px)) / 2)) 26px;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links > a,
  .nav__links > .button {
    min-height: 44px;
    padding: 11px 0;
    border: 0;
    color: var(--navy);
    background: transparent;
    justify-content: flex-start;
    font-size: 12px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__media {
    width: min(100%, 760px);
  }

  .machine-card,
  .machine-card--reverse {
    grid-template-columns: 1fr;
  }

  .machine-card--reverse .machine-card__media {
    order: initial;
  }

  .machine-card__media {
    min-height: 620px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__intro {
    max-width: 720px;
  }
}

@media (max-width: 800px) {
  :root {
    --wrap: calc(100% - 36px);
  }

  html {
    scroll-padding-top: 72px;
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    width: 76px;
    height: 64px;
  }

  .nav__links {
    top: 72px;
    max-height: calc(100vh - 72px);
  }

  .hero__grid {
    min-height: 0;
    padding-block: 58px 70px;
  }

  .hero h1 {
    font-size: clamp(44px, 12.5vw, 66px);
  }

  .hero__media {
    min-height: 500px;
  }

  .signal-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .signal-bar p,
  .signal-bar p:first-child {
    min-height: 94px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

  .section-heading,
  .order__grid,
  .legal-section__header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading h2,
  .order h2,
  .contact h2,
  .legal-section h2 {
    font-size: clamp(38px, 10.5vw, 54px);
  }

  .machine-card__media {
    min-height: 560px;
  }

  .machine-card__body {
    padding: 44px 28px 52px;
  }

  .contact__panel {
    min-height: 0;
    padding: 32px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid__wide {
    grid-column: auto;
  }

  .legal-list summary {
    grid-template-columns: 38px 1fr 38px;
    gap: 8px;
    font-size: 15px;
  }

  .legal-content {
    margin-left: 0;
  }

  .footer__top,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__top {
    padding-block: 50px;
    gap: 24px;
  }

  .footer__top > a:last-child {
    justify-self: start;
  }

  .footer__legal-links {
    padding-block: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .footer__bottom {
    padding-block: 26px;
    gap: 7px;
  }

  .footer__bottom span:nth-child(2),
  .footer__bottom span:last-child {
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --wrap: calc(100% - 28px);
  }

  .hero__actions {
    display: grid;
    align-items: stretch;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero__proof {
    display: grid;
    gap: 10px;
  }

  .hero__media {
    min-height: 420px;
  }

  .hero__primary {
    right: 8%;
    bottom: 10%;
  }

  .hero__secondary {
    width: 48%;
    height: 38%;
    border-width: 6px;
  }

  .signal-bar__grid {
    grid-template-columns: 1fr;
  }

  .signal-bar p {
    border-right: 0;
  }

  .machine-card__media {
    min-height: 420px;
  }

  .machine-card h3 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .order__steps li {
    min-height: 128px;
  }

  .footer__brand {
    width: 144px;
  }
}

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

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