/* ============================================================
   home.css — EasyPOS marketing landing page
   Premium, restrained. Editorial typography + product-focused
   layout. One accent (teal), generous whitespace, subtle motion.
   NOT an "AI dashboard template": every section is real content
   about the actual product.
   ============================================================ */

:root {
  --hp-accent: #0f766e;
  --hp-accent-2: #0d9488;
  --hp-accent-soft: #f0fdfa;
  --hp-accent-border: #99f6e4;
  --hp-ink: #0f172a;
  --hp-body: #475569;
  --hp-muted: #94a3b8;
  --hp-line: #e5e7eb;
  --hp-surface: #ffffff;
  --hp-canvas: #f6f7f9;
  --hp-dark: #0b1220;
  --hp-dark-2: #101b2d;
  --hp-radius: 16px;
  --hp-radius-sm: 10px;
  --hp-shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --hp-shadow-md: 0 10px 30px rgba(15,23,42,.08);
  --hp-shadow-lg: 0 24px 60px rgba(15,23,42,.12);
  --hp-font: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ---------- Base (only for this landing context) ---------- */

.hp {
  font-family: var(--hp-font);
  color: var(--hp-ink);
  background: var(--hp-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
.hp .container-lg {
  max-width: 1160px;
}
.hp p {
  font-size: 15px;
  color: var(--hp-body);
}
.hp h1, .hp h2, .hp h3, .hp h4 {
  color: var(--hp-ink);
  letter-spacing: -0.015em;
}
.hp .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hp-accent);
  background: var(--hp-accent-soft);
  border: 1px solid var(--hp-accent-border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.hp .section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.hp .section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hp .section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
}
.hp .section-head p {
  font-size: 16px;
  color: var(--hp-body);
  margin: 0;
}

/* ---------- Buttons ---------- */

.hp .btn-hp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--hp-font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
  cursor: pointer;
}
.hp .btn-hp:focus-visible {
  outline: 3px solid rgba(15,118,110,.4);
  outline-offset: 2px;
}
.hp .btn-hp.btn-dark {
  background: var(--hp-ink);
  color: #fff;
}
.hp .btn-hp.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: var(--hp-shadow-md);
}
.hp .btn-hp.btn-accent {
  background: var(--hp-accent);
  color: #fff;
}
.hp .btn-hp.btn-accent:hover {
  background: #115e59;
  transform: translateY(-1px);
  box-shadow: var(--hp-shadow-md);
}
.hp .btn-hp.btn-white {
  background: #fff;
  color: var(--hp-ink);
  border-color: var(--hp-line);
}
.hp .btn-hp.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: var(--hp-shadow-sm);
}
.hp .btn-hp.btn-ghost-light {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255,255,255,.25);
}
.hp .btn-hp.btn-ghost-light:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.hp .btn-hp i {
  font-size: 15px;
}

/* ---------- Top nav ---------- */

.hp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hp-line);
}
.hp-nav .container-lg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}
.hp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--hp-ink);
  text-decoration: none;
}
.hp-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--hp-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(15,118,110,.3);
}
.hp-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.hp-nav-links a {
  color: var(--hp-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.hp-nav-links a:hover {
  color: var(--hp-accent);
}
.hp-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-nav .nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hp-line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--hp-ink);
}
@media (max-width: 991.98px) {
  .hp-nav-links, .hp-nav .hp-nav-cta {
    display: none;
  }
  .hp-nav .nav-toggle {
    display: inline-flex;
  }
  .hp-nav .container-lg {
    height: 62px;
  }
}

/* ---------- Hero ---------- */

.hp-hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 12% -10%, rgba(15,118,110,.18), transparent 60%),
    radial-gradient(900px 420px at 95% 10%, rgba(13,148,136,.14), transparent 55%),
    var(--hp-dark);
  color: #e2e8f0;
  overflow: hidden;
}
.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hp-hero .container-lg {
  position: relative;
  padding-top: 84px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hp-hero .hero-copy h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.hp-hero .hero-copy h1 .text-accent {
  color: #5eead4;
}
.hp-hero .hero-copy p.lead {
  font-size: 17px;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 0 30px;
}
.hp-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.hp-hero .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #94a3b8;
  font-size: 13px;
}
.hp-hero .hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hp-hero .hero-points i {
  color: #5eead4;
  font-size: 14px;
}

/* Hero product visual (a real terminal mock, built in CSS — not a fake chart) */
.hp-hero-visual {
  position: relative;
  perspective: 1400px;
}
.hp-terminal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(1deg);
  animation: hp-float 7s ease-in-out infinite;
}
@keyframes hp-float {
  0%, 100% { transform: rotateY(-3deg) rotateX(1deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); }
}
.hp-terminal .term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
}
.hp-terminal .term-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hp-terminal .term-bar .term-title {
  margin-left: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.hp-terminal .term-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hp-terminal .term-tile {
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.hp-terminal .term-tile .t-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hp-terminal .term-tile .t-value {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.hp-terminal .term-tile .t-bar {
  height: 6px;
  border-radius: 999px;
  background: #f1f5f9;
  margin-top: 10px;
  overflow: hidden;
}
.hp-terminal .term-tile .t-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d9488, #5eead4);
}
.hp-terminal .term-tile.tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.hp-terminal .term-tile.tall .receipt {
  margin-top: 12px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  font-size: 12px;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hp-terminal .term-tile.tall .receipt .r-row {
  display: flex;
  justify-content: space-between;
}
.hp-terminal .term-tile.tall .receipt .r-grand {
  border-top: 1px solid #e2e8f0;
  margin-top: 4px;
  padding-top: 6px;
  font-weight: 700;
  color: #0f172a;
}
.hp-terminal .term-tile.tall .receipt .r-tag {
  align-self: center;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 4px;
}
.hp-terminal .term-tile.full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hp-terminal .term-tile.full .line-items {
  font-size: 12px;
  color: #475569;
  font-family: ui-monospace, Menlo, monospace;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-terminal .term-tile.full .total {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.hp-hero .badge-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--hp-shadow-lg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-ink);
  z-index: 2;
}
.hp-hero .badge-float i {
  font-size: 17px;
  color: var(--hp-accent);
}
.hp-hero .badge-float.float-1 {
  top: 8%;
  right: -4%;
  animation: hp-float-sm 5.5s ease-in-out infinite;
}
.hp-hero .badge-float.float-2 {
  bottom: 12%;
  left: -6%;
  animation: hp-float-sm 6.5s ease-in-out .8s infinite;
}
@keyframes hp-float-sm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Logos / social proof strip ---------- */

.hp-strip {
  background: var(--hp-canvas);
  border-bottom: 1px solid var(--hp-line);
}
.hp-strip .container-lg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.hp-strip .strip-label {
  font-size: 12px;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}
.hp-strip .strip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.hp-strip .strip-stat .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--hp-ink);
  font-variant-numeric: tabular-nums;
}
.hp-strip .strip-stat .lbl {
  font-size: 12px;
  color: var(--hp-muted);
}

/* ---------- Features (real product capabilities) ---------- */

.hp-features {
  padding: 96px 0;
  background: var(--hp-surface);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  padding: 26px;
  background: var(--hp-surface);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-md);
  border-color: var(--hp-accent-border);
}
.feature-card .f-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14px;
  margin: 0 0 16px;
}
.feature-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card ul li {
  font-size: 13px;
  color: var(--hp-body);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.feature-card ul li i {
  color: var(--hp-accent);
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- Split feature (dashboard demo) ---------- */

.hp-split {
  background: var(--hp-canvas);
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
  padding: 96px 0;
}
.hp-split .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hp-split .split-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 16px;
  line-height: 1.2;
}
.hp-split .split-copy p {
  margin-bottom: 22px;
}
.hp-split .split-copy .check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-split .split-copy .check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--hp-body);
}
.hp-split .split-copy .check-list li i {
  color: var(--hp-accent);
  margin-top: 3px;
}
.hp-dash-frame {
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-lg);
  overflow: hidden;
}
.hp-dash-frame .frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hp-line);
}
.hp-dash-frame .frame-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.hp-dash-frame .frame-body {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hp-dash-frame .dash-kpi {
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 14px;
}
.hp-dash-frame .dash-kpi .lbl { font-size: 11px; color: #94a3b8; }
.hp-dash-frame .dash-kpi .val { font-size: 20px; font-weight: 700; margin-top: 4px; color: #0f172a; font-variant-numeric: tabular-nums; }
.hp-dash-frame .dash-kpi .delta { font-size: 11px; font-weight: 600; color: #047857; }
.hp-dash-frame .dash-bar {
  grid-column: 1 / -1;
  margin-top: 4px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px 6px 0;
  border-top: 1px solid #f1f5f9;
}
.hp-dash-frame .dash-bar .col {
  flex: 1;
  background: linear-gradient(180deg, #99f6e4, #0d9488);
  border-radius: 5px 5px 0 0;
  min-height: 6px;
  opacity: .9;
}
.hp-dash-frame .dash-bar .col.muted { background: #e2e8f0; opacity: 1; }

/* ---------- Workflow ---------- */

.hp-workflow {
  padding: 96px 0;
  background: var(--hp-surface);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  position: relative;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  padding: 28px 22px 22px;
  background: var(--hp-surface);
}
.step-card .step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-accent);
  letter-spacing: .08em;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.step-card .step-num::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--hp-accent-border);
}
.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}
.step-card p { font-size: 13px; margin: 0; }

/* ---------- Invoices / receipt demo (true 3-size feature) ---------- */

.hp-invoices {
  padding: 96px 0;
  background: var(--hp-dark);
  color: #e2e8f0;
  overflow: hidden;
}
.hp-invoices .section-head h2, .hp-invoices .section-head p { color: #fff; }
.hp-invoices .section-head h2 .text-accent { color: #5eead4; }
.hp-invoices .section-head p { color: #94a3b8; }
.receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 24px;
}
.receipt-col {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  color: var(--hp-ink);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.receipt-col .r-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.receipt-col .r-top .r-store {
  font-weight: 700;
  font-size: 14px;
}
.receipt-col .r-top .r-size {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 9px;
}
.receipt-col .r-meta {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 12px;
  font-family: ui-monospace, Menlo, monospace;
  display: flex;
  justify-content: space-between;
}
.receipt-col table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  font-family: ui-monospace, Menlo, monospace;
}
.receipt-col table th {
  text-align: left;
  color: #94a3b8;
  font-weight: 500;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}
.receipt-col table td {
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.receipt-col table td.num, .receipt-col table th.num { text-align: right; }
.receipt-col .r-total {
  margin-top: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  font-size: 13px;
  font-family: ui-monospace, Menlo, monospace;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.receipt-col .r-total .rt-row { display: flex; justify-content: space-between; color: #475569; }
.receipt-col .r-total .rt-grand { font-weight: 700; color: #0f172a; font-size: 15px; }
.receipt-col .r-foot {
  margin-top: 14px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
}
/* 58mm narrow mimic inside its card */
.receipt-col.is-58 .r-print { max-width: 240px; margin: 0 auto; font-family: ui-monospace, Menlo, monospace; }
.receipt-col.is-58 .r-print .r-store { text-align: center; }
.receipt-col.is-58 table th { font-size: 10px; }
.receipt-col.is-58 table td { font-size: 11px; }
/* A4 card uses a wider table layout */
.receipt-col.is-a4 table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }

/* ---------- Pricing ---------- */

.hp-pricing {
  padding: 96px 0;
  background: var(--hp-surface);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  padding: 30px;
  background: var(--hp-surface);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.price-card:hover {
  box-shadow: var(--hp-shadow-md);
  transform: translateY(-3px);
}
.price-card .p-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hp-accent);
}
.price-card .p-price {
  font-size: 40px;
  font-weight: 700;
  margin: 10px 0 4px;
  letter-spacing: -.02em;
}
.price-card .p-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--hp-muted);
}
.price-card .p-desc {
  font-size: 14px;
  color: var(--hp-body);
  margin-bottom: 20px;
}
.price-card .p-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card .p-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--hp-body);
}
.price-card .p-list li i { color: var(--hp-accent); margin-top: 3px; }
.price-card.featured {
  border-color: var(--hp-accent);
  box-shadow: 0 20px 50px rgba(15,118,110,.14);
}
.price-card.featured .p-badge {
  align-self: flex-start;
  background: var(--hp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 8px;
}

/* ---------- FAQ ---------- */

.hp-faq {
  padding: 96px 0;
  background: var(--hp-canvas);
  border-top: 1px solid var(--hp-line);
}
.hp-faq .faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.hp-faq details {
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hp-faq details[open] {
  border-color: var(--hp-accent-border);
  box-shadow: var(--hp-shadow-sm);
}
.hp-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--hp-ink);
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary .faq-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--hp-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--hp-accent);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.hp-faq details[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--hp-accent);
  color: #fff;
  border-color: var(--hp-accent);
}
.hp-faq details .faq-body {
  padding-bottom: 18px;
  color: var(--hp-body);
  font-size: 14px;
}

/* ---------- CTA band ---------- */

.hp-cta {
  padding: 100px 0;
  background:
    radial-gradient(800px 340px at 80% 0%, rgba(13,148,136,.28), transparent 60%),
    var(--hp-dark);
  color: #fff;
  text-align: center;
}
.hp-cta .cta-inner h2 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 0 0 14px;
}
.hp-cta .cta-inner p {
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* ---------- Footer ---------- */

.hp-footer {
  background: var(--hp-dark-2);
  color: #94a3b8;
  padding: 60px 0 0;
}
.hp-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.hp-footer .foot-brand .hp-logo { color: #fff; }
.hp-footer .foot-brand p {
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
  max-width: 260px;
}
.hp-footer .foot-col h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.hp-footer .foot-col a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
  transition: color .15s;
}
.hp-footer .foot-col a:hover { color: #5eead4; }
.hp-footer .foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.hp-footer .foot-bottom .legal { display: flex; gap: 18px; }
.hp-footer .foot-bottom a { color: #94a3b8; text-decoration: none; }
.hp-footer .foot-bottom a:hover { color: #5eead4; }

/* ---------- Reveal-on-scroll animation ---------- */

.hp [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.hp [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .hp [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hp-hero .hp-terminal, .hp-hero .badge-float { animation: none; }
  .hp * { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
  .hp-hero .badge-float.float-1 { right: -1%; }
  .hp-hero .badge-float.float-2 { left: -1%; }
}
@media (max-width: 991.98px) {
  .hp-hero .container-lg {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 80px;
    gap: 48px;
  }
  .hp-hero .hero-copy p.lead { max-width: 100%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .receipt-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hp-split .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-split .split-copy { order: 2; }
  .hp-split .split-visual { order: 1; }
  .hp-footer .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hp-dash-frame .frame-body { grid-template-columns: repeat(2, 1fr); }
  .hp-footer .foot-grid { grid-template-columns: 1fr; }
  .hp-footer .foot-bottom { flex-direction: column; align-items: flex-start; }
  .hp .section-head { margin-bottom: 28px; }
  .hp-features, .hp-split, .hp-workflow, .hp-invoices, .hp-pricing, .hp-faq, .hp-cta { padding: 64px 0; }
}
