/* Landing: invitaciones de boda digitales
   Warm editorial system built on the Invitatis brand
   (terracotta #d28066 on peach/cream paper tones). */

.landing-tema {
  --ink: #362520;
  --ink-soft: #6d5a4f;
  --paper: #fdf7f2;
  --peach: #fee9dd;
  --terra: #d28066;
  --terra-deep: #b05a41;
  --hairline: #ecd9cc;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
}

/* ---------- shared type ---------- */
.landing-tema .eyebrow {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--terra-deep);
  font-weight: 600;
}
.landing-tema .display-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.landing-tema .section-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
}
.landing-tema .lead-copy {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: #5c4a41;
  max-width: 34rem;
}
.landing-tema .section-intro { color: #6f5b50; max-width: 38rem; }
.landing-tema .fineprint { font-size: .85rem; color: #8a7266; }
.landing-tema .link-quiet {
  color: var(--terra-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}
.landing-tema .link-quiet:hover { border-bottom-color: var(--terra-deep); }
.landing-tema a { color: var(--terra-deep); }
.landing-tema a:hover { color: #8f4630; }

/* ---------- buttons ---------- */
.landing-tema .btn-cta {
  background: var(--terra);
  border: none;
  color: #fff;
  padding-inline: 1.6rem;
  transition: transform .18s cubic-bezier(.22,1,.36,1), background .18s ease;
}
.landing-tema .btn-cta:hover { background: var(--terra-deep); color: #fff; transform: translateY(-2px); }

/* ---------- hero ---------- */
.landing-tema .hero-band { background: var(--peach); }
.landing-tema .hero-checks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  color: #4f3d34;
}
.landing-tema .hero-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: .8rem; height: .8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e9a288, var(--terra-deep));
}
.landing-tema .section-wave { line-height: 0; }
.landing-tema .section-wave svg { display: block; width: 100%; height: auto; }

/* invitation deck */
.landing-tema .invite-deck {
  position: relative;
  max-width: 400px;
  padding: 2.5rem 1rem 3.5rem;
}
.landing-tema .invite-card {
  border-radius: 6px;
  background: #fffdfb;
  box-shadow: 0 18px 45px rgba(120, 66, 45, .18);
}
.landing-tema .invite-card-back-1,
.landing-tema .invite-card-back-2 {
  position: absolute;
  inset: 2.5rem 1rem 3.5rem;
}
.landing-tema .invite-card-back-1 { transform: rotate(4.5deg) translateX(10px); background: #f7e3d6; }
.landing-tema .invite-card-back-2 { transform: rotate(-5deg) translateX(-12px); background: #f2d4c3; }
.landing-tema .invite-card-front {
  position: relative;
  transform: rotate(-1.2deg);
  padding: clamp(1.8rem, 1.2rem + 2vw, 2.8rem) clamp(1.2rem, .8rem + 1.5vw, 2rem);
  text-align: center;
  border: 1px solid #f0ded2;
}
.landing-tema .invite-rule {
  display: block;
  width: 54px; height: 1px;
  margin: 0 auto;
  background: var(--terra);
  opacity: .55;
}
.landing-tema .invite-kicker {
  margin: 1.1rem 0 .4rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--terra-deep);
}
.landing-tema .invite-names {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: .6rem;
  color: #40291f;
}
.landing-tema .invite-names em { font-style: italic; color: var(--terra); }
.landing-tema .invite-date { font-size: .95rem; color: #5c4a41; margin-bottom: .15rem; }
.landing-tema .invite-place { font-size: .9rem; color: #8a7266; margin-bottom: 1.2rem; }
.landing-tema .invite-btn {
  display: inline-block;
  background: var(--terra);
  color: #fff;
  font-size: .85rem;
  padding: .45rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}
.landing-tema .share-chip {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%) rotate(1.5deg);
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fffdfb;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .45rem .95rem;
  font-size: .82rem;
  color: #5c4a41;
  white-space: nowrap;
}
.landing-tema .share-dot {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: #4caf7d;
  box-shadow: 0 0 0 4px rgba(76, 175, 125, .18);
}

/* ---------- direct answer ---------- */
.landing-tema .answer-band { padding: clamp(3.5rem, 3rem + 2vw, 5.5rem) 0 1.5rem; }
.landing-tema .answer-copy {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  line-height: 1.7;
  color: #43332b;
  border-left: 3px solid var(--terra);
  padding-left: 1.25rem;
}
.landing-tema .answer-copy.muted { color: #8a7266; border-left-color: var(--hairline); font-size: 1rem; }

/* ---------- steps ---------- */
.landing-tema .steps-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; }
.landing-tema .step-row { padding: 1.9rem 0; }
.landing-tema .step-row + .step-row { border-top: 1px solid var(--hairline); }
.landing-tema .step-num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 2rem + 2vw, 4rem);
  line-height: 1;
  color: var(--terra);
  opacity: .85;
}
.landing-tema .step-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: .4rem;
}
.landing-tema .step-copy { color: #5c4a41; max-width: 36rem; }

/* ---------- comparison ---------- */
.landing-tema .compare-band {
  background: #fbf0e8;
  padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0;
}
.landing-tema .compare-table { --bs-table-bg: transparent; border-color: var(--hairline); }
.landing-tema .compare-table thead th {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  border-bottom: 2px solid var(--terra);
  color: var(--ink);
  padding-bottom: .7rem;
}
.landing-tema .compare-table tbody th {
  font-weight: 600;
  color: #6f5b50;
  font-size: .92rem;
  width: 12rem;
}
.landing-tema .compare-table td { color: #43332b; }
.landing-tema .compare-table td:first-of-type { background: rgba(210, 128, 102, .07); }
.landing-tema .section-note { color: #8a7266; font-size: .95rem; margin-top: 1rem; }

/* ---------- features ---------- */
.landing-tema .features-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; }
.landing-tema .sticky-heading { position: sticky; top: 2rem; }
.landing-tema .feature-list dt {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
}
.landing-tema .feature-list dd {
  color: #5c4a41;
  margin: .35rem 0 0;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1.4rem;
  max-width: 34rem;
}
.landing-tema .feature-list dd:last-child { border-bottom: none; margin-bottom: 0; }

/* ---------- quote ---------- */
.landing-tema .quote-band { background: var(--peach); padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; }
.landing-tema .pull-quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.4;
  color: #40291f;
}
.landing-tema .quote-footer { color: var(--terra-deep); font-size: .95rem; margin-top: 1rem; }
.landing-tema .quote-context { color: #8a7266; font-size: .9rem; margin-top: 1.5rem; }

/* ---------- faq ---------- */
.landing-tema .faq-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; }
.landing-tema .faq-accordion .accordion-item { background: transparent; border-color: var(--hairline); }
.landing-tema .faq-accordion .accordion-button {
  background: transparent;
  font-weight: 600;
  color: var(--ink);
  padding-left: 0;
  box-shadow: none;
}
.landing-tema .faq-accordion .accordion-button:not(.collapsed) { color: var(--terra-deep); }
.landing-tema .faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(210, 128, 102, .25); }
.landing-tema .faq-accordion .accordion-body { color: #5c4a41; padding-left: 0; }

/* ---------- final cta ---------- */
.landing-tema .cta-band {
  background: linear-gradient(160deg, var(--terra) 0%, var(--terra-deep) 100%);
  color: #fff7f1;
  padding: clamp(3.5rem, 3rem + 2vw, 5.5rem) 0;
}
.landing-tema .cta-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem);
}
.landing-tema .cta-copy { color: #ffe4d6; }
.landing-tema .fineprint-light { font-size: .85rem; color: #f6cdba; }
.landing-tema .cta-band .btn-light { color: var(--terra-deep); font-weight: 600; }

/* ---------- mid CTA ---------- */
.landing-tema .midcta { margin-top: 2.25rem; }

/* ---------- motion ----------
   Hero: the invitation deck fans out, the card content inks in line by
   line and the share chip pops last (its counter runs from motion.js).
   Keyframes declare only a `from` frame so every element animates back
   to its natural styles. */
@media (prefers-reduced-motion: no-preference) {
  .landing-tema .invite-card-front { animation: invite-settle .9s cubic-bezier(.22,1,.36,1) both; }
  @keyframes invite-settle {
    from { opacity: 0; transform: rotate(-1.2deg) translateY(14px); }
  }
  .landing-tema .invite-card-back-1 { animation: fan-right .8s cubic-bezier(.22,1,.36,1) .45s both; }
  .landing-tema .invite-card-back-2 { animation: fan-left .8s cubic-bezier(.22,1,.36,1) .58s both; }
  @keyframes fan-right { from { opacity: 0; transform: rotate(0deg) translateX(0); } }
  @keyframes fan-left { from { opacity: 0; transform: rotate(0deg) translateX(0); } }

  /* card content inks in, top to bottom */
  .landing-tema .invite-card-front > * { animation: line-ink .55s cubic-bezier(.22,1,.36,1) both; }
  @keyframes line-ink { from { opacity: 0; transform: translateY(8px); } }
  .landing-tema .invite-card-front > :nth-child(1) { animation-delay: .5s; }
  .landing-tema .invite-card-front > :nth-child(2) { animation-delay: .62s; }
  .landing-tema .invite-card-front > :nth-child(3) { animation-delay: .74s; }
  .landing-tema .invite-card-front > :nth-child(4) { animation-delay: .86s; }
  .landing-tema .invite-card-front > :nth-child(5) { animation-delay: .98s; }
  .landing-tema .invite-card-front > :nth-child(6) { animation-delay: 1.1s; }
  .landing-tema .invite-card-front > :nth-child(7) { animation-delay: 1.22s; }
  /* the two hairline rules draw outward instead of sliding */
  .landing-tema .invite-card-front > .invite-rule { animation-name: rule-draw; }
  @keyframes rule-draw { from { opacity: 0; transform: scaleX(0); } }

  .landing-tema .share-chip { animation: chip-pop .55s cubic-bezier(.3,1.35,.5,1) 1.45s both; }
  @keyframes chip-pop {
    from { opacity: 0; transform: translateX(-50%) rotate(1.5deg) translateY(10px) scale(.9); }
  }

  /* hero copy: gentle rise on load */
  .landing-tema .hero-band .eyebrow,
  .landing-tema .hero-band .display-heading,
  .landing-tema .hero-band .lead-copy,
  .landing-tema .hero-band .hero-checks,
  .landing-tema .hero-band .d-flex,
  .landing-tema .hero-band .fineprint { animation: hero-rise .7s cubic-bezier(.22,1,.36,1) both; }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } }
  .landing-tema .hero-band .display-heading { animation-delay: .08s; }
  .landing-tema .hero-band .lead-copy { animation-delay: .16s; }
  .landing-tema .hero-band .hero-checks { animation-delay: .24s; }
  .landing-tema .hero-band .d-flex { animation-delay: .32s; }
  .landing-tema .hero-band .fineprint { animation-delay: .4s; }
}

/* scroll reveals (elements tagged .r by motion.js; .motion set only
   when JS runs and reduced motion is off) */
.landing-tema.motion .r,
.motion .landing-tema .r {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1) var(--rd, 0s),
              transform .7s cubic-bezier(.16,1,.3,1) var(--rd, 0s);
}
.landing-tema.motion .r.in,
.motion .landing-tema .r.in { opacity: 1; transform: none; }

/* section-heading rule draws in as the heading reveals */
.landing-tema .section-heading.r::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-top: .65rem;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s cubic-bezier(.16,1,.3,1) calc(var(--rd, 0s) + .25s);
}
.landing-tema .section-heading.r.in::after { transform: scaleX(1); }

/* counters render with tabular digits so widths don't jitter */
.landing-tema .quote-context,
.landing-tema .share-text { font-variant-numeric: tabular-nums; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .landing-tema .invite-deck { max-width: 340px; }
  .landing-tema .sticky-heading { position: static; }
}
@media (max-width: 575.98px) {
  .landing-tema .share-chip { font-size: .75rem; }
  .landing-tema .compare-table tbody th { width: auto; }
}

/* mobile: cap the g-5 gutter so row negative margins never exceed the
   container padding (prevents 12px horizontal scroll on small screens) */
@media (max-width: 575.98px) {
  .landing-tema .row { --bs-gutter-x: 1.5rem; }
}

/* ============================================================
   accent layer — romantic editorial
   Blush washes, a ghost ampersand, stationery medallions and a
   deep wine quote band so the page reads romantic, not beige.
   ============================================================ */
.landing-tema {
  --wine: #7a3648;
  --wine-deep: #5d2735;
  --blush: #f7dccd;
}

/* hero: layered blush wash instead of flat peach */
.landing-tema .hero-band {
  background:
    radial-gradient(38rem 26rem at 86% 10%, rgba(210, 128, 102, .18), transparent 62%),
    radial-gradient(30rem 22rem at 6% 90%, rgba(255, 255, 255, .6), transparent 60%),
    linear-gradient(165deg, #fee9dd 0%, #fad5c2 100%);
}
.landing-tema .hero-band .eyebrow::before {
  content: "\2665";           /* small heart, wedding-stationery wink */
  color: var(--terra);
  margin-right: .45rem;
  font-size: .9em;
}
/* ghost ampersand behind the invitation deck */
.landing-tema .invite-deck::before {
  content: "&";
  position: absolute;
  z-index: 0;
  top: -2.5rem;
  right: -2rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(9rem, 7rem + 9vw, 15rem);
  line-height: 1;
  color: rgba(176, 90, 65, .14);
  pointer-events: none;
}

/* step numbers become stationery medallions with a dashed ring */
.landing-tema .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.4rem, 3rem + 1.4vw, 4.4rem);
  height: clamp(3.4rem, 3rem + 1.4vw, 4.4rem);
  border-radius: 50%;
  background: var(--blush);
  color: var(--terra-deep);
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  opacity: 1;
  outline: 1px dashed var(--terra);
  outline-offset: 5px;
}

/* comparison: crown the digital column */
.landing-tema .compare-table thead th:nth-child(2) { color: var(--terra-deep); }
.landing-tema .compare-table td:first-of-type {
  background: rgba(210, 128, 102, .12);
  border-left: 3px solid var(--terra);
  font-weight: 600;
}

/* quote band: the page's dark romantic moment */
.landing-tema .quote-band {
  background: linear-gradient(150deg, var(--wine) 0%, var(--wine-deep) 100%);
}
.landing-tema .pull-quote { position: relative; }
.landing-tema .pull-quote::before {
  content: "\201C";
  position: absolute;
  top: -4.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 8rem;
  line-height: 1;
  color: rgba(232, 165, 140, .35);
  pointer-events: none;
}
.landing-tema .quote-band .pull-quote p { color: #fbe3d3; }
.landing-tema .quote-band .quote-footer { color: #e8a58c; }
.landing-tema .quote-band .quote-context { color: rgba(251, 227, 211, .8); }

/* final CTA: decorative rings + deeper button */
.landing-tema .cta-band { position: relative; overflow: hidden; }
.landing-tema .cta-band::before,
.landing-tema .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.landing-tema .cta-band::before {
  width: 24rem; height: 24rem;
  top: -9rem; right: -7rem;
  border: 1px solid rgba(255, 247, 241, .3);
}
.landing-tema .cta-band::after {
  width: 17rem; height: 17rem;
  bottom: -8rem; left: -6rem;
  border: 1px dashed rgba(255, 247, 241, .28);
}
.landing-tema .cta-band .container { position: relative; }
.landing-tema .btn-cta { box-shadow: 0 12px 26px rgba(176, 90, 65, .32); }

@media (max-width: 575.98px) {
  .landing-tema .invite-deck::before { right: -.5rem; top: -1.5rem; }
  .landing-tema .pull-quote::before { top: -3.5rem; font-size: 5.5rem; }
}


/* brand bar: logo mark at the top of the hero (11-elements: brand identity) */
.landing-tema .brand-bar { padding-top: .35rem; }
.landing-tema .brand-mark { display: inline-block; }
.landing-tema .brand-mark img { height: 30px; width: auto; display: block; }


/* hero social proof (11-elements: proof in the hero) */
.landing-tema .hero-proof { display: flex; align-items: center; gap: .9rem; }
.landing-tema .avatar-stack { display: inline-flex; }
.landing-tema .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #f2d4c3; color: #6f4a38;
  font-weight: 600; font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fffdfb;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .08);
}
.landing-tema .avatar + .avatar { margin-left: -12px; }
.landing-tema .hero-proof-text { font-size: .88rem; color: #6f5b50; max-width: 24rem; }
@media (prefers-reduced-motion: no-preference) {
  .landing-tema .hero-band .hero-proof { animation: hero-rise .65s cubic-bezier(.22,1,.36,1) .48s both; }
}

/* real example band */
.landing-tema .example-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; }
.landing-tema .example-band img { border-radius: 1.25rem; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.landing-tema .example-band a:hover img { transform: translateY(-4px); }


/* ============ lighter reading: spec-sheet feature list ============
   On desktop the dt/dd stack becomes aligned label|description rows —
   half the height, twice the scannability. */
@media (min-width: 992px) {
  .landing-tema .feature-list {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 0 2.5rem;
    align-items: start;
  }
  .landing-tema .feature-list dt {
    padding: 1.15rem 0;
    border-top: 1px solid var(--hairline);
  }
  .landing-tema .feature-list dd {
    margin: 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--hairline);
    border-bottom: none;
    max-width: none;
  }
  .landing-tema .feature-list dt:first-of-type,
  .landing-tema .feature-list dt:first-of-type + dd { border-top: none; }
}


/* ============ colored bands become inset rounded panels ============
   Mid-page color sections float on the paper background instead of
   running edge to edge — lighter, more designed. */
.landing-tema .compare-band,
.landing-tema .quote-band {
  width: min(100% - clamp(1.5rem, 5vw, 5rem), 1360px);
  margin-inline: auto;
  border-radius: clamp(1.25rem, 2vw, 2.5rem);
  overflow: hidden;
}

/* ============ mobile comparison: table becomes stacked cards ============
   Below md the 3-column table is cramped; each row becomes a card with
   the aspect as title and chip-labeled digital/paper answers. */
@media (max-width: 767.98px) {
  .landing-tema .compare-table thead { display: none; }
  .landing-tema .compare-table,
  .landing-tema .compare-table tbody,
  .landing-tema .compare-table tr,
  .landing-tema .compare-table th,
  .landing-tema .compare-table td {
    display: block;
    width: 100%;
    border: 0;
  }
  .landing-tema .compare-table tbody tr {
    background: #fffdfb;
    border: 1px solid var(--hairline);
    border-radius: 1rem;
    padding: 1rem 1.1rem .85rem;
    margin-bottom: .9rem;
  }
  .landing-tema .compare-table tbody th {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.08rem;
    color: var(--ink);
    padding: 0 0 .55rem;
  }
  .landing-tema .compare-table td {
    padding: .3rem 0;
    background: transparent !important;
    border-left: none !important;
    font-weight: 400 !important;
  }
  .landing-tema .compare-table td::before {
    content: attr(data-label);
    display: inline-block;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .18rem .6rem;
    margin-right: .55rem;
    vertical-align: .08em;
  }
  .landing-tema .compare-table td:first-of-type::before {
    background: rgba(210, 128, 102, .16);
    color: var(--terra-deep);
  }
  .landing-tema .compare-table td:last-of-type::before {
    background: #efe7df;
    color: #6f5b50;
  }
}


/* brand-promise manifesto (replaces the old quote) */
.landing-tema .manifesto {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.35;
  color: #fbe3d3;
  margin-bottom: 1rem;
}
.landing-tema .manifesto::before {
  content: "\2665";
  display: block;
  font-style: normal;
  font-size: 1.6rem;
  color: rgba(232, 165, 140, .55);
  margin-bottom: 1.25rem;
}
.landing-tema .manifesto em { color: #e8a58c; }
.landing-tema .manifesto-sub { color: rgba(251, 227, 211, .85); margin: 0; }

/* --- Themes showcase --- */
.landing-tema .themes-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; background: #fdf7f2; }
.landing-tema .theme-row { padding: 2.5rem 0 5rem; }
.landing-tema .theme-row + .theme-row { border-top: 1px solid var(--hairline); }
.landing-tema .theme-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem);
  color: var(--ink);
  margin-bottom: .25rem;
}
.landing-tema .theme-tagline { color: var(--terra-deep); font-weight: 600; margin-bottom: 1rem; }
.landing-tema .theme-copy { color: #43332b; max-width: 36rem; }
.landing-tema .theme-forwho { color: #8a7266; font-style: italic; max-width: 36rem; }
.landing-tema .btn-outline-cta {
  border: 1.5px solid var(--terra-deep);
  color: var(--terra-deep);
  padding: .55rem 1.4rem;
  font-weight: 600;
  transition: all .2s ease;
}
.landing-tema .btn-outline-cta:hover { background: var(--terra-deep); color: #fff; }

/* --- Device frame (phone bezel around the demo screenshots) --- */
.landing-tema .device-frame {
  position: relative;
  max-width: 300px;
  border-radius: 2.6rem;
  background: #1b1b1f;
  padding: .55rem;
  box-shadow: 0 22px 44px rgba(27, 27, 31, .25);
}
.landing-tema .device-frame::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: .42rem;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}
.landing-tema .device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 2.1rem;
  aspect-ratio: 1 / 2;
  background: #fff;
}
.landing-tema .device-screen img {
  display: block;
  width: 100%;
  height: auto;
}
/* Static crops: different moments of the same tall screenshot */
.landing-tema .device-screen.crop-2 img { transform: translateY(-19%); }
.landing-tema .device-screen.crop-3 img { transform: translateY(-38%); }

.landing-tema .frame-caption {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.landing-tema .frame-caption strong { color: var(--ink); }
.landing-tema .frame-caption span { color: #8a7266; font-size: .92rem; }

.landing-tema .gallery-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; background: #fdf7f2; }
.landing-tema .included-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; }

/* --- Palette swatches --- */
.landing-tema .swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 1.4rem;
  color: #5c4a41;
  font-size: .95rem;
}
.landing-tema .swatch-list li { display: flex; align-items: center; gap: .5rem; }
.landing-tema .swatch-dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  display: inline-block;
}

/* --- Other themes teaser cards --- */
.landing-tema .others-band { padding: clamp(3.5rem, 3rem + 2vw, 6rem) 0; background: #fdf7f2; }
.landing-tema .other-theme-card {
  text-decoration: none;
  text-align: center;
}
.landing-tema .other-theme-card .theme-scroll-preview {
  max-width: 220px;
  margin: 0 auto;
  transition: transform .25s ease;
}
.landing-tema .other-theme-card:hover .theme-scroll-preview { transform: translateY(-4px); }
.landing-tema .other-theme-name {
  display: block;
  margin-top: 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
}
.landing-tema .other-theme-copy {
  display: block;
  margin-top: .2rem;
  color: #8a7266;
  font-size: .92rem;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

/* This theme's demo runs longer before the ceremony block: crop deeper */
.landing-tema .device-screen.crop-3 img { transform: translateY(-55%); }
