:root {
  --navy: #10243f;
  --blue: #2563eb;
  --orange: #f97316;
  --ink: #172033;
  --muted: #667085;
  --line: #d8e0ea;
  --paper: #f6f8fb;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px clamp(16px, 4vw, 44px);
  color: white;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid white;
  border-radius: 8px;
}

.brand-icon::before,
.brand-icon::after {
  position: absolute;
  content: "";
  background: var(--orange);
}

.brand-icon::before {
  left: 8px;
  bottom: 8px;
  width: 16px;
  height: 3px;
  transform: rotate(-35deg);
  transform-origin: left center;
}

.brand-icon::after {
  left: 6px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

nav {
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 28px);
  color: #dbe7f3;
  font-size: 13px;
  font-weight: 800;
}

.hero,
.section {
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(92svh - 70px);
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 44px);
}

.hero-copy {
  display: grid;
  gap: 18px;
}

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

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.hero-copy p:not(.eyebrow),
.field-fit p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  color: white;
  background: var(--orange);
}

.secondary-button {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.product-frame {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 36, 63, 0.14);
}

.product-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 55% 50%;
}

.frame-toolbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 36, 63, 0.14);
}

.frame-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.frame-toolbar strong {
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 20px;
}

.trace-line {
  position: absolute;
  right: 130px;
  bottom: 78px;
  width: 210px;
  height: 5px;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.2);
  transform: rotate(-25deg);
}

.section {
  display: grid;
  gap: 22px;
  padding: clamp(38px, 6vw, 72px) clamp(16px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 8px;
}

h2 {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.card-grid article {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-grid span {
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

h3 {
  font-size: 20px;
}

.card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.field-fit {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  align-items: center;
}

.field-fit > div:first-child {
  display: grid;
  gap: 14px;
}

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

.fit-list span {
  min-height: 54px;
  padding: 16px;
  color: white;
  background: var(--navy);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .hero,
  .field-fit {
    grid-template-columns: 1fr;
  }

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

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 38px;
  }

  .actions,
  .card-grid,
  .fit-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-frame,
  .product-frame img {
    min-height: 320px;
  }

  .frame-toolbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
  }

  .trace-line {
    right: 88px;
    bottom: 64px;
    width: 150px;
  }
}
