/* sell-ai landing: design tokens (shared in spirit with the panel and extension, see docs/superpowers/plans/2026-11-15-redesign-landing-domains.md section A). */

@font-face {
  font-family: "Vazirmatn Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Vazirmatn Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/vazirmatn-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --surface: #fcfcfb;
  --surface-2: #ffffff;
  --border: #e7e6e2;
  --text: #0b0b0b;
  --text-2: #52514e;
  --text-3: #8a8984;
  --accent: #2a78d6;
  --accent-ink: #ffffff;
  --good: #1f8a4c;
  --warn: #b26b00;
  --crit: #d23b3b;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s6: 24px;
  --s8: 32px;
  --radius: 8px;
  --font: "Vazirmatn Variable", Tahoma, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #1a1a19;
    --surface-2: #222221;
    --border: #33332f;
    --text: #f0efec;
    --text-2: #c3c2b7;
    --text-3: #8f8e86;
    --accent: #3987e5;
    --accent-ink: #0b0b0b;
    --good: #3fb26f;
    --warn: #e0a030;
    --crit: #e66767;
  }
}

:root[data-theme="dark"] {
  --surface: #1a1a19;
  --surface-2: #222221;
  --border: #33332f;
  --text: #f0efec;
  --text-2: #c3c2b7;
  --text-3: #8f8e86;
  --accent: #3987e5;
  --accent-ink: #0b0b0b;
  --good: #3fb26f;
  --warn: #e0a030;
  --crit: #e66767;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

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

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: var(--s4);
}

.skip {
  position: absolute;
  inset-inline-start: var(--s4);
  top: -100px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip:focus {
  top: var(--s2);
}

/* header */
.site-header {
  border-bottom: 1px solid var(--border);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: none;
  gap: var(--s6);
}

.site-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
}

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

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--s3) var(--s4);
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.btn-ghost {
  min-height: 36px;
  padding: var(--s2) var(--s3);
  font-size: 14px;
  background: transparent;
  color: var(--accent);
}

/* sections */
section {
  padding-block: var(--s8);
}

.section-head {
  display: grid;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

.lead {
  color: var(--text-2);
  font-size: 16px;
}

.eyebrow {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}

.hero {
  display: grid;
  gap: var(--s8);
  align-items: center;
  padding-block: var(--s8);
}

.hero-text {
  display: grid;
  gap: var(--s4);
}

.hero h1 {
  max-width: 22ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s2);
}

.hero-art {
  width: 100%;
  border-radius: var(--radius);
}

.principles {
  display: grid;
  gap: var(--s4);
  padding-block: var(--s6);
  border-block: 1px solid var(--border);
}

.principles p {
  color: var(--text-2);
  font-size: 14px;
}

.principles h3 {
  margin-bottom: var(--s1);
}

/* feature cards */
.cards {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s6);
  display: grid;
  gap: var(--s2);
  align-content: start;
}

.card p {
  color: var(--text-2);
  font-size: 14px;
}

.ai-note {
  margin-top: var(--s6);
  color: var(--text-2);
  font-size: 14px;
  max-width: 68ch;
}

/* how it works */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s4);
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s3);
  align-items: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4) var(--s6);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.steps p {
  color: var(--text-2);
  font-size: 14px;
}

.steps h3 {
  margin-bottom: var(--s1);
}

/* pricing */
.pricing p {
  color: var(--text-2);
}

/* faq */
.faq {
  display: grid;
  gap: var(--s2);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding-block: var(--s3);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  padding-block: var(--s1);
}

.faq details p {
  color: var(--text-2);
  font-size: 14px;
  margin-top: var(--s2);
}

/* prose pages (privacy, terms) */
.prose {
  padding-block: var(--s8);
  display: grid;
  gap: var(--s6);
  max-width: 72ch;
}

.prose h1 {
  font-size: 28px;
}

.prose .meta {
  color: var(--text-2);
  font-size: 14px;
}

.prose section {
  padding: 0;
  display: grid;
  gap: var(--s3);
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-inline-start: var(--s6);
  display: grid;
  gap: var(--s2);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--s6);
  margin-top: var(--s8);
}

.foot {
  display: grid;
  gap: var(--s3);
  color: var(--text-2);
  font-size: 13px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
}

.foot a {
  color: var(--text-2);
}

/* tablet and up */
@media (min-width: 600px) {
  .site-nav {
    display: flex;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    padding-block: var(--s8);
  }

  .principles {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
