/* Nailed It  ·  editorial beauty-brand design system
   Fraunces (display serif) + Inter (body). One rose accent. No emojis. */

:root {
  --ink: #241a20;
  --ink-2: #55414c;
  --muted: #8c7a84;
  --accent: #c2557f;
  --accent-deep: #a03e64;
  --accent-ink: #7c2f4e;
  --soft: #f6e2ec;
  --soft-2: #fbf1f6;
  --stroke: #f0dde7;
  --bg: #fffcfd;
  --cream: #fdf6f9;
  --gold: #c9a24b;

  --grad: linear-gradient(135deg, #d9749e 0%, #b14a75 100%);
  --grad-soft: linear-gradient(180deg, #fdf1f7 0%, #f9e3ee 100%);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --max-w: 1140px;

  --shadow-lg: 0 30px 70px -18px rgba(124, 47, 78, 0.28);
  --shadow-md: 0 18px 44px -14px rgba(124, 47, 78, 0.18);
  --shadow-sm: 0 8px 22px -8px rgba(124, 47, 78, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--soft); color: var(--accent-ink); }

/* ---------------- Type ---------------- */

h1, h2, h3 { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-deep);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
}

.lede { color: var(--ink-2); font-size: 18px; line-height: 1.65; }

/* ---------------- Nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 253, 0.82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--stroke);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  color: #fff;
}

.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links > a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.15s;
}

.nav-links > a:hover { color: var(--accent-deep); }

@media (max-width: 760px) {
  .nav-links > a:not(.btn) { display: none; }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--accent-ink);
  border: 1.5px solid var(--stroke);
  background: #fff;
}

.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52% 44% at 82% 6%, #f9dcea 0%, transparent 100%),
    radial-gradient(40% 36% at 6% 88%, #fceef5 0%, transparent 100%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 84px 0 96px;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 72px; gap: 64px; }
}

.hero h1 { font-size: clamp(44px, 6.2vw, 74px); }

.hero .lede { max-width: 480px; margin: 26px 0 34px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--soft);
}

/* Hero visual: phone + floating cards */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

@media (max-width: 920px) {
  .hero-visual { min-height: 520px; }
}

.float-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
  animation: floaty 7s ease-in-out infinite alternate;
}

.float-card svg { width: 100%; height: 100%; }

.fc-1 { width: 168px; top: 24px; left: 0; transform: rotate(-8deg); animation-delay: 0.4s; }
.fc-2 { width: 148px; bottom: 60px; left: 14px; transform: rotate(6deg); animation-delay: 1.4s; }
.fc-3 { width: 160px; top: 90px; right: 0; transform: rotate(7deg); animation-delay: 0.9s; }
.fc-4 { width: 132px; bottom: 24px; right: 26px; transform: rotate(-6deg); animation-delay: 2s; }

@media (max-width: 560px) {
  .fc-1, .fc-4 { display: none; }
  .fc-2 { left: -30px; }
  .fc-3 { right: -30px; }
}

@keyframes floaty {
  from { translate: 0 0; }
  to { translate: 0 -14px; }
}

/* ---------------- Phone mockup ---------------- */

.phone {
  position: relative;
  z-index: 5;
  width: 288px;
  border-radius: 46px;
  background: #241a20;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  border-radius: 37px;
  background: #fff;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 86px;
  height: 22px;
  background: #241a20;
  border-radius: 999px;
  margin: 10px auto 4px;
  flex: none;
}

.app-ui { flex: 1; padding: 12px 16px 0; display: flex; flex-direction: column; overflow: hidden; }

.app-head { display: flex; align-items: baseline; justify-content: space-between; }

.app-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; }

.app-credits { font-size: 9.5px; color: var(--muted); font-weight: 600; }

.app-cta {
  margin-top: 12px;
  background: var(--grad);
  border-radius: 18px;
  color: #fff;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
}

.app-cta .t { font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }
.app-cta .s { font-size: 10px; opacity: 0.85; margin-top: 3px; }

.app-modes { display: flex; gap: 7px; margin-top: 12px; }

.app-mode {
  flex: 1;
  border: 1px solid var(--stroke);
  background: var(--cream);
  border-radius: 12px;
  padding: 8px 9px;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-2);
}

.app-mode svg { width: 13px; height: 13px; color: var(--accent-deep); margin-bottom: 5px; }

.app-section { font-size: 11px; font-weight: 700; margin: 14px 0 8px; letter-spacing: -0.01em; }

.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.app-tile { border-radius: 13px; overflow: hidden; border: 1px solid var(--stroke); }
.app-tile svg { width: 100%; height: auto; }

.app-tabbar {
  flex: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--stroke);
  padding: 9px 0 16px;
  margin-top: auto;
  background: #fff;
}

.app-tabbar svg { width: 17px; height: 17px; color: #c9b3bf; }
.app-tabbar svg.active { color: var(--accent-deep); }

/* ---------------- Sections ---------------- */

section { padding: 104px 0; }

.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); margin: 16px 0 14px; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 920px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--soft-2);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-deep);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.feature.spotlight {
  background: var(--grad);
  border: none;
  color: #fff;
}

.feature.spotlight .feature-icon { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.25); color: #fff; }
.feature.spotlight p { color: rgba(255,255,255,0.85); }

/* How it works */

.how { background: var(--cream); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 28px 24px;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  font-weight: 500;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 7px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Showcase marquee */

.showcase { padding: 88px 0; overflow: hidden; }

.marquee { display: flex; overflow: hidden; user-select: none; gap: 22px; }

.marquee-track {
  display: flex;
  gap: 22px;
  flex: none;
  animation: marquee 44s linear infinite;
}

@keyframes marquee { to { transform: translateX(calc(-100% - 22px)); } }

.set-card {
  width: 218px;
  flex: none;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #fff;
}

.set-card svg { width: 100%; height: auto; }

.set-card .set-name {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
}

.set-card .set-name span:last-child { color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

/* Testimonials */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 920px) { .quotes { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.quote {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}

.quote .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.quote .stars svg { width: 15px; height: 15px; }

.quote p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.quote cite { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Pricing */

.pricing { background: var(--cream); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

.price-card {
  background: #fff;
  border: 1.5px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}

.badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card .plan { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.price-card .amount {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
}

.price-card .amount small { font-size: 16px; font-weight: 500; color: var(--muted); font-family: var(--font-body); }

.price-card .equiv { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }

.price-card ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }

.price-card .btn { margin-top: auto; }

.pricing-fine {
  text-align: center;
  max-width: 640px;
  margin: 36px auto 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* FAQ */

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg {
  width: 16px;
  height: 16px;
  color: var(--accent-deep);
  flex: none;
  transition: transform 0.25s ease;
}

.faq-item[open] summary svg { transform: rotate(45deg); }

.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  border-radius: 34px;
  max-width: calc(var(--max-w) - 56px);
  margin: 0 auto 110px;
  padding: 78px 30px;
  text-align: center;
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 60% at 78% 10%, rgba(255,255,255,0.22), transparent);
  pointer-events: none;
}

.cta-band h2 { font-size: clamp(30px, 4vw, 44px); }
.cta-band p { margin: 16px 0 34px; opacity: 0.9; font-size: 16.5px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-ink); box-shadow: 0 18px 40px rgba(0,0,0,0.18); position: relative; z-index: 2; }

/* Footer */

footer { border-top: 1px solid var(--stroke); padding: 56px 0 44px; background: #fff; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-tag { margin-top: 14px; font-size: 13.5px; color: var(--muted); max-width: 260px; }

.footer-links { display: flex; gap: 30px; flex-wrap: wrap; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  padding-top: 26px;
}

/* ---------------- Reveal on scroll ---------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .float-card, .marquee-track { animation: none; }
}

/* ---------------- Legal pages ---------------- */

.legal-hero {
  background: var(--grad-soft);
  border-bottom: 1px solid var(--stroke);
  padding: 84px 0 56px;
}

.legal-hero h1 { font-size: clamp(36px, 5vw, 54px); margin: 16px 0 12px; }
.legal-hero .updated { color: var(--muted); font-size: 14px; font-weight: 500; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 64px;
  padding: 72px 0 120px;
}

@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 40px; } }

.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 13.5px;
}

@media (max-width: 860px) {
  .legal-toc { position: static; background: var(--cream); border: 1px solid var(--stroke); border-radius: var(--r-sm); padding: 22px; }
}

.legal-toc p { margin: 0 0 14px; font-weight: 700; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.legal-toc a { text-decoration: none; color: var(--ink-2); }
.legal-toc a:hover { color: var(--accent-deep); }

.legal-body { max-width: 700px; font-size: 15.5px; color: var(--ink-2); }

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 52px 0 16px;
  scroll-margin-top: 100px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li { line-height: 1.75; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body li strong { color: var(--ink); }
.legal-body a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.legal-callout {
  background: var(--cream);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  margin: 0 0 36px;
  font-size: 15px;
}
