@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/JetBrainsMono-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/JetBrainsMono-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/JetBrainsMono-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --ink: #0e0e0e;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --muted: #777777;
  --accent: #ff6200;
  --font: "JetBrains Mono", "Courier New", monospace;
  --gutter: 8.33%;
  --section-y: 104px;
  --body-size: 1.375rem;
  --small-size: 1rem;
  --heading-size: 3.375rem;
  --hero-size: 4.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

button,
input {
  font: inherit;
  letter-spacing: 0;
  text-transform: uppercase;
}

button {
  border-radius: 0;
}

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

.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-reveal {
  view-timeline-name: --section;
  view-timeline-axis: block;
}

.nav {
  display: grid;
  width: fit-content;
  font-size: var(--body-size);
  line-height: 1.3;
}

.nav a,
.footer-social a,
.footer-word,
.button-link {
  width: fit-content;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible,
.footer-word:hover,
.footer-word:focus-visible {
  color: var(--accent);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 16px 22px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.button-link-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.button-link-accent:hover,
.button-link-accent:focus-visible {
  background: var(--accent);
  color: var(--paper);
}

.hero {
  min-height: 760px;
  height: 100svh;
  background: var(--paper);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  bottom: 7%;
  width: 39%;
  max-height: 74%;
  opacity: 0.98;
  pointer-events: none;
}

.brand-mark,
.hero-nav,
.hero-title,
.hero-subtitle,
.hero-dialog,
.hero-tag,
.hero-actions {
  position: absolute;
  z-index: 2;
}

.brand-mark {
  top: 8%;
  left: var(--gutter);
  margin: 0;
  color: var(--accent);
  font-size: var(--small-size);
  font-weight: 500;
}

.hero-nav {
  top: 15%;
  left: var(--gutter);
}

.hero-title {
  top: 8%;
  right: var(--gutter);
  width: 48%;
  margin: 0;
  text-align: right;
  font-size: var(--hero-size);
  font-weight: 500;
  line-height: 1.08;
}

.hero-subtitle {
  top: 34%;
  right: var(--gutter);
  width: 38%;
  margin: 0;
  text-align: right;
}

.hero-dialog {
  top: 45%;
  left: 50.26%;
  width: 35%;
  margin: 0;
  font-weight: 500;
}

.hero-dialog span {
  display: block;
}

.hero-tag {
  right: var(--gutter);
  bottom: 8%;
  width: 42%;
  margin: 0;
  color: var(--accent);
  text-align: right;
}

.hero-actions {
  left: 50.26%;
  bottom: 18%;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  width: 41.4%;
}

.split-section,
.problem,
.workflow,
.audience,
.audit,
.calculator,
.final-cta,
.footer {
  display: grid;
  grid-template-columns: 41.9% 1fr;
  column-gap: 8.36%;
  padding: var(--section-y) var(--gutter);
  border-top: 2px solid var(--ink);
}

.split-section {
  min-height: 740px;
  align-content: start;
}

.section-kicker {
  grid-column: 1;
  grid-row: 1;
  color: var(--accent);
  font-size: var(--small-size);
  font-weight: 500;
}

.section-heading {
  grid-column: 1;
  grid-row: 2;
  margin: 78px 0 0;
  font-size: var(--heading-size);
  font-weight: 500;
  line-height: 1.08;
}

.section-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  max-width: 760px;
  margin-top: 82px;
}

.section-copy p,
.final-copy,
.plain-lines,
.problem-list,
.check-list,
.audience-rows article p,
.package-copy p,
.package-copy h2,
.audit-grid p,
.calc-result,
.calc-note,
.footer p {
  margin: 0;
}

.about-lines {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 110px;
}

.plain-lines {
  display: grid;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.plain-lines li {
  min-height: 82px;
  padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}

.plain-lines li::before {
  content: "/";
  color: var(--accent);
  margin-right: 18px;
}

.problem {
  min-height: 980px;
  align-content: start;
}

.problem-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  counter-reset: problem;
  border-top: 2px solid var(--ink);
}

.problem-list li {
  counter-increment: problem;
  min-height: 118px;
  padding: 30px 0 30px 96px;
  border-bottom: 2px solid var(--ink);
}

.problem-list li::before {
  content: counter(problem, decimal-leading-zero) ".";
  position: absolute;
  margin-left: -96px;
  color: var(--accent);
}

.workflow {
  min-height: 900px;
  align-content: start;
}

.route-table {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 110px;
  border-collapse: collapse;
  table-layout: fixed;
}

.route-table tr {
  border-top: 2px solid var(--ink);
}

.route-table tr:last-child {
  border-bottom: 2px solid var(--ink);
}

.route-table th,
.route-table td {
  height: 84px;
  padding: 0;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}

.route-table th {
  width: 15%;
  color: var(--accent);
}

.route-table td:nth-child(2) {
  width: 60%;
}

.route-table td:nth-child(3) {
  width: 25%;
  color: var(--muted);
  text-align: right;
}

.checks {
  min-height: 760px;
}

.check-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.check-list li {
  min-height: 74px;
  padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}

.check-list li::before {
  content: "/";
  color: var(--accent);
  margin-right: 14px;
}

.audience {
  min-height: 980px;
  align-content: start;
}

.audience-rows {
  grid-column: 1 / -1;
  display: grid;
  margin-top: 112px;
  border-top: 2px solid var(--ink);
}

.audience-rows article {
  display: grid;
  grid-template-columns: 14.8% 31.5% 1fr;
  min-height: 132px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 2px solid var(--ink);
}

.audience-rows span {
  color: var(--accent);
}

.audience-rows h3 {
  margin: 0;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.3;
}

.audience-rows p {
  color: var(--ink);
}

.packages {
  background: var(--paper);
}

.package-case {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 700px;
  border-top: 2px solid var(--ink);
}

.package-case:last-child {
  border-bottom: 2px solid var(--ink);
}

.package-media {
  position: relative;
  min-height: inherit;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.package-media::before,
.package-media::after {
  content: "";
  position: absolute;
  border: 2px solid var(--paper);
}

.package-media::before {
  inset: 13%;
}

.package-media::after {
  left: 24%;
  top: 30%;
  width: 52%;
  height: 40%;
  border-color: var(--accent);
}

.package-index {
  position: absolute;
  left: var(--gutter);
  top: 12%;
  color: var(--accent);
  font-size: var(--heading-size);
  line-height: 1;
}

.package-state {
  position: absolute;
  right: var(--gutter);
  bottom: 11%;
  max-width: 52%;
  text-align: right;
}

.package-copy {
  position: relative;
  min-height: inherit;
  padding: 84px var(--gutter);
}

.package-left .package-media {
  grid-column: 1;
}

.package-left .package-copy {
  grid-column: 2;
}

.package-right .package-media {
  grid-column: 2;
}

.package-right .package-copy {
  grid-column: 1;
  grid-row: 1;
}

.case-client,
.case-price,
.case-time,
.package-tags {
  color: var(--muted);
}

.package-copy h2 {
  margin-top: 92px;
  font-size: var(--heading-size);
  font-weight: 500;
  line-height: 1.08;
}

.package-tags {
  margin-top: 34px;
}

.case-price,
.case-time {
  position: absolute;
  bottom: 84px;
}

.case-price {
  left: var(--gutter);
}

.case-time {
  right: var(--gutter);
  text-align: right;
}

.audit {
  min-height: 920px;
}

.audit-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 41.9% 1fr;
  column-gap: 8.36%;
  margin-top: 112px;
}

.audit-label {
  color: var(--accent);
}

.audit-grid .plain-lines {
  grid-column: 2;
}

.audit-price {
  grid-column: 2;
  margin-top: 64px !important;
  color: var(--accent);
  font-size: var(--heading-size);
  line-height: 1.08;
  white-space: nowrap;
}

.calculator {
  min-height: 960px;
  align-content: start;
}

.calc-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 41.9% 1fr;
  column-gap: 8.36%;
  margin-top: 112px;
}

.calc-fields {
  display: grid;
  gap: 36px;
}

.calc-fields label {
  display: grid;
  gap: 16px;
}

.calc-fields input {
  width: 100%;
  height: 66px;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  outline: 0;
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  background: transparent;
  color: var(--accent);
}

.calc-fields input::-webkit-outer-spin-button,
.calc-fields input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.calc-fields input:focus-visible {
  border-bottom-color: var(--accent);
}

.calc-options {
  display: grid;
  align-content: start;
  gap: 26px;
}

.checkbox-label {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 48px;
  cursor: pointer;
}

.checkbox-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-label span {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
}

.checkbox-label input:checked + span {
  background: var(--ink);
  box-shadow: inset 0 0 0 6px var(--paper);
}

.checkbox-label input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.calc-form button {
  grid-column: 2;
  justify-self: stretch;
  min-height: 72px;
  margin-top: 74px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.calc-form button:hover,
.calc-form button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.calc-result,
.calc-note {
  grid-column: 2;
}

.calc-result {
  margin-top: 32px !important;
  color: var(--accent);
}

.calc-note {
  margin-top: 18px !important;
  color: var(--muted);
  font-size: var(--small-size);
}

.final-cta {
  min-height: 720px;
  align-content: start;
}

.final-cta .section-heading {
  grid-column: 1 / -1;
  max-width: 1200px;
}

.final-copy {
  grid-column: 2;
  max-width: 760px;
  margin-top: 82px;
}

.final-actions {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 70px;
}

.footer {
  min-height: 520px;
  align-content: start;
}

.footer-category {
  grid-column: 1;
  color: var(--accent);
}

.footer-social {
  grid-column: 2;
  display: grid;
  gap: 0;
}

.footer-word {
  grid-column: 1 / -1;
  margin-top: 112px;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
}

.footer-line {
  grid-column: 2;
  margin-top: 42px !important;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-mark,
.hero-nav,
.hero-title,
.hero-subtitle,
.hero-dialog,
.hero-tag,
.hero-actions,
.hero-art {
  animation: hero-enter 700ms ease both;
}

.hero-title {
  animation-delay: 80ms;
}

.hero-dialog,
.hero-actions {
  animation-delay: 160ms;
}

@supports (animation-timeline: view()) {
  @keyframes reveal-section {
    from {
      opacity: 0.72;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .section-reveal {
    animation: reveal-section both ease-out;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

@media (min-width: 1440px) {
  :root {
    --body-size: 1.5625rem;
    --small-size: 1.125rem;
    --heading-size: 4rem;
    --hero-size: 5rem;
    --section-y: 128px;
  }
}

@media (max-width: 1180px) {
  :root {
    --body-size: 1.125rem;
    --small-size: 0.875rem;
    --heading-size: 2.75rem;
    --hero-size: 3.6rem;
    --section-y: 88px;
  }

  .hero-actions,
  .final-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 6.2%;
    --body-size: 1rem;
    --small-size: 0.8125rem;
    --heading-size: 2.25rem;
    --hero-size: 3rem;
    --section-y: 76px;
  }

  .hero {
    min-height: 920px;
    height: auto;
  }

  .hero-art {
    left: var(--gutter);
    top: 390px;
    bottom: auto;
    width: 48%;
    max-height: none;
    opacity: 0.98;
  }

  .brand-mark {
    top: 28px;
  }

  .hero-nav {
    top: 66px;
  }

  .hero-title {
    top: 180px;
    width: calc(100% - var(--gutter) * 2);
  }

  .hero-subtitle {
    top: 344px;
    width: calc(100% - var(--gutter) * 2);
  }

  .hero-dialog {
    top: 482px;
    left: 54%;
    width: calc(100% - 54% - var(--gutter));
  }

  .hero-actions {
    left: 54%;
    right: var(--gutter);
    bottom: 112px;
    width: auto;
  }

  .hero-tag {
    right: var(--gutter);
    bottom: 38px;
    width: calc(100% - var(--gutter) * 2);
  }

  .split-section,
  .problem,
  .workflow,
  .audience,
  .audit,
  .calculator,
  .final-cta,
  .footer,
  .audit-grid,
  .calc-form {
    display: block;
  }

  .split-section,
  .problem,
  .workflow,
  .audience,
  .audit,
  .calculator,
  .final-cta,
  .footer {
    min-height: 0;
  }

  .section-heading,
  .section-copy,
  .about-lines,
  .route-table,
  .audience-rows,
  .audit-grid,
  .calc-form,
  .final-copy,
  .final-actions {
    margin-top: 58px;
  }

  .section-copy {
    max-width: none;
  }

  .problem-list,
  .check-list {
    margin-top: 58px;
  }

  .problem-list li {
    min-height: 96px;
    padding-left: 72px;
  }

  .problem-list li::before {
    margin-left: -72px;
  }

  .route-table,
  .route-table tbody,
  .route-table tr,
  .route-table th,
  .route-table td {
    display: block;
    width: 100%;
  }

  .route-table tr {
    min-height: 132px;
    padding: 22px 0;
  }

  .route-table th,
  .route-table td {
    height: auto;
  }

  .route-table td:nth-child(2),
  .route-table td:nth-child(3) {
    width: 100%;
  }

  .route-table td:nth-child(3) {
    margin-top: 12px;
    text-align: left;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .audience-rows article {
    grid-template-columns: 72px 1fr;
    row-gap: 14px;
    min-height: 0;
  }

  .audience-rows article p {
    grid-column: 2;
  }

  .package-case {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .package-right {
    flex-direction: column-reverse;
  }

  .package-media,
  .package-copy {
    min-height: 360px;
  }

  .package-copy {
    padding: 58px var(--gutter) 112px;
  }

  .package-copy h2 {
    margin-top: 62px;
  }

  .case-price,
  .case-time {
    bottom: 54px;
  }

  .calc-fields {
    gap: 28px;
  }

  .calc-options {
    margin-top: 44px;
  }

  .calc-form button,
  .calc-result,
  .calc-note {
    margin-top: 32px !important;
  }

  .final-actions {
    grid-template-columns: 1fr;
  }

  .footer-social,
  .footer-word,
  .footer-line {
    margin-top: 58px !important;
  }

  .footer-word {
    font-size: 4rem;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 22px;
    --body-size: 0.9375rem;
    --small-size: 0.75rem;
    --heading-size: 1.9rem;
    --hero-size: 2.35rem;
    --section-y: 64px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-art {
    top: 334px;
    width: 64%;
    opacity: 0.98;
  }

  .hero-title {
    top: 170px;
  }

  .hero-subtitle {
    top: 286px;
  }

  .hero-dialog {
    top: 546px;
    left: var(--gutter);
    width: calc(100% - var(--gutter) * 2);
  }

  .hero-actions {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 20px;
    gap: 12px;
  }

  .hero-tag {
    left: var(--gutter);
    right: var(--gutter);
    top: 668px;
    bottom: auto;
    width: auto;
    text-align: left;
  }

  .button-link {
    min-height: 52px;
    padding: 14px 16px;
  }

  .audit-price {
    font-size: 1.6rem;
  }

  .plain-lines li,
  .check-list li {
    min-height: 64px;
  }

  .problem-list li {
    min-height: 86px;
    padding: 24px 0 24px 54px;
  }

  .problem-list li::before {
    margin-left: -54px;
  }

  .audience-rows article {
    grid-template-columns: 54px 1fr;
  }

  .package-media,
  .package-copy {
    min-height: 310px;
  }

  .package-state {
    max-width: 68%;
  }

  .case-price,
  .case-time {
    position: static;
    margin-top: 42px !important;
    text-align: left;
  }

  .case-time {
    margin-top: 10px !important;
  }

  .calc-fields input {
    height: 56px;
  }

  .checkbox-label {
    grid-template-columns: 36px 1fr;
    gap: 18px;
  }

  .checkbox-label span {
    width: 36px;
    height: 36px;
  }

  .footer-word {
    font-size: 3rem;
  }
}

@media (max-width: 360px) {
  :root {
    --hero-size: 2rem;
  }

  .hero {
    min-height: 900px;
  }

  .hero-title {
    top: 160px;
  }

  .hero-subtitle {
    top: 292px;
  }

  .hero-art {
    top: 360px;
  }

  .hero-dialog {
    top: 560px;
  }

  .hero-tag {
    top: 690px;
  }

  .audit-price {
    font-size: 1.32rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
