:root {
  color-scheme: light;
  --ink: #2a2024;
  --muted: #725f66;
  --paper: #fff8f8;
  --soft: #f4e8e8;
  --line: #ead6d8;
  --berry: #9d3853;
  --sage: #687965;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 5vw, 64px);
  background: rgba(255, 248, 248, 0.92);
  border-bottom: 1px solid rgba(234, 214, 216, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 30px);
  font-size: 15px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  min-height: 86vh;
  padding: 112px clamp(18px, 6vw, 80px) 52px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 248, 248, 0.98) 0%, rgba(255, 248, 248, 0.86) 40%, rgba(255, 248, 248, 0.18) 78%),
    url("/assets/hero-manicure.png") center / cover no-repeat;
}

.hero__content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-width: 142px;
  padding: 14px 20px;
  border: 1px solid var(--berry);
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--berry);
  color: #ffffff;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--berry);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.services article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.services article:last-child {
  border-right: 0;
}

.services span {
  color: var(--berry);
  font-weight: 700;
}

.services h2 {
  margin: 26px 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.services p,
.care p,
footer span {
  color: var(--muted);
  line-height: 1.6;
}

.care {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 6vw, 80px);
  background: var(--soft);
}

.care h2 {
  margin: 0;
  max-width: 650px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.care p {
  align-self: end;
  margin: 0;
  max-width: 700px;
  font-size: 18px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 80px);
  background: var(--ink);
  color: #ffffff;
}

footer div {
  display: grid;
  gap: 6px;
}

footer a {
  color: #ffd0da;
  text-decoration: none;
}

@media (max-width: 820px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 82vh;
    background:
      linear-gradient(180deg, rgba(255, 248, 248, 0.98) 0%, rgba(255, 248, 248, 0.9) 48%, rgba(255, 248, 248, 0.36) 100%),
      url("/assets/hero-manicure.png") center / cover no-repeat;
  }

  .services,
  .care {
    grid-template-columns: 1fr;
  }

  .services article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }
}
