/* Vivli marketing site — Warm Minimal, Apple-inspired */
:root {
  --bg: #f8f6f3;
  --bg-deep: #efeae3;
  --ink: #1a1a1a;
  --muted: #6b6560;
  --line: rgba(26, 26, 26, 0.1);
  --accent: #cba979;
  --accent-soft: rgba(203, 169, 121, 0.18);
  --paper: #fffcf8;
  --max: 68rem;
  --prose: 42rem;
  --radius: 1.25rem;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(203, 169, 121, 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(239, 234, 227, 0.9), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(1.2) blur(14px);
  background: rgba(248, 246, 243, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.95rem;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
}

.hero__plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(248, 246, 243, 0.55) 70%, var(--bg) 100%),
    radial-gradient(ellipse 80% 55% at 70% 35%, rgba(203, 169, 121, 0.28), transparent 60%),
    linear-gradient(135deg, #f3eee7 0%, #e8e0d5 45%, #d9cfc2 100%);
}

.hero__mark {
  position: absolute;
  right: max(4vw, calc((100% - var(--max)) / 2));
  top: 18%;
  width: min(42vw, 22rem);
  opacity: 0.92;
  filter: drop-shadow(0 24px 48px rgba(26, 26, 26, 0.12));
}

.hero__content {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
  max-width: 34rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.25rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.hero__lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn--primary {
  background: var(--ink);
  color: #f8f6f3;
}

.btn--primary:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(26, 26, 26, 0.28);
  background: rgba(255, 252, 248, 0.55);
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding-top: 2rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.section__lede {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 36rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.page {
  padding: 3.5rem 0 5rem;
}

.page__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.page__meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: var(--prose);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.55rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose p {
  margin: 0 0 0.9rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.18em;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  background: rgba(255, 252, 248, 0.45);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .hero__mark {
    width: min(58vw, 14rem);
    top: 8%;
    opacity: 0.55;
  }

  .hero__content {
    padding-top: 11rem;
  }

  .nav {
    font-size: 0.88rem;
  }
}
