:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #13233f;
  --muted: #5d6b82;
  --line: #d8e0ee;
  --primary: #1e88e5;
  --primary-strong: #1569b5;
  --accent: #0f766e;
  --shadow: 0 24px 48px rgba(15, 36, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  margin-top: 0;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.45;
}

.bg-shape-a {
  width: 360px;
  height: 360px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.34), transparent 70%);
}

.bg-shape-b {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.26), transparent 70%);
}

.section-wrap {
  width: min(980px, calc(100vw - 2.4rem));
  margin: 0 auto;
}

.site-header {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 224, 238, 0.9);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0.6rem;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.14);
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a,
.header-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--ink);
}

.hero {
  padding-top: 5rem;
  padding-bottom: 2.6rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.68rem 1rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(140deg, var(--primary) 0%, #43a5ff 100%);
  box-shadow: 0 12px 22px rgba(30, 136, 229, 0.2);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.letter-card,
.profile-card {
  margin-bottom: 1rem;
}

.letter-card p,
.profile-card p {
  color: var(--muted);
  line-height: 1.7;
}

.signature {
  color: var(--ink) !important;
  font-weight: 700;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.profile-links a {
  text-decoration: none;
  color: var(--primary-strong);
  font-weight: 700;
  background: rgba(30, 136, 229, 0.08);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.product-tile p {
  color: var(--muted);
}

.product-tile a,
.product-tile span {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-strong);
}

.product-tile.muted span {
  color: #6b7280;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 2rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
  }
}
