/* Fixative marketing/legal site — design tokens + component styles.
   Ported from the Claude Design export (Fixative.dc.html / Privacy.dc.html / Terms.dc.html). */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

::selection {
  background: rgba(255, 176, 32, 0.28);
  color: #fff;
}

a {
  color: #ffc65c;
  text-decoration: none;
}

a:hover {
  color: #ffd98a;
}

/* ===================== Root / tokens ===================== */

.fx-root {
  --bg: #0b0912;
  --bg-2: #100d1b;
  --surface: #17131f;
  --surface-2: #1e1929;
  --border: rgba(150, 128, 200, 0.14);
  --border-strong: rgba(160, 140, 210, 0.24);
  --amber: #ffb020;
  --amber-soft: #ffc65c;
  --amber-deep: #f59300;
  --text: #edeaf4;
  --text-2: #b4aec4;
  --text-3: #7f7893;
  --purple: #7a5cf0;
  font-family: "IBM Plex Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.fx-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(122, 92, 240, 0.16), transparent 60%),
    radial-gradient(700px 500px at 12% 8%, rgba(255, 176, 32, 0.05), transparent 55%),
    radial-gradient(1000px 800px at 50% 120%, rgba(122, 92, 240, 0.1), transparent 60%);
}

.fx-glow--legal {
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(122, 92, 240, 0.14), transparent 60%),
    radial-gradient(700px 600px at 10% 4%, rgba(255, 176, 32, 0.04), transparent 55%);
}

.fx-content {
  position: relative;
  z-index: 1;
}

/* ===================== Nav ===================== */

.fx-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 9, 18, 0.72);
  border-bottom: 1px solid var(--border);
}

.fx-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fx-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.fx-brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  display: block;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 4px 14px rgba(0, 0, 0, 0.5);
}

.fx-brand__mark img {
  width: 150%;
  height: 150%;
  object-fit: cover;
  transform: translate(-17%, -17%);
  display: block;
}

.fx-brand__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.fx-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.fx-navlinks {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-2);
}

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

.fx-navlinks a:hover {
  color: var(--text);
}

.fx-back-link {
  font-size: 14px;
  color: var(--text-2);
}

.fx-back-link:hover {
  color: var(--text);
}

/* ===================== Buttons ===================== */

.fx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.fx-btn--amber {
  background: var(--amber);
  color: #1a1205;
  box-shadow: 0 10px 30px rgba(255, 176, 32, 0.26);
}

.fx-btn--amber:hover {
  color: #1a1205;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(255, 176, 32, 0.36);
}

.fx-btn--ghost {
  color: var(--text);
  font-weight: 500;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.fx-btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.fx-btn--nav {
  gap: 8px;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(255, 176, 32, 0.22);
}

.fx-btn--nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(255, 176, 32, 0.34);
}

/* ===================== Hero ===================== */

.fx-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 96px 28px 84px;
  text-align: center;
  position: relative;
}

.fx-hero__mark {
  position: relative;
  display: block;
  width: 186px;
  margin: 0 auto 38px;
}

.fx-hero__mark-glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.42), rgba(255, 147, 0, 0.12) 45%, transparent 70%);
  filter: blur(22px);
  z-index: 0;
}

.fx-hero__mark-image {
  position: relative;
  z-index: 1;
  width: 186px;
  height: 186px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 30px 70px rgba(0, 0, 0, 0.6);
}

.fx-hero__mark-image img {
  width: 152%;
  height: 152%;
  object-fit: cover;
  transform: translate(-17%, -17%);
  display: block;
}

.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-soft);
  background: rgba(255, 176, 32, 0.08);
  border: 1px solid rgba(255, 176, 32, 0.2);
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.fx-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

.fx-hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 auto 22px;
  max-width: 14ch;
}

.fx-hero__lede {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 auto 38px;
}

.fx-hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.fx-hero__chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--text-3);
}

.fx-chip {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

/* ===================== Trust bar ===================== */

.fx-trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.fx-trustbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.fx-trustbar__inner span:not(.fx-dot) {
  color: var(--text-2);
}

.fx-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
}

/* ===================== Section shells ===================== */

.fx-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 28px 40px;
}

.fx-section--tight {
  padding: 88px 28px;
}

.fx-section__eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 14px;
}

.fx-section__heading {
  max-width: 640px;
  margin-bottom: 52px;
}

.fx-section__heading--center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.fx-section__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.fx-section__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* ===================== Features grid ===================== */

.fx-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.fx-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.fx-feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.fx-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fx-feature__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 19.5px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.fx-feature__body {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0;
}

/* ===================== Security tiers ===================== */

.fx-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fx-tier {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 32px;
  overflow: hidden;
}

.fx-tier__num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 52px;
  font-weight: 500;
  color: rgba(255, 176, 32, 0.1);
  line-height: 1;
}

.fx-tier__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.fx-tier__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.fx-tier__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.fx-tier__body {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0 0 20px;
  max-width: 40ch;
}

.fx-tier__unlock {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--amber-soft);
  background: rgba(255, 176, 32, 0.06);
  border: 1px solid rgba(255, 176, 32, 0.16);
  border-radius: 9px;
  padding: 9px 13px;
  display: inline-block;
}

/* ===================== Trust / zero-knowledge panel ===================== */

.fx-trust {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fx-trust__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.fx-trust__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.fx-trust__body {
  font-size: 16px;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0 0 16px;
}

.fx-code-card {
  background: #0c0a14;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.fx-code-card__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.fx-code-card__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.fx-code-card__dot--red {
  background: #e05252;
}

.fx-code-card__dot--amber {
  background: #e0a94e;
}

.fx-code-card__dot--green {
  background: #5eb36b;
}

.fx-code-card__filename {
  margin-left: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
}

.fx-code-card__body {
  padding: 22px 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-2);
}

.fx-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.fx-spec-row__key {
  color: var(--text-3);
}

.fx-spec-row__value {
  color: var(--amber-soft);
  text-align: right;
}

/* ===================== Pricing ===================== */

.fx-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.fx-plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
}

.fx-plan--featured {
  background: linear-gradient(165deg, rgba(255, 176, 32, 0.08), var(--surface));
  border-color: rgba(255, 176, 32, 0.3);
}

.fx-plan__badge {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1205;
  background: var(--amber);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.fx-plan__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 6px;
}

.fx-plan__tagline {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 22px;
  min-height: 40px;
}

.fx-plan__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.fx-plan__price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
}

.fx-plan__unit {
  font-size: 14px;
  color: var(--text-3);
}

.fx-plan__cta {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px;
  border-radius: 11px;
  margin-bottom: 26px;
  border: 1px solid var(--border-strong);
  transition: transform 0.2s;
}

.fx-plan__cta:hover {
  transform: translateY(-2px);
}

.fx-plan__cta--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.fx-plan__cta--ghost:hover {
  color: var(--text);
}

.fx-plan__cta--amber {
  color: #1a1205;
  background: var(--amber);
  border-color: var(--amber);
}

.fx-plan__cta--amber:hover {
  color: #1a1205;
}

.fx-plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fx-plan__feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text-2);
}

.fx-plan__feature svg {
  flex: none;
  margin-top: 3px;
}

/* ===================== FAQ ===================== */

.fx-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 28px;
}

.fx-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fx-faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
}

.fx-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.fx-faq__question::-webkit-details-marker {
  display: none;
}

.fx-faq__chevron {
  flex: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-soft);
  transition: transform 0.25s;
}

.fx-faq__item[open] .fx-faq__chevron {
  transform: rotate(180deg);
}

.fx-faq__answer {
  padding: 0 22px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ===================== Download CTA ===================== */

.fx-download {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 100px;
}

.fx-download__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #191327, #0e0b1a);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 64px 40px;
  text-align: center;
}

.fx-download__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.16), transparent 62%);
  pointer-events: none;
}

.fx-download__content {
  position: relative;
}

.fx-download__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 auto 18px;
  max-width: 18ch;
}

.fx-download__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 48ch;
  margin: 0 auto 34px;
}

.fx-download__note {
  margin-top: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ===================== Footer ===================== */

.fx-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.fx-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.fx-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fx-footer__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  box-shadow: 0 0 0 1px var(--border-strong);
}

.fx-footer__mark img {
  width: 150%;
  height: 150%;
  object-fit: cover;
  transform: translate(-17%, -17%);
  display: block;
}

.fx-footer__brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.fx-footer__tagline {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 34ch;
  margin: 0;
}

.fx-footer__col-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.fx-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fx-footer__col-links a {
  font-size: 14px;
  color: var(--text-2);
}

.fx-footer__col-links a:hover {
  color: var(--text);
}

.fx-footer__legal {
  border-top: 1px solid var(--border);
}

.fx-footer__legal-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: "IBM Plex Mono", monospace;
}

/* Slim legal-page footer variant (privacy/terms/support/downloads) */
.fx-footer--slim .fx-footer__legal-inner {
  padding: 24px 28px;
}

.fx-footer--slim .fx-footer__legal-inner span:last-child {
  display: flex;
  gap: 20px;
}

/* ===================== Legal pages (privacy/terms/support/downloads) ===================== */

.fx-legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 28px 100px;
}

.fx-legal-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 16px;
}

.fx-legal-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.fx-legal-updated {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 40px;
}

.fx-legal-callout {
  background: var(--surface);
  border: 1px solid rgba(255, 176, 32, 0.2);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 48px;
}

.fx-legal-callout__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--amber-soft);
  margin-bottom: 8px;
}

.fx-legal-callout__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.fx-legal-section {
  margin-bottom: 40px;
}

.fx-legal-section__heading {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.fx-legal-section__para {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 14px;
}

.fx-legal-contact {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-3);
}

/* ===================== Responsive ===================== */

@media (max-width: 860px) {
  .fx-tiers,
  .fx-trust__inner,
  .fx-footer__grid {
    grid-template-columns: 1fr;
  }

  .fx-pricing {
    grid-template-columns: 1fr;
  }
}
