:root {
  --brand: #ee4d2d;
  --brand-dark: #d73211;
  --brand-soft: #fff2ee;
  --brand-border: #ffd5cb;
  --teal: #0d9488;
  --teal-soft: #ecfdf5;
  --teal-border: #99f6e4;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, Monaco, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 76px;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ─── Header & Nav ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-name span {
  color: var(--brand);
}

.brand-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--brand);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 18px 18px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.mobile-nav-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}

.mobile-nav-list a:hover,
.mobile-nav-list a.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.mobile-drawer-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 960px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  text-align: center;
  line-height: 1.25;
}

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

.btn-sm {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-lg {
  min-height: 52px;
  padding: 13px 24px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(238, 77, 45, 0.36);
  transform: translateY(-1px);
}

.btn-wa {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

.btn-wa:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

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

.btn-block {
  width: 100%;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  padding: 36px 0 48px;
  background:
    radial-gradient(circle at 88% 12%, rgba(238, 77, 45, 0.11), transparent 36%),
    radial-gradient(circle at 12% 85%, rgba(13, 148, 136, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 960px) {
  .hero {
    padding: 58px 0 68px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 40px;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-title .accent {
  color: var(--brand-dark);
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 58ch;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 520px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-sub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--ink);
}

.hero-trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .hero-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.check-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ─── Interactive App Preview ─── */
.preview-shell {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.preview-tabs::-webkit-scrollbar {
  display: none;
}

.preview-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.preview-tab.is-active {
  background: var(--surface);
  color: var(--brand-dark);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.preview-panel {
  display: none;
}

.preview-panel.is-active {
  display: block;
}

.app-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--brand-dark);
  color: #ffffff;
  padding: 8px 12px;
  font-size: 12px;
}

.app-frame-logo {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.app-frame-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.app-frame-pills span {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
}

.app-frame-pills span.active-pill {
  background: #ffffff;
  color: var(--brand-dark);
}

.app-frame-body {
  padding: 12px;
  background: #f5f5f5;
}

.hotkey-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.hk-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.hk-key {
  background: #1e293b;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
}

.mini-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mini-table th {
  background: #f8fafc;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.mini-table td {
  padding: 7px 9px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--ink);
}

.mini-table tr:last-child td {
  border-bottom: none;
}

.mini-table .num {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.item-sub {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}

.mini-pay-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.mini-pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pay-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f1f5f9;
  color: var(--ink-2);
}

.pay-tag.is-on {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid var(--brand-border);
}

.mini-total-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mini-total-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-dark);
}

.mini-f9-btn {
  background: var(--teal);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 7px;
}

.setoran-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .setoran-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.setoran-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.setoran-card h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}

.setoran-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.setoran-row:last-child {
  border-bottom: none;
}

.setoran-row .val {
  font-family: var(--font-mono);
  font-weight: 700;
}

.setoran-total-bar {
  margin-top: 10px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f766e;
}

.thermal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 540px) {
  .thermal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.thermal-paper {
  background: #ffffff;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  color: #0f172a;
}

.wa-bubble {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #14532d;
}

.wa-bubble strong {
  display: block;
  margin-bottom: 4px;
}

/* ─── Sections ─── */
.section {
  padding: 52px 0;
}

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

.section-warm {
  background: #fffaf8;
  border-top: 1px solid #ffe4dc;
  border-bottom: 1px solid #ffe4dc;
}

@media (min-width: 768px) {
  .section {
    padding: 68px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-desc {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* ─── Grids & Cards ─── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.card-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.card-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.key-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  background: #0f172a;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ─── Pain Points Strip ─── */
.pain-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 18px;
}

.pain-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.pain-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* ─── Theme Swatches Preview ─── */
.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 18px 42px rgba(238, 77, 45, 0.14);
}

.price-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.price-name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.price-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.price-cycle {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.price-note-box {
  max-width: 920px;
  margin: 22px auto 0;
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: #78350f;
}

.price-note-box strong {
  color: #451a03;
}

/* ─── Steps & Specs ─── */
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.info-banner {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .info-banner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 24px;
  }
}

.smartscreen-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #1e3a8a;
}

.smartscreen-box strong {
  display: block;
  margin-bottom: 4px;
  color: #172554;
}

/* ─── FAQ Accordion ─── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-dark);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.faq-body {
  padding: 15px 20px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.faq-body p {
  margin: 0;
}

/* ─── Final CTA ─── */
.cta-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-band {
    padding: 48px 36px;
  }
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.22;
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 58ch;
  color: #cbd5e1;
  font-size: 15.5px;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .cta-band-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ─── Footer ─── */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 44px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

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

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
}

/* ─── Mobile Bottom Sticky CTA ─── */
.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
}

.mobile-sticky-bar .btn {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13.5px;
}

@media (min-width: 900px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* ─── Doc / Subpage Layouts ─── */
.page-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 34px 0 30px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.22;
}

.page-hero p {
  margin: 0;
  color: var(--ink-2);
  max-width: 65ch;
}

.doc-wrap {
  max-width: 860px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.doc-card h2 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.doc-card h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.doc-card ol,
.doc-card ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
}

/* ─── Modal (Mobile Download Helper) ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 470px;
  background: var(--surface);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-head h3 {
  margin: 0;
  font-size: 18.5px;
  font-weight: 800;
}

.modal-close {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-2);
}

.modal-url-box {
  background: #f1f5f9;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  word-break: break-all;
  color: var(--ink);
  margin: 12px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 90;
  background: #0f172a;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.toast.is-shown {
  opacity: 1;
}

@media (min-width: 900px) {
  .toast {
    bottom: 24px;
  }
}
