/* ==========================================================================
   Socify marketing site
   Standalone stylesheet: the landing page ships no framework and no app
   bundle, so it stays fast and indexable. Tokens mirror the product UI
   (src/style.css) so the site and the app do not look like two products.
   ========================================================================== */

:root {
  --ink: #12141c;
  --ink-2: #3d4452;
  --ink-3: #6e7688;
  --ink-4: #9aa3b5;
  --line: #e4e7ef;
  --line-soft: #eef0f5;
  --paper: #ffffff;
  --paper-2: #f8f9fb;
  --paper-3: #f1f3f7;
  --accent: #4338ca;
  --accent-2: #6d3ecb;
  --accent-soft: #eef0ff;
  --accent-line: #d3d6f8;
  --green: #067a52;
  --green-soft: #e5f6ee;
  --amber: #a35b00;
  --amber-soft: #fdf3e2;
  --night: #10121a;

  --max: 1140px;
  --radius: 14px;
  --radius-lg: 22px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 640;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.head-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 640;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img,
.brand svg {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
}

.head-nav a {
  color: var(--ink-2);
  font-weight: 500;
}

.head-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 38px;
  height: 34px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: #3730a3;
}

.btn.ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--paper-2);
  border-color: #d5dae4;
}

.btn.quiet {
  background: none;
  color: var(--ink-2);
  padding-inline: 10px;
}

.btn.quiet:hover {
  color: var(--ink);
}

.btn.lg {
  height: 50px;
  padding: 0 26px;
  font-size: 1rem;
}

.btn.on-dark.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn.on-dark.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% 0 auto -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(48% 48% at 50% 50%, rgba(67, 56, 202, 0.12), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -30% -20% auto auto;
  width: 60%;
  height: 110%;
  background: radial-gradient(45% 45% at 50% 50%, rgba(109, 62, 203, 0.1), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 5px 13px;
}

.hero h1 {
  margin-top: 22px;
  max-width: 16ch;
}

.hero .lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.21rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* -------------------------------------------------------------- app shot */

.shot {
  margin-top: clamp(44px, 6vw, 72px);
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 40px 90px -30px rgba(16, 20, 40, 0.3), 0 4px 14px rgba(16, 20, 40, 0.06);
  overflow: hidden;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}

.shot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe3ea;
}

.shot-url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-4);
}

.shot-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
}

.shot-nav {
  border-right: 1px solid var(--line-soft);
  background: var(--paper-2);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shot-nav span {
  font-size: 0.82rem;
  color: var(--ink-3);
  padding: 7px 10px;
  border-radius: 8px;
}

.shot-nav span.on {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 560;
}

.shot-nav .grp {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  padding: 14px 10px 4px;
}

.shot-main {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shot-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.shot-kpi {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  background: var(--paper);
}

.shot-kpi b {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.shot-kpi span {
  font-size: 0.72rem;
  color: var(--ink-3);
}

.shot-kpi i {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--green);
}

.shot-rows {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}

.shot-row {
  display: grid;
  grid-template-columns: 1fr 82px 72px 86px;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}

.shot-row:last-child {
  border-bottom: 0;
}

.shot-row.head {
  background: var(--paper-2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}

.shot-who {
  display: flex;
  align-items: center;
  gap: 9px;
}

.shot-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex: none;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--green-soft);
  color: var(--green);
}

.score.mid {
  background: var(--amber-soft);
  color: var(--amber);
}

/* ----------------------------------------------------------------- strips */

.strip {
  border-block: 1px solid var(--line-soft);
  background: var(--paper-2);
  padding: 26px 0;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  justify-content: space-between;
}

.strip-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

.strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 500;
}

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

section {
  padding: clamp(60px, 8vw, 104px) 0;
}

section.tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

.sec-head {
  max-width: 62ch;
}

.sec-head .kicker {
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.sec-head h2 {
  margin-top: 14px;
}

.sec-head p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- feature */

.grid {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: #d5dae4;
  box-shadow: 0 10px 28px -14px rgba(16, 20, 40, 0.22);
}

.card .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 9px;
}

.card p {
  font-size: 0.93rem;
  color: var(--ink-2);
}

.card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card li {
  position: relative;
  padding-left: 19px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.card li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-line);
}

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

.steps {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  padding: 26px 24px;
  border-right: 1px solid var(--line-soft);
}

.step:last-child {
  border-right: 0;
}

.step .n {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 1.02rem;
}

.step p {
  font-size: 0.89rem;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------- dark */

.dark {
  background: var(--night);
  color: #e9eaf0;
}

.dark h2,
.dark h3 {
  color: #fff;
}

.dark .sec-head p,
.dark p {
  color: #a8adbd;
}

.dark .kicker {
  color: #a79cf5;
}

.dark .card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark .card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.dark .card .ico {
  background: rgba(167, 156, 245, 0.14);
  color: #a79cf5;
}

.dark .card li::before {
  background: rgba(167, 156, 245, 0.5);
}

/* ------------------------------------------------------------------ honest */

.honest {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.honest-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.honest-col.no {
  background: var(--paper-2);
}

.honest-col h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.honest-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.honest-col li {
  font-size: 0.91rem;
  color: var(--ink-2);
  padding-left: 26px;
  position: relative;
}

.honest-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.honest-col.yes li::before {
  content: '✓';
  color: var(--green);
}

.honest-col.no li::before {
  content: '✕';
  color: var(--ink-4);
}

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

.faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

details summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 560;
  font-size: 1.01rem;
  position: relative;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 17px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink-4);
  line-height: 1;
}

details[open] summary::after {
  content: '–';
}

details .answer {
  padding: 0 44px 22px 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------- cta */

.cta {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #1d1b45 0%, #2a1f66 52%, #3a2a86 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
}

.cta h2 {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}

.cta p {
  margin: 18px auto 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.76);
}

.cta-row {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn.primary {
  background: #fff;
  color: var(--night);
}

.cta .btn.primary:hover {
  background: #e9eaf0;
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--paper-2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.foot-about p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-3);
  max-width: 34ch;
}

.foot-col h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  font-weight: 620;
}

.foot-col ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-col a {
  color: var(--ink-2);
  font-size: 0.89rem;
}

.foot-col a:hover {
  color: var(--ink);
  text-decoration: none;
}

.foot-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--ink-4);
}

/* ------------------------------------------------------------------- prose */

.prose-head {
  padding: clamp(44px, 6vw, 72px) 0 0;
}

.prose-head h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.prose-head .updated {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.prose {
  max-width: 74ch;
  padding: 34px 0 clamp(60px, 8vw, 96px);
}

.prose h2 {
  font-size: 1.32rem;
  margin-top: 40px;
}

.prose h3 {
  font-size: 1.02rem;
  margin-top: 26px;
}

.prose p,
.prose li {
  margin-top: 13px;
  color: var(--ink-2);
  font-size: 0.97rem;
}

.prose ul,
.prose ol {
  margin: 8px 0 0;
  padding-left: 22px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.9rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.prose th {
  background: var(--paper-2);
  font-weight: 600;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--paper-3);
  padding: 2px 5px;
  border-radius: 5px;
}

.todo {
  display: inline;
  background: #fff3cd;
  border-bottom: 2px solid #e0a800;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 560;
  color: #6b4c00;
}

.notice {
  margin-top: 22px;
  border: 1px solid var(--amber);
  background: var(--amber-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #5c3a00;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

/* --------------------------------------------------------------- 404 page */

.center-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.center-page .code {
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.center-page h1 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.center-page p {
  margin-top: 16px;
  color: var(--ink-2);
}

.center-page .btn {
  margin-top: 26px;
}

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

@media (max-width: 960px) {
  .head-nav {
    display: none;
  }

  .head-nav.open {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }

  .head-nav.open a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .head-actions {
    margin-left: 12px;
  }

  .head-actions .btn.quiet {
    display: none;
  }

  .grid.c3,
  .grid.c2,
  .steps,
  .honest,
  .shot-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .step {
    border-bottom: 1px solid var(--line-soft);
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .shot-body {
    grid-template-columns: 1fr;
  }

  .shot-nav {
    display: none;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 18px;
  }

  .grid.c3,
  .grid.c2,
  .steps,
  .honest,
  .shot-kpis,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: 0;
  }

  .shot-row {
    grid-template-columns: 1fr 60px 64px;
  }

  .shot-row > :nth-child(4) {
    display: none;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
