:root {
  --background: #f7fbff;
  --surface: #ffffff;
  --text: #183247;
  --muted: #5c7487;
  --blue: #2f80b7;
  --blue-dark: #1d5f8e;
  --blue-soft: #dff0fb;
  --border: #d7e7f2;
  --shadow: 0 20px 50px rgba(24, 50, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--background), #ffffff 55%);
}

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

.site-header {
  min-height: 82px;
  padding: 18px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.logo {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.logo-main {
  color: var(--blue-dark);
}

.logo-accent {
  color: var(--blue);
  margin: 0 2px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 700;
  color: var(--text);
}

.main-nav a {
  opacity: 0.86;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.shop-link {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 22px rgba(47, 128, 183, 0.24);
}

.hero {
  min-height: calc(100vh - 146px);
  padding: clamp(64px, 9vw, 120px) 7vw;
  display: grid;
  align-items: center;
  gap: 42px;
}

.index-hero {
  max-width: 1180px;
  margin: 0 auto;
}

.homepage-hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.hero-content {
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-text,
.section p,
.card p,
.shop-card p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 28px rgba(47, 128, 183, 0.26);
}

.button.secondary {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.button.full {
  width: 100%;
}

.shop-card {
  justify-self: end;
  width: min(100%, 390px);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shop-card h2 {
  font-size: 2.4rem;
}

.section {
  padding: 82px 7vw;
  border-top: 1px solid var(--border);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.cards-section {
  background: #ffffff;
}

.cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(24, 50, 71, 0.08);
}

.site-footer {
  padding: 28px 7vw;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.site-footer p {
  margin: 0;
}

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

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .homepage-hero,
  .two-column,
  .cards {
    grid-template-columns: 1fr;
  }

  .shop-card {
    justify-self: stretch;
  }
}
