:root {
  --background: #F4F1E8;
  --surface: #FCFAF5;
  --primary: #287271;
  --accent: #D97845;
  --heading: #243447;
  --text: #384554;
  --text-muted: #73716B;
  --border: #DDD6C8;
  --success: #708C69;
  --white: #FFFFFF;
  --ink: #121D29;
  --shadow: 0 18px 42px rgba(36, 52, 71, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  left: 0;
  top: 0;
  z-index: 100;
  background: var(--heading);
  color: var(--surface);
  padding: 0;
  border-radius: 8px;
  font-weight: 900;
}

.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
}

.announcement {
  background: var(--heading);
  color: var(--surface);
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  padding: 9px 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 3.25rem;
  max-width: 780px;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.2rem;
}

.narrow {
  max-width: 840px;
}

.site-header {
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--surface);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--text-muted);
  font-size: .78rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: .94rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--heading);
  background: rgba(40, 114, 113, .1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--heading);
  color: var(--surface);
  font-weight: 800;
}

.header-cta svg,
.btn svg,
.feature-list svg,
.hero-points svg,
.feature-grid svg,
.avatar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--heading);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 29, 41, .84), rgba(18, 29, 41, .52) 48%, rgba(18, 29, 41, .12)),
    linear-gradient(0deg, rgba(18, 29, 41, .28), rgba(18, 29, 41, .06));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 88px 0 76px;
}

.hero h1 {
  color: var(--surface);
  margin-top: 16px;
}

.hero p {
  color: rgba(252, 250, 245, .86);
  font-size: 1.12rem;
  max-width: 660px;
  margin: 22px 0 0;
}

.eyebrow {
  display: inline-flex;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}

.eyebrow.light {
  color: #F3D2BE;
}

.hero-actions,
.cta-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
}

.btn-accent {
  background: var(--accent);
  color: var(--surface);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--heading);
}

.btn-ghost {
  color: var(--surface);
  border-color: rgba(252, 250, 245, .34);
  background: rgba(252, 250, 245, .08);
}

.btn-light {
  background: var(--surface);
  color: var(--heading);
}

.full {
  width: 100%;
}

.hero-points {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(252, 250, 245, .86);
  font-weight: 800;
}

.trust-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.trust-grid div {
  padding: 24px;
  min-width: 0;
  border-left: 1px solid var(--border);
}

.trust-grid div:last-child {
  border-right: 1px solid var(--border);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--heading);
}

.trust-grid span {
  color: var(--text-muted);
  font-size: .94rem;
  margin-top: 4px;
}

.section {
  padding: 76px 0;
}

.muted-section {
  background: #ECE6D8;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 10px 0 12px;
}

.feature-grid,
.pricing-grid,
.device-grid,
.feedback-grid,
.blog-grid,
.comparison-grid,
.install-grid,
.contact-layout,
.advice-grid,
.check-grid,
.method-grid,
.category-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

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

.feature-grid article,
.device-grid article,
.feedback-card,
.blog-card,
.comparison-grid article,
.install-grid article,
.contact-panel,
.price-card,
.notice-box,
.advice-grid article,
.check-grid article,
.method-grid article,
.category-grid article,
.support-grid article,
.chat-preview,
.safe-list span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(36, 52, 71, .06);
  min-width: 0;
}

.feature-grid article,
.device-grid article,
.feedback-card,
.comparison-grid article,
.install-grid article,
.contact-panel,
.notice-box,
.advice-grid article,
.check-grid article,
.method-grid article,
.category-grid article,
.support-grid article {
  padding: 24px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 34px;
  align-items: center;
}

.split-layout h2 {
  margin: 10px 0 14px;
}

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

.advice-grid strong,
.advice-grid span {
  display: block;
}

.advice-grid strong {
  color: var(--heading);
  font-size: 1.25rem;
}

.advice-grid span {
  color: var(--text-muted);
  margin-top: 6px;
}

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

.check-grid svg,
.category-grid svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}

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

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

.category-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--heading);
}

.category-grid svg {
  margin-bottom: 0;
  flex: 0 0 auto;
}

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

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.inline-cta p,
.section-note {
  margin: 0;
}

.section-note {
  margin-top: 18px;
  font-size: .95rem;
}

.safe-list {
  display: grid;
  gap: 12px;
}

.safe-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  color: var(--heading);
  font-weight: 900;
}

.safe-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.whatsapp-section {
  background: #F8F2E7;
}

.chat-preview {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.chat-preview div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 8px;
  background: rgba(40, 114, 113, .08);
}

.chat-preview div:nth-child(2) {
  background: rgba(217, 120, 69, .12);
}

.chat-preview strong {
  color: var(--heading);
}

.chat-preview span {
  color: var(--text);
}

.longform-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.longform-section h2 {
  margin: 10px 0 18px;
}

.feature-grid article > svg {
  width: 34px;
  height: 34px;
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-grid h3,
.device-grid h3,
.contact-panel h2,
.comparison-grid h2,
.install-grid h3,
.notice-box h2 {
  margin-bottom: 10px;
}

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

.comparison-grid article span {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
  font-size: .9rem;
}

.pricing-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 900;
  padding: 10px 16px;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--primary);
  color: var(--surface);
}

.pricing-panel[hidden] {
  display: none;
}

.price-card {
  position: relative;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(217, 120, 69, .14);
  color: var(--accent);
  border: 1px solid rgba(217, 120, 69, .34);
  border-radius: 6px;
  font-weight: 900;
  font-size: .76rem;
  padding: 4px 8px;
}

.price {
  color: var(--heading);
  font-size: 2.4rem;
  font-weight: 950;
  margin: 18px 0 4px;
}

.price-note {
  min-height: 48px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.feature-list svg {
  color: var(--success);
  margin-top: 3px;
}

.payment-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}

.payment-strip span {
  min-width: 86px;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--heading);
  font-weight: 900;
}

.pricing-disclaimer {
  font-size: .92rem;
  margin-top: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--surface);
  font-weight: 950;
  margin-bottom: 18px;
}

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

.install-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.install-grid li + li {
  margin-top: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--heading);
  padding: 18px 0;
}

.faq-list details[open] {
  box-shadow: var(--shadow);
}

.faq-list p {
  padding-bottom: 18px;
}

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

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(40, 114, 113, .1);
  color: var(--primary);
  margin-bottom: 16px;
}

.feedback-card span {
  color: var(--success);
  font-weight: 900;
  font-size: .88rem;
}

.blog-card {
  overflow: hidden;
}

.blog-card img,
.article-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: #E8DFCE;
}

.blog-card-body {
  padding: 22px;
}

.text-link {
  color: var(--primary);
  font-weight: 950;
}

.text-link::after {
  content: " ->";
}

.cta-band {
  background: var(--primary);
}

.cta-content {
  justify-content: space-between;
}

.cta-content h2 {
  color: var(--surface);
  margin: 8px 0 10px;
}

.cta-content p {
  color: rgba(252, 250, 245, .84);
  max-width: 640px;
}

.page-hero {
  padding: 84px 0 60px;
  background: linear-gradient(180deg, #FCFAF5, #F4F1E8);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 12px 0 16px;
}

.article-stack {
  display: grid;
  gap: 28px;
}

.article-preview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.article-preview h2 {
  font-size: 1.7rem;
  margin: 8px 0 12px;
}

.legal-body p {
  color: var(--text);
}

.notice-box {
  margin-top: 28px;
}

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

.site-footer {
  background: var(--heading);
  color: var(--surface);
  padding: 56px 0 22px;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: rgba(252, 250, 245, .72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 28px;
}

.footer-grid h2 {
  color: var(--surface);
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(252, 250, 245, .14);
  margin-top: 36px;
  padding-top: 20px;
  color: rgba(252, 250, 245, .6);
  font-size: .9rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-wa,
.scroll-top {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(252, 250, 245, .34);
  box-shadow: var(--shadow);
}

.float-wa {
  background: var(--primary);
  color: var(--surface);
}

.scroll-top {
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
}

.float-wa svg,
.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-price-cta {
  position: fixed;
  left: 14px;
  right: 84px;
  bottom: 18px;
  z-index: 59;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface);
  font-weight: 950;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .trust-grid,
  .feature-grid,
  .steps,
  .footer-grid,
  .check-grid,
  .category-grid,
  .split-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .blog-grid,
  .feedback-grid,
  .contact-layout,
  .method-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 74svh;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-content {
    padding: 72px 0 58px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 29, 41, .9), rgba(18, 29, 41, .62)),
      linear-gradient(0deg, rgba(18, 29, 41, .36), rgba(18, 29, 41, .12));
  }

  .section {
    padding: 58px 0;
  }

  .trust-grid,
  .feature-grid,
  .feature-grid.compact,
  .device-grid,
  .comparison-grid,
  .install-grid,
  .steps,
  .footer-grid,
  .check-grid,
  .category-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .pricing-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab-btn {
    padding: 10px 8px;
    white-space: nowrap;
  }

  .article-preview {
    grid-template-columns: 1fr;
  }

  .cta-content {
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .inline-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-strip span {
    flex: 1 1 120px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .mobile-price-cta {
    display: flex;
  }
}
