/* ============================================================================
   ionixcreatives.com — public site
   Same material as the platform: warm near-white, hairline borders, near-black
   as the only strong colour. The site should feel like the front door of the
   product, not a different company.
   ========================================================================= */

:root {
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --sunken: #F1F1EF;
  --line: #E7E7E3;
  --line-2: #DCDCD7;
  --ink: #1A1A18;
  --muted: #6E6E68;
  --dim: #9A9A93;
  --good: #2F8C63;
  --warn: #B07A18;
  --violet: #6F5BD0;
  --font: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── nav ────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 20; background: rgba(247, 247, 245, .86);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.navIn { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: 15.5px; letter-spacing: -.02em; }
.logo .mk {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
}
.navLinks { display: flex; gap: 4px; margin-left: 14px; }
.navLinks a {
  padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--muted);
  transition: background .12s ease, color .12s ease;
}
.navLinks a:hover { background: var(--sunken); color: var(--ink); }
.navLinks a[aria-current] { color: var(--ink); font-weight: 550; }
.navRight { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: background .12s ease, border-color .12s ease;
}
.btn:hover { background: #FBFBFA; border-color: var(--line-2); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2C2C28; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 11px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--sunken); color: var(--ink); }

/* ── type ───────────────────────────────────────────────────────────────── */

h1, h2, h3 { margin: 0; letter-spacing: -.04em; font-weight: 650; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.03; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; line-height: 1.65; }
.lede { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; }
.eyebrow {
  font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--dim); font-weight: 600; margin-bottom: 14px;
}

/* ── sections ───────────────────────────────────────────────────────────── */

section { padding: 84px 0; border-bottom: 1px solid var(--line); }
section.tight { padding: 56px 0; }
.hero { padding: 96px 0 80px; }
.hero .lede { max-width: 620px; margin-top: 20px; }
.heroCta { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.heroNote { margin-top: 16px; font-size: 13px; color: var(--dim); }

.secHead { max-width: 680px; margin-bottom: 40px; }
.secHead p { margin-top: 14px; color: var(--muted); font-size: 16px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; transition: border-color .12s ease;
}
.card:hover { border-color: var(--line-2); }
.card .ic {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--sunken); font-size: 15px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* Numbered steps for the how-it-works flow */
.steps { display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
}
.step .n {
  width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step code {
  font-family: var(--mono); font-size: 12.5px; background: var(--sunken);
  padding: 2px 6px; border-radius: 5px; color: var(--ink);
}

/* Screenshot frames */
.shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: 0 18px 50px -30px rgba(20, 20, 16, .4);
}
.shot img { width: 100%; }
.shotCap { font-size: 13px; color: var(--dim); margin-top: 12px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Honest placeholder — marks where real client work goes. */
.placeholder {
  border: 1px dashed var(--line-2); border-radius: 14px; background: var(--sunken);
  display: grid; place-items: center; text-align: center; padding: 40px 24px; min-height: 220px;
}
.placeholder .p1 { font-size: 14px; font-weight: 550; }
.placeholder .p2 { font-size: 13px; color: var(--dim); margin-top: 6px; max-width: 320px; line-height: 1.55; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.pill .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--good); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.kv .k { border-left: 2px solid var(--line); padding-left: 14px; }
.kv .k b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.kv .k span { display: block; font-size: 13px; color: var(--dim); margin-top: 4px; line-height: 1.5; }

/* ── cta + footer ───────────────────────────────────────────────────────── */

.cta { text-align: center; padding: 92px 0; border-bottom: 0; }
.cta h2 { margin-bottom: 16px; }
.cta .lede { max-width: 520px; margin: 0 auto 28px; }
.cta .heroCta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 34px 0 46px; }
.footIn { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footIn .c { font-size: 13px; color: var(--dim); }
.footLinks { margin-left: auto; display: flex; gap: 16px; }
.footLinks a { font-size: 13.5px; color: var(--muted); }
.footLinks a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .navLinks { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
}
