:root {
  --bg: #101114;
  --panel: #191b20;
  --panel-2: #20232a;
  --line: #2b2f37;
  --text: #f3f4f6;
  --muted: #9aa1ad;
  --accent: #ff5a1f;
  --accent-ink: #1a0b04;
  --ok: #33d17a;
  --radius: 12px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .2px; }
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px; border-radius: 10px;
  font-weight: 650; font-size: 16px; text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff7040; color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-placeholder { border: 1px dashed #5a5f69; color: var(--muted); background: var(--panel); cursor: not-allowed; }
.btn-placeholder:hover { color: var(--muted); }
.btn-placeholder svg { opacity: .7; }
.placeholder-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.placeholder-note strong { color: #ffcc4d; font-weight: 600; }

/* Hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; }
.hero h1 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -1px; }
.lede { margin: 0 0 28px; font-size: 18px; color: #c9ced6; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.frame-bar span { flex: 1; height: 20px; line-height: 20px; padding: 0 10px; border-radius: 6px; background: var(--panel-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Sections */
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { margin: 0 0 10px; font-size: 32px; line-height: 1.15; letter-spacing: -.4px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.tool img { width: 64px; height: 64px; margin-bottom: 14px; object-fit: contain; }
.tool h3 { margin: 0 0 6px; font-size: 19px; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }
.pill { position: absolute; top: 20px; right: 20px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill-free { color: var(--ok); background: #10291b; }
.pill-paid { color: #ffb08f; background: #33180c; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border: 1px solid var(--line); border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; background: var(--panel-2); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .tool-cell { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.price-table .tool-cell img { width: 32px; height: 32px; }
.free { color: var(--ok); font-weight: 700; }
.bundle-card { padding: 26px; border: 1px solid var(--accent); border-radius: var(--radius); background: #1d130f; }
.bundle-card h3 { margin: 0 0 4px; font-size: 22px; }
.bundle-card .amount { margin: 8px 0 4px; font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.bundle-card .amount small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.bundle-card ul { margin: 14px 0 18px; padding-left: 20px; color: #d6dae0; }
.fine { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.faq h3 { margin: 0 0 6px; font-size: 17px; }
.faq p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal pages */
.legal { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.legal .wrap { max-width: 780px; }
.legal h1 { margin: 0 0 6px; font-size: 40px; letter-spacing: -.6px; }
.legal .updated { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 36px 0 10px; font-size: 22px; }
.legal p, .legal li { color: #d6dae0; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.callout { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--panel); }
.callout p { margin: 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.data-table th, .data-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--panel-2); font-weight: 600; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--panel-2); padding: 1px 5px; border-radius: 4px; }

/* Footer */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.reseller { margin: 22px 0 6px; max-width: 760px; }
.site-footer p { margin: 6px 0 0; }

@media (max-width: 900px) {
  .hero .wrap, .pricing { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .tools, .gallery, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 10px; }
  .nav { gap: 16px; font-size: 14px; }
  section { padding: 52px 0; }
  .tools, .gallery, .steps, .faq { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
  .legal h1 { font-size: 32px; }
  .btn { width: 100%; justify-content: center; padding: 0 14px; font-size: 15px; white-space: nowrap; }
  .price-table th, .price-table td { padding: 12px; }
}
