/* Actionix website — light.
 *
 * The panel is dark charcoal and gold. The site is the same family inverted:
 * warm off-white, charcoal type, gold used sparingly. Warm rather than pure
 * white, so panel screenshots sit on it without looking like holes.
 *
 * The gold is NOT the panel's #cba465 — that measures 2.2:1 on this
 * background and is unreadable. #8f6a26 measures 4.7:1 and passes AA for
 * body text; the brighter gold survives only as a fill behind dark type.
 *
 * Layout is image-led and alternating rather than a grid of identical cards.
 * Rows of same-sized boxes are what made the first version read as generic.
 */

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --sunk: #f2efea;
  --line: #e7e3dd;
  --line-strong: #d6d0c7;

  --text: #1c1b1a;
  --soft: #57534e;
  --muted: #78716c;

  --accent: #8f6a26;        /* text-safe gold */
  --accent-bright: #cba465; /* fills only, never text on light */
  --accent-wash: #fbf4e6;

  --ink: #1c1b1a;           /* dark sections, matching the panel */
  --ink-text: #ece7df;
  --ink-soft: #b9b1a6;

  --wrap: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 650;
}
h1 { font-size: clamp(38px, 6vw, 62px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p  { margin: 0 0 20px; }

.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--soft); line-height: 1.5; }
.small { font-size: 15px; color: var(--muted); }
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* -- header -------------------------------------------------------------- */

header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; gap: 24px;
}

/* The name is wrapped in .word deliberately: in a flex container every bare
   text node becomes its own item, so a `gap` here would land inside the word
   and render it as "Action ix". */
.brand {
  display: inline-flex; align-items: center;
  font-size: 20px; font-weight: 650; color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand .word { margin-left: 9px; white-space: nowrap; }
.brand .word span { color: var(--accent); }
.brand img { height: 19px; width: auto; display: block; position: relative; top: 1px; }

nav { display: flex; gap: 30px; align-items: center; }
nav a { color: var(--soft); font-size: 15.5px; font-weight: 500; }
nav a:hover { color: var(--text); text-decoration: none; }

/* -- buttons ------------------------------------------------------------- */

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-size: 16px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: transform .08s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(28,27,26,.18); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn[aria-disabled="true"] {
  background: var(--sunk); color: var(--muted);
  border-color: var(--line); cursor: not-allowed; pointer-events: none;
}

/* -- sections ------------------------------------------------------------ */

section { padding: clamp(64px, 9vw, 108px) 0; }
.hero { padding: clamp(56px, 8vw, 92px) 0 0; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 54ch; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 16px; }

.rule { border-top: 1px solid var(--line); }

/* Alternating text/image rows — the antidote to a grid of identical cards. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}
.split.flip > .shot { order: -1; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }

/* -- screenshots --------------------------------------------------------- */

.shot {
  background: var(--sunk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot img { display: block; width: 100%; height: auto; }

/* Placeholder shown until a real screenshot exists. Deliberately obvious:
   an empty grey box would ship unnoticed, and the whole point of this
   rebuild is that the page must show the tool rather than describe it. */
.shot.todo {
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; padding: 28px; text-align: center;
  border: 2px dashed var(--line-strong);
  background: repeating-linear-gradient(
    45deg, var(--sunk), var(--sunk) 12px, #ede9e2 12px, #ede9e2 24px);
}
.shot.todo p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.shot.todo strong { display: block; color: var(--soft); margin-bottom: 6px; font-size: 15px; }

/* -- facts strip --------------------------------------------------------- */

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts div { background: var(--surface); padding: 24px 26px; }
.facts .n {
  display: block; font-size: 27px; font-weight: 650;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 2px;
}
.facts .l { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* -- steps --------------------------------------------------------------- */

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
ol.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 26px 52px; border-left: 1px solid var(--line); margin-left: 15px;
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: -15px; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 650;
  display: flex; align-items: center; justify-content: center;
}
ol.steps h3 { margin-bottom: 4px; }
ol.steps p { margin: 0; color: var(--soft); }

/* -- dark section (SepArt AI) -------------------------------------------- */

.ink {
  background: var(--ink); color: var(--ink-text);
  border-radius: clamp(0px, 3vw, 24px);
}
.ink h2 { color: #fff; }
.ink .lead, .ink p { color: var(--ink-soft); }
.ink .eyebrow { color: var(--accent-bright); }
.ink .shot { background: #241f1a; border-color: #3a3530; }
.ink .shot.todo {
  border-color: #47413a;
  background: repeating-linear-gradient(45deg,#241f1a,#241f1a 12px,#2b2620 12px,#2b2620 24px);
}
.ink .shot.todo p { color: #8b8377; }
.ink .shot.todo strong { color: var(--ink-soft); }
.ink table td { color: var(--ink-soft); border-color: #3a3530; }
.ink table th { color: #fff; border-color: #3a3530; }

/* -- pricing ------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--ink); box-shadow: 0 12px 34px rgba(28,27,26,.09); }
.plan .price {
  font-size: 40px; font-weight: 650; letter-spacing: -0.03em; margin: 10px 0 2px;
}
.badge {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--accent-text, #241c0e); background: var(--accent-bright);
  padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 3px;
}
ul.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
ul.ticks li {
  padding-left: 26px; position: relative; margin-bottom: 11px;
  color: var(--soft); font-size: 15.5px;
}
ul.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* -- tables -------------------------------------------------------------- */

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 420px; }
th, td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); }
th { font-weight: 650; }
td { color: var(--soft); }
td.num, th.num { text-align: right; white-space: nowrap; }

/* -- faq ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); padding: 24px 0; }
.faq h3 { margin-bottom: 6px; }
.faq p { margin: 0; color: var(--soft); }

/* -- notice -------------------------------------------------------------- */

.notice {
  background: var(--accent-wash); border: 1px solid #ecdcb9;
  border-radius: 12px; padding: 20px 24px; color: var(--soft); font-size: 15.5px;
}
.notice strong { color: var(--text); }

/* -- legal pages --------------------------------------------------------- */

.legal { padding: 56px 0 88px; max-width: 720px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 42px; }
.legal h2:first-of-type { margin-top: 26px; }
.legal ul { padding-left: 22px; color: var(--soft); }
.legal li { margin-bottom: 9px; }
.legal .updated { color: var(--muted); font-size: 15px; }

/* -- footer -------------------------------------------------------------- */

footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 15px; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px; margin-bottom: 34px; }
footer h4 { color: var(--text); font-size: 14px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.07em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 9px; }
footer a { color: var(--soft); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; }

/* -- responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > .shot { order: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  nav { gap: 18px; }
  nav a { font-size: 14.5px; }
  .btn { display: block; text-align: center; }
  .hero .cta { flex-direction: column; }
  .shot.todo { min-height: 220px; }
}
