/* 1CAW Premium SaaS — main website only. Mobile first; deep navy, electric blue → violet accents,
   subtle cyan; restrained glass and depth; light animations (off with reduced motion). */
/* Inter (SIL Open Font License) — the same self-hosted variable font files the main website already
   serves (public/assets/media), so no external request and no new font files. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2) format("woff2");
  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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --sx-bg: #070b1a;
  --sx-bg-2: #0b1126;
  --sx-surface: rgba(255, 255, 255, 0.045);
  --sx-surface-2: rgba(255, 255, 255, 0.07);
  --sx-line: rgba(255, 255, 255, 0.1);
  --sx-text: #eef1fb;
  --sx-muted: #a8b0c8;
  --sx-blue: #3b82f6;
  --sx-violet: #8b5cf6;
  --sx-cyan: #22d3ee;
  --sx-grad: linear-gradient(135deg, #3b82f6 0%, #6d5bf6 55%, #8b5cf6 100%);
  --sx-radius: 18px;
  --sx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body.sx-body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sx-bg);
  color: var(--sx-text);
  font-family: var(--sx-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--sx-cyan);
  outline-offset: 3px;
  border-radius: 8px;
}
.sx-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.sx-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  text-decoration: none;
}
.sx-skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- buttons */
.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.sx-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.sx-btn-primary {
  background: var(--sx-grad);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 22px rgba(79, 70, 229, 0.35);
}
.sx-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 28px rgba(79, 70, 229, 0.45);
}
.sx-btn-ghost {
  border-color: var(--sx-line);
  background: var(--sx-surface);
  color: var(--sx-text);
}
.sx-btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: var(--sx-surface-2);
}
.sx-btn:active {
  transform: translateY(1px);
}
.sx-btn-lg {
  min-height: 52px;
  padding: 13px 22px;
  font-size: 16.5px;
}
.sx-btn-sm {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14.5px;
}

/* ---------------------------------------------------------------- header */
.sx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sx-header.sx-scrolled {
  border-bottom-color: var(--sx-line);
  background: rgba(7, 11, 26, 0.9);
}
.sx-header-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.sx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 750;
}
.sx-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sx-grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px rgba(79, 70, 229, 0.4);
}
.sx-brand-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
}
.sx-header-cta {
  display: none;
}
.sx-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--sx-line);
  border-radius: 12px;
  background: var(--sx-surface);
  cursor: pointer;
}
.sx-menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--sx-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.sx-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sx-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.sx-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* phones: the menu is a panel under the header */
.sx-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 72px;
  display: none;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--sx-line);
  border-radius: 16px;
  background: rgba(11, 17, 38, 0.97);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.sx-nav.sx-open {
  display: flex;
}
.sx-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sx-nav a[data-sx-link] {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--sx-text);
  font-weight: 600;
  text-decoration: none;
}
.sx-nav a[data-sx-link]:hover,
.sx-nav a[data-sx-link].sx-active {
  background: var(--sx-surface-2);
}
.sx-nav a[data-sx-link].sx-active {
  color: #fff;
  box-shadow: inset 3px 0 0 var(--sx-cyan);
}
.sx-nav-cta {
  margin-top: 6px;
}
@media (min-width: 1024px) {
  .sx-menu-btn,
  .sx-nav-cta {
    display: none;
  }
  .sx-nav {
    position: static;
    display: flex;
    flex-direction: row;
    max-height: none;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .sx-nav ul {
    flex-direction: row;
    gap: 2px;
  }
  .sx-nav a[data-sx-link] {
    min-height: 44px;
    padding: 0 12px;
    color: var(--sx-muted);
    font-size: 15px;
  }
  .sx-nav a[data-sx-link]:hover,
  .sx-nav a[data-sx-link].sx-active {
    color: #fff;
    background: none;
    box-shadow: inset 0 -2px 0 var(--sx-cyan);
    border-radius: 0;
  }
  .sx-header-cta {
    display: inline-flex;
    margin-left: 8px;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------- hero */
.sx-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 56px;
}
.sx-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 80% 10%, rgba(139, 92, 246, 0.28), transparent 70%), radial-gradient(50% 45% at 10% 20%, rgba(59, 130, 246, 0.25), transparent 70%), radial-gradient(40% 40% at 50% 100%, rgba(34, 211, 238, 0.1), transparent 70%);
  pointer-events: none;
}
.sx-hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
}
.sx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  background: var(--sx-surface);
  color: var(--sx-muted);
  font-size: 13.5px;
  font-weight: 600;
}
.sx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sx-cyan);
  box-shadow: 0 0 10px var(--sx-cyan);
}
.sx-hero h1 {
  font-size: clamp(34px, 9vw, 64px);
  font-weight: 800;
}
.sx-grad {
  background: linear-gradient(90deg, #60a5fa, #a78bfa 60%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sx-hero-sub {
  margin-top: 14px;
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 650;
  color: #dbe3ff;
}
.sx-lead {
  margin-top: 12px;
  max-width: 600px;
  color: var(--sx-muted);
  font-size: 16.5px;
}
.sx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.sx-cta-row .sx-btn {
  flex: 1 1 220px;
}
.sx-hero-visual {
  position: relative;
  min-height: 250px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.sx-browser {
  overflow: hidden;
  border: 1px solid var(--sx-line);
  border-radius: 14px;
  background: var(--sx-bg-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.sx-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--sx-line);
  background: rgba(255, 255, 255, 0.03);
}
.sx-browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.sx-browser-bar span {
  margin-left: 10px;
  color: var(--sx-muted);
  font-size: 11.5px;
}
.sx-browser img,
.sx-browser-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.sx-browser-ph {
  background: linear-gradient(135deg, #111a3a, #1b1240);
}
.sx-browser-main {
  position: relative;
  z-index: 2;
  width: 88%;
}
.sx-browser-back {
  position: absolute;
  right: 0;
  top: 22%;
  z-index: 1;
  width: 62%;
  opacity: 0.8;
  transform: perspective(900px) rotateY(-8deg);
}
.sx-demo-chat {
  width: 230px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(15, 22, 48, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.sx-hero-chat {
  position: absolute;
  right: 4%;
  bottom: -18px;
  z-index: 3;
}
.sx-demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.sx-demo-head span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sx-demo-head small {
  color: var(--sx-cyan);
  font-size: 11.5px;
  font-weight: 700;
}
.sx-demo-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #cfe0ff url("/assets/img/ai-assistant-launcher-480.webp?v=1") no-repeat;
  background-size: 360% auto;
  background-position: 22% 18%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.sx-demo-msg {
  margin-top: 6px;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.sx-demo-user {
  margin-left: 24px;
  background: var(--sx-grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.sx-demo-bot {
  margin-right: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: #12172a;
  border-bottom-left-radius: 4px;
}
@media (min-width: 900px) {
  .sx-hero {
    padding: 72px 0 90px;
  }
  .sx-hero-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 48px;
  }
  .sx-cta-row .sx-btn {
    flex: 0 0 auto;
  }
}

/* ---------------------------------------------------------------- sections */
.sx-section {
  padding: 64px 0;
}
.sx-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid var(--sx-line);
  border-bottom: 1px solid var(--sx-line);
}
.sx-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.sx-head-left {
  margin-left: 0;
  text-align: left;
}
.sx-kicker {
  margin-bottom: 10px;
  color: var(--sx-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sx-head h2 {
  font-size: clamp(26px, 6.4vw, 42px);
  font-weight: 800;
}
.sx-head p:not(.sx-kicker) {
  margin-top: 14px;
  color: var(--sx-muted);
  font-size: 16.5px;
}
.sx-card {
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  background: var(--sx-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 30px rgba(0, 0, 0, 0.25);
}
.sx-card h3 {
  font-size: 17.5px;
  font-weight: 700;
}
.sx-card p {
  margin-top: 6px;
  color: var(--sx-muted);
  font-size: 15px;
}
.sx-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.22));
  color: #c7d4ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.sx-ico svg {
  width: 22px;
  height: 22px;
}
.sx-note {
  margin-top: 18px;
  color: var(--sx-muted);
  font-size: 14px;
}
.sx-center {
  justify-content: center;
  text-align: center;
}
.sx-center > .sx-btn {
  margin-top: 26px;
}

/* templates */
/* flex rows: a last row with fewer items is centered instead of leaving an orphan on the left */
.sx-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.sx-cats > li {
  flex: 1 1 150px;
  max-width: 230px;
}
/* categories that have no design yet: shown separately, quieter, never as links */
.sx-upcoming {
  margin: -12px 0 28px;
  text-align: center;
}
.sx-upcoming-title {
  margin: 0 0 8px;
  color: var(--sx-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sx-cats-soon {
  margin: 0;
  gap: 8px;
}
.sx-cats-soon > li {
  flex: 0 1 auto;
  max-width: none;
}
.sx-cats-soon .sx-cat {
  min-height: 0;
  padding: 7px 12px;
  border-style: dashed;
  border-radius: 999px;
  background: transparent;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}
.sx-cats-soon .sx-cat b {
  font-size: 13px;
  font-weight: 600;
}
.sx-cats-soon .sx-cat small {
  font-size: 11.5px;
  font-weight: 500;
}
.sx-cat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  height: 100%;
  padding: 10px 14px;
  border: 1px solid var(--sx-line);
  border-radius: 14px;
  background: var(--sx-surface);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.sx-cat:hover {
  border-color: rgba(34, 211, 238, 0.55);
  transform: translateY(-1px);
}
.sx-cat b {
  font-size: 14.5px;
}
.sx-cat small {
  color: var(--sx-cyan);
  font-size: 12.5px;
  font-weight: 600;
}
.sx-cat-soon small {
  color: var(--sx-muted);
}
.sx-tpls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.sx-tpls > li {
  flex: 0 0 100%;
}
@media (min-width: 640px) {
  .sx-tpls > li {
    flex-basis: calc((100% - 18px) / 2);
  }
}
@media (min-width: 980px) {
  .sx-tpls > li {
    flex-basis: calc((100% - 36px) / 3);
  }
}
.sx-tpl {
  overflow: hidden;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  background: var(--sx-surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.sx-tpl:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.5);
}
.sx-tpl-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sx-bg-2);
  border-bottom: 1px solid var(--sx-line);
}
.sx-tpl-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sx-tpl-body {
  padding: 16px;
}
.sx-tpl-cat {
  color: var(--sx-cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sx-tpl-body h3 {
  margin-top: 4px;
  font-size: 18px;
}
.sx-tpl-desc {
  margin-top: 6px;
  color: var(--sx-muted);
  font-size: 14.5px;
}
.sx-tpl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sx-tpl-actions .sx-btn {
  flex: 1 1 130px;
}

/* how it works */
.sx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  counter-reset: none;
}
.sx-step {
  position: relative;
  padding: 22px 18px;
}
.sx-step-no {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 34px;
  font-weight: 800;
}

/* AI */
.sx-ai-grid {
  display: grid;
  gap: 36px;
}
.sx-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
}
.sx-feature {
  padding: 18px;
}
.sx-ai-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  border: 1px solid var(--sx-line);
  border-radius: 24px;
  background: radial-gradient(70% 60% at 50% 40%, rgba(109, 91, 246, 0.25), transparent 70%), var(--sx-bg-2);
}
.sx-ai-chat {
  width: 300px;
}
.sx-demo-label {
  color: var(--sx-muted);
  font-size: 13px;
}
@media (min-width: 1024px) {
  .sx-ai-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
  .sx-ai-visual {
    position: sticky;
    top: 96px;
  }
}

/* benefits */
.sx-benefits-grid {
  display: grid;
  gap: 24px;
}
.sx-checks {
  display: grid;
  gap: 12px;
}
.sx-checks li,
.sx-plan-feat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dbe3ff;
}
.sx-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  color: var(--sx-cyan);
}
.sx-check svg {
  width: 15px;
  height: 15px;
}
.sx-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.sx-examples .sx-card {
  padding: 16px;
}
@media (min-width: 900px) {
  .sx-benefits-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

/* plans */
.sx-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.sx-plans > li {
  flex: 0 0 100%;
}
@media (min-width: 600px) {
  .sx-plans > li {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (min-width: 900px) {
  .sx-plans > li {
    flex-basis: calc((100% - 32px) / 3);
  }
}
.sx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
}
.sx-plan-rec {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 20px 40px rgba(79, 70, 229, 0.25);
}
.sx-badge {
  align-self: flex-start;
  margin: 0 6px 10px 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sx-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.sx-badge-soft {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sx-text);
}
.sx-price {
  margin: 8px 0 4px;
}
.sx-price b {
  font-size: 28px;
  font-weight: 800;
}
.sx-price small {
  color: var(--sx-muted);
  font-size: 14.5px;
}
.sx-plan-feat {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
  font-size: 15px;
}
.sx-plan .sx-tpl-actions {
  margin-top: auto;
  padding-top: 14px;
}

/* contact */
.sx-contact-card {
  padding: 36px 18px;
  background: radial-gradient(70% 80% at 50% 0%, rgba(59, 130, 246, 0.2), transparent 70%), var(--sx-surface);
}
.sx-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  list-style: none;
  max-width: 820px;
  margin: 28px auto 0;
}
.sx-cbtn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--sx-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
  min-width: 0;
}
.sx-cbtn:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.5);
}
.sx-cbtn > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sx-cbtn small {
  overflow: hidden;
  color: var(--sx-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sx-cbtn-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.sx-cbtn-ico svg {
  width: 22px;
  height: 22px;
}
.sx-cbtn-wa .sx-cbtn-ico {
  background: linear-gradient(180deg, #2fd46b, #16a34a);
}
.sx-cbtn-mail .sx-cbtn-ico {
  background: linear-gradient(180deg, #4a80ff, #1b4fe0);
}
.sx-cbtn-phone .sx-cbtn-ico {
  background: linear-gradient(180deg, #8b5cf6, #6d28d9);
}
.sx-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.sx-social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sx-line);
  border-radius: 50%;
  background: var(--sx-surface-2);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}
.sx-social svg {
  width: 21px;
  height: 21px;
}
.sx-social:hover {
  transform: translateY(-2px);
  background: var(--sx-grad);
}

/* footer */
.sx-footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--sx-line);
  background: #050816;
  color: var(--sx-muted);
  font-size: 14.5px;
}
.sx-footer-grid {
  display: grid;
  gap: 22px;
}
.sx-footer .sx-brand {
  color: var(--sx-text);
}
.sx-footer-tag {
  margin-top: 10px;
}
.sx-footer nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}
.sx-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sx-footer a:hover {
  color: #fff;
}
.sx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--sx-line);
}
@media (min-width: 900px) {
  .sx-footer-grid {
    grid-template-columns: 1.3fr 1.2fr 1fr;
  }
}
.sx-contacts > li {
  flex: 1 1 230px;
  max-width: 265px;
}
.sx-benefits-one {
  grid-template-columns: 1fr !important;
}

/* keep the AI launcher clear of the footer links: the space under the footer follows the
   launcher's real size (its picture is 1238 × 714, so height ≈ width × 0.577) */
body.sx-has-chat .sx-footer {
  padding-bottom: calc(var(--sx-launcher-w) * 0.577 + 28px + env(safe-area-inset-bottom, 0px));
}

/* ---------------------------------------------------------------- reveal (light) */
.sx-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sx-reveal.sx-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sx-btn,
  .sx-cat,
  .sx-tpl,
  .sx-cbtn,
  .sx-social,
  .sx-menu-btn span,
  .sx-header {
    transition: none;
  }
}

/* the main website AI Assistant launcher (same artwork and neon outline as everywhere) */
.main-floating {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}
.main-floating > * {
  pointer-events: auto;
}
body:has(.sx-nav.sx-open) .main-floating {
  visibility: hidden;
}
/* Launcher size: smaller than on client websites so it covers less of the page, still the full
   approved artwork with its neon outline. Phones get a compact size that shrinks a little more while
   the visitor scrolls down to read (saas.js adds .sx-reading) and grows back on scroll up. */
.sx-body {
  --sx-launcher-w: 132px;
}
@media (min-width: 481px) {
  .sx-body {
    --sx-launcher-w: 196px;
  }
}
@media (min-width: 1024px) {
  .sx-body {
    --sx-launcher-w: clamp(230px, 18vw, 280px);
  }
}
.main-floating .client-float-chat.aiae-launcher {
  --aiae-launcher-w: var(--sx-launcher-w);
  transition: width 0.25s ease;
}
@media (max-width: 480px) {
  body.sx-reading .main-floating .client-float-chat.aiae-launcher {
    --aiae-launcher-w: 108px;
  }
}
/* would cover a button or link's tap point (saas.js): shrink until it no longer does */
body.sx-dodge .main-floating .client-float-chat.aiae-launcher {
  --aiae-launcher-w: calc(var(--sx-launcher-w) * 0.5);
}
@media (max-width: 480px) {
  /* phones: about 82 × 47 px, still an easy tap target */
  body.sx-dodge .main-floating .client-float-chat.aiae-launcher {
    --aiae-launcher-w: calc(var(--sx-launcher-w) * 0.62);
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-floating .client-float-chat.aiae-launcher {
    transition: none;
  }
}

/* 1CAW UI upgrade: phone readability (layout and content unchanged) */
.sx-hero h1 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sx-lead,
.sx-section p {
  line-height: 1.6;
}
@media (max-width: 480px) {
  .sx-hero {
    padding: 28px 0 44px;
  }
  .sx-hero-sub {
    margin-top: 10px;
  }
  .sx-lead {
    font-size: 16px;
  }
  .sx-cta-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }
  .sx-cta-row .sx-btn {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* 1CAW design v3: card buttons keep their label on one line; on narrow cards they stack
   into full-width buttons instead of wrapping text inside the button */
.sx-tpl-actions .sx-btn {
  flex: 1 1 150px;
  white-space: nowrap;
}
