/* SAMECOM landing pages. */

.samecom-landing { overflow-x: clip; }
.samecom-lp-section { padding: clamp(40px, 7vw, 88px) 0; scroll-margin-top: 90px; /* clear the theme's fixed header */ }
.samecom-lp-bg-light { background: var(--samecom-surface); }
.samecom-lp-bg-muted { background: var(--samecom-soft); }
.samecom-lp-bg-dark { background: #111827; color: #f9fafb; }
.samecom-lp-bg-primary { background: var(--samecom-primary); color: #fff; }
.samecom-lp-bg-dark .samecom-price, .samecom-lp-bg-primary .samecom-price { color: inherit; }
/* The theme colours p/body directly (#222); on dark and brand backgrounds text must follow the section.
   Specificity (0,1,0): beats the theme's element rule, loses to SAMECOM card rules (their own colours). */
.samecom-lp-bg-dark :where(p, li, span, small, blockquote, figcaption, dt, dd, label, legend, h1, h2, h3, h4),
.samecom-lp-bg-primary :where(p, li, span, small, blockquote, figcaption, dt, dd, label, legend, h1, h2, h3, h4) { color: inherit; }
.samecom-lp-bg-dark .samecom-note, .samecom-lp-bg-dark del { color: rgba(255, 255, 255, .7); }
.samecom-lp-title { font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.2; margin: 0 0 clamp(20px, 3vw, 32px); text-align: center; }
.samecom-lp-eyebrow { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .85rem; color: var(--samecom-primary); margin: 0 0 8px; }
.samecom-lp-bg-primary .samecom-lp-eyebrow { color: #fff; }

/* Hero */
.samecom-lp-hero__inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; text-align: center; }
.samecom-lp-section--hero.has-image .samecom-lp-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); text-align: start; }
.samecom-lp-hero__title { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; margin: 0 0 16px; }
.samecom-lp-hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); opacity: .9; margin: 0 0 28px; }
.samecom-lp-hero__media img { width: 100%; border-radius: var(--samecom-radius); }
@media (max-width: 800px) {
	.samecom-lp-section--hero.has-image .samecom-lp-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.samecom-lp-hero__media { order: -1; }
}

/* Product */
.samecom-lp-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.samecom-lp-product.no-image { grid-template-columns: 1fr; max-width: 720px; text-align: center; }
.samecom-lp-product__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.15; margin: 0 0 12px; }
.samecom-lp-product__price { font-size: 1.8rem; margin-bottom: 16px; }
.samecom-lp-extra { margin-top: 12px; }
.samecom-lp-product .samecom-btn--lg { margin-top: 20px; }
@media (max-width: 800px) { .samecom-lp-product { grid-template-columns: 1fr; } }

/* Benefits */
.samecom-lp-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.samecom-lp-benefits li { background: var(--samecom-surface); color: var(--samecom-text); border-radius: var(--samecom-radius); padding: 24px; text-align: center; box-shadow: var(--samecom-shadow); }
.samecom-lp-benefits__icon { display: block; font-size: 2.2rem; margin-bottom: 8px; }
.samecom-lp-benefits h3 { margin: 0 0 6px; font-size: 1.1rem; }
.samecom-lp-benefits p { margin: 0; color: var(--samecom-muted); }

/* Features */
.samecom-lp-features.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.samecom-lp-features.has-image .samecom-lp-title { text-align: start; }
.samecom-lp-features__media img { width: 100%; border-radius: var(--samecom-radius); }
.samecom-lp-features__list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; max-width: 760px; }
.samecom-lp-features__list li { display: flex; gap: 14px; }
.samecom-lp-features__list p { margin: 4px 0 0; opacity: .85; }
.samecom-lp-check { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--samecom-primary); color: #fff; font-weight: 700; }
@media (max-width: 800px) { .samecom-lp-features.has-image { grid-template-columns: 1fr; } }

/* Testimonials */
.samecom-lp-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.samecom-lp-testimonial { margin: 0; background: var(--samecom-surface); color: var(--samecom-text); border-radius: var(--samecom-radius); padding: 24px; box-shadow: var(--samecom-shadow); display: flex; flex-direction: column; gap: 12px; }
.samecom-lp-testimonial blockquote { margin: 0; font-size: 1.02rem; }
.samecom-lp-testimonial blockquote p { margin: 0; }
.samecom-lp-testimonial figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-top: auto; }
.samecom-lp-testimonial figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.samecom-stars { color: #f59e0b; letter-spacing: 2px; }

/* FAQ */
.samecom-faq { display: grid; gap: 10px; }
.samecom-faq__item { background: var(--samecom-surface); color: var(--samecom-text); border: 1px solid var(--samecom-border); border-radius: var(--samecom-radius-sm); }
.samecom-faq__item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.samecom-faq__item summary::-webkit-details-marker { display: none; }
.samecom-faq__item summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--samecom-primary); }
.samecom-faq__item[open] summary::after { content: "−"; }
.samecom-faq__answer { padding: 0 20px 16px; color: var(--samecom-muted); }

/* Image, CTA, urgency */
.samecom-lp-image { margin: 0 auto; text-align: center; }
.samecom-lp-image img { border-radius: var(--samecom-radius); }
.samecom-lp-image figcaption { color: var(--samecom-muted); font-size: .9rem; margin-top: 8px; }
.samecom-lp-cta, .samecom-lp-urgency { text-align: center; max-width: 760px; }
.samecom-lp-cta p, .samecom-lp-urgency p { font-size: 1.1rem; opacity: .9; margin: 0 0 24px; }
.samecom-countdown { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.samecom-countdown span { display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: 12px 8px; border-radius: var(--samecom-radius-sm); background: rgba(255, 255, 255, .12); }
.samecom-lp-bg-light .samecom-countdown span, .samecom-lp-bg-muted .samecom-countdown span { background: var(--samecom-primary); color: #fff; }
.samecom-countdown strong { font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.samecom-countdown small { font-size: .8rem; opacity: .85; text-transform: uppercase; }

/* Order form */
.samecom-lp-order { background: var(--samecom-surface); color: var(--samecom-text); border-radius: var(--samecom-radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--samecom-shadow); border: 2px solid var(--samecom-primary); }
.samecom-lp-order__product { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; }
.samecom-lp-order__product img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--samecom-radius-sm); }
.samecom-lp-order .samecom-buy-box { margin: 16px 0; }
.samecom-lp-order .samecom-buy-box__actions { justify-content: flex-start; }
.samecom-lp-order .samecom-totals { background: var(--samecom-soft); border-radius: var(--samecom-radius-sm); padding: 4px 14px; }
.samecom-lp-section[hidden] { display: none; }
html:has(.samecom-landing) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.samecom-landing) { scroll-behavior: auto; } }
