/* CyberFenix — one stylesheet for the whole site.
   No web fonts, no CDN, no third-party requests. */

:root {
  --ink: #0b0e14;
  --ink-2: #141a26;
  --ink-3: #1e2637;
  --text: #12161f;
  --muted: #5a6373;
  --muted-on-ink: #a3adbf;
  --line: #e4e7ec;
  --line-on-ink: #2a3346;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --ember: #e8501f;
  --ember-strong: #c6390f;
  --amber: #f5a524;
  --flame: linear-gradient(135deg, #ff6a3d, #f5a524);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(12, 16, 24, .04), 0 8px 24px rgba(12, 16, 24, .06);
  --shadow-lg: 0 2px 4px rgba(12, 16, 24, .05), 0 18px 48px rgba(12, 16, 24, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ember-strong); }
a:hover { color: var(--ember); }

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ember-strong);
  margin: 0 0 .75rem;
}

.lede { font-size: 1.16rem; color: var(--muted); }
.center { text-align: center; }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-bottom: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .78em 1.4em;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--ember-strong); color: #fff; }
.btn-primary:hover { background: #a92f0b; color: #fff; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: #c9cfd9; background: var(--bg-alt); }

.btn-on-ink { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-on-ink:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn-sm { padding: .58em 1em; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand svg { flex: none; }
.brand b { font-weight: 700; }
.brand .fen { color: var(--ember-strong); }

.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* :not(.btn) so the nav's call-to-action keeps its button colours — a bare
   `.nav a` rule outranks `.btn-primary` on specificity and hides the label. */
.nav a:not(.btn) {
  padding: .45em .7em;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nav a:not(.btn):hover { color: var(--text); background: var(--bg-alt); }
.nav a:not(.btn)[aria-current="page"] { color: var(--text); font-weight: 600; }

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

.hero {
  background: var(--ink);
  color: #fff;
  padding: 92px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto -20%;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(232, 80, 31, .22), transparent 62%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: var(--muted-on-ink); font-size: 1.18rem; max-width: 56ch; }
.hero .eyebrow { color: var(--amber); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-grid.wide-media { grid-template-columns: 0.9fr 1.1fr; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--muted-on-ink);
  font-size: .92rem;
}
.hero-badges li { display: flex; align-items: center; gap: .5em; }
.hero-badges svg { flex: none; color: var(--amber); }

/* ---------- Product cards ---------- */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card-head img { width: 46px; height: 46px; border-radius: 10px; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card .tag { font-size: .82rem; color: var(--muted); font-weight: 500; }
.card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: .95rem;
  color: var(--muted);
}
.card ul li { display: flex; gap: .6em; align-items: flex-start; }
.card ul svg { flex: none; margin-top: .35em; color: var(--ember); }
.card .price {
  font-size: .9rem;
  color: var(--muted);
  margin: auto 0 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.card .price b { color: var(--text); }
.card .btn-row { margin-top: auto; }

.card-soon {
  border-style: dashed;
  box-shadow: none;
  background: transparent;
  align-items: flex-start;
  justify-content: center;
  color: var(--muted);
}
.card-soon h3 { color: var(--muted); }
.card-soon p { font-size: .95rem; margin: 0; }

/* ---------- Feature / value blocks ---------- */

.value { display: flex; gap: 16px; align-items: flex-start; }
.value .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(232, 80, 31, .1);
  color: var(--ember-strong);
}
.value h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.value p { font-size: .95rem; color: var(--muted); margin: 0; }

.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.media-first > .media { order: -1; }
}

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: flex; gap: 16px; }
.steps li::before {
  content: counter(step);
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--flame);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Screenshots ---------- */

figure.shot { margin: 0; }
figure.shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.hero figure.shot img { border-color: rgba(255, 255, 255, .14); }
figure.shot figcaption {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
}
.hero figure.shot figcaption { color: var(--muted-on-ink); }

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

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.plans {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .97rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.plans th, table.plans td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.plans thead th { background: var(--bg-alt); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
table.plans thead th.pro { color: var(--ember-strong); }
table.plans tbody tr:last-child td { border-bottom: 0; }
table.plans td:first-child { font-weight: 600; }
table.plans .yes { color: #17803d; font-weight: 600; }
table.plans .no { color: var(--muted); }

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

.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  padding: 17px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--ember-strong);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p, .faq details > ul { margin: 0 0 17px; color: var(--muted); font-size: .96rem; }
.faq details > p:first-of-type { margin-top: -2px; }

/* ---------- Callouts, prose, misc ---------- */

.note {
  border-left: 3px solid var(--amber);
  background: #fffaf0;
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96rem;
  color: #6b4a12;
}
.note p:last-child { margin-bottom: 0; }

.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.8em; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.25em; color: var(--muted); }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; }
.prose table th, .prose table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose table th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: .12em .38em; }
.updated { font-size: .9rem; color: var(--muted); }

.page-head { padding: 64px 0 12px; }
.page-head h1 { margin-bottom: .3em; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ember-strong);
  background: rgba(232, 80, 31, .1);
  border-radius: 99px;
  padding: .28em .7em;
}

.feature-list { display: grid; gap: 34px; }
.feature-list .value .ico { background: var(--flame); color: #fff; }

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

.cta-band { background: var(--ink-2); color: #fff; padding: 72px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--muted-on-ink); max-width: 52ch; margin-inline: auto; }

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

.site-footer { background: var(--ink); color: var(--muted-on-ink); padding: 60px 0 32px; font-size: .94rem; }
.site-footer a { color: var(--muted-on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-brand { max-width: 34ch; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand p { color: var(--muted-on-ink); font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: .88rem;
}

/* ---------- Accessibility ---------- */

:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--text);
  padding: 12px 18px;
  z-index: 50;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 68px; }
  .card { padding: 22px; }
}
