:root {
  --navy: #10213f;
  --red: #b3212f;
  --cream: #fff8ec;
  --wool: #e7d7bd;
  --ink: #182033;
  --muted: #687083;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 33, 63, 0.16);
}

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

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

.site-header {
  background: radial-gradient(circle at top right, rgba(179,33,47,0.2), transparent 34%), linear-gradient(135deg, #10213f, #183a68);
  color: var(--white);
  padding-bottom: 60px;
}

.nav {
  max-width: 1180px;
  margin: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 22px; font-weight: 600; opacity: 0.92; }

.hero {
  max-width: 1180px;
  margin: auto;
  padding: 52px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 800; color: var(--red); }
.hero .eyebrow { color: #ffccd2; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 0.95; margin: 0 0 24px; letter-spacing: -0.07em; }
.hero-text { font-size: 1.15rem; line-height: 1.7; max-width: 620px; color: rgba(255,255,255,0.84); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button, button {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover, button:hover { transform: translateY(-2px); }
.primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(179,33,47,0.35); }
.secondary { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.22); }

.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.badge { display: inline-block; background: var(--navy); color: white; border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 800; }
.sock-illustration { font-size: 7rem; text-align: center; padding: 20px; }
.hero-card h2 { margin-bottom: 8px; }
.hero-card p { color: var(--muted); }
.hero-card strong { font-size: 1.5rem; }

.trust-strip {
  max-width: 1100px;
  margin: -32px auto 0;
  background: white;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: center;
}

.section { max-width: 1180px; margin: 80px auto; padding: 0 24px; }
.section-heading { max-width: 780px; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.05em; margin: 0; }

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.product-card {
  background: white;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(16,33,63,0.08);
}
.product-image { background: var(--wool); border-radius: 20px; font-size: 4rem; text-align: center; padding: 35px; }
.product-card p { color: var(--muted); line-height: 1.6; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; margin: 18px 0; color: var(--muted); }
.product-meta span:first-child { color: var(--ink); font-weight: 900; font-size: 1.2rem; }
.product-card button, .newsletter button { background: var(--navy); color: white; width: 100%; }

.story {
  background: white;
  border-radius: 30px;
  padding: 44px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 40px;
  box-shadow: 0 12px 40px rgba(16,33,63,0.08);
}
.story p:last-child { font-size: 1.1rem; line-height: 1.8; color: var(--muted); }

.newsletter {
  text-align: center;
  background: var(--navy);
  color: white;
  border-radius: 30px;
  padding: 48px 24px;
}
.newsletter p { color: rgba(255,255,255,0.75); }
.newsletter form { max-width: 520px; display: flex; gap: 10px; margin: 24px auto 0; }
.newsletter input { flex: 1; border: none; border-radius: 999px; padding: 15px 18px; font-size: 1rem; }
.newsletter button { width: auto; background: var(--red); }

.footer {
  padding: 40px 24px;
  background: #0b1529;
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer p { color: rgba(255,255,255,0.72); }
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--ink);
  color: white;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .nav, .footer { flex-direction: column; align-items: flex-start; }
  .hero, .products, .story, .trust-strip { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .hero-card { transform: none; }
}
