/* Pincela landing — bold editorial "studio" style (Bauhaus-inspired geometry,
   heavy display type, playful colour blocks). Light and dark themes share the
   bright accent colours; only the page/surface/text tokens flip. */

:root {
  /* Constant brand colours (theme-independent) */
  --char: #16201e;      /* charcoal: dark blocks, pills, text-on-bright */
  --lime: #c9f24d;
  --lilac: #e7b6ef;
  --teal: #163d37;
  --coral: #ff5b3a;
  --sky: #a9d3e0;

  /* Theme tokens (light) */
  --bg: #f4f1e8;
  --surface: #fffdf7;
  --text: #16201e;
  --muted: #4c554f;
  --line: #e3ddcf;

  --disp: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(22, 32, 30, 0.14);
  --shadow-sm: 0 6px 16px rgba(22, 32, 30, 0.10);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #101316;
  --surface: #1b1f24;
  --text: #eceae3;
  --muted: #9aa19c;
  --line: #2b3138;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.disp { font-family: var(--disp); text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.94; font-weight: 900; }

/* Buttons / pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--char); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--char);
  cursor: pointer; transition: transform 0.14s, background 0.14s, color 0.14s;
}
.pill:hover { transform: translateY(-1px); }
.pill.lime { background: var(--lime); color: var(--char); border-color: var(--lime); }
.pill.ghost { background: transparent; color: var(--text); border-color: var(--text); }
.pill.sm { padding: 9px 16px; font-size: 14px; }
.pill.lg { padding: 14px 26px; font-size: 16px; }
:root[data-theme="dark"] .pill { background: var(--lime); color: var(--char); border-color: var(--lime); }
:root[data-theme="dark"] .pill.ghost { background: transparent; color: var(--text); border-color: var(--text); }

/* Nav */
nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; text-transform: lowercase; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links > a:hover { color: var(--coral); }
.lang-sel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-family: var(--body); font-size: 13px; font-weight: 700; padding: 7px 9px; cursor: pointer; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: inline-flex; }

/* Hero */
.hero { padding: 70px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; background: var(--lilac); color: var(--char); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
h1 { font-family: var(--disp); text-transform: uppercase; font-weight: 900; letter-spacing: -0.025em; line-height: 0.92; font-size: clamp(44px, 6.2vw, 84px); margin: 0; }
h1 .hl { color: var(--coral); }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; margin: 26px 0 30px; line-height: 1.5; }
.cta-row { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }
.meta { margin-top: 18px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--char); color: #fff; border: 2px solid var(--char); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 10px; opacity: 0.78; }
.store-badge strong { font-size: 15px; font-weight: 700; }
:root[data-theme="dark"] .store-badge { background: var(--surface); border-color: var(--line); color: var(--text); }
.store-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Hero art: interactive slider framed with bold geometry behind it */
.hero-art { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-art .blob { position: absolute; z-index: 0; }
.blob.lime { width: 230px; height: 230px; background: var(--lime); border-radius: 50%; top: -10px; right: 8px; }
.blob.teal { width: 150px; height: 210px; background: var(--teal); border-radius: 80px; left: -14px; top: 90px; }
.blob.lilac { width: 170px; height: 130px; background: var(--lilac); border-radius: 90px 90px 90px 20px; right: 30px; bottom: 14px; }
.hero-art .dot { position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 900; font-size: 20px; box-shadow: var(--shadow-sm); }
.hero-art .d1 { background: var(--coral); color: #fff; left: 6px; bottom: 50px; }
.hero-art .d2 { background: var(--sky); color: var(--char); right: 0; top: 26px; }

/* Before/after comparison slider */
.cmp {
  --pos: 50%;
  position: relative; z-index: 2; width: 100%; aspect-ratio: 3 / 2;
  border-radius: 22px; overflow: hidden; cursor: ew-resize;
  background: var(--surface); border: 5px solid var(--surface); box-shadow: var(--shadow);
  touch-action: none; user-select: none;
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.cmp .cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp .cmp-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-1.5px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.cmp .cmp-knob { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); color: var(--char); }
.cmp .cmp-knob svg { width: 18px; height: 18px; }
.cmp-tag { position: absolute; bottom: 12px; font-weight: 700; font-size: 12px; background: rgba(255, 255, 255, 0.92); color: var(--char); padding: 5px 11px; border-radius: 999px; z-index: 3; }
.cmp-tag.a { left: 12px; }
.cmp-tag.b { right: 12px; background: var(--char); color: #fff; }

/* Marquee strip */
.strip { background: var(--char); color: var(--bg); overflow: hidden; padding: 15px 0; }
.strip-track { display: flex; white-space: nowrap; font-family: var(--disp); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: 0.02em; animation: slide 24s linear infinite; }
.strip-track span { padding: 0 26px; color: #fff; }
.strip-track .star { color: var(--lime); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* Sections */
section { padding: 86px 0; }
.sec-tag { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--coral); }
.sec-h { font-family: var(--disp); font-weight: 900; letter-spacing: -0.02em; line-height: 0.98; font-size: clamp(32px, 4.4vw, 56px); margin: 12px 0 0; max-width: 16em; text-transform: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.step { border-radius: 24px; padding: 30px 26px; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; color: var(--char); }
.step .n { font-family: var(--disp); font-weight: 900; font-size: 60px; line-height: 1; }
.step h3 { font-family: var(--disp); text-transform: uppercase; font-size: 23px; letter-spacing: -0.01em; margin: 0 0 8px; }
.step p { font-size: 15px; color: rgba(22, 32, 30, 0.8); margin: 0; }
.st1 { background: var(--lime); }
.st2 { background: var(--lilac); }
.st3 { background: var(--sky); }

/* Gallery (3 sliders) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }

/* DIY band */
.diy { background: var(--teal); color: #f4f1e8; border-radius: 30px; padding: 54px; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; margin-top: 46px; }
.diy h2 { font-family: var(--disp); text-transform: uppercase; font-weight: 900; font-size: clamp(28px, 3.6vw, 46px); line-height: 0.96; letter-spacing: -0.02em; margin: 14px 0 0; }
.diy .co { color: var(--lime); }
.diy .badge { display: inline-block; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); }
.diy p { margin: 18px 0 0; color: rgba(244, 241, 232, 0.82); max-width: 30em; }
.diy ul { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 16px; }
.diy li { display: flex; gap: 13px; align-items: flex-start; }
.diy li .num { background: var(--lime); color: var(--teal); width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 900; font-size: 14px; flex: none; }
.diy li strong { display: block; font-weight: 700; }
.diy li span > span { color: rgba(244, 241, 232, 0.72); font-size: 14.5px; }
.diy-visual { position: relative; background: #fffdf7; border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
.diy-visual img { width: 100%; border-radius: 10px; display: block; }
.diy-grid-overlay { position: absolute; inset: 12px; pointer-events: none; border-radius: 10px; background-image: linear-gradient(to right, rgba(22, 61, 55, 0.34) 1.5px, transparent 1.5px), linear-gradient(to bottom, rgba(22, 61, 55, 0.34) 1.5px, transparent 1.5px); background-size: 12.5% 20%; box-shadow: inset 0 0 0 2px rgba(22, 61, 55, 0.4); }
.diy-recipe { position: absolute; right: -14px; bottom: -18px; background: #fffdf7; color: var(--char); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 13px; display: flex; align-items: center; gap: 10px; }
.diy-recipe .rn { width: 28px; height: 28px; border-radius: 8px; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.diy-recipe .mix { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.diy-recipe .sw { width: 17px; height: 17px; border-radius: 5px; border: 1px solid rgba(0, 0, 0, 0.18); }
.diy-recipe .op { color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.feature .fic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; color: var(--char); }
.feature:nth-child(1) .fic { background: var(--lime); }
.feature:nth-child(2) .fic { background: var(--lilac); }
.feature:nth-child(3) .fic { background: var(--sky); }
.feature:nth-child(4) .fic { background: var(--coral); color: #fff; }
.feature:nth-child(5) .fic { background: var(--lime); }
.feature:nth-child(6) .fic { background: var(--lilac); }
.feature .fic svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--disp); text-transform: uppercase; font-size: 18px; letter-spacing: -0.01em; margin: 0 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 46px auto 0; }
.plan { border: 2px solid var(--text); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; background: var(--surface); }
.plan.pro { background: var(--char); color: #f4f1e8; border-color: var(--char); }
.plan h3 { font-family: var(--disp); text-transform: uppercase; font-size: 17px; letter-spacing: 0.02em; margin: 0; display: flex; align-items: center; gap: 10px; }
.rec { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: var(--lime); color: var(--char); padding: 3px 9px; border-radius: 999px; }
.amt { font-family: var(--disp); font-weight: 900; font-size: 46px; letter-spacing: -0.02em; margin: 10px 0 2px; }
.amt small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.plan.pro .amt small { color: rgba(244, 241, 232, 0.62); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); }
.plan.pro li { color: rgba(244, 241, 232, 0.86); }
.plan li svg { width: 19px; height: 19px; flex: none; color: var(--teal); margin-top: 1px; }
.plan.pro li svg { color: var(--lime); }
.plan li.limit { color: var(--muted); opacity: 0.8; }
.plan .pill { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; margin: 26px auto 0; color: var(--muted); font-size: 15px; }
.pricing-note strong { color: var(--text); }

/* FAQ */
.faq { max-width: 760px; margin: 46px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-weight: 700; font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Big CTA */
.bigcta { background: var(--char); border-radius: 34px; padding: 84px 40px; text-align: center; color: #f4f1e8; }
:root[data-theme="dark"] .bigcta { border: 1px solid var(--line); }
.bigcta h2 { font-family: var(--disp); text-transform: uppercase; font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: 0.94; letter-spacing: -0.02em; margin: 0; }
.bigcta .co { color: var(--lime); }
.bigcta p { margin: 20px auto 30px; max-width: 30em; color: rgba(244, 241, 232, 0.72); }
.bigcta .store-badges { justify-content: center; margin-top: 26px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot-in .brand { color: var(--text); }
.foot-in a { text-decoration: underline; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: -1; min-height: 360px; }
  .steps, .gallery, .features { grid-template-columns: 1fr; }
  .diy { grid-template-columns: 1fr; padding: 36px; }
  .diy-recipe { right: 14px; bottom: 14px; }
  .pricing { grid-template-columns: 1fr; }
  .nav-links > a:not(.pill) { display: none; }
}
