/* festlig.app: the landing page, Help & FAQ and the legal pages (site/build.mjs). Styled like
   the app: warm dark surfaces, Big Shoulders headings, the brand red for actions. */

body.landing {
  display: block;
  place-items: normal;
  padding: 0;
  text-align: left;
  background: radial-gradient(120% 60% at 50% 0%, #2a241c 0%, var(--background) 55%) var(--background);
}

.landing main {
  display: block;
  width: 100%;
  max-width: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.landing .button {
  width: auto;
  margin-top: 0;
  padding: 16px 28px;
  background: var(--accent);
  color: #fff;
}

.landing .button[aria-disabled="true"] { background: var(--surface); color: var(--secondary); }

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* ── Navigation ────────────────────────────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) max(16px, calc((100vw - 1160px) / 2)) 12px;
  background: rgba(23, 22, 19, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.site-nav nav a { color: var(--secondary); text-decoration: none; }
.site-nav nav a:hover { color: var(--label); }

@media (max-width: 640px) {
  .site-nav nav { display: none; }
  .site-nav .pill { margin-left: auto; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--label);
  font: 800 22px/1 "Big Shoulders Display", -apple-system, sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img { width: 28px; height: 28px; border-radius: 8px; }

.pill {
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--label);
  color: #14130f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pill[aria-disabled="true"] { background: var(--surface); color: var(--secondary); }

/* ── Hero ──────────────────────────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.hero h1 {
  margin: 0;
  font: 800 clamp(52px, 8vw, 92px)/0.94 "Big Shoulders Display", -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

.hero .lead {
  max-width: 32em;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--secondary);
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero .hint { margin: 18px 0 0; font-size: 15px; }

.prints {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.print {
  position: absolute;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
  animation: deal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.p1 { width: 60%; aspect-ratio: 3 / 2; left: 0; top: 8%; rotate: -8deg; animation-delay: 0.05s; }
.p2 { width: 40%; aspect-ratio: 2 / 3; right: 3%; top: 0; rotate: 7deg; animation-delay: 0.15s; }
.p3 { width: 44%; aspect-ratio: 2 / 3; left: 28%; top: 20%; rotate: -2deg; z-index: 2; animation-delay: 0.25s; }
.p4 { width: 56%; aspect-ratio: 3 / 2; right: 0; bottom: 6%; rotate: 5deg; z-index: 3; animation-delay: 0.35s; }

@keyframes deal {
  from { opacity: 0; translate: 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .print { animation: none; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 64px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .prints { max-width: 440px; }
}

/* ── Sections ──────────────────────────────────────────────────────────────────────────────── */

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section h2, .final h2 {
  margin: 0 0 36px;
  font: 800 clamp(38px, 5vw, 58px)/1 "Big Shoulders Display", -apple-system, sans-serif;
  letter-spacing: 0.01em;
  text-align: center;
}

.section-lead { max-width: 36em; margin: -20px auto 36px; text-align: center; color: var(--secondary); }
.section-note { margin: 22px 0 0; text-align: center; font-size: 15px; color: var(--secondary); }

.steps, .features, .looks, .plans { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }

.steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.step {
  position: relative;
  padding: 14px 14px 26px;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.step-image { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #0e0d0b; }
.step-image img { width: 100%; height: 100%; object-fit: cover; }

.step-number {
  position: absolute;
  top: 26px;
  left: 26px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 800 21px/1 "Big Shoulders Display", -apple-system, sans-serif;
}

.step h3 { margin: 20px 10px 0; font: 800 30px/1.05 "Big Shoulders Display", -apple-system, sans-serif; letter-spacing: 0.01em; }
.step p { margin: 8px 10px 0; color: var(--secondary); }

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

.feature { padding: 26px 24px; border-radius: 26px; background: var(--surface); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(227, 90, 69, 0.14);
  color: var(--accent);
}

.feature h3 { margin: 18px 0 0; font-size: 19px; font-weight: 600; }
.feature p { margin: 6px 0 0; font-size: 16px; color: var(--secondary); }

.looks { grid-template-columns: repeat(3, 1fr); max-width: 880px; margin: 16px auto 0; }

.looks li { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 26px; }
.looks img { width: 100%; height: 100%; object-fit: cover; }

.looks span {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 20px 18px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
  font: 800 28px/1 "Big Shoulders Display", -apple-system, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plans { grid-template-columns: repeat(4, 1fr); }

.plan {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background: var(--surface);
}

.plan h3 { margin: 0; font: 800 48px/1 "Big Shoulders Display", -apple-system, sans-serif; letter-spacing: 0.01em; }

/* The paid plans read as their material, as in the app. */
.plan-silver h3, .plan-gold h3, .plan-platinum h3 {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-silver h3 { background-image: linear-gradient(135deg, #eeeeee, #9e9e9e); }
.plan-gold h3 { background-image: linear-gradient(135deg, #fcde8f, #d19e4d); }
.plan-platinum h3 { background-image: linear-gradient(135deg, #edfaff, #9ed1f2); }
.plan-gold { border-color: rgba(209, 158, 77, 0.45); }

.plan-for { margin: 8px 0 22px; font-size: 15px; color: var(--secondary); }

.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plan ul li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.plan ul svg { flex: none; color: var(--secondary); }

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

@media (max-width: 700px) {
  .section { padding: 56px 20px; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .looks { gap: 10px; }
  .looks li { border-radius: 18px; }
  .looks span { padding: 32px 12px 12px; font-size: 18px; }
}

.final {
  padding: 96px 24px 88px;
  text-align: center;
  background: radial-gradient(50% 60% at 50% 45%, rgba(227, 90, 69, 0.16), transparent 70%);
}

.final h2 { margin-bottom: 14px; }
.final .lead { margin: 0 auto 30px; max-width: 30em; color: var(--secondary); }
.final .button { display: inline-block; }

/* ── Footer ────────────────────────────────────────────────────────────────────────────────── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: var(--secondary);
}

.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-left: auto; }
.site-footer a:not(.brand) { color: var(--secondary); text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--label); }
.site-footer p { width: 100%; margin: 0; font-size: 13px; }

.language { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.language select {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  cursor: pointer;
}

/* ── Help & FAQ, Privacy, Terms ────────────────────────────────────────────────────────────── */

.legal-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; }

.legal-body h1 {
  margin: 0;
  font: 800 clamp(44px, 7vw, 64px)/1 "Big Shoulders Display", -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

.legal-body .lead, .legal-body .updated { margin: 14px 0 0; color: var(--secondary); }
.legal-body section h2 { margin: 40px 0 10px; font-size: 22px; font-weight: 600; }
.legal-body p, .legal-body li { color: rgba(243, 240, 232, 0.86); }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin: 8px 0; }
.legal-body a { color: var(--label); }

.faq { margin-top: 32px; display: grid; gap: 12px; }

.faq details { padding: 18px 22px; border-radius: 22px; background: var(--surface); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--secondary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--secondary); }
.faq-contact { margin-top: 32px; color: var(--secondary); }
