:root {
  --ink: #07183b;
  --muted: #5e687d;
  --line: #dbe3ef;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --blue: #075fbd;
  --cyan: #00a6d6;
  --magenta: #c9007a;
  --green: #168457;
  --yellow: #f0b51d;
  --danger: #b42318;
  --shadow: 0 18px 40px rgba(7, 24, 59, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--blue);
}

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

:focus-visible {
  outline: 3px solid rgba(0, 166, 214, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(16px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(219, 227, 239, 0.82);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--magenta);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.landing-hero {
  min-height: clamp(620px, 76svh, 720px);
  padding-block: 96px 78px;
}

.landing-hero + .section {
  padding-top: 64px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("../images/product-image-4.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 59, 0.83), rgba(7, 24, 59, 0.47) 47%, rgba(255, 255, 255, 0.08)),
    linear-gradient(0deg, rgba(7, 24, 59, 0.38), transparent 34%);
}

.hero-content {
  color: #fff;
}

.hero-content h1,
.product-summary h1 {
  margin: 0;
  max-width: 760px;
  font-size: 4rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy,
.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content .eyebrow,
.cta-panel .eyebrow {
  color: #9ceaff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 14px 24px rgba(201, 0, 122, 0.24);
}

.button.primary:hover {
  background: #a90066;
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 900;
}

.hero-strip span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.section {
  padding-block: 88px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 24, 59, 0.06);
}

.icon-dot {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
}

.icon-dot.blue {
  background: var(--blue);
}

.icon-dot.magenta {
  background: var(--magenta);
}

.icon-dot.green {
  background: var(--green);
}

.icon-dot.yellow {
  background: var(--yellow);
}

.image-band,
.order-section {
  background: var(--wash);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.product-photo {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-photo.tall img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.showcase-copy {
  max-width: 620px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 230px;
  padding: 62px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.safety-band {
  background: #fff8e5;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.check-list.compact {
  margin-block: 24px;
}

.cta-band {
  padding-block: 64px;
  background: var(--ink);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.site-footer {
  padding-block: 32px;
  background: #06122d;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.product-hero {
  padding-block: 72px;
  background: linear-gradient(180deg, #f9fbff 0%, #fff 100%);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.gallery-main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.thumb.is-active {
  border-color: var(--magenta);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-summary h1 {
  color: var(--ink);
  font-size: 3.35rem;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-line span {
  color: var(--muted);
  font-weight: 800;
}

.price-line strong {
  color: var(--magenta);
  font-size: 1.45rem;
}

.discount-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

.discount-table div {
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.discount-table span,
.discount-table strong {
  display: block;
}

.discount-table span {
  color: var(--muted);
  font-size: 0.86rem;
}

.discount-table strong {
  margin-top: 6px;
  color: var(--blue);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.order-summary,
.order-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 24, 59, 0.08);
}

.order-summary {
  position: sticky;
  top: 86px;
  padding: 24px;
}

.order-summary h2,
.form-header h2 {
  font-size: 1.55rem;
}

.price-breakdown {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.price-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.price-breakdown dt {
  color: var(--muted);
  font-weight: 700;
}

.price-breakdown dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.price-breakdown .total-row {
  align-items: baseline;
  border-bottom: 0;
}

.price-breakdown .total-row dd {
  color: var(--magenta);
  font-size: 1.75rem;
}

.discount-message {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eaf8fd;
  color: #075575;
  font-weight: 800;
}

.mail-note {
  font-size: 0.9rem;
}

.order-form {
  padding: 28px;
}

.form-header {
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c7d2e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
.phone-input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.phone-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #c7d2e2;
  border-radius: 8px;
  background: #fff;
}

.phone-input span {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding-inline: 13px;
  border-right: 1px solid #c7d2e2;
  background: var(--wash);
  color: var(--ink);
  font-weight: 900;
}

.phone-input input {
  border: 0;
  border-radius: 0;
}

.field-hint,
.field-error {
  min-height: 1.25em;
  margin: 0;
  font-size: 0.88rem;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: var(--danger);
  font-weight: 800;
}

.quantity-control {
  display: grid;
  grid-template-columns: 48px minmax(82px, 120px) 48px;
  gap: 8px;
  align-items: center;
}

.quantity-control input {
  text-align: center;
  font-weight: 900;
}

.icon-button {
  width: 48px;
  height: 48px;
  border: 1px solid #c7d2e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
}

.icon-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5em;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}

.form-status.is-success {
  padding: 14px;
  border-radius: 8px;
  background: #e9f8ef;
  color: #12643f;
}

.form-status.is-error {
  padding: 14px;
  border-radius: 8px;
  background: #fff0ee;
  color: var(--danger);
}

.submit-button {
  width: 100%;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 24, 59, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
}

.modal-backdrop[hidden] {
  display: none;
}

.success-modal {
  position: relative;
  width: min(100%, 520px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 24, 59, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.modal-backdrop.is-open .success-modal {
  transform: translateY(0) scale(1);
}

.success-modal h2 {
  font-size: 1.8rem;
}

.success-modal p {
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.modal-summary {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.modal-summary div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.modal-summary dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.modal-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.modal-action {
  width: 100%;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero-content h1,
  .product-summary h1 {
    font-size: 2.8rem;
  }

  .split,
  .product-showcase,
  .product-layout,
  .order-layout {
    grid-template-columns: 1fr;
  }

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

  .order-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .landing-hero {
    min-height: 610px;
    padding-block: 108px 92px;
  }

  .landing-hero + .section {
    padding-top: 40px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 24, 59, 0.86), rgba(7, 24, 59, 0.38) 72%, rgba(7, 24, 59, 0.18)),
      linear-gradient(90deg, rgba(7, 24, 59, 0.76), rgba(7, 24, 59, 0.2));
  }

  .hero-content h1,
  .product-summary h1 {
    font-size: 2.35rem;
  }

  .hero-copy,
  .lead {
    font-size: 1rem;
  }

  .hero-strip {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-strip span {
    flex: 0 0 auto;
  }

  .section {
    padding-block: 58px;
  }

  h2 {
    font-size: 1.75rem;
  }

  .benefit-grid,
  .steps,
  .form-grid,
  .discount-table {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .cta-panel,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner > div:last-child {
    justify-content: flex-start;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
  }

  .order-form {
    padding: 20px;
  }

  .price-breakdown .total-row dd {
    font-size: 1.45rem;
  }

  .success-modal {
    padding: 26px 20px 20px;
  }

  .success-modal h2 {
    font-size: 1.45rem;
  }
}
