:root {
  --red: #E4231B;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --mist: #F5F5F4;
  --mist-2: #EDEDEC;
  --stone: #8A8A8A;
  --line: #EAEAEA;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Decorative "mattress layers" horizon - subtle brand signature */
.layers {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 38vh;
  min-height: 180px;
  max-height: 320px;
  z-index: 0;
  pointer-events: none;
}
.layers-svg { width: 100%; height: 100%; display: block; }
.layer--1 { fill: var(--mist); }
.layer--2 { fill: var(--mist-2); }
.layer--3 { fill: var(--red); opacity: .06; }

@media (prefers-reduced-motion: no-preference) {
  .layer--1 { animation: float 9s ease-in-out infinite; transform-origin: center; }
  .layer--2 { animation: float 11s ease-in-out infinite reverse; transform-origin: center; }
  .layer--3 { animation: float 13s ease-in-out infinite; transform-origin: center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 56px);
}

/* Logo */
.brand-mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: .02em;
  color: var(--red);
}
.brand-dot {
  display: inline-block;
  width: .42em;
  height: .42em;
  margin: 0 .06em;
  background: var(--red);
  border-radius: 50%;
  vertical-align: middle;
  font-style: normal;
}
.brand-mark sup { font-size: .4em; }

/* If you swap in a real logo image, this keeps it a sensible size */
.brand-img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Main content */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 16px;
}

.headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5.5vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--ink);
}

.lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: var(--stone);
  margin: 0 auto 36px;
  max-width: 480px;
}

/* Contact card */
.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  background: var(--paper);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .18);
}

.contact-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 14px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.contact-line svg { color: var(--red); flex-shrink: 0; }
.contact-line:hover,
.contact-line:focus-visible {
  color: var(--red);
  border-color: var(--red);
}
.contact-line:focus-visible { outline: none; }

/* Footer */
.site-footer {
  text-align: center;
  padding-top: 24px;
}
.site-footer p {
  font-size: 12px;
  color: var(--stone);
  margin: 0;
}

/* Responsive / mobile */
@media (max-width: 560px) {
  .brand { text-align: center; }
  .headline { font-size: clamp(24px, 7vw, 32px); }
  .contact-card { padding: 20px; width: 100%; }
  .contact-links { flex-direction: column; gap: 14px; align-items: center; }
}
