:root {
  --black: #1a1a1a;
  --paper: #f6f4f1;
  --orange: #ee4821;
  --brown: #3a150f;
  --purple: #30094f;
  --beige: #f9eea9;
  --muted: #bcb5b1;
  --line: #ffffff29;
  --heading: "Neue Montreal", "Inter", Arial, sans-serif;
  --body: "Telegraf", "Inter", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; color: var(--paper); background: var(--black); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
h1, h2 { font-weight: 700; letter-spacing: -.075em; line-height: .99; overflow-wrap: anywhere; }
h2 { font-size: clamp(3rem, 6.2vw, 6.1rem); }
em { color: var(--orange); font-style: normal; }
[hidden] { display: none !important; }
.shell { width: min(100% - 112px, 1320px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; background: var(--paper); color: var(--black); padding: 12px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { background: #151313; border-bottom: 1px solid var(--line); }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.brand img { display: block; object-fit: contain; width: auto; height: 17px; }
.brand img + img { height: 12px; }
nav { display: flex; gap: clamp(18px, 3vw, 42px); align-items: center; color: #d4ceca; font-size: .87rem; }
nav a:hover, footer a:hover { color: var(--orange); }
.action { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 48px; padding: 12px 16px; border: 1px solid transparent; border-radius: 3px; font-size: .9rem; font-weight: 700; text-align: left; transition: background-color .2s, color .2s, border-color .2s; }
.arrow, .down-arrow { display: inline-block; width: 13px; height: 13px; flex: 0 0 13px; position: relative; }
.arrow::before, .down-arrow::before { content: ""; position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after, .down-arrow::after { content: ""; position: absolute; top: 6px; left: 0; width: 12px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.down-arrow { transform: rotate(135deg); vertical-align: middle; }
.action-primary { background: var(--orange); color: #14100f; }
.action-primary:hover { background: #ff714c; }
.action-outline { background: transparent; color: var(--paper); border-color: #f6f4f14d; }
.action-outline:hover { background: var(--paper); color: var(--black); }
.action-dark { background: var(--black); color: var(--paper); }
.action-dark:hover { background: var(--brown); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .69rem; font-weight: 700; letter-spacing: .135em; text-transform: uppercase; line-height: 1.45; }
.eyebrow > span { width: 8px; height: 8px; flex: 0 0 8px; background: var(--orange); border-radius: 50%; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 86% 100%, #30094f50, transparent 42%), linear-gradient(126deg, #191616, #1a1a1a 51%, #261716); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(24px, 4.8vw, 76px); padding-top: clamp(53px, 7vw, 106px); padding-bottom: clamp(40px, 6vw, 85px); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { margin-bottom: 24px; color: #ded7d2; }
.hero h1 { font-size: clamp(3.25rem, 5.7vw, 6.45rem); max-width: 13ch; }
.hero h1 em { display: block; margin-top: 5px; }
.hero-copy > p:not(.eyebrow) { color: #d0c8c3; max-width: 39ch; font-size: clamp(1rem, 1.38vw, 1.16rem); line-height: 1.54; margin: 24px 0 25px; }
.vsl { position: relative; isolation: isolate; aspect-ratio: 1.28; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid #f6f4f13c; border-radius: 5px; background: #2a1514; box-shadow: 0 30px 100px #07040560; }
.vsl-image { position: absolute; z-index: -2; inset: 0; background: #351914 url("assets/nexo-portrait.webp") 60% 50% / cover no-repeat; }
.vsl::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #100b0be8, transparent 50%), linear-gradient(180deg, #100b0b99, transparent 30%); }
.vsl-top, .vsl-caption { display: flex; align-items: center; justify-content: space-between; padding: clamp(16px, 2.25vw, 31px); }
.vsl-top span:first-child { font-family: var(--heading); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.065em; }
.vsl-top span:last-child { font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.vsl-caption { justify-content: flex-start; gap: 13px; }
.vsl-caption strong, .vsl-caption small { display: block; }
.vsl-caption strong { font-size: clamp(.88rem, 1.3vw, 1.12rem); }
.vsl-caption small { font-size: .75rem; color: #d3c2bb; margin-top: 5px; }
.play-mark { flex: 0 0 44px; border: 1px solid #fff8; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.play-mark::before { content: ""; width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid var(--paper); margin-left: 2px; }
.hero-end { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 63px; border-top: 1px solid var(--line); font-size: .71rem; color: #c4b8b1; }
.hero-end span { color: var(--orange); margin-right: 5px; }
.hero-end p { font-size: .61rem; letter-spacing: .14em; }

.connection, .matrix, .method, .applications, .plans, .journey, .faq { padding-block: clamp(72px, 10vw, 150px); }
.connection { background: var(--paper); color: var(--black); }
.connection-grid, .method-grid, .journey-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(38px, 8vw, 124px); }
.connection .eyebrow, .section-intro .eyebrow, .faq .eyebrow, .closing .eyebrow { margin-bottom: 21px; }
.connection h2 { font-size: clamp(3rem, 5.9vw, 5.65rem); }
.connection h2 em { color: #ad3419; }
.connection-text { align-self: end; }
.connection-text > p, .section-intro > p:not(.eyebrow) { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.56; }
.method { background: radial-gradient(ellipse at 5% 0%, #3a150f, transparent 54%), #191717; }
.section-intro > p:not(.eyebrow) { color: #d4cbc6; margin-top: 23px; max-width: 42ch; }
.steps, .questions { border-top: 1px solid var(--line); }
.steps details, .questions details { border-bottom: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.steps summary { display: grid; grid-template-columns: 42px 1fr 22px; gap: 12px; align-items: center; padding: 19px 2px; }
.step-index { color: #ff7657; letter-spacing: .09em; font-size: .75rem; align-self: start; margin-top: 5px; }
.steps strong, .steps small { display: block; }
.steps strong { font-family: var(--heading); letter-spacing: -.045em; font-size: clamp(1.3rem, 2.4vw, 2rem); }
.steps small { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.steps details p, .questions details p { color: #ded5cf; line-height: 1.6; margin: 0 32px 20px 56px; max-width: 47ch; font-size: .95rem; }
.disclosure { width: 16px; height: 16px; position: relative; display: inline-block; }
.disclosure::before, .disclosure::after { content: ""; position: absolute; width: 14px; height: 1px; background: currentColor; inset: 50% 0 auto; }
.disclosure::after { transform: rotate(90deg); }
details[open] .disclosure::after { transform: none; }
.plans { background: radial-gradient(ellipse at 76% 75%, #30094f4d, transparent 62%), #201c1d; }
.plan-intro { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 24px; margin-bottom: 36px; }
.plan-intro > p:not(.eyebrow) { margin: 0; }
.plan-intro h2 { font-size: clamp(3rem, 5.8vw, 5.8rem); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; min-height: 330px; border: 1px solid #ffffff35; border-radius: 4px; padding: clamp(17px, 2.55vw, 34px); background: #1a1719; }
.plan-pro { border-top: 2px solid var(--orange); background: linear-gradient(150deg, #3a150f, #21191c 74%); }
.plan h3 { font-size: clamp(2.4rem, 4.1vw, 4.1rem); letter-spacing: -.075em; line-height: 1; }
.plan p { margin: 13px 0 18px; line-height: 1.45; color: #ded5cf; }
.plan ul { list-style: none; margin: 0 0 25px; padding: 0; font-size: .88rem; line-height: 1.35; color: #e8e0db; }
.plan li { display: flex; gap: 8px; padding-block: 8px; border-top: 1px solid var(--line); }
.plan li::before { content: "+"; color: #ff7657; }
.plan button { margin-top: auto; width: 100%; }

.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 2px; font-weight: 700; line-height: 1.38; }
.questions .disclosure { flex: 0 0 16px; }
.questions details p { margin-left: 2px; }
.matrix, .faq, .closing { position: relative; isolation: isolate; }
.matrix::before, .faq::before, .closing::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  mix-blend-mode: screen;
}
.closing {
  border-top: 1px solid #ee48214d;
  background: radial-gradient(ellipse at 64% 36%, #3a150f 0%, transparent 72%), #221510;
}
.closing::before {
  inset: 0 0 0 auto;
  width: min(60%, 1050px);
  background-image: url("assets/motion.webp");
  background-position: 52% 40%;
  opacity: .65;
  mask-image: radial-gradient(ellipse 72% 72% at 63% 51%, #000 20%, #000c 45%, transparent 86%);
}
.closing-inner { padding-block: clamp(75px, 10vw, 145px); }
.closing-inner > div { max-width: min(760px, 61%); }
.closing h2 { font-size: clamp(2.9rem, 5.6vw, 5.8rem); }
.closing-inner > div > p:not(.eyebrow) { margin-top: 22px; color: #ded0cb; font-size: 1.08rem; line-height: 1.5; max-width: 40ch; }
.closing button { margin-top: 25px; }
footer { color: #c4b8b1; font-size: .82rem; }
footer .brand img { height: 14px; }
footer .brand img + img { height: 10px; }

dialog { width: min(880px, 100% - 32px); max-width: none; max-height: calc(100% - 24px); border: 0; padding: 0; border-radius: 6px; background: var(--paper); color: var(--black); box-shadow: 0 25px 100px #0009; }
dialog::backdrop { background: #110d12b8; backdrop-filter: blur(5px); }
.dialog-layout { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0,1fr); }
.dialog-art { display: flex; flex-direction: column; justify-content: space-between; padding: 27px; color: var(--paper); background: linear-gradient(158deg, #1a0d0eca, transparent 35%, #1a0d0e70), #261914 url("assets/touch.webp") 51% 47% / cover; }
.dialog-art span:first-child { font-size: 2.15rem; font-weight: 700; letter-spacing: -.085em; line-height: 1; }
.dialog-art span:last-child { font-size: .62rem; letter-spacing: .17em; font-weight: 700; }
.dialog-body { position: relative; padding: 31px 33px 27px; }
.close { position: absolute; top: 13px; right: 13px; border: 1px solid #1a1a1a35; border-radius: 50%; background: transparent; color: var(--black); width: 38px; height: 38px; font-size: 1.48rem; line-height: 1; }
.close:hover { background: #e6ddd6; }
.dialog-body .eyebrow { padding-right: 35px; margin-bottom: 14px; }
.dialog-body h2 { font-size: clamp(2.6rem, 5.0vw, 4.25rem); max-width: 11ch; }
#contact-description { font-size: .95rem; line-height: 1.42; margin: 12px 0 16px; color: #514640; }
.plan-selection { font-size: .82rem; color: #8b2915; font-weight: 700; margin: -3px 0 12px; }
#lead-form { display: grid; gap: 8px; }
.form-field { display: grid; gap: 4px; }
#lead-form label { font-size: .83rem; font-weight: 700; }
#lead-form label small { color: #605550; font-size: inherit; font-weight: 400; }
#lead-form input, #lead-form select { width: 100%; min-width: 0; border: 1px solid #1a1a1a40; border-radius: 3px; background: #fff9; min-height: 41px; padding: 8px 10px; color: var(--black); font-size: 1rem; }
#lead-form input::placeholder { color: #6f615a; }
#lead-form button { margin-top: 2px; }
.demo-note { margin-top: 3px; color: #62534d; font-size: .72rem; line-height: 1.35; }
.success p { background: #e9e0d8; padding: 13px; font-size: .92rem; line-height: 1.5; margin-bottom: 12px; }

@media (max-width: 920px) {
  .shell { width: calc(100% - 60px); }
  .hero-grid { gap: 24px; }
  .hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
  .plan-grid { gap: 9px; }
  .plan button { gap: 6px; font-size: .82rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 38px); }
  .masthead-inner { min-height: 63px; gap: 12px; }
  .masthead nav { display: none; }
  .masthead .action { padding-inline: 10px; min-height: 38px; gap: 10px; font-size: .77rem; }
  .hero-grid, .connection-grid, .method-grid, .journey-grid, .faq-grid, .plan-grid, .plan-intro { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 41px; gap: 29px; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 5rem); }
  .hero-copy .eyebrow { margin-bottom: 17px; }
  .hero-copy > p:not(.eyebrow) { margin-block: 17px; }
  .vsl { aspect-ratio: 1.47; }
  .hero-end { min-height: 51px; }
  .hero-end p { display: none; }
  .connection-grid, .method-grid, .journey-grid, .faq-grid { gap: 27px; }
  .plan-grid { gap: 12px; }
  .plan { min-height: auto; }
  .plan button { gap: 18px; font-size: .88rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 18px; gap: 14px 20px; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-art { display: none; }
  .dialog-body { padding: 25px 20px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero-iris { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#191616 10%,#191616ed 38%,#1a1a1a5e 100%), url("assets/iris.webp") right 48% / min(800px, 75vw) auto no-repeat; opacity: .56; pointer-events: none; }
.connection-text > p + p { margin-top: 16px; }
.matrix { background: #191616; }
.matrix::before {
  top: 0;
  left: 0;
  width: min(67%, 1080px);
  height: 100%;
  background-image: url("assets/handshake.webp");
  background-position: 42% center;
  opacity: .57;
  mask-image: radial-gradient(ellipse 82% 72% at 32% 49%, #000 20%, #000b 46%, transparent 86%);
}
.matrix-content { width: min(49%, 640px); margin-left: auto; }
.matrix-content .eyebrow { margin-bottom: 18px; }
.matrix-content h2 { font-size: clamp(2.65rem, 5.1vw, 5.4rem); }
.matrix-content > p:not(.eyebrow) { color: #d4cbc6; margin-top: 20px; font-size: 1.04rem; line-height: 1.55; }
.matrix-example { margin: 22px 0 0; border-top: 1px solid var(--line); }
.matrix-example > div { padding-block: 12px; border-bottom: 1px solid var(--line); }
.matrix-example dt { font-weight: 700; color: #ff8b72; font-size: .78rem; }
.matrix-example dd { margin: 5px 0 0; color: var(--paper); font-size: .92rem; line-height: 1.45; }
.plan-note { font-size: .87rem; line-height: 1.45; margin-top: 20px; color: #d4cbc6; }
.faq { background: #181616; overflow: hidden; }
.faq::before {
  top: 0;
  right: 0;
  width: clamp(300px, 33vw, 600px);
  aspect-ratio: 4 / 5;
  background-image: url("assets/stairs.webp");
  background-position: center top;
  opacity: .29;
  mask-image: radial-gradient(ellipse 75% 67% at 70% 53%, #000 20%, #000a 49%, transparent 90%);
}
.applications { color: var(--black); background: var(--paper); }
.applications-intro { max-width: 640px; }
.applications-intro .eyebrow { margin-bottom: 20px; }
.application-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px, 4vw, 64px); margin-top: 34px; }
.application-grid article { border-top: 1px solid #3a150f4d; padding-top: 16px; }
.application-grid h3, .journey-list h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.04em; }
.application-grid p, .journey-list p { margin-top: 9px; font-size: .95rem; line-height: 1.58; }
.application-grid p { color: #514640; }
.journey { background: #211917; border-block: 1px solid var(--line); }
.journey h2 { font-size: clamp(2.55rem, 5.5vw, 5.45rem); }
.journey .action { margin-top: 24px; }
.journey-list { list-style: none; margin: 0; padding: 0; counter-reset: journey; border-top: 1px solid var(--line); }
.journey-list li { position: relative; counter-increment: journey; border-bottom: 1px solid var(--line); padding: 16px 0 16px 42px; }
.journey-list li::before { content: counter(journey, decimal-leading-zero); color: #ff8b72; font-size: .75rem; position: absolute; top: 20px; left: 0; }
.journey-list p { color: #d4cbc6; }
.vsl-top span:last-child, .dialog-art span:last-child { line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: dialog-enter 300ms cubic-bezier(.2, .75, .25, 1) both; }
  dialog[open]::backdrop { animation: backdrop-enter 260ms ease-out both; }
}
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(15px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  .hero-iris { opacity: .44; }
  .plan-intro { gap: 16px; }
  .matrix { padding-top: clamp(175px, 42vw, 270px); }
  .matrix::before {
    width: 100%;
    height: clamp(225px, 64vw, 375px);
    background-position: center 42%;
    mask-image: radial-gradient(ellipse 83% 70% at 50% 35%, #000 19%, #000a 49%, transparent 87%);
  }
  .matrix-content { width: 100%; }
  .faq::before { width: min(86%, 460px); opacity: .2; }
  .closing::before {
    width: 100%;
    background-position: 67% 35%;
    opacity: .26;
    mask-image: radial-gradient(ellipse 67% 68% at 73% 52%, #000 21%, #000a 48%, transparent 88%);
  }
  .application-grid { grid-template-columns: 1fr; gap: 18px; }
  .closing-inner > div { max-width: 100%; }
}
@media (max-width: 560px) {
  .dialog-body { padding-top: 23px; }
  .dialog-body h2 { font-size: clamp(2.5rem, 10vw, 3.3rem); }
  .dialog-body .eyebrow { margin-bottom: 12px; }
  h2, .connection h2, .plan-intro h2 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
}
