/* Landing StorePine — CSS thuần, không framework. Font hệ thống để trang tải nhanh (tốt cho SEO / Core Web Vitals). */
:root {
  --pine-950: #052e16;
  --pine-900: #14532d;
  --pine-700: #15803d;
  --pine-600: #16a34a;
  --pine-100: #dcfce7;
  --pine-50: #f0fdf4;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  --max: 1160px;
  font-family:
    'Segoe UI',
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    'Helvetica Neue',
    Arial,
    'Noto Sans',
    sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
}

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

a {
  color: var(--pine-700);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--amber);
  color: #1c1917;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: #fbbf24;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border-color: var(--pine-700);
  color: var(--pine-700);
}

.btn-outline:hover {
  background: var(--pine-50);
}

.section-cta {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--pine-900);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--pine-700);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-switch a,
.lang-switch span {
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  color: var(--muted);
}

.lang-switch [aria-current='page'] {
  background: var(--pine-900);
  color: #fff;
}

/* Trang văn bản không có menu: đẩy nút ngôn ngữ + tư vấn sang phải. */
.brand + .lang-switch {
  margin-left: auto;
}

.header-cta {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.18), transparent 40%),
    linear-gradient(140deg, var(--pine-950) 0%, var(--pine-900) 55%, #166534 100%);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #bbf7d0;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.4em;
}

.hero h1 .accent {
  color: #fbbf24;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #dcfce7;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0 1.6rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  color: #bbf7d0;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-points li::before {
  content: '✓ ';
  color: #fbbf24;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.browser {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #e2e8f0;
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.phone {
  position: absolute;
  right: -10px;
  bottom: -30px;
  width: 34%;
  border: 7px solid #0f172a;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  background: #0f172a;
}

/* ---------- Section chung ---------- */
section {
  scroll-margin-top: 80px;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 46rem;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.kicker {
  display: block;
  color: var(--pine-700);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pine-100);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Về chúng tôi */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission {
  background: var(--pine-900);
  color: #fff;
  border-radius: 24px;
  padding: 2.2rem;
}

.mission h3 {
  color: #fbbf24;
}

.mission p {
  color: #dcfce7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.stats strong {
  display: block;
  font-size: 1.6rem;
  color: #fff;
}

.stats span {
  color: #bbf7d0;
  font-size: 0.85rem;
}

/* Ngành */
.industry {
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.industry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Bước */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 4.4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: #1c1917;
  font-weight: 800;
}

.step h3 {
  margin-top: 0.6rem;
}

/* Gói */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  background: #fff;
}

.plan.featured {
  border-color: var(--pine-700);
  box-shadow: var(--shadow);
  position: relative;
}

.badge {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  background: var(--pine-700);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.plan .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pine-900);
  margin: 0.2rem 0 0.2rem;
}

.plan .price-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.6rem;
}

.plan li {
  padding-left: 1.6rem;
  position: relative;
}

.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pine-600);
  font-weight: 800;
}

.plan .btn {
  margin-top: auto;
}

/* Báo giá thiết kế trọn gói: danh sách + hộp quà tặng + chi phí ngoài gói + dải cam kết. */
.quote-plan .price {
  font-size: 2rem;
}
.quote-subhead {
  margin: 1rem 0 0;
  font-weight: 800;
  color: var(--pine-900);
}
.quote-plan > ul {
  margin: 0.8rem 0 1.2rem;
}
.quote-box {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--bg-soft);
}
.quote-gifts {
  background: #fff7e0;
  border: 1px solid #f5d77a;
}
.quote-box-title {
  margin: 0;
  font-weight: 800;
  color: var(--pine-900);
}
.quote-box ul {
  margin: 0.6rem 0 0;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.quote-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  background: var(--pine-900);
  color: #fff;
}
.quote-trust li {
  font-size: 0.95rem;
}
.quote-trust strong {
  display: block;
  color: #ffd166;
}
.quote-download {
  text-align: center;
  margin-top: 1.5rem;
}
@media (max-width: 720px) {
  .quote-trust {
    grid-template-columns: 1fr;
  }
}

/* Cửa hàng mẫu: 6 shop, mỗi hàng 3 thẻ cao bằng nhau. */
.live-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Nhãn nhóm shop demo: mỗi nhóm một lưới đầy hàng (4 shop ngành mới · 6 shop đặc sản). */
.live-demo-group {
  margin: 2rem 0 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink, inherit);
}
.live-demo-group:first-of-type {
  margin-top: 0;
}
.live-demo-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.live-demo-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.live-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.live-demo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.live-demo-card .body {
  padding: 1.1rem 1.25rem 1.25rem;
}
.live-demo-card .body p {
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.live-demo-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.link-arrow {
  font-weight: 700;
  color: var(--pine-700);
}

/* Vận hành 24/7 */
.ops {
  background: linear-gradient(140deg, var(--pine-950), var(--pine-900));
  color: #fff;
}

.ops .section-head p,
.ops .card p {
  color: #bbf7d0;
}

.ops .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.ops .icon {
  background: rgba(245, 158, 11, 0.18);
}

.ops .kicker {
  color: #fbbf24;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 1.25rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--pine-700);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  color: var(--muted);
  padding-bottom: 1.1rem;
  margin: 0;
}

/* Liên hệ */
.contact {
  background: var(--amber);
  color: #1c1917;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.contact h2 {
  margin-bottom: 0.4em;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(120, 53, 15, 0.15);
}

.contact-item small {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

.contact-item .icon {
  margin: 0;
  flex: none;
}

/* Footer */
.site-footer {
  background: var(--pine-950);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer .brand {
  color: #fff;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.tagline {
  color: #86efac;
  font-weight: 600;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Trang văn bản (chính sách, điều khoản, 404) */
.doc {
  max-width: 780px;
  margin-inline: auto;
  padding: 3rem 0 4rem;
}

.doc h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.doc h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.doc .updated {
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .live-demo-grid-4,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .plans,
  .live-demo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .stats strong {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- Mục Hướng dẫn (bài viết SEO) ---------- */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.doc .lead {
  font-size: 1.15rem;
  color: var(--ink);
}

.doc article h2 {
  margin-top: 2.2rem;
}

.doc article li {
  margin-bottom: 0.4rem;
}

.doc code {
  background: var(--pine-50);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-size: 0.92em;
}

.cta-box {
  margin: 3rem 0 2rem;
  padding: 1.8rem;
  border-radius: 20px;
  background: var(--pine-50);
  border: 1px solid var(--pine-100);
}

.cta-box h2 {
  margin-top: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.related ul {
  padding-left: 1.2rem;
}

.article-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.article-card {
  display: block;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.article-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.article-card p {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-more {
  text-align: center;
  margin: 1.8rem 0 0;
}

/* ---------- Kho giao diện ---------- */
.theme-hero {
  padding: clamp(3rem, 7vw, 6rem) 0;
  color: #fff;
  background: linear-gradient(135deg, var(--pine-950), var(--pine-900));
}

.theme-hero h1 {
  max-width: 780px;
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.theme-hero p {
  max-width: 680px;
  margin: 0;
  color: #dcfce7;
  font-size: 1.1rem;
}

.theme-hub {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.theme-hub .section-head {
  align-items: end;
}

.theme-hub .section-head p {
  max-width: 360px;
}

.theme-eyebrow,
.theme-name {
  color: var(--pine-700);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.theme-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.theme-filter:hover,
.theme-filter.is-active {
  border-color: var(--pine-700);
  background: var(--pine-900);
  color: #fff;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.theme-group-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--pine-700);
}

.theme-group-intro p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.theme-group-intro-style {
  margin-top: 3rem;
  border-bottom-color: var(--line);
}

.theme-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.theme-card[hidden] {
  display: none;
}

/* Lưới 2 cột luôn đầy hàng: thẻ lẻ cuối nhóm trải hết hàng, xếp ngang ảnh | chữ (≥ 981px). */
@media (min-width: 981px) {
  .theme-grid > .theme-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .theme-grid > .theme-card:last-child:nth-child(odd) .theme-images {
    flex: 0 0 50%;
  }
  .theme-grid > .theme-card:last-child:nth-child(odd) .theme-card-body {
    justify-content: center;
  }
}

.theme-images {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}

.theme-images picture {
  display: block;
  height: 100%;
}

.theme-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem 1.4rem 1.5rem;
}

.theme-card h3 {
  margin: 0.25rem 0 0.45rem;
}

.theme-card p {
  color: var(--muted);
}

.theme-card .theme-industry {
  min-height: 3.2em;
  margin-top: auto;
  font-size: 0.9rem;
}

.theme-card .btn {
  min-height: 42px;
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

/* ---------- Pricing pages ---------- */
.pricing-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--pine-50), #fff);
}

.pricing-hero .container {
  max-width: 760px;
}
.pricing-hero h1 {
  margin-top: 0.6rem;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
.pricing-promise {
  color: var(--pine-900);
  font-weight: 700;
}

.billing-toggle {
  display: inline-flex;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.billing-toggle legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.billing-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}

.billing-toggle label:has(input:checked) {
  background: var(--pine-900);
  color: #fff;
}
.billing-toggle input {
  accent-color: var(--pine-700);
}
.billing-toggle label:has(input:checked) input {
  accent-color: #fff;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 2rem 4rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pricing-card-featured {
  border: 2px solid var(--pine-700);
  box-shadow: var(--shadow);
}
.pricing-card h2 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.65rem;
}
.pricing-description {
  min-height: 3.2em;
  color: var(--muted);
}

.pricing-amount {
  margin: 0.6rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--pine-950);
}

.price-period {
  margin-left: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.pricing-saving,
.pricing-setup {
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.pricing-saving[hidden],
.price-monthly-data {
  display: none;
}

.pricing-features {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
  padding-left: 1.25rem;
}

.pricing-cta {
  align-self: flex-start;
  margin-top: auto;
  text-decoration: none;
}
.pricing-faq {
  max-width: 820px;
}
.pricing-faq .section-head {
  text-align: center;
}
.pricing-faq details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.pricing-faq summary {
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.pricing-faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}
.pricing-contact {
  text-align: center;
}
.pricing-contact .btn {
  display: inline-flex;
  text-decoration: none;
}

@media (max-width: 640px) {
  .pricing-plans {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 1rem 2.5rem;
  }
  .pricing-description {
    min-height: 0;
  }
  .pricing-cta {
    align-self: stretch;
    justify-content: center;
  }
}

.theme-empty {
  margin-top: 2rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .theme-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .theme-group-intro {
    display: block;
  }

  .theme-group-intro p {
    margin-top: 0.35rem;
  }

  .theme-hub .section-head {
    display: block;
  }

  .theme-filters {
    gap: 0.45rem;
  }

  .theme-filter {
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
  }
}
.lead-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  padding: 28px;
  margin: 0 auto;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #ddd);
  border-radius: 18px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #9b9b9b;
  border-radius: 8px;
  font: inherit;
}
.lead-form input:focus-visible,
.lead-form select:focus-visible,
.lead-form textarea:focus-visible,
.lead-form button:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}
.lead-form [aria-invalid='true'] {
  border-color: #b91c1c;
}
.lead-field-error {
  color: #991b1b;
  font-size: 0.9rem;
}
.lead-form textarea {
  min-height: 100px;
  resize: vertical;
}
.lead-form button {
  justify-self: start;
}
.lead-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-form-status {
  min-height: 1.5em;
}
