:root {
  --ink: #241019;
  --cream: #FBF3E8;
  --cream2: #F3E7D4;
  --plum: #9B2473;
  --plum-lt: #C24E9A;
  --plum-deep: #1E0718;
  --aubergine: #2B0A22;
  --saffron: #E06A24;
  --saffron-lt: #F2853C;
  --muted: #9A8592;
  --line: rgba(155, 36, 115, 0.16);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Spectral", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

.eyebrow, .section-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--saffron); font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--plum); color: var(--cream);
  padding: 0.7rem 1.4rem; border-radius: 999px; font-weight: 500;
  font-size: 0.98rem; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 24px rgba(155, 36, 115, 0.22);
}
.btn:hover { transform: translateY(-2px); background: var(--plum-lt); box-shadow: 0 12px 30px rgba(155, 36, 115, 0.3); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(155, 36, 115, 0.06); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 5vw, 4rem);
  background: rgba(251, 243, 232, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.brand-mark { color: var(--saffron); }
.brand-logo { height: 34px; width: auto; display: block; }
.hero-logo { height: 84px; width: auto; margin-bottom: 1.1rem; filter: drop-shadow(0 6px 16px rgba(30,7,24,0.18)); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.98rem; }
.nav-links a:not(.btn):hover { color: var(--plum); }

section { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.2rem, 5vw, 4rem); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(194, 78, 154, 0.18), transparent),
    linear-gradient(180deg, var(--cream) 0%, var(--cream2) 100%);
}
.hero-copy { max-width: 36rem; }
.hero h1 { margin: 0.8rem 0 1.2rem; }
.lede { font-size: 1.2rem; color: #5a4450; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1rem; }
.hero-note { font-size: 0.88rem; color: var(--muted); }
.hero-art { position: relative; min-height: 480px; display: flex; justify-content: center; align-items: center; }
.phone {
  border-radius: 28px; box-shadow: 0 30px 70px rgba(30, 7, 24, 0.35);
  border: 6px solid var(--plum-deep); width: 240px;
}
.phone-1 { transform: rotate(-4deg) translateX(-30px); z-index: 2; }
.phone-2 { position: absolute; transform: rotate(6deg) translateX(90px) translateY(20px); width: 215px; opacity: 0.96; z-index: 1; }

/* Pillars */
.pillars { text-align: center; }
.pillars h2 { margin: 0.6rem auto 2.6rem; max-width: 24ch; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1040px; margin: 0 auto; }
.pillar {
  background: var(--white, #fff); border: 1px solid var(--line); border-radius: 20px;
  padding: 2.2rem 1.8rem; text-align: left; transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30, 7, 24, 0.1); }
.pillar-icon {
  font-size: 1.8rem; width: 58px; height: 58px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--plum)); border-radius: 16px; margin-bottom: 1.1rem;
}
.pillar h3 { margin-bottom: 0.5rem; color: var(--plum-deep); }
.pillar p { color: #5a4450; font-weight: 300; }

/* Screens */
.screens { text-align: center; background: linear-gradient(180deg, var(--cream2), var(--cream)); }
.screens h2 { margin: 0.6rem auto 2.6rem; }
.screen-strip {
  display: flex; gap: 1.4rem; overflow-x: auto; padding: 0.5rem 0.2rem 1.5rem;
  scroll-snap-type: x mandatory; justify-content: flex-start;
}
.screen-strip figure { scroll-snap-align: center; flex: 0 0 auto; }
.screen-strip img {
  width: 200px; border-radius: 22px; border: 5px solid var(--plum-deep);
  box-shadow: 0 20px 46px rgba(30, 7, 24, 0.2);
}
.screen-strip figcaption { font-family: var(--display); font-size: 1.15rem; margin-top: 0.8rem; color: var(--plum-deep); }
@media (min-width: 980px) { .screen-strip { justify-content: center; overflow-x: visible; } }

/* About */
.about { display: grid; place-items: center; }
.about-card {
  background: linear-gradient(140deg, var(--aubergine), var(--plum-deep));
  color: var(--cream); border-radius: 28px; padding: clamp(2.4rem, 5vw, 4rem);
  max-width: 820px; text-align: center;
}
.about-card h2 { color: var(--cream); }
.about-card p { color: rgba(251, 243, 232, 0.82); font-weight: 300; margin: 1.2rem auto 2rem; max-width: 56ch; font-size: 1.1rem; }
.about-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.about-card .btn-ghost { color: var(--cream); border-color: rgba(251, 243, 232, 0.4); }
.about-card .btn-ghost:hover { background: rgba(251, 243, 232, 0.1); }

/* Footer */
.footer { text-align: center; padding: 3rem 1.5rem; border-top: 1px solid var(--line); }
.footer-brand { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.footer-tag { color: var(--muted); margin: 0.3rem 0 1.2rem; }
.footer-links { display: flex; gap: 1.4rem; justify-content: center; margin-bottom: 1.2rem; }
.footer-links a:hover { color: var(--plum); }
.footer-fine { font-size: 0.84rem; color: var(--muted); }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 5vw, 2rem); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.4rem; }
.legal .updated { color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; color: var(--plum-deep); }
.legal p, .legal li { color: #4a3340; font-weight: 300; margin-bottom: 0.7rem; line-height: 1.7; }
.legal ul { padding-left: 1.3rem; }
.legal a { color: var(--plum); text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; color: var(--plum); text-decoration: none; font-weight: 600; }
.legal .back:hover { text-decoration: underline; }
.legal .back .brand-logo { height: 30px; }
.legal .note { background: var(--cream2); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; font-size: 0.92rem; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-art { min-height: 420px; margin-top: 1rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
