/* Noelia — Christmas Gifts · site styles
   Same language as the app: deep wine night, gold foil, ivory type, soft bokeh. */

:root {
  --wine-night: #17040B;
  --wine-deep: #420516;
  --wine-glow: #95003B;
  --ember: #9D0B28;
  --gold: #FFC15D;
  --gold-bright: #FFD200;
  --gold-deep: #F7971E;
  --berry: #FF2D55;
  --pine: #30D158;
  --frost: #64D2FF;
  --plum: #BF5AF2;
  --ivory: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --card: rgba(0, 0, 0, 0.32);
  --card-stroke: rgba(255, 193, 93, 0.22);
  --rule: rgba(131, 142, 131, 0.30);
  --foil: linear-gradient(135deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  --radius: 22px;
  --page: 1080px;
  --text: 1060px;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--system);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivory);
  background-color: var(--wine-night);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 193, 93, 0.10) 0, transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(48, 209, 88, 0.07) 0, transparent 20%),
    radial-gradient(circle at 70% 40%, rgba(255, 45, 85, 0.08) 0, transparent 24%),
    radial-gradient(circle at 20% 70%, rgba(100, 210, 255, 0.05) 0, transparent 22%),
    linear-gradient(180deg, var(--wine-deep) 0%, #2a0310 38%, var(--wine-night) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

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

.wrap { width: min(var(--page), 100% - 40px); margin-inline: auto; }

/* ───── Header ───── */

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(23, 4, 11, 0.72);
  border-bottom: 0.5px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img.icon { width: 34px; height: 34px; }
.brand img.word { height: 38px; width: auto; }
.nav { display: flex; gap: 22px; font-family: var(--rounded); font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); text-decoration: none; }

/* ───── Buttons ───── */

.button {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--rounded); font-size: 17px; font-weight: 600;
  color: #2A0610; background: var(--foil);
  box-shadow: inset 0 0 0 0.8px rgba(255, 255, 255, 0.35);
}
.button:hover { text-decoration: none; filter: brightness(1.05); }
.button svg { width: 20px; height: 20px; }
.button.quiet { background: rgba(255, 255, 255, 0.07); color: var(--ivory); box-shadow: inset 0 0 0 0.8px var(--rule); }

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

.hero { text-align: center; padding: 72px 0 24px; }
.hero .logo { width: min(520px, 86%); margin: 0 auto 18px; }
.hero h1 {
  font-family: var(--rounded); font-weight: 700;
  font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.01em;
  margin: 0 auto 14px; max-width: 760px;
}
.hero p.lead { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 620px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--faint); }
.showcase { margin: 46px auto 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border: 0.5px solid var(--card-stroke); }

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

section { padding: 64px 0; }
.eyebrow {
  font-family: var(--rounded); font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 10px;
}
h2 { font-family: var(--rounded); font-weight: 700; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 14px; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 0 34px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 0.5px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 22px;
}
.card .badge {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 14px; font-size: 19px;
}
.card h3 { font-family: var(--rounded); font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.tint-gold { background: rgba(255, 193, 93, 0.14); }
.tint-berry { background: rgba(255, 45, 85, 0.14); }
.tint-pine { background: rgba(48, 209, 88, 0.14); }
.tint-frost { background: rgba(100, 210, 255, 0.14); }
.tint-plum { background: rgba(191, 90, 242, 0.16); }

/* Split: family circles */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps .n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--rounded); font-weight: 700; color: #2A0610; background: var(--foil);
}
.steps strong { font-family: var(--rounded); font-weight: 600; display: block; }
.steps span { color: var(--muted); font-size: 15.5px; }
.ornament { width: min(360px, 80%); margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }

/* Pricing */
.price {
  text-align: center; padding: 40px 24px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 193, 93, 0.10), rgba(0, 0, 0, 0.30));
  border: 0.5px solid var(--card-stroke);
}
.price .amount { font-family: var(--rounded); font-size: clamp(40px, 6vw, 56px); font-weight: 700; margin: 6px 0; }
.price .amount small { font-size: 0.4em; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 18px auto 26px; max-width: 460px; text-align: left; display: grid; gap: 8px; }
.price li { padding-left: 28px; position: relative; color: var(--muted); }
.price li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.fineprint { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* ───── Document pages (privacy, terms, support) ───── */

.doc { width: min(780px, 100% - 40px); margin: 0 auto; padding: 56px 0 72px; }
.doc header.page { margin-bottom: 30px; }
.doc h1 { font-family: var(--rounded); font-weight: 700; font-size: clamp(32px, 5vw, 42px); line-height: 1.1; margin: 0 0 10px; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0; }
.doc .summary {
  background: var(--card); border: 0.5px solid var(--card-stroke); border-radius: var(--radius);
  padding: 20px 22px; margin: 26px 0 8px;
}
.doc .summary p { margin: 0; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; padding-top: 6px; }
.doc h3 { font-family: var(--rounded); font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
.doc p, .doc li { color: rgba(255, 255, 255, 0.82); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ivory); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.toc a {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-family: var(--rounded); font-size: 14px; font-weight: 600;
  color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 0.5px solid var(--rule);
}
.toc a:hover { color: var(--ivory); text-decoration: none; }

/* FAQ */
.faq-group { margin-top: 34px; }
details {
  background: var(--card); border: 0.5px solid var(--card-stroke); border-radius: 18px;
  padding: 0 20px; margin: 10px 0;
}
summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-family: var(--rounded); font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 18px; }
details > div p { margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }

.contact-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(255, 193, 93, 0.10), rgba(0, 0, 0, 0.30));
  border: 0.5px solid var(--card-stroke); border-radius: 24px; padding: 22px;
}
.contact-card img { width: 64px; height: 64px; }
.contact-card .text { flex: 1 1 220px; }
.contact-card .text strong { font-family: var(--rounded); font-size: 18px; display: block; }
.contact-card .text span { color: var(--muted); font-size: 15px; }

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

.site-footer { border-top: 0.5px solid var(--rule); padding: 30px 0 40px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .brand img.word { height: 32px; }
  .brand img.icon { display: none; }
  .hero { padding-top: 44px; }
  section { padding: 48px 0; }
}

/* Document pages: lists and sections keep their own rhythm */
.doc .toc { padding: 0; }
.doc section { padding: 0; }

/* ───── v2 · real screens, Instagram, language ───── */

.nav { align-items: center; }
.nav .lang {
  font-size: 12px; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px;
  border: 0.5px solid var(--rule); color: var(--muted);
}
.ig-link { display: inline-flex; }
.ig-link svg, .ig-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-link svg .dot, .ig-badge svg .dot { fill: currentColor; stroke: none; }

/* Hero image: on phones crop to the iPhone instead of shrinking the whole scene */
@media (max-width: 600px) {
  .showcase { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 52% 50%; margin-top: 34px; }
}

/* Phone frame around real screenshots */
.stage { margin: 0; display: grid; place-items: center; position: relative; }
.phone {
  width: min(290px, 70vw); padding: 7px; border-radius: 44px;
  background: linear-gradient(160deg, #6b4a1f, #1a0d06 40%, #3a2510);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 0.8px rgba(255, 210, 140, 0.45);
}
.phone img { width: 100%; border-radius: 37px; }

.stage.duo { min-height: 660px; }
.stage.duo .phone { position: absolute; }
.stage.duo .back { transform: translateX(-26%) rotate(-6deg) scale(0.9); filter: brightness(0.72); }
.stage.duo .front { transform: translateX(22%) rotate(3deg); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; margin: 0 0 72px; }
.feature.flip .stage { order: 2; }
.feature .copy h3 { font-family: var(--rounded); font-size: clamp(24px, 3vw, 30px); font-weight: 700; line-height: 1.15; margin: 12px 0 10px; }
.feature .copy p { color: var(--muted); font-size: 18px; max-width: 460px; margin: 0; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-family: var(--rounded); font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
}
.tag.tint-pine { color: var(--pine); }
.tag.tint-berry { color: var(--berry); }
.tag.tint-frost { color: var(--frost); }

.grid.three { grid-template-columns: repeat(3, 1fr); }
.card .badge svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 26px; margin-bottom: 60px; }
  .feature.flip .stage { order: 0; }
  .feature .copy { text-align: center; }
  .feature .copy p { margin-inline: auto; }
  .grid.three { grid-template-columns: 1fr; }
  .stage.duo { min-height: 0; height: min(600px, 132vw); }
  .stage.duo .phone { width: min(250px, 56vw); }
  .split .stage.duo { margin-top: 20px; }
}

/* Instagram band */
.follow { padding-top: 0; }
.follow-card {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 24px;
  background: rgba(0, 0, 0, 0.3); border: 0.5px solid var(--card-stroke); color: var(--ivory);
}
.follow-card:hover { text-decoration: none; border-color: rgba(255, 193, 93, 0.5); }
.ig-badge {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(45deg, #F7971E, #FF2D55 50%, #BF5AF2);
}
.ig-badge svg { width: 26px; height: 26px; }
.follow-card .text { flex: 1; }
.follow-card strong { font-family: var(--rounded); font-size: 18px; display: block; }
.follow-card .text span { color: var(--muted); font-size: 15px; }
.follow-card .go { color: var(--gold); font-size: 22px; }
