:root {
  --blue-950: #061a38;
  --blue-900: #092552;
  --blue-700: #1052b8;
  --blue-600: #1769e8;
  --blue-100: #eaf3ff;
  --cyan-200: #b7ecff;
  --white: #ffffff;
  --text: #16304f;
  --muted: #657991;
  --line: #dbe7f5;
  --page-bg: #edf7ff;
  --surface: #f7fbff;
  --shadow: 0 24px 70px rgba(9, 37, 82, 0.14);
  --radius: 8px;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.22), transparent 34%),
    linear-gradient(135deg, #071f45 0%, #092552 48%, #0c4da2 100%);
  color: var(--blue-950);
}

.admin-login-shell,
.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-card {
  border: 1px solid rgba(219, 231, 245, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
  margin-bottom: 22px;
}

.admin-login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 16px;
}

.admin-login-logo {
  width: min(280px, 84%);
  margin: 0 auto 10px;
  filter: drop-shadow(0 14px 26px rgba(9, 37, 82, 0.12));
}

.admin-login-card h1,
.admin-topbar h1,
.admin-card h2 {
  color: var(--blue-950);
}

.admin-login-card label,
.admin-user-form,
.admin-inline-form {
  display: grid;
  gap: 8px;
}

.admin-alert,
.admin-error {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.admin-error {
  background: #fef2f2;
  color: #991b1b;
}

.admin-topbar,
.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-topbar,
.admin-topbar h1,
.admin-topbar .eyebrow,
.admin-topbar p {
  color: var(--white);
}

.admin-search,
.admin-user-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-search input {
  min-width: min(420px, 100%);
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--blue-950);
  background: var(--blue-100);
  font-size: 0.88rem;
}

.admin-table small {
  color: var(--muted);
}

.admin-inline-form {
  grid-template-columns: minmax(170px, 1fr) repeat(3, auto);
  align-items: center;
}

.admin-inline-form button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-950);
  font-weight: 800;
  cursor: pointer;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  min-height: 430px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 18%, rgba(183, 236, 255, 0.32), transparent 30%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 46%, var(--blue-700) 100%);
  overflow: hidden;
}

.nav {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  width: min(285px, 34vw);
  margin-left: -6px;
}

.nav-logo img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 330px;
  padding: 28px 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan-200);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(183, 236, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.12);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 4.6vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-brand-title {
  font-size: 1em;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title-line {
  margin-top: 8px;
  font-size: clamp(1.06rem, 2vw, 1.65rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 1.25rem;
  line-height: 1.25;
}

h4 {
  margin: 18px 0 8px;
  color: var(--blue-950);
  font-size: 1rem;
}

.hero-subtitle {
  max-width: none;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.32rem);
  white-space: nowrap;
}

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

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), #38bdf8);
  box-shadow: 0 16px 34px rgba(23, 105, 232, 0.28);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.intro {
  padding: 78px 0 64px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.intro-card {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(179, 211, 241, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px rgba(16, 55, 106, 0.1);
  backdrop-filter: blur(16px);
}

.intro-card-offer {
  border-color: rgba(61, 170, 226, 0.36);
  background:
    radial-gradient(circle at 80% 16%, rgba(56, 189, 248, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(226, 244, 255, 0.72));
}

.intro-card-offer h2 {
  color: var(--blue-700);
}

.intro-start-button {
  margin-top: 22px;
}

.offer-eyebrow {
  font-size: clamp(0.98rem, 1.8vw, 1.25rem);
  line-height: 1.35;
}

.intro-card-offer .button {
  margin-top: 22px;
}

.direct-offer-menu {
  width: min(360px, 100%);
  margin-top: 16px;
  padding: 10px;
  border: 1px solid rgba(61, 170, 226, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(16, 55, 106, 0.12);
}

.direct-offer-option {
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  border: 1px solid rgba(179, 211, 241, 0.8);
  border-radius: 8px;
  color: var(--blue-950);
  background: linear-gradient(135deg, #ffffff, #eef8ff);
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.direct-offer-option:last-child {
  margin-bottom: 0;
}

.direct-offer-option:hover {
  border-color: rgba(23, 105, 232, 0.35);
  box-shadow: 0 12px 24px rgba(16, 55, 106, 0.1);
  transform: translateY(-1px);
}

.intro-text,
.form-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.intro-text {
  max-width: 760px;
  margin: 0 auto;
}

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

.products-heading {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.products-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  white-space: nowrap;
}

.products,
.steps,
.request {
  padding: 82px 0;
}

.products {
  background:
    linear-gradient(180deg, #e9f6ff, #f3faff);
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.tab-button {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #f6fbff;
  cursor: pointer;
  font-weight: 800;
}

.tab-button.active {
  color: var(--white);
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.product-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.product-panel[hidden] {
  display: none;
}

.product-image-wrap {
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 22%, rgba(56, 189, 248, 0.32), transparent 36%),
    linear-gradient(135deg, #f8fbff, var(--blue-100));
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-image-wrap--pack img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.85rem;
  font-weight: 800;
}

.product-info p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.product-info a {
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pack-list {
  max-width: 640px;
  margin: 0 0 8px;
  padding-left: 20px;
  color: var(--muted);
}

.pack-list li {
  margin-bottom: 6px;
}

.price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 10px 12px 0 0;
  padding: 0 16px;
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: 999px;
  color: var(--blue-950);
  background: linear-gradient(135deg, #ffffff, #eaf3ff);
  box-shadow: 0 12px 26px rgba(9, 37, 82, 0.08);
  font-weight: 800;
  cursor: default;
}

.discount-price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 10px 12px 0 0;
  padding: 0 16px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 999px;
  color: #0f7a36;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.12);
  font-weight: 900;
  cursor: default;
}

.product-cta {
  margin-top: 12px;
}

.direct-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 12px 0 0 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.24);
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.direct-buy-button--stacked {
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.direct-buy-button--stacked small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
}

.direct-buy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(22, 163, 74, 0.3);
}

.direct-buy-guarantee {
  margin: 10px 0 0;
  color: #0f7a36;
  font-size: 0.95rem;
  font-weight: 800;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(9, 37, 82, 0.08);
}

.step-card span {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 800;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps-note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--blue-950);
  text-align: center;
  font-size: 1.08rem;
  font-weight: 800;
}

.request {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.request-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.application-form {
  grid-column: 2;
}

.application-title {
  margin-bottom: 20px;
}

.field-group {
  flex: 1 1 240px;
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-950);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--surface);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(23, 105, 232, 0.12);
}

textarea {
  resize: vertical;
}

.monthly-calculator {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 18px;
}

.monthly-button {
  color: var(--blue-950);
  border-color: var(--line);
  background: #eaf3ff;
}

.monthly-result {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-950);
  background: #f6fbff;
  font-weight: 800;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px;
  color: var(--muted);
  font-weight: 500;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--blue-700);
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--blue-950);
}

.final-confirmation {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 18%, rgba(183, 236, 255, 0.45), transparent 32%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 48%, var(--blue-700) 100%);
}

.final-message-card {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.final-message-card .eyebrow {
  color: var(--cyan-200);
}

.final-message-card h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.final-message-card p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.legal-page {
  background: var(--page-bg);
}

.legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 70px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-weight: 800;
}

.legal-card {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 28px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-card p {
  color: var(--text);
}

.legal-card a {
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(183, 236, 255, 0.48), transparent 30%),
    linear-gradient(135deg, #eaf6ff 0%, #f8fbff 55%, #dceeff 100%);
}

.contact-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px;
  overflow: hidden;
}

.contact-bg-image {
  position: absolute;
  inset: auto auto 0 0;
  width: min(760px, 72vw);
  opacity: 0.16;
  transform: translate(-8%, 12%) rotate(-7deg);
  filter: saturate(1.08) drop-shadow(0 28px 70px rgba(9, 37, 82, 0.18));
  pointer-events: none;
}

.contact-bg-image--knee {
  inset: 2% 3% auto auto;
  width: min(390px, 34vw);
  opacity: 0.13;
  transform: rotate(7deg);
  filter: saturate(1.05) blur(0.4px) drop-shadow(0 26px 60px rgba(9, 37, 82, 0.16));
}

.contact-bg-image--thumb {
  inset: auto 4% 6% auto;
  width: min(360px, 32vw);
  opacity: 0.12;
  transform: rotate(-6deg);
  filter: saturate(1.05) blur(0.4px) drop-shadow(0 26px 60px rgba(9, 37, 82, 0.15));
}

.contact-card {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(219, 231, 245, 0.9);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-logo {
  width: min(360px, 86%);
  max-height: 170px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.2));
}

.contact-card h1 {
  margin-left: auto;
  margin-right: auto;
  color: var(--blue-950);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.contact-intro {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}

.contact-option {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-950);
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f3faff);
}

.contact-option span {
  color: var(--muted);
  font-weight: 700;
}

.contact-option strong {
  overflow-wrap: anywhere;
}

.contact-main-action {
  margin-bottom: 14px;
}

.contact-back {
  display: block;
  margin: 8px auto 0;
}

.footer-grid {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.25fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: min(210px, 100%);
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.2));
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-address {
  font-style: normal;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover,
.footer-grid a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .nav {
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    width: min(245px, 42vw);
  }

  .nav-links {
    width: auto;
    justify-content: center;
    gap: 14px;
  }

  .hero,
  .intro,
  .product-panel,
  .request {
    grid-template-columns: 1fr;
  }

  .application-form {
    grid-column: auto;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 48px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .step-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: auto;
  }

  .nav {
    width: min(100% - 18px, 1200px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-logo {
    width: min(255px, 78%);
    margin-left: -4px;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-subtitle,
  .hero-title-line,
  .products-heading h2 {
    white-space: normal;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions .button,
  .form-submit,
  .monthly-calculator,
  .direct-buy-button {
    width: 100%;
  }

  .direct-buy-button {
    margin-left: 0;
  }

  .contact-shell {
    padding: 18px;
  }

  .contact-logo {
    width: min(300px, 88%);
    max-height: 140px;
    margin-bottom: 22px;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-bg-image {
    width: 120%;
    opacity: 0.1;
  }

  .contact-bg-image--knee {
    top: 3%;
    right: -8%;
    width: 48%;
    opacity: 0.08;
  }

  .contact-bg-image--thumb {
    right: -7%;
    bottom: 5%;
    width: 46%;
    opacity: 0.08;
  }

  .monthly-calculator {
    grid-template-columns: 1fr;
  }

  .intro,
  .products,
  .steps,
  .request {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .product-panel,
  .request-form {
    padding: 20px;
  }

  .step-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 68px;
  }
}
