:root {
  color-scheme: light;
  --fg: #111111;
  --ink: #242f3d;
  --muted: #5b6570;
  --paper: #f7f7f6;
  --card: #ffffff;
  --border: #e3e5ea;
  --accent: #c21113;
  --accent-dark: #a50f12;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10;
  background: var(--navy);
  color: white;
  padding: .7rem 1rem;
  border-radius: .4rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 1px 0 #e4e8ee;
}

.brand {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}
.brand a {
  display: grid;
  text-decoration: none;
}
.brand span:first-child { font-weight: 850; color: var(--accent-dark); }
.brand span:last-child { font-size: .72em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; gap: 1.5rem; }
.main-nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--accent-dark); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: min(72vh, 640px);
  padding: clamp(3rem, 9vw, 6rem) clamp(1rem, 5vw, 8rem) 4rem;
}

.hero-copy h2, .section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  color: var(--navy);
}
.hero-copy p { max-width: 46ch; color: var(--muted); }

.button-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: .8rem 1.3rem;
  border: 0;
  border-radius: .4rem;
  background: var(--accent);
  color: #212121;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .14); }
.button.secondary { background: transparent; box-shadow: inset 0 0 0 2px #d3d9e2; color: var(--navy); }

.hero-visual {
  min-height: 340px;
  border: 1px solid #e2e7ee;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(230, 245, 239, .9), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(255, 245, 222, .8), transparent 40%),
    linear-gradient(145deg, #fff, #f2f4f8);
  box-shadow: var(--shadow);
  display: grid;
  align-content: end;
  padding: 1.3rem;
}
.hero-visual strong { font-size: 1rem; color: var(--navy); }
.hero-visual p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.stat-row { display: flex; justify-content: space-between; padding: .8rem 0; border-top: 1px solid #e7ebf2; }
.stat-row + .stat-row { border-bottom: 1px solid #e7ebf2; }

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 5vw, 4rem);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-header p { margin: 0 0 .3rem; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.2rem;
}

.product {
  border: 1px solid #e3e8ef;
  border-radius: .8rem;
  background: var(--card);
  overflow: hidden;
  display: grid;
  box-shadow: 0 4px 12px rgba(23, 37, 59, .04);
  transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-media { height: 130px; display: grid; place-items: center; font-weight: 750; color: white; font-size: 1rem; letter-spacing: .05em; }
.product-body { padding: 1.1rem; display: grid; gap: .35rem; }
.product-body h3 { font-size: 1rem; color: var(--navy); }
.product-body p { font-size: .86rem; color: var(--muted); }
.rating { color: var(--accent-dark); font-size: .81rem; font-weight: 750; }
.reviews { color: var(--muted); font-weight: 450; }
.product-link {
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #087990;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.toolbar { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.search, select {
  max-width: 320px;
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid #d5dbe3;
  border-radius: .4rem;
  background: white;
  font: inherit;
  color: inherit;
}

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.value-card {
  padding: 1.3rem;
  background: white;
  border: 1px solid #e2e7ee;
  border-radius: .8rem;
}
.value-card h3 { margin-top: 0; color: var(--navy); }
.value-card p { color: var(--muted); }
.section-subtitle { margin-bottom: 1.6rem; color: var(--muted); max-width: 60ch; }
.page { max-width: 820px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.post-title { font-family: system-ui, sans-serif; font-weight: 650; font-size: 1.7rem; margin-bottom: .8rem; color: var(--ink); }
.post-body { font-family: system-ui, sans-serif; line-height: 1.7; color: var(--ink); }
.pick-note { border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1.5rem 0 1.75rem; }
.house-card, .page-card { display: grid; gap: .65rem; padding: 1.35rem; border: 1px solid var(--border); background: #fff; border-radius: .6rem; margin-bottom: 1.15rem; }
.house-card h3, .page-card h3 { margin: 0 0 .5rem; font-family: system-ui, sans-serif; font-weight: 650; }
.house-card a, .page-card a { color: inherit; text-decoration: none; }
.read-tag { color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.post-list { padding: 0 1rem 2rem 1rem; }

.site-footer {
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--navy);
  color: #d7dee8;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer p { max-width: 38rem; margin: 0; }
.footer-nav { display: grid; }
.footer-nav a { color: white; text-decoration: none; font-weight: 650; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--accent); }

.page-hero { padding: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 5vw, 4rem) 1rem; max-width: 1200px; margin: 0 auto; }
.page-hero h2 { margin-bottom: .4rem; color: var(--navy); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { color: var(--muted); max-width: 62ch; }
.filtered-note { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 4rem) 1.3rem; color: var(--muted); }

.contact-card { max-width: 700px; padding: 1.5rem; background: white; border: 1px solid #e3e8ef; border-radius: .8rem; }
.contact-card a { color: #087990; }
.policy-list { color: var(--muted); max-width: 65ch; }
.policy-list li + li { margin-top: .5rem; }

@media (max-width: 850px) {
  .main-nav { display: none; }
}
