@font-face {
  font-family: Anton;
  src: url("assets/fonts/anton-regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url("assets/fonts/rubik-variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #f2efe8;
  --ink: #0d0f0e;
  --orange: #ff7929;
  --line: #d4d0c7;
  --dark-line: #32332f;
  --heading: Anton, Impact, "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 Rubik, Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); text-transform: uppercase; font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(38px, 4.25vw, 64px); }
h2 { font-size: clamp(38px, 4vw, 57px); }
h3 { font-size: 31px; }
em { color: var(--orange); font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: fixed; top: 8px; left: 8px; padding: 12px; z-index: 3; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(1200px, calc(100% - 2 * clamp(40px, 8.33vw, 120px))); margin-inline: auto; }
.section { padding-block: 94px; }
.dark { background: var(--ink); color: var(--paper); }
.eyebrow { font-size: 11px; line-height: 1.3; text-transform: uppercase; margin-bottom: 44px; }
.micro { font-size: 12px; line-height: 1.45; }
.button, .text-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--ink); text-align: left; border: 0;
}
.button { min-height: 60px; padding: 12px 24px; background: var(--orange); border-radius: 3px; font-size: 12px; font-weight: 600; }
.button:hover { background: #ff8c47; }
.button::after, .text-button::after {
  content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M7 5h12v12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.primary { width: min(410px, 100%); text-transform: uppercase; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header nav { display: flex; flex-wrap: wrap; gap: 27px; font-size: 13px; }
.header nav a:hover { text-decoration: underline; }
.header-button { width: 224px; min-height: 44px; padding-inline: 25px; }
.header-button::after { flex-basis: 18px; width: 18px; height: 18px; }
.brand { display: block; flex: 0 0 auto; width: 112px; }
.brand-footer { width: 116px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); align-items: center; gap: 30px; min-height: 578px; padding-block: 50px; }
.hero-eyebrow { letter-spacing: .15em; margin-bottom: 29px; }
.intro { max-width: 500px; margin-block: 30px 23px; }
.hero .micro { margin-top: 12px; }
.hero-art { display: block; width: calc(100% + clamp(0px, 5vw, 70px)); }
.hero-art img { width: 100%; }

.split { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.problem-inner { padding-block: 95px; align-items: center; }
.problem-inner > p { margin-top: 32px; }
.checklist, .steps, .benefits-list { list-style: none; margin: 0; padding: 0; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; margin-block: 43px 37px; }
.checklist li { padding-block: 14px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; margin-right: 12px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { padding: 28px; border: 1px solid var(--line); }
.card .eyebrow { margin-bottom: 24px; }
.card img { width: 100%; border-radius: 3px; }
.card h3 { margin-block: 22px 20px; }
.note { margin-top: 36px; }
.benefits, .investment, .faq, .next { border-top: 1px solid var(--line); }
.benefits, .faq { display: grid; grid-template-columns: 1fr 2.08fr; gap: 20px; }
.benefits h2, .investment h2 { font-size: clamp(58px, 6.2vw, 90px); }
.benefits-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding-block: 21px; border-bottom: 1px solid var(--line); }
.benefits-list li:first-child { margin-top: 55px; }
.benefits-list span, .steps span { color: var(--orange); font: 400 42px/1.1 var(--heading); }
.benefits-list li p { margin-top: 5px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.steps p { border-top: 1px solid var(--dark-line); margin-top: 22px; padding-top: 22px; }
.investment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: center; }
.investment h2 + p { margin-top: 28px; }
.package { padding: 38px; border-radius: 4px; }
.package .eyebrow { padding-bottom: 25px; border-bottom: 1px solid var(--dark-line); margin-bottom: 21px; }
.package .button { margin-top: 23px; width: 100%; }
.questions { margin-top: 55px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { position: relative; padding: 22px 31px 22px 0; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 5px; font-size: 22px; line-height: 1; }
.questions details[open] summary::after { content: "−"; }
.questions details p { margin: -6px 26px 22px 0; }
.next .cards { margin-top: 44px; }
.next .card { display: flex; flex-direction: column; }
.next .card h3 { margin-top: 0; }
.text-button { padding: 0; background: transparent; font-size: 13px; width: 100%; margin-top: auto; padding-top: 16px; }
.text-button:hover { text-decoration: underline; }
.text-button::after { width: 16px; height: 16px; flex-basis: 16px; }
.final { padding-block: 112px; }
.final h2 { font-size: clamp(55px, 6.5vw, 94px); margin-bottom: 36px; }
.final .micro { margin-top: 30px; }
.footer { display: grid; min-height: 110px; place-items: center; border-top: 1px solid var(--dark-line); }

dialog { position: fixed; width: min(500px, calc(100% - 40px)); padding: 36px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(13 15 14 / .72); }
dialog h2 { margin: 10px 25px 16px 0; font-size: 38px; }
.close { position: absolute; right: 15px; top: 10px; background: none; border: 0; font-size: 29px; }

@media (max-width: 959px) {
  .wrap { width: calc(100% - 80px); }
  .section { padding-block: 72px; }
  .header nav { display: none; }
  .header-inner { min-height: 100px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding-block: 46px 38px; }
  h1 { font-size: clamp(51px, 7.7vw, 67px); }
  .hero-art { width: min(580px, 100%); margin-inline: auto; }
  .split, .benefits, .investment, .faq { grid-template-columns: 1fr; }
  .problem-inner { padding-block: 68px; gap: 34px; }
  .problem-inner > p { margin-top: 0; }
  .deliverables { display: flex; flex-direction: column; }
  .deliverables .cards { order: 1; margin-top: 32px; }
  .deliverables .checklist { order: 2; grid-template-columns: 1fr; margin-bottom: 0; }
  .deliverables .note { order: 3; }
  .benefits-list li:first-child, .questions { margin-top: 8px; }
  .investment { gap: 32px; }
  .next h3 em { color: var(--ink); }
  .final { padding-block: 90px; }
}

@media (max-width: 599px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: 60px; }
  .header { border: 0; }
  .header-inner { justify-content: center; min-height: 52px; }
  .header .brand { width: 88px; }
  .header-button { display: none; }
  .hero-inner { padding-block: 13px 40px; gap: 28px; }
  .hero-eyebrow { margin-bottom: 27px; }
  h1 { font-size: clamp(32px, 9.65vw, 49px); }
  h2 { font-size: clamp(30px, 8.3vw, 40px); }
  h3 { font-size: 27px; }
  .intro { margin-block: 25px 23px; }
  .hero .micro { font-size: 10px; }
  .primary { width: 100%; }
  .eyebrow { margin-bottom: 34px; }
  .problem-inner { padding-block: 53px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card, .package { padding: 20px; }
  .benefits h2, .investment h2 { font-size: 53px; }
  .benefits h2 br, .investment h2 br, .faq h2 br { display: none; }
  .benefits-list span, .steps span { font-size: 32px; }
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--dark-line); }
  .steps p { margin: 0; padding: 0; border: 0; }
  .final h2 { font-size: clamp(40px, 11.3vw, 61px); }
  .final { padding-block: 70px; }
  .footer { min-height: 85px; }
}

.footer { padding-bottom: 68px; min-height: 178px; }

.floating-contact {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 2;
  width: min(410px, calc(100% - 40px));
}
.floating-contact .button {
  width: 100%;
  box-shadow: 0 5px 20px rgb(13 15 14 / .25);
}

@media (max-width: 599px) {
  .floating-contact {
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
  }
  .floating-contact .button { min-height: 52px; }
}

/* Both examples share the same device image. Only the content inside the screens changes. */
.matching-mockup {
  position: relative;
  container-type: inline-size;
}
.mockup-domain,
.mockup-desktop-screen,
.mockup-mobile-screen {
  position: absolute;
}
.mockup-domain {
  top: 8.4%;
  left: 7.1%;
  padding: .35cqw .6cqw .55cqw .3cqw;
  background: #f4f0e7;
  font-size: 2.6cqw;
  line-height: 1.35;
}
.mockup-desktop-screen,
.mockup-mobile-screen {
  background-image: url("assets/landing-page-asta.webp");
  background-repeat: no-repeat;
}
.mockup-desktop-screen {
  left: 14.4%;
  top: 25.55%;
  width: 57.7%;
  height: 42.25%;
  background-size: 158.5% 238.7%;
  background-position: 24.1% 43.4%;
  clip-path: polygon(0 0, 100% 3.4%, 100% 33%, 99.4% 36%, 99.4% 100%, 0 100%);
}
.mockup-mobile-screen {
  left: 72.65%;
  top: 39.9%;
  width: 15.15%;
  height: 36.55%;
  background-size: 609.8% 261.8%;
  background-position: 90.7% 59.1%;
  border-radius: 16% / 7%;
}
