@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-cyrillic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2212;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-cyrillic-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2212;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-cyrillic-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2212;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-cyrillic-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Onest;
  src: url("./assets/fonts/onest-latin-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2212;
}

:root {
  color-scheme: light;
  --paper: #f7f2e9;
  --white: #fffcf7;
  --ink: #201913;
  --dark: #1b1511;
  --muted: #62564c;
  --line: #dcd2c3;
  --accent: #ff845b;
  --accent-hover: #ff9d7b;
  --accent-ink: #9d3b22;
  --light-muted: #d6c6b9;
  --gutter: clamp(1.2rem, 5vw, 5rem);
  --ease-out: cubic-bezier(0.2, 0.7, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #b1472b;
  outline-offset: 5px;
}

.hero :focus-visible,
.estimate :focus-visible,
.footer :focus-visible {
  outline-color: var(--accent);
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--white);
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  line-height: 0.99;
}

.container {
  width: min(100% - 2 * var(--gutter), 76rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.4rem, 9vw, 8.3rem);
  scroll-margin-top: 1rem;
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-lead {
  margin-top: 1.35rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 1rem #ff845b58;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  content: "";
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button:hover::after {
    opacity: 1;
  }
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-outline {
  color: var(--white);
  border-color: #ffffff68;
  background-color: #1a140e55;
}

.button-outline:hover {
  border-color: var(--white);
  background-color: #1a140eb8;
}

.button-dark {
  background-color: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background-color: #342319;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: clamp(38rem, 84svh, 49rem);
  overflow: hidden;
  color: var(--white);
  background: #171410;
}

.hero-picture,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture {
  z-index: -2;
}

.hero-image {
  object-fit: cover;
  object-position: center 55%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #16120ff2 0%, #171310d9 40%, #17131060 76%, #17131040 100%),
    linear-gradient(180deg, #130f0dd9, transparent 27%, transparent 68%, #130f0d8f 100%);
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.2rem;
  border-bottom: 1px solid #fdf8ed35;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
  gap: 0.65rem;
  width: max-content;
  color: var(--white);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.075em;
}

.brand-exclamation {
  color: var(--accent);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--ink);
}

.bell {
  display: block;
  position: relative;
  width: 0.96em;
  height: 0.71em;
  border: 0.11em solid currentColor;
  border-radius: 0.52em 0.52em 0.13em 0.13em;
  transform-origin: 50% 8%;
}

.bell::before,
.bell::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
  border-radius: 0.1em;
  content: "";
}

.bell::before {
  top: -0.22em;
  width: 0.15em;
  height: 0.16em;
}

.bell::after {
  bottom: -0.24em;
  width: 0.24em;
  height: 0.12em;
}

.brand-mark .bell {
  font-size: 1.21rem;
}

.main-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.6rem);
}

.main-nav a,
.hero-secondary {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.38em;
  text-decoration-color: transparent;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.hero-secondary:hover {
  text-decoration-color: var(--accent);
}

.topbar-cta {
  justify-self: end;
  min-height: 2.8rem;
  padding-inline: 1.12rem;
  font-size: 0.9rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.8rem);
  padding-block: clamp(2rem, 5vw, 4.6rem);
}

.hero-audience {
  margin-bottom: 0.7rem;
  color: #f2e5d8;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  font-weight: 600;
}

.hero h1 {
  margin-left: -0.04em;
  font-size: clamp(2.3rem, 4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  margin-top: 0.14em;
  color: var(--accent);
}

.hero-lead {
  max-width: 29rem;
  margin-top: 1.2rem;
  color: #f2e5d8;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: 1.45rem;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  text-decoration-color: #ffffff60;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.05rem;
}

.section-heading > p {
  max-width: 25rem;
  padding-bottom: 0.25rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.demo {
  padding-bottom: clamp(4.2rem, 7vw, 6.8rem);
}

.pilot {
  background: #eee6d9;
}

.pilot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 7.2rem);
  align-items: center;
}

.pilot-photo {
  max-height: 36rem;
  aspect-ratio: 0.9;
  overflow: hidden;
  border-radius: 0.8rem;
  background: var(--dark);
}

.pilot-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transition: transform 600ms var(--ease-out);
}

.pilot-photo:hover img {
  transform: scale(1.035);
}

.pilot-steps {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  counter-reset: pilot-step;
}

.pilot-steps li {
  position: relative;
  padding: 0 0 1.25rem 2.7rem;
  border-left: 1px solid #bbab9a;
  margin-left: 0.82rem;
  counter-increment: pilot-step;
}

.pilot-steps li:last-child {
  padding-bottom: 0;
  border-color: transparent;
}

.pilot-steps li::before {
  position: absolute;
  top: 0;
  left: -0.9rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid #b6a28e;
  border-radius: 50%;
  background: #f7eee1;
  color: var(--accent-ink);
  font-size: 0.84rem;
  font-weight: 800;
  content: counter(pilot-step);
}

.pilot-steps h3 {
  margin-bottom: 0.22rem;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.pilot-steps p {
  color: var(--muted);
}

.estimate {
  color-scheme: dark;
  background: var(--dark);
  color: var(--white);
}

.estimate .eyebrow {
  color: var(--accent);
}

.estimate .section-lead {
  color: var(--light-muted);
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.3rem, 7vw, 6.6rem);
  align-items: center;
}

.estimate-controls {
  max-width: 32rem;
  margin: 1.85rem 0 0;
  padding: 0;
  border: 0;
}

.range-control + .range-control {
  margin-top: 0.67rem;
}

.range-label,
.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  font-size: 0.94rem;
}

.range-label output {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.range-control input {
  display: block;
  width: 100%;
  height: 2rem;
  margin: 0.15rem 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.estimate-chart {
  min-width: 0;
  padding: clamp(1.23rem, 3.2vw, 2.4rem);
  border: 1px solid #6a5346;
  border-radius: 0.9rem;
  background: #271e18;
}

.estimate-chart figcaption {
  color: #f1e3d6;
  font-size: 1.09rem;
  font-weight: 800;
}

.chart-summary {
  margin-block: 1.5rem 1.7rem;
  padding-block: 1rem;
  border-block: 1px solid #624b3e;
}

.chart-summary p {
  color: var(--light-muted);
  font-size: 0.94rem;
}

.chart-summary strong {
  display: block;
  margin-top: 0.33rem;
  color: var(--accent);
  font-size: clamp(2.15rem, 4.45vw, 4.2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.chart-row + .chart-row {
  margin-top: 1rem;
}

.chart-label span {
  color: #eadcd0;
}

.chart-label strong {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.chart-track {
  height: 0.67rem;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 0.2rem;
  background: #523e33;
}

.chart-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.chart-total {
  background: #c5ac96;
}

.chart-remaining {
  background: var(--accent);
  transform: scaleX(var(--remaining, 0.4));
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}

.chart-note {
  margin-top: 1.3rem;
  color: var(--light-muted);
  font-size: 0.86rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.7rem;
  padding-block: 0.8rem;
  font-size: 1.07rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  color: var(--accent-ink);
  background:
    linear-gradient(currentColor, currentColor) center / 0.78rem 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 0.78rem no-repeat;
  content: "";
}

.faq-list details[open] summary::after {
  background-size: 0.78rem 2px, 0 0;
}

.faq-list details p {
  padding: 0.1rem 1.35rem 1.25rem 0;
  color: var(--muted);
}

.contact {
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.contact-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 29rem;
  padding-block: clamp(3.7rem, 8vw, 6.6rem);
}

.contact-copy {
  max-width: 37rem;
}

.contact-copy > p {
  max-width: 27rem;
  margin-block: 1.25rem 1.6rem;
  font-size: 1.1rem;
}

.contact-mark {
  position: absolute;
  z-index: -1;
  right: clamp(3rem, 8vw, 7rem);
  font-size: clamp(9rem, 20vw, 17.5rem);
  color: #26150e30;
  transform: rotate(12deg);
}

.contact-mark .bell {
  border-width: 0.065em;
}

.contact-mark .bell::before {
  top: -0.15em;
  width: 0.1em;
  height: 0.115em;
}

.contact-mark .bell::after {
  bottom: -0.165em;
  width: 0.2em;
  height: 0.08em;
}

.ring {
  position: absolute;
  top: 0.02em;
  width: 0.25em;
  height: 0.36em;
  border: 0.044em solid transparent;
  border-radius: 50%;
}

.ring-left {
  left: -0.13em;
  border-left-color: currentColor;
  transform: rotate(24deg);
}

.ring-right {
  right: -0.13em;
  border-right-color: currentColor;
  transform: rotate(-24deg);
}

.footer {
  background: var(--dark);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  min-height: 6rem;
  padding-block: 1.3rem;
}

.footer-inner p {
  color: var(--light-muted);
  font-size: 0.91rem;
}

.back-to-top {
  text-underline-offset: 0.35em;
  font-size: 0.9rem;
}

@keyframes bell-ring {
  0%, 100% { transform: rotate(0) scale(1); }
  19% { transform: rotate(-25deg) scale(1.18); }
  39% { transform: rotate(21deg) scale(1.15); }
  62% { transform: rotate(-15deg) scale(1.08); }
  82% { transform: rotate(8deg) scale(1.03); }
}

@media (max-width: 880px) {
  .section-heading,
  .pilot-grid,
  .faq-grid {
    gap: 1.55rem;
  }

  .pilot-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  }

  .pilot-photo {
    min-height: 21.5rem;
  }

  .contact-mark {
    right: 4rem;
    color: #26150e22;
  }
}

@media (max-width: 680px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    min-height: 3.25rem;
  }

  .brand {
    font-size: 1.55rem;
    gap: 0.45rem;
  }

  .brand-mark {
    width: 1.93rem;
    height: 1.93rem;
  }

  .main-nav,
  .topbar-cta {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.78rem;
    padding-block: 0.82rem 0.86rem;
  }

  .hero-image {
    object-position: 70% 53%;
  }

  .hero-shade {
    background: linear-gradient(110deg, #15110eea, #15110ea6), linear-gradient(180deg, #15110e85, transparent 40%, #15110ea3);
  }

  .hero h1 {
    max-width: 28rem;
    font-size: clamp(1.7rem, 6.8vw, 2.75rem);
  }

  .hero-audience {
    margin-bottom: 0.4rem;
  }

  .hero-lead {
    margin-top: 0.61rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    gap: 0.45rem 0.9rem;
    margin-top: 0.63rem;
  }

  .hero-actions .button,
  .hero-secondary {
    min-height: 2.75rem;
    font-size: 0.88rem;
  }

  .hero-actions .button {
    padding: 0.5rem 0.7rem;
  }

  .section-heading,
  .pilot-grid,
  .estimate-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading {
    gap: 0.75rem;
    margin-bottom: 1.4rem;
  }

  .wide-only {
    display: none;
  }

  .pilot-photo {
    min-height: 0;
    max-height: 23rem;
    aspect-ratio: 1.18;
  }

  .contact-inner {
    min-height: 25rem;
  }

  .contact-mark {
    right: 0.7rem;
    bottom: 4.5rem;
    font-size: 9rem;
    color: #26150e16;
  }

  .footer-inner p {
    order: 2;
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .pilot-photo:hover img {
    transform: none;
  }
}
