/* Life in Color — shared styles.
   Fonts: Ivy Presto Headline (display), Inter (body) — matching the original funnel. */

@font-face {
  font-family: "Ivy Presto Headline";
  src: url("/fonts/ivy-presto-headline.otf") format("opentype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #2b2b2b;
  --ink-soft: #55524c;
  --cream: #faf7f2;
  --paper: #ffffff;
  --accent: #a5941c;        /* timer-bar gold from the original */
  --accent-dark: #857712;
  --cta: #e0533d;           /* warm coral CTA */
  --cta-dark: #c74430;
  --ok: #3e7d4e;
  --line: #e7e1d6;
  --max: 1080px;
  --narrow: 760px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Ivy Presto Headline", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.7rem); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }

.section { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; }
.section.alt { background: var(--paper); }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap.narrow { max-width: var(--narrow); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}
.sub { color: var(--ink-soft); }
.mt1 { margin-top: 1rem; } .mt2 { margin-top: 2rem; } .mb1 { margin-bottom: 1rem; } .mb2 { margin-bottom: 2rem; }

/* checklists */
.checks { list-style: none; margin: 1.5rem 0; }
.checks li {
  padding-left: 2.1rem;
  position: relative;
  margin-bottom: .85rem;
}
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: var(--ok); color: #fff;
  font-size: .85rem; line-height: 1.4rem; text-align: center;
  font-weight: 700;
}

/* CTA */
.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.1rem 2.6rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px rgba(224, 83, 61, .35);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--cta-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-sub { display: block; margin-top: .6rem; font-size: .95rem; color: var(--ink-soft); }
.btn-fine { display: block; margin-top: .8rem; font-size: .8rem; color: var(--ink-soft); font-style: italic; }

/* cards & price stacks */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 6px 24px rgba(43, 43, 43, .06);
}
.price-strike { text-decoration: line-through; color: var(--ink-soft); font-size: 1.4rem; }
.price-now { font-family: "Ivy Presto Headline", Georgia, serif; font-size: 3rem; font-weight: 700; color: var(--cta); }
.stack-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.stack-row .val { white-space: nowrap; font-weight: 700; }
.stack-row .val .free { color: var(--ok); margin-left: .4rem; }

/* module / bonus blocks */
.module { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: center; margin-top: 3.5rem; }
.module:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.module img { border-radius: 14px; }
@media (max-width: 720px) {
  .module, .module:nth-child(even) { grid-template-columns: 1fr; gap: 1.25rem; }
}
.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: .8rem;
}

/* art gallery strip */
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.art-grid img { border-radius: 12px; aspect-ratio: 4/5; object-fit: cover; }

/* FAQ */
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: .8rem;
}
details summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
}
details p { margin-top: .8rem; color: var(--ink-soft); }

/* guarantee */
.guarantee { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; }
@media (max-width: 640px) { .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* footer */
footer {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
footer .meta-disclaimer { max-width: 720px; margin: 1rem auto 0; font-size: .78rem; }

/* ---- LTB countdown bar (original look: gold bar, hideable) ---- */
#lc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  display: none; align-items: center; justify-content: center; gap: 1.2rem;
  flex-wrap: wrap;
  background: var(--accent); color: #fff;
  padding: .65rem 3.4rem .65rem 1rem;
  font-size: .95rem; font-weight: 600;
}
#lc-bar .seg { text-align: center; min-width: 3.2rem; }
#lc-bar .num { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; display: block; line-height: 1.1; }
#lc-bar .lab { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
#lc-hide {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); color: #fff; border: none;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  padding: .35rem .6rem; border-radius: 6px; cursor: pointer;
}
#lc-showtab {
  position: fixed; right: 1rem; bottom: 0; z-index: 999;
  display: none;
  background: var(--accent); color: #fff; border: none;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  padding: .45rem .8rem; border-radius: 8px 8px 0 0; cursor: pointer;
}

/* ---- checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { order: -1; } }
.trust-strip {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  padding: 1rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.field input {
  width: 100%; padding: .8rem 1rem; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-family: inherit;
}
.field input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.bump {
  border: 2px dashed var(--cta);
  background: #fff8f0;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  cursor: pointer;
  display: flex; gap: .9rem; align-items: flex-start;
}
.bump input[type="checkbox"] { margin-top: .3rem; width: 1.2rem; height: 1.2rem; accent-color: var(--cta); flex-shrink: 0; }
.bump .bump-title { font-weight: 800; }
.bump .bump-title .arrow { color: var(--cta); }
.bump p { font-size: .9rem; color: var(--ink-soft); margin-top: .3rem; }
#payment-element { margin: 1.4rem 0; }
.pay-error { color: #b3261e; font-size: .92rem; margin-top: .8rem; min-height: 1.2em; }
.secure-note { text-align: center; font-size: .8rem; color: var(--ink-soft); margin-top: .8rem; }
.order-summary .stack-row:last-of-type { border-bottom: none; }
.order-summary .total-row { font-size: 1.15rem; font-weight: 800; border-top: 2px solid var(--ink); }

/* spinner */
.spin {
  display: inline-block; width: 1em; height: 1em;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }
