:root {
  color-scheme: light;
  --ink: #17151d;
  --muted: #6e6878;
  --brand: #ff4f9a;
  --brand-dark: #d92f78;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(48, 36, 57, 0.1);
  --shadow: 0 24px 80px rgba(68, 32, 65, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 144, 194, 0.24), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(151, 127, 255, 0.17), transparent 28rem),
    #fff9fc;
}

a { color: var(--brand-dark); }

.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.hero { padding: 86px 0 70px; text-align: center; }
.eyebrow { color: var(--brand-dark); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
h1 { max-width: 800px; margin: 16px auto; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.05em; }
.hero p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 90px; }
.card, .legal-card, .contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.card { min-height: 240px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 90px rgba(68, 32, 65, 0.17); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 79, 154, .12); color: var(--brand-dark); font-size: 22px; }
.card h2 { margin: 28px 0 8px; font-size: 24px; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }
.card span:last-child { margin-top: auto; padding-top: 24px; color: var(--brand-dark); font-weight: 700; }

.page-head { padding: 52px 0 34px; }
.page-head h1 { margin: 12px 0; font-size: clamp(42px, 6vw, 66px); }
.page-head p { color: var(--muted); font-size: 17px; }
.legal-card { max-width: 860px; margin: 0 auto 80px; padding: clamp(24px, 5vw, 62px); }
.legal-card h1 { font-size: 38px; margin: 0 0 28px; }
.legal-card h2 { margin: 40px 0 12px; font-size: 24px; letter-spacing: -.02em; }
.legal-card p, .legal-card li { color: #4e4856; font-size: 16px; line-height: 1.75; }
.legal-card ul { padding-left: 22px; }

.contact-card { max-width: 720px; margin: 0 auto 80px; padding: clamp(24px, 5vw, 54px); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
label { font-weight: 700; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.85);
  color: var(--ink); font: inherit; padding: 15px 16px; outline: none;
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,79,154,.12); }
textarea { min-height: 180px; resize: vertical; }
.button { border: 0; border-radius: 18px; background: linear-gradient(135deg, #ff4f9a, #e33d86); color: white; font: inherit; font-weight: 750; padding: 16px 24px; cursor: pointer; }
.contact-note { color: var(--muted); line-height: 1.6; }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; padding: 18px 0; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; }
  .hero { padding-top: 58px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 210px; }
}
