:root {
  --navy: #061832;
  --navy-dark: #03101f;
  --orange: #ff6a1f;
  --orange-soft: #ffe7d6;
  --white: #ffffff;
  --surface: #f7f9fd;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d6e0ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #f78b52);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
  margin: 5px 0;
  transition: transform 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(255, 106, 31, 0.18);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-section,
.page-hero {
  padding: 96px 0 80px;
}

.hero-section {
  background: linear-gradient(180deg, rgba(6, 24, 50, 0.94) 0%, rgba(6, 24, 50, 0.84) 50%, rgba(6, 24, 50, 0.76) 100%),
    url('https://images.unsplash.com/photo-1517649763962-0c623066013b?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #fff;
}

.hero-content {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-section .eyebrow,
.page-hero .eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  background: rgba(255, 106, 31, 0.15);
  color: var(--orange);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-section h1,
.page-hero h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.98;
  max-width: 760px;
}

.hero-section p,
.page-hero p {
  max-width: 640px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .button {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1s ease forwards 0.35s;
}

.section {
  padding: 80px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2,
.section-title h2 {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}

.section-head p,
.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.why-section .section-grid,
.about-section .section-grid,
.values-section .values-grid,
.story-section .split-grid,
.support-grid .container {
  display: grid;
  gap: 32px;
}

.why-section .section-grid {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

.section-text h2 {
  margin: 20px 0 16px;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--orange-soft);
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.product-preview {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), var(--surface));
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card,
.product-detail-card,
.support-card,
.faq-item,
.value-card,
.teaser-visual,
.story-visual {
  will-change: transform, opacity;
}

.product-card:hover,
.product-detail-card:hover,
.support-card:hover,
.faq-item:hover {
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatMotion {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.teaser-visual,
.story-visual {
  animation: floatMotion 10s ease-in-out infinite;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.product-image {
  min-height: 280px;
  position: relative;
}

.product-knee {
  background: linear-gradient(180deg, rgba(6, 24, 50, 0.38), rgba(6, 24, 50, 0.68)),
    url('images/knee.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
}

.product-ankle {
  background: linear-gradient(180deg, rgba(6, 24, 50, 0.38), rgba(6, 24, 50, 0.68)),
    url('images/ankle.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
}

.product-arm {
  background: linear-gradient(180deg, rgba(6, 24, 50, 0.38), rgba(6, 24, 50, 0.68)),
    url('images/arm.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 35%);
}

.product-meta {
  padding: 28px;
}

.product-tag {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.product-meta h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.product-meta p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-badges span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f8ff;
  color: #1e3a60;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-teaser {
  background: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.teaser-text h2,
.story-copy h2 {
  margin: 20px 0 20px;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
}

.teaser-text p,
.story-copy p {
  max-width: 520px;
  color: var(--muted);
  margin-bottom: 26px;
}

.check-list,
.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
}

.check-list li,
.story-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.check-list li::before,
.story-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.teaser-visual,
.story-visual {
  min-height: 430px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 106, 31, 0.18), rgba(6, 24, 50, 0.78)),
    url('https://images.unsplash.com/photo-1518609878373-06d740f60d8b?auto=format&fit=crop&w=1200&q=80') center/cover;
  box-shadow: 0 30px 75px rgba(15, 23, 42, 0.16);
}

.page-hero {
  padding-top: 110px;
}

.page-hero.about-hero,
.page-hero.support-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9));
}

.page-hero.about-hero .eyebrow,
.page-hero.support-hero .eyebrow {
  background: rgba(255, 106, 31, 0.1);
  color: var(--orange);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  margin: 18px 0 20px;
  max-width: 760px;
}

.page-hero p {
  max-width: 680px;
  color: var(--muted);
}

.values-section .values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.06);
}

.value-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.story-section {
  background: var(--surface);
}

.story-copy {
  max-width: 580px;
}

.story-list li {
  padding-left: 28px;
}

.site-footer {
  padding: 40px 0;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
  margin: 0;
}

.product-full-grid {
  padding-top: 30px;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border-radius: 32px;
  padding: 32px;
  border: 1px solid var(--border);
  margin-bottom: 26px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.07);
}

.product-detail-card.reverse-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.product-hero {
  min-height: 360px;
  border-radius: 28px;
  position: relative;
}

.product-detail-copy h2 {
  margin: 0 0 18px;
  font-size: 2rem;
}

.product-detail-copy p {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 520px;
}

.product-detail-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.product-detail-copy li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
}

.product-detail-copy li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.support-grid .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.support-card {
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.support-card h2 {
  margin-top: 0;
}

.support-card p {
  color: var(--muted);
  line-height: 1.75;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  background: #f9fbff;
}

.faq-item h3 {
  margin: 0 0 12px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .why-section .section-grid,
  .split-grid,
  .product-grid,
  .values-grid,
  .support-grid .container,
  .product-detail-card,
  .product-detail-card.reverse-layout {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 18px;
    border-radius: 20px;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-section,
  .page-hero {
    padding-top: 90px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .hero-section h1,
  .page-hero h1 {
    font-size: 2.6rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
