:root {
  --bg: #121317;
  --panel: #1a1c22;
  --panel-elevated: #20232a;
  --border: #2b2e36;
  --border-subtle: #23262d;
  --text: #f2f2f5;
  --text-secondary: #b4b5bf;
  --muted: #71727d;
  --accent: #e08a4a;
  --accent-hover: #ec9958;
  --accent-soft: rgba(224, 138, 74, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.5);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

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

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 19, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  flex-shrink: 0;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(224, 138, 74, 0.35);
}

.header-nav {
  display: flex;
  gap: 24px;
  margin-left: 8px;
  flex: 1;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.12s ease;
}

.header-nav a:hover {
  color: var(--text);
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.08s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #171310;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(224, 138, 74, 0.35);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-large {
  padding: 15px 30px;
  font-size: 16px;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(224, 138, 74, 0.14), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(224, 138, 74, 0.08), transparent 40%),
    var(--bg);
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.pill {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.accent-text {
  color: var(--accent);
}

.hero-sub {
  margin: 0 auto 34px;
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--panel);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 680px;
}

.section-lead {
  margin: 0 0 40px;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col .section-lead {
  margin-bottom: 0;
}

/* ===== Before/after compare ===== */

.compare {
  max-width: 620px;
}

.compare-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  user-select: none;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text);
  transform: translateX(-1px);
  pointer-events: none;
}

.compare-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: #171310;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.compare-tag {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 19, 23, 0.7);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-tag-before { left: 12px; }
.compare-tag-after { right: 12px; }

.compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  cursor: ew-resize;
  opacity: 0;
}

.compare-frame:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.compare-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.compare-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* ===== Resolution proof image ===== */

.scale-proof img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

/* ===== Live demo iframe ===== */

.demo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  height: 760px;
}

.demo-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: var(--panel);
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 640px;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ===== Closing CTA ===== */

.closing {
  padding: 96px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 138, 74, 0.12), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.closing-inner {
  text-align: center;
}

.closing h2 {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== Footer ===== */

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Responsive ===== */

@media (max-width: 780px) {
  .header-nav { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 26px; }
  .two-col { grid-template-columns: 1fr; }
  .demo-frame { height: 620px; }
}
