* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0b0b0b;
  --dark: #171717;
  --gray: #6f6f6f;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --accent: #e9853a;
  --app-height: 100vh;
}

@supports (height: 100svh) {
  :root {
    --app-height: 100svh;
  }
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(8, 8, 8, 0.3);
  backdrop-filter: blur(14px) saturate(115%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom-color: #ececec;
  box-shadow: 0 14px 34px rgba(11, 11, 11, 0.08);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}


.logo {
  display: inline-flex;
  align-items: center;
  margin-left: -8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nick-logo {
  display: block;
  flex: 0 0 auto;
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.nav-runner {
  margin-left: 10px;
  color: var(--accent);
  font-size: 23px;
  transform: scaleX(-1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.is-scrolled .menu-toggle,
.site-header.is-menu-open .menu-toggle {
  border-color: #e4e4e4;
  background: var(--white);
}

.site-header.is-scrolled .menu-toggle span,
.site-header.is-menu-open .menu-toggle span {
  background: var(--black);
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 600;
}

.site-header.is-scrolled .nav-links,
.site-header.is-menu-open .nav-links {
  color: var(--gray);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-button {
  padding: 11px 18px;
  font-size: 14px;
}

.nav-button,
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.nav-button:hover,
.button:hover,
.nav-button:focus-visible,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 11, 11, 0.16);
}

.nav-button:hover,
.nav-button:focus-visible,
.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.nav-button:hover,
.nav-button:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: none;
}

.button.secondary {
  border-color: #d7d7d7;
  color: var(--black);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.reveal-section {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-from-right {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(380px, -28px, 0) skewX(-2deg) scale(0.99);
  transition: transform 0.22s ease, padding-left 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  will-change: opacity, filter, transform;
}

.reveal-from-right.is-visible {
  animation: faqSlideFromCorner 0.5s linear forwards;
}

@keyframes faqSlideFromCorner {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(380px, -28px, 0) skewX(-2deg) scale(0.99);
  }

  28% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(230px, -17px, 0) skewX(-1.2deg) scale(1);
  }

  64% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(92px, -7px, 0) skewX(-0.5deg) scale(1);
  }

  84% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(30px, -2px, 0) skewX(-0.15deg) scale(1);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) skewX(0) scale(1);
  }
}

.faq-item.reveal-from-right.is-visible:nth-child(2) {
  animation-delay: 0.42s;
}

.faq-item.reveal-from-right.is-visible:nth-child(3) {
  animation-delay: 0.84s;
}

.faq-item.reveal-from-right.is-visible {
  transition-delay: 0s;
}

.faq-item.reveal-from-right.is-visible.is-animation-done {
  animation: none;
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) skewX(0) scale(1);
  will-change: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 100vh;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 110px);
  overflow: hidden;
  padding: 56px clamp(24px, 4vw, 76px) 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.76) 42%, rgba(5, 5, 5, 0.22) 100%),
    url("images/hero-gym-v2-optimized.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  animation: heroContentIn 0.8s ease forwards;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 840px;
  font-size: clamp(48px, 7vw, 88px);
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  font-size: 24px;
}

.hero-text {
  max-width: 700px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.hero .button.primary:hover,
.hero .button.primary:focus-visible {
  background: #c96c2b;
  border-color: #c96c2b;
  color: var(--white);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero .button.secondary:hover,
.hero .button.secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-height: 0;
  margin-right: clamp(-34px, -2vw, -12px);
}

.hero-trainer {
  display: block;
  width: min(40vw, 560px);
  max-height: calc(100vh - 174px);
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 38px 38px rgba(0, 0, 0, 0.56))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
  animation: heroImageIn 0.9s ease forwards;
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateX(56px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  border-top: 1px solid #e8e8e8;
}

.experience-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
  color: var(--black);
}

.experience-stat strong {
  color: var(--accent);
  font-size: clamp(46px, 5vw, 64px);
  line-height: 0.9;
}

.experience-stat span {
  max-width: 120px;
  color: var(--gray);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-copy {
  color: var(--gray);
  font-size: 19px;
}

.section-copy p + p {
  margin-top: 22px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.results-section {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 0;
  overflow: hidden;
}

.results-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.results-section .section-heading,
.results-grid {
  position: relative;
}

.results-growth-chart {
  position: absolute;
  top: 18%;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  transform: translateY(86px);
  transition: transform 1.15s cubic-bezier(0.19, 1, 0.22, 1);
}

.results-growth-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.growth-area {
  fill: rgba(233, 133, 58, 0.08);
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.7s ease 0.25s, transform 1.05s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

.growth-line {
  fill: none;
  stroke: rgba(233, 133, 58, 0.34);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 16px 22px rgba(233, 133, 58, 0.22));
  transition: stroke-dashoffset 1.35s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

.growth-point {
  fill: rgba(233, 133, 58, 0.58);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(18px) scale(0.7);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.results-growth-chart.is-visible {
  transform: translateY(0);
}

.results-growth-chart.is-visible .growth-area {
  opacity: 1;
  transform: translateY(0);
}

.results-growth-chart.is-visible .growth-line {
  stroke-dashoffset: 0;
}

.results-growth-chart.is-visible .growth-point {
  opacity: 0.46;
  transform: translateY(0) scale(1);
}

.results-growth-chart.is-visible .point-start {
  transition-delay: 0.18s;
}

.results-growth-chart.is-visible .point-one {
  transition-delay: 0.38s;
}

.results-growth-chart.is-visible .point-two {
  transition-delay: 0.62s;
}

.results-growth-chart.is-visible .point-three {
  transition-delay: 0.86s;
}

.results-growth-chart.is-visible .point-end {
  transition-delay: 1.1s;
}

.steps-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.result-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 34px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.result-card {
  position: relative;
  z-index: 1;
}

.card:hover,
.result-card:hover {
  transform: translateY(-7px);
  border-color: rgba(233, 133, 58, 0.45);
  box-shadow: 0 22px 44px rgba(11, 11, 11, 0.1);
}

.card span,
.result-card span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 800;
}

.result-card span {
  margin: 18px 0 0;
}

.card p,
.result-card p {
  margin-top: 16px;
  color: var(--gray);
}

.dark-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--black);
  color: var(--white);
}

.dark-section .section-heading {
  margin-left: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefits-grid div {
  padding-top: 28px;
  border-top: 1px solid #333;
}

.benefits-grid p {
  margin-top: 14px;
  color: #b8b8b8;
}

.faq-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--black);
  color: var(--white);
}

.faq-section .section-heading {
  margin-left: 0;
}

@supports (width: 100dvw) {
  .hero,
  .dark-section,
  .faq-section,
  .results-section {
    width: 100dvw;
    max-width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }

  .results-growth-chart {
    width: 100dvw;
  }

  .dark-section,
  .faq-section {
    padding-inline: max(20px, calc((100dvw - 1180px) / 2));
  }
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 620px;
  padding: 26px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 16px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.faq-list {
  max-width: 840px;
  border-top: 1px solid #e0e0e0;
}

.faq-section .faq-list {
  border-top-color: #333;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding-left: 0;
}

.faq-section .faq-item {
  border-bottom-color: #333;
}

.faq-question {
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: transparent;
  color: var(--black);
  text-align: left;
  font-size: 22px;
  font-weight: 800;
}

.faq-section .faq-question {
  color: var(--white);
}

.faq-answer {
  padding-bottom: 26px;
  color: var(--gray);
}

.faq-section .faq-answer {
  color: #b8b8b8;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
}

.contact-section p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--gray);
  font-size: 19px;
}

.contact-form .form-status:empty {
  display: none;
}

.contact-form .form-status:not(:empty) {
  margin-top: 0;
}

.contact-visual {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
}

.contact-icon {
  position: relative;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff1e6;
  transform: rotate(-4deg);
}

.contact-icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--white);
}

.contact-envelope {
  position: relative;
  width: 38px;
  height: 27px;
  border: 3px solid var(--accent);
  border-radius: 5px;
}

.contact-envelope::before,
.contact-envelope::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-envelope::before {
  left: 0;
  transform: rotate(35deg);
  transform-origin: left center;
}

.contact-envelope::after {
  right: 0;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.contact-visual-text {
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  background: var(--black);
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9;
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(11, 11, 11, 0.82);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(233, 133, 58, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .back-to-top {
    display: grid;
  }

  .back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header:not(.is-scrolled):not(.is-menu-open) {
    background: rgba(8, 8, 8, 0.36);
    backdrop-filter: blur(16px) saturate(118%);
  }

  .section:not(.hero):not(.dark-section):not(.faq-section):not(.results-section) {
    width: min(100% - 36px, 1180px);
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
    gap: 36px;
    padding-top: 76px;
    overflow-y: visible;
    overflow-x: clip;
    background-position: 78% center;
  }

  h1 {
    font-size: clamp(46px, 6.2vw, 68px);
  }

  .hero-text {
    max-width: 560px;
    font-size: 18px;
  }

  .hero-visual {
    margin-right: 0;
  }

  .hero-trainer {
    width: min(36vw, 410px);
    max-height: calc(var(--app-height) - 130px);
  }

  .split,
  .contact-section {
    gap: 44px;
  }

  .steps-grid,
  .results-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid .card:nth-child(3),
  .results-grid .result-card:nth-child(3) {
    grid-column: 1 / -1;
  }

}

@media (max-width: 1100px) {
  .nav-button {
    display: none;
  }

  .navbar {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 0 8px;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: none;
  }

  .menu-toggle span,
  .site-header.is-scrolled .menu-toggle span,
  .site-header.is-menu-open .menu-toggle span {
    background: var(--white);
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.is-menu-open .menu-toggle {
    border-color: var(--accent);
    background: var(--accent);
  }

  .nick-logo {
    max-height: 66px;
  }

  .nav-runner {
    font-size: 21px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
    border-top: 0 solid transparent;
    opacity: 0;
    transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.2s ease, border-color 0.28s ease;
  }

  .site-header.is-menu-open .nav-links {
    max-height: 320px;
    padding: 10px 0 12px;
    border-top: 1px solid #eeeeee;
    opacity: 1;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: var(--app-height);
    align-content: start;
    padding-top: 96px;
    padding-bottom: 36px;
    padding-inline: 22px;
    gap: 28px;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.8) 54%, rgba(5, 5, 5, 0.46) 100%),
      url("images/hero-gym-v2-optimized.jpg") center / cover no-repeat;
  }

  .hero-content {
    max-width: 680px;
  }

  h1 {
    font-size: clamp(38px, 5.6vw, 54px);
  }

  .hero-visual {
    height: clamp(330px, calc(var(--app-height) * 0.4), 450px);
    min-height: 0;
    justify-content: center;
  }

  .hero-trainer {
    width: auto;
    max-width: min(72vw, 430px);
    height: 100%;
    max-height: 100%;
  }

  .section:not(.hero):not(.dark-section):not(.faq-section):not(.results-section) {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .card,
  .result-card {
    padding: 24px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) and (min-height: 700px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-inline: 42px;
    padding-top: 146px;
    padding-bottom: 12px;
    gap: 34px;
    background-position: 78% 56%;
  }

  .hero-content {
    max-width: 800px;
  }

  h1 {
    font-size: clamp(52px, 7.2vw, 72px);
  }

  .hero-text {
    max-width: 700px;
    font-size: 20px;
  }

  .hero-visual {
    height: clamp(430px, calc(var(--app-height) * 0.46), 590px);
  }

  .hero-trainer {
    max-width: min(68vw, 520px);
  }
}

@media (hover: none) and (pointer: coarse) and (min-width: 1101px) and (max-width: 1366px) {
  .nav-button {
    display: none;
  }

  .navbar {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 0 8px;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: none;
  }

  .menu-toggle span,
  .site-header.is-scrolled .menu-toggle span,
  .site-header.is-menu-open .menu-toggle span {
    background: var(--white);
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.is-menu-open .menu-toggle {
    border-color: var(--accent);
    background: var(--accent);
  }

  .nick-logo {
    max-height: 68px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
    border-top: 0 solid transparent;
    opacity: 0;
    transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.2s ease, border-color 0.28s ease;
  }

  .site-header.is-menu-open .nav-links {
    max-height: 320px;
    padding: 10px 0 12px;
    border-top: 1px solid #eeeeee;
    opacity: 1;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 48px;
    padding-inline: 52px;
    padding-top: 142px;
    padding-bottom: 10px;
    background-position: center 56%;
  }

  h1 {
    font-size: clamp(58px, 5.4vw, 76px);
  }

  .hero-text {
    max-width: 700px;
    font-size: 20px;
  }

  .hero-trainer {
    width: min(36vw, 520px);
  }
}

@media (min-width: 701px) and (max-width: 1100px),
  (hover: none) and (pointer: coarse) and (min-width: 1101px) and (max-width: 1366px) {
  .navbar {
    height: 76px;
    flex-wrap: nowrap;
    padding: 0;
    gap: 18px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    order: initial;
    width: auto;
    display: flex;
    max-height: none;
    overflow: visible;
    align-items: center;
    gap: 18px;
    padding: 0;
    border-top: 0;
    opacity: 1;
    font-size: 15px;
    transition: none;
  }

  .site-header.is-menu-open .nav-links {
    max-height: none;
    padding: 0;
    border-top: 0;
    opacity: 1;
  }

  .nav-links a {
    padding: 0;
  }

  .nav-button {
    display: none;
  }

  .hero {
    height: auto;
    overflow-y: visible;
    overflow-x: clip;
  }
}

@media (min-width: 1101px) and (max-width: 1366px) and (min-height: 800px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 142px;
    padding-bottom: 10px;
    background-position: center 56%;
  }
}

@media (max-width: 700px) {
  .hero {
    width: 100vw;
    max-width: 100vw;
    min-height: var(--app-height);
    padding-top: 92px;
    padding-bottom: 28px;
    padding-inline: 18px;
    gap: 18px;
    background-position: 84% center;
  }

  .hero-content {
    max-width: none;
  }

  h1 {
    font-size: clamp(34px, 8.5vw, 46px);
    line-height: 1.08;
  }

  .hero-text {
    max-width: 620px;
    margin: 22px 0 26px;
  }

  .hero-visual {
    height: clamp(260px, calc(var(--app-height) * 0.36), 350px);
  }

  .hero-trainer {
    max-width: min(84vw, 340px);
  }

  .results-growth-chart {
    display: none;
  }

  .steps-grid,
  .results-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid .card:nth-child(3),
  .results-grid .result-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  main,
  .site-header {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero {
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 0;
    clip-path: inset(0 0 7px 0);
  }

  .site-header:not(.is-scrolled):not(.is-menu-open) {
    background: rgba(8, 8, 8, 0.42);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px) saturate(118%);
    clip-path: none;
  }

  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    height: 1px;
    background: #ececec;
    pointer-events: none;
  }

  .site-header:not(.is-scrolled):not(.is-menu-open)::after {
    opacity: 0;
  }

  .site-header.is-menu-open {
    clip-path: none;
  }

  .navbar,
  .section:not(.hero):not(.dark-section):not(.faq-section):not(.results-section) {
    width: min(100% - 28px, 1180px);
  }

  .navbar {
    height: 68px;
    justify-content: space-between;
    padding: 0;
    gap: 6px;
  }

  .logo {
    width: auto;
    margin-left: -10px;
  }

  .nick-logo {
    max-height: 58px;
  }

  .nav-runner {
    margin-left: 6px;
    font-size: 19px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: none;
  }

  .menu-toggle span,
  .site-header.is-scrolled .menu-toggle span,
  .site-header.is-menu-open .menu-toggle span {
    background: var(--white);
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.is-menu-open .menu-toggle {
    border-color: var(--accent);
    background: var(--accent);
  }

  .nav-links {
    font-size: 15px;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding-inline: 20px;
    font-size: 16px;
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    min-height: var(--app-height);
    padding-top: 90px;
    padding-bottom: 18px;
    padding-inline: 16px;
    gap: 14px;
  }

  .hero-text,
  .section-copy,
  .contact-section p {
    font-size: 19px;
  }

  .experience-stat {
    margin-top: 22px;
  }

  .hero-text {
    margin: 22px 0 28px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    height: clamp(280px, calc(var(--app-height) * 0.35), 385px);
    min-height: 0;
    margin-top: 0;
  }

  .hero-trainer {
    width: auto;
    max-width: min(86vw, 390px);
    height: 100%;
    max-height: 100%;
  }

  .dark-section {
    width: 100vw;
    max-width: 100vw;
    padding-inline: 14px;
  }

  .benefits-grid {
    gap: 28px;
  }

  .contact-form {
    max-width: none;
    padding: 20px;
  }

  .contact-visual {
    margin-top: 30px;
  }

  .contact-section {
    padding-bottom: 52px !important;
  }

  .footer {
    display: grid;
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.08;
  }

  h2 {
    font-size: 36px;
  }

  h3,
  .faq-question {
    font-size: 22px;
  }
}

@media (max-width: 390px) {
  .navbar,
  .section:not(.hero):not(.dark-section):not(.faq-section):not(.results-section) {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 10px;
    padding-inline: 14px;
    gap: 10px;
  }

  .eyebrow {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .hero-text {
    font-size: 19px;
    margin: 22px 0 28px;
  }

  .hero-visual {
    height: clamp(268px, calc(var(--app-height) * 0.34), 350px);
  }

  h1 {
    font-size: clamp(38px, 10.6vw, 45px);
  }
}

@media (max-height: 720px) and (max-width: 560px) {
  .hero {
    padding-top: 78px;
    padding-bottom: 8px;
    gap: 10px;
  }

  .hero-text {
    margin: 20px 0 26px;
  }

  .hero-visual {
    height: clamp(250px, calc(var(--app-height) * 0.33), 330px);
  }
}

@media (orientation: landscape) and (max-width: 1100px) {
  .navbar {
    width: auto;
    margin-left: max(14px, calc(env(safe-area-inset-left) + 14px));
    margin-right: max(14px, calc(env(safe-area-inset-right) + 14px));
  }

  .section:not(.hero):not(.dark-section):not(.faq-section):not(.results-section) {
    width: auto;
    margin-left: max(24px, calc(env(safe-area-inset-left) + 24px));
    margin-right: max(24px, calc(env(safe-area-inset-right) + 24px));
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    min-height: var(--app-height);
    padding-left: max(64px, calc(env(safe-area-inset-left) + 30px));
    padding-right: max(48px, calc(env(safe-area-inset-right) + 30px));
    background-position: 78% center;
  }

  .hero-content {
    max-width: 620px;
  }

  h1 {
    max-width: 620px;
  }

  .hero-text {
    max-width: 520px;
  }

  .results-content {
    width: auto;
    margin-left: max(24px, calc(env(safe-area-inset-left) + 24px));
    margin-right: max(24px, calc(env(safe-area-inset-right) + 24px));
  }

  .dark-section,
  .faq-section {
    padding-left: max(24px, calc(env(safe-area-inset-left) + 24px));
    padding-right: max(24px, calc(env(safe-area-inset-right) + 24px));
  }

  .footer {
    padding-left: max(24px, calc(env(safe-area-inset-left) + 24px));
    padding-right: max(24px, calc(env(safe-area-inset-right) + 24px));
  }
}

@media (orientation: landscape) and (max-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.58fr);
    align-items: center;
    gap: 18px;
    padding-left: max(78px, calc(env(safe-area-inset-left) + 32px));
    padding-right: max(40px, calc(env(safe-area-inset-right) + 28px));
    padding-top: max(72px, calc(env(safe-area-inset-top) + 56px));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .hero-content {
    max-width: 520px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(30px, 6.2vw, 42px);
  }

  .hero-text {
    max-width: 440px;
    margin: 16px 0 20px;
    font-size: 17px;
  }

  .hero-visual {
    height: clamp(210px, calc(var(--app-height) * 0.68), 360px);
  }

  .hero-trainer {
    max-width: min(32vw, 260px);
  }
}

@supports (width: 100dvw) {
  @media (orientation: landscape) and (max-width: 1100px) {
    .hero {
      width: 100dvw;
      max-width: 100dvw;
      margin-left: calc(50% - 50dvw);
      margin-right: calc(50% - 50dvw);
    }
  }
}

@media (hover: none) {
  .nav-links a:hover,
  .nav-button:hover,
  .button:hover,
  .card:hover,
  .result-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-trainer {
    animation: none;
  }

  .reveal-section,
  .reveal-from-right {
    opacity: 1;
    filter: none;
    animation: none;
    transform: none;
    transition: none;
  }

  .growth-area,
  .growth-point {
    opacity: 1;
  }

  .growth-line {
    stroke-dashoffset: 0;
  }
}
